pub struct CartesianSent {Show 15 fields
pub pose: [f64; 16],
pub orientation: [f64; 4],
pub target: [f64; 3],
pub target_orientation: [f64; 4],
pub velocity: [f64; 3],
pub acceleration: [f64; 3],
pub angular_velocity: [f64; 3],
pub angular_acceleration: [f64; 3],
pub backstop_alteration: f64,
pub backstop_angular_alteration: f64,
pub q_goal: [f64; 7],
pub tau: [f64; 7],
pub ik_error: f64,
pub leash_alteration: f64,
pub leash_angular_alteration: f64,
}Expand description
What one cycle sent, for the observer.
Fields§
§pose: [f64; 16]The pose that went to the robot (after the backstop), or with Backend::Impedance
the desired pose the IK follows; column-major.
orientation: [f64; 4]The orientation of pose as a unit quaternion, [x, y, z, w].
target: [f64; 3]The target position the generator was planning towards, base frame, m.
target_orientation: [f64; 4]The target orientation the generator was planning towards, [x, y, z, w].
velocity: [f64; 3]The generator’s velocity at the end of the cycle, m/s.
acceleration: [f64; 3]The generator’s acceleration at the end of the cycle, m/s^2.
angular_velocity: [f64; 3]The generator’s angular velocity at the end of the cycle, base frame, rad/s.
angular_acceleration: [f64; 3]The generator’s angular acceleration at the end of the cycle, base frame, rad/s^2.
backstop_alteration: f64How far the backstop moved the generator’s position, m: zero unless the generator
outran the budget (or without limit_rate, or with Backend::Impedance).
backstop_angular_alteration: f64How far the backstop turned the generator’s orientation, rad; as above.
q_goal: [f64; 7]The joint target of the impedance law, rad; zeros with Backend::RobotController.
tau: [f64; 7]The torques sent, Nm, clamped to the torque limits; zeros with
Backend::RobotController.
ik_error: f64The IK’s residual toward pose after this cycle’s iterations, m plus rad in one norm;
0 with Backend::RobotController.
leash_alteration: f64How far, m, the leash pulled the generator’s anchor back from the previous desired
position toward the measured one: zero while the arm follows, positive while it is
held back (Leash); 0 with Backend::RobotController.
leash_angular_alteration: f64The same for the orientation, rad.
Trait Implementations§
Source§impl Clone for CartesianSent
impl Clone for CartesianSent
Source§fn clone(&self) -> CartesianSent
fn clone(&self) -> CartesianSent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CartesianSent
Source§impl Debug for CartesianSent
impl Debug for CartesianSent
Source§impl PartialEq for CartesianSent
impl PartialEq for CartesianSent
Source§fn eq(&self, other: &CartesianSent) -> bool
fn eq(&self, other: &CartesianSent) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CartesianSent
Auto Trait Implementations§
impl Freeze for CartesianSent
impl RefUnwindSafe for CartesianSent
impl Send for CartesianSent
impl Sync for CartesianSent
impl Unpin for CartesianSent
impl UnsafeUnpin for CartesianSent
impl UnwindSafe for CartesianSent
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
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>
self from the equivalent element of its
superset. Read more§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).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.