pagoda.physics.Slider¶
-
class
pagoda.physics.
Slider
(name, world, body_a, body_b=None, anchor=None, feedback=False, jointgroup=None, amotor=True, lmotor=True)[source]¶ -
__init__
(name, world, body_a, body_b=None, anchor=None, feedback=False, jointgroup=None, amotor=True, lmotor=True)¶
Methods
__init__
(name, world, body_a[, body_b, ...])add_torques
(*torques)Add the given torques along this joint’s axes. disable_feedback
()Disable feedback on this ODE object. enable_feedback
()Enable feedback on this ODE object. Attributes
ADOF
LDOF
anchor
3-tuple specifying location of this joint’s anchor. anchor2
3-tuple specifying location of the anchor on the second body. angle_rates
List of angle rates for rotational degrees of freedom. angles
List of angles for rotational degrees of freedom. axes
Axis of displacement for this joint. 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 this joint’s degrees of freedom. positions
List of positions for this joint’s 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. -
axes
¶ Axis of displacement for this joint.
-
position_rates
¶ List of position rates for this joint’s degrees of freedom.
-
positions
¶ List of positions for this joint’s linear degrees of freedom.
-