Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There's a model with a gearbox joint here https://bitbucket.org/osrf/gazebo_models/src/c76c171d4b3893312fa440737fb6bbe5d01b3bf2/demo_joint_types/?at=default

The gearbox joint is more of a constraint between two joints rather than a true joint. Create two revolute joints: one for the input link and one for the output link. On the gearbox joint <parent> specifies the input link, and <child> specifies the output link. <gearbox_ratio> is the ratio of the input and output. <gearbox_reference_body> is another link that is fixed relative to the input and output. The physics engine measures the velocity of the input and output link relative to this link when enforcing the gear ratio.