Struct rubullet::InverseKinematicsParameters[][src]

pub struct InverseKinematicsParameters<'a> {
    pub end_effector_link_index: usize,
    pub target_position: Vector3<f64>,
    pub target_orientation: Option<UnitQuaternion<f64>>,
    pub limits: Option<InverseKinematicsNullSpaceParameters<'a>>,
    pub joint_damping: Option<&'a [f64]>,
    pub solver: IkSolver,
    pub current_position: Option<&'a [f64]>,
    pub max_num_iterations: Option<usize>,
    pub residual_threshold: Option<f64>,
}
Expand description

Parameters for the calculate_inverse_kinematics() You can easily create them using the InverseKinematicsParametersBuilder

Fields

end_effector_link_index: usize

end effector link index

target_position: Vector3<f64>

Target position of the end effector (its link coordinate, not center of mass coordinate!). By default this is in Cartesian world space, unless you provide current_position joint angles.

target_orientation: Option<UnitQuaternion<f64>>

Target orientation in Cartesian world space. If not specified, pure position IK will be used.

limits: Option<InverseKinematicsNullSpaceParameters<'a>>

Optional null-space IK

joint_damping: Option<&'a [f64]>

joint_damping allows to tune the IK solution using joint damping factors

solver: IkSolver

Solver which should be used for the Inverse Kinematics

current_position: Option<&'a [f64]>

By default RuBullet uses the joint positions of the body. If provided, the target_position and target_orientation is in local space!

max_num_iterations: Option<usize>

Refine the IK solution until the distance between target and actual end effector position is below the residual threshold, or the max_num_iterations is reached

residual_threshold: Option<f64>

Refine the IK solution until the distance between target and actual end effector position is below this threshold, or the max_num_iterations is reached

Trait Implementations

Returns the “default value” for a type. 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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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 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.