add_fixed_joint

add_fixed_joint(master: RotatingObject, slave: RotatingObject) None

It creates a fixed joint between a master rotating object and a slave one. The fixed joint forces the two elements to rotate at the same angular position, speed and acceleration.

The master rotating object is closest to the powertrain driving motor (or it is actually it) and transfers the whole driving torque to the slave one.

Parameters

masterRotatingObject

Driving rotating object, it must be an instance of RotatingObject.

slaveRotatingObject

Driven rotating object, it must be an instance of RotatingObject, but not an instance of MotorBase.

Raises

TypeError
ValueError

If master and slave are the same rotating object.