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>,
/* private fields */
}
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§
Source§impl Debug for StateLoggingOptions
impl Debug for StateLoggingOptions
Source§impl Default for StateLoggingOptions
impl Default for StateLoggingOptions
Source§fn default() -> StateLoggingOptions
fn default() -> StateLoggingOptions
Auto Trait Implementations§
impl Freeze for StateLoggingOptions
impl RefUnwindSafe for StateLoggingOptions
impl Send for StateLoggingOptions
impl Sync for StateLoggingOptions
impl Unpin for StateLoggingOptions
impl UnwindSafe for StateLoggingOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.