pub struct RobotCommandLog {
pub q_c: [f64; 7],
pub dq_c: [f64; 7],
pub O_T_EE_c: [f64; 16],
pub O_dP_EE_c: [f64; 6],
pub elbow_c: [f64; 2],
pub tau_J_d: [f64; 7],
}Expand description
The robot command that was sent in one cycle, as recorded in the control log.
Fields§
§q_c: [f64; 7]Commanded joint positions, in rad.
dq_c: [f64; 7]Commanded joint velocities, in rad/s.
O_T_EE_c: [f64; 16]Commanded end-effector pose in base frame, a column-major 4x4 homogeneous transform (translation in m).
O_dP_EE_c: [f64; 6]Commanded end-effector twist in base frame: linear m/s then angular rad/s.
elbow_c: [f64; 2]Commanded elbow configuration: joint-3 position in rad and the sign of joint 4.
tau_J_d: [f64; 7]Commanded joint torques without gravity and friction, in Nm.
Trait Implementations§
Source§impl Clone for RobotCommandLog
impl Clone for RobotCommandLog
Source§fn clone(&self) -> RobotCommandLog
fn clone(&self) -> RobotCommandLog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RobotCommandLog
Source§impl Debug for RobotCommandLog
impl Debug for RobotCommandLog
Source§impl Default for RobotCommandLog
impl Default for RobotCommandLog
Source§fn default() -> RobotCommandLog
fn default() -> RobotCommandLog
Returns the “default value” for a type. Read more
Source§impl PartialEq for RobotCommandLog
impl PartialEq for RobotCommandLog
Source§fn eq(&self, other: &RobotCommandLog) -> bool
fn eq(&self, other: &RobotCommandLog) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RobotCommandLog
Auto Trait Implementations§
impl Freeze for RobotCommandLog
impl RefUnwindSafe for RobotCommandLog
impl Send for RobotCommandLog
impl Sync for RobotCommandLog
impl Unpin for RobotCommandLog
impl UnsafeUnpin for RobotCommandLog
impl UnwindSafe for RobotCommandLog
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
impl<T> Scalar for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.