@prototwin/joint-jogger

1.0.0PublicPublished 20 days ago

Move the individual joints of a robotic arm or mechanism manually through the user interface.

Latest Version: 1.0.0

Size: 3 KB

Publisher: ProtoTwin (contact@prototwin.com)

README.md

Joint Jogger

The JointJogger component allows you to jog the joints of a robot or mechanism through the user interface. This component can be useful to test the behavior of your robotic arm or mechanism. It allows you to precisely control the position of individual joints using range sliders.

Properties

  • Joints: The array of joints that can be controlled.
  • Speed Multiple: The speed multiple scales the speed at which each joint can move.
  • Acceleration Multiple: The acceleration multiple scales the acceleration/deceleration at which each joint can move.

Details

If no joints are specified in the joints array, the controllable joints are determined as follows:

  • The joints specified on the robot controller component if the attached entity includes one.
  • The joints specified on any physics components that are descendants of the attached entity.

Each joint can be controlled manually using a range slider. The upper and lower values are set as the joint limits. If joint limits are not specified, the default upper and lower values are set as:

  • ±180 degrees for revolute joints.
  • ±1 meter for prismatic and path joints.

For a joint to be controllable, it must be bound to a motor. Any joints that are not bound to a motor cannot be controlled using the joint jogger component.

Changelog

1.0.0

Initial release.