MATLAB Answers

Simscape - Sphere to Plane Force Enabled Block Input

3 views (last 30 days)
David Gaertner
David Gaertner on 14 Jan 2020
Hi everyone,
I am having trouble with the 'Sphere to Plane Force Enabled'-block from the Simscape Multibody Contact Forces Library. I was looking for a contact model block which I can switch on or off as I need it to and figured that this one looked alike. Sadly I could not find a description of how to use this block properly, especially not about the required input. Please see the attached screenshots for clarification of my questions:
In the first layer under the mask, one can see that there are two input ports labeled as '1'. As I understand it, the top middle one is a switch to activate the contact force calculation. The one on the left enters the sensing block and is supposed to contain signals 'vx' and 'vy'.
1) First of all, is this the right block for my purpose?
2) Why are there two input ports with the same number? How is this even possible? The block has only one input port on the top level (first screenshot). When I expand the subsystem and wrap it up again, it shows two inputs as expected and the ports are labeled '1' and '2'. I honestly do not know what to do with this second input port or the 'vx' 'vy' signals it demands for. I am familiar with the 'Sphere to Plane Force'-block, but I can't figure out this one.
Please feel free to share your experience.

  0 Comments

Sign in to comment.

Answers (0)

Sign in to answer this question.