This joint type can be used in the biomechanical editor to create a musculo-skeletal model. The prismatic joint is much like the Hinge, since two axes, one fixed in each of the two constrained bodies, are forced to coincide. However, in this case the bodies are allowed to move along the axis, not to rotate. Like a hinge, a prismatic joint removes five degrees of freedom from the relative motion of the attached bodies, leaving only one. The relative orientation of the bodies is maintained by the joint, which is imagined as a bar with a prismatic section sliding inside a block with a prismatic hole.
For this joint, a line l0 fixed in body b0 is coincident with a line l1 fixed on body b1 and the rotation of b1 about l0 is fixed. However, the origin of l1 is not fixed on l0, which allows sliding along the common axis but no rotation about it. For convenience, the origin of l0 is called the position of the joint and the common axis of the two lines is the axis of the joint.
This joint type has two constraints, a min and max value. These values determine how far the body can move along the positive direction of the axis and the negative direction of the axis. These values also determine the size of the bar that is drawn in the editor.
The prismatic joint also contains a built in motor. The motor can operate in three modes. The first, default mode, is like a normal DC motor. The input to the motor determines its speed. This is velocity control. The second mode is as a standard servo motor. In this case the input determines the rotational position. The motor will move to the new position at its maximum speed. This is position control. The third mode is where you can control both the position and velocity for the motor. This is velocity and position control mode. In this mode you can have two different neurons connected to your motor. One of them can have a target data type of desired position, and the other can have a target data type of desired velocity. This allows you to control the position and velocity targets of the motor independently using neural output in your network. You can control the motor using a motor velocity stimulus, motor position stimulus, or directly using neural control. A typical example in neural control would relate the membrane voltage of a neuron to the position or velocity of the motor, depending on which type of motor you are using. This conversion is performed using an adapter..
To see a description of the properties common to all bodies follow this link
These properties are specific to Prismatic only.
This project was supported by: