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

ADOF
LDOF Number of linear degrees of freedom for this motor.
MOTOR_FACTORY
angle_rates List of angle rates for rotational degrees of freedom.
angles List of angles for rotational degrees of freedom.
axes List of axes for this object’s degrees of freedom.
cfms List of CFM values for this object’s degrees of freedom.
erps List of ERP values for this object’s degrees of freedom.
feedback Feedback buffer (list of 3-tuples) for this ODE motor/joint.
hi_stops List of hi stop values for this object’s degrees of freedom.
lo_stops List of lo stop values for this object’s degrees of freedom.
max_forces List of max force values for rotational degrees of freedom.
position_rates List of position rates for linear degrees of freedom.
positions List of positions for linear degrees of freedom.
stop_cfms List of lo/hi stop CFM values.
stop_erps List of lo/hi stop ERP values.
velocities List of target velocity values for rotational degrees of freedom.
LDOF

Number of linear degrees of freedom for this motor.