pagoda.physics.LMotor¶
-
class
pagoda.physics.LMotor(name, world, body_a, body_b=None, feedback=False, dof=3, jointgroup=None)[source]¶ An LMotor applies forces to change a position in the physics world.
-
__init__(name, world, body_a, body_b=None, feedback=False, dof=3, jointgroup=None)¶
Methods
__init__(name, world, body_a[, body_b, ...])disable_feedback()Disable feedback on this ODE object. enable_feedback()Enable feedback on this ODE object. Attributes
ADOFLDOFNumber of linear degrees of freedom for this motor. MOTOR_FACTORYangle_ratesList of angle rates for rotational degrees of freedom. anglesList of angles for rotational degrees of freedom. axesList of axes for this object’s degrees of freedom. cfmsList of CFM values for this object’s degrees of freedom. erpsList of ERP values for this object’s degrees of freedom. feedbackFeedback buffer (list of 3-tuples) for this ODE motor/joint. hi_stopsList of hi stop values for this object’s degrees of freedom. lo_stopsList of lo stop values for this object’s degrees of freedom. max_forcesList of max force values for rotational degrees of freedom. position_ratesList of position rates for linear degrees of freedom. positionsList of positions for linear degrees of freedom. stop_cfmsList of lo/hi stop CFM values. stop_erpsList of lo/hi stop ERP values. velocitiesList of target velocity values for rotational degrees of freedom. -
LDOF¶ Number of linear degrees of freedom for this motor.
-