Struct rubullet::StateLoggingOptions[][src]

pub struct StateLoggingOptions {
    pub object_ids: Vec<BodyId>,
    pub max_log_dof: Option<usize>,
    pub body_a: Option<BodyId>,
    pub link_index_a: Option<Option<usize>>,
    pub body_b: Option<BodyId>,
    pub link_index_b: Option<Option<usize>>,
    pub log_flags: Option<LogFlags>,
    // some fields omitted
}

Fields

object_ids: Vec<BodyId>

If left empty, the logger may log every object, otherwise the logger just logs the objects in the list.

max_log_dof: Option<usize>

Maximum number of joint degrees of freedom to log (excluding the base dofs).# This applies to GenericRobot Default value is 12. If a robot exceeds the number of dofs, it won’t get logged at all.

body_a: Option<BodyId>

Applies to ContactPoints. If provided, only log contact points involving body_a.

link_index_a: Option<Option<usize>>

Applies to ContactPoints. If provided, only log contact points involving link_index_a for body_a. Use Some(None) to specify the base.

body_b: Option<BodyId>

Applies to ContactPoints. If provided,only log contact points involving bodyUniqueIdB.

link_index_b: Option<Option<usize>>

Applies to ContactPoints. If provided, only log contact points involving link_index_b for body_b. Use Some(None) to specify the base.

log_flags: Option<LogFlags>

Use JOINT_TORQUES to also log joint torques due to joint motors.

Trait Implementations

Formats the value using the given formatter. Read more

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.