Struct nphysics3d::joint::PinSlotJoint[][src]

pub struct PinSlotJoint<N: RealField + Copy> { /* fields omitted */ }
Expand description

A joint that allows one translational and one rotational degrees of freedom.

Both are not required to be along the same direction.

Implementations

Create a new pin-slot joint with axii expressed in the local coordinate frame of the attached bodies, and with initial linear position and angle.

The linear displacement.

The angular displacement.

The lower limit of the relative translational displacement of the attached multibody links along the joint axis.

The upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Disable the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the lower limit of the relative translational displacement of the attached multibody links along the joint axis.

Set the upper limit of the relative translational displacement of the attached multibody links along the joint axis.

Returns true if the joint translational motor is enabled.

Enable the joint translational motor.

Disable the joint translational motor.

The desired relative translational velocity to be enforced by the joint motor.

Set the desired relative translational velocity to be enforced by the joint motor.

The maximum force that can be output by the joint translational motor.

Set the maximum force that can be output by the joint translational motor.

The lower limit of the rotation angle.

The upper limit of the rotation angle.

Disable the lower limit of the rotation angle.

Disable the upper limit of the rotation angle.

Enable and set the lower limit of the rotation angle.

Enable and set the upper limit of the rotation angle.

Return true if the angular motor of this joint is enabled.

Enable the angular motor of this joint.

Disable the angular motor of this joint.

The desired angular velocity of the joint motor.

Set the desired angular velocity of the joint motor.

The maximum torque that can be delivered by the joint motor.

Set the maximum torque that can be delivered by the joint motor.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

The number of degrees of freedom allowed by the joint.

The position of the multibody link containing this joint relative to its parent.

Update the jacobians of this joint.

Sets in out the non-zero entries of the joint jacobian transformed by transform.

Sets in out the non-zero entries of the time-derivative of the joint jacobian transformed by transform.

Sets in out the non-zero entries of the velocity-derivative of the time-derivative of the joint jacobian transformed by transform.

Multiply the joint jacobian by generalized velocities to obtain the relative velocity of the multibody link containing this joint. Read more

Multiply the joint jacobian by generalized accelerations to obtain the relative acceleration of the multibody link containing this joint. Read more

Fill out with the non-zero entries of a damping that can be applied by default to ensure a good stability of the joint.

Integrate the position of this joint.

Apply a displacement to the joint.

Maximum number of velocity constrains that can be generated by this joint.

Initialize and generate velocity constraints to enforce, e.g., joint limits and motors.

The maximum number of non-linear position constraints that can be generated by this joint.

Initialize and generate the i-th position constraints to enforce, e.g., joint limits.

The maximum number of impulses needed by this joints for its constraints. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more

Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more

Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &Any’s vtable from &Trait’s. Read more

Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot generate &mut Any’s vtable from &mut Trait’s. Read more

Convert Arc<Trait> (where Trait: Downcast) to Arc<Any>. Arc<Any> can then be further downcast into Arc<ConcreteType> where ConcreteType implements Trait. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more

Checks if self is actually part of its subset T (and can be converted to it).

Use with care! Same as self.to_subset but without any property checks. Always succeeds.

The inclusion map: converts self to the equivalent element of its superset.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.