pub struct JointSent {Show 13 fields
pub q: [f64; 7],
pub target: [f64; 7],
pub velocity: [f64; 7],
pub acceleration: [f64; 7],
pub backstop_alteration: f64,
pub q_goal: [f64; 7],
pub dq_goal: [f64; 7],
pub cap_scale: f64,
pub pinned: [i8; 7],
pub tau: [f64; 7],
pub tau_envelope: [f64; 7],
pub tau_position: [f64; 7],
pub leash_alteration: f64,
}Expand description
What one cycle sent, for the observer.
Fields§
§q: [f64; 7]The joint positions that went to the robot (after the backstop), or with
Backend::Impedance the generator’s output the law tracks, rad.
target: [f64; 7]The target the generator was planning towards, rad.
velocity: [f64; 7]The generator’s velocity at the end of the cycle, rad/s.
acceleration: [f64; 7]The generator’s acceleration at the end of the cycle, rad/s^2.
backstop_alteration: f64The most the backstop moved any joint of the generator’s position, rad; zero without
limit_rate and with Backend::Impedance. Microradians are the noise of the
limiter’s velocity and acceleration reference, the robot’s float32 echo (FCI v10);
milliradians mean the generator is outrunning the limits.
q_goal: [f64; 7]The joint target of the impedance law, rad; zeros with Backend::RobotController.
dq_goal: [f64; 7]The joint goal’s velocity, rad/s: the finite difference of q_goal the law feeds
forward, under the joint velocity cap; zeros while holding and with
Backend::RobotController.
cap_scale: f64The scale this cycle’s goal step was cut by to stay in the joint limits’ box: under
ImpedanceOptions::joint_velocity_fraction
of the joint velocity limits, and braking to stop at
ImpedanceOptions::joint_position_margin.
Exactly 1 when it was not, and with Backend::RobotController.
pinned: [i8; 7]Per joint, the bound that cut the step: 0 none, -1 / +1 the lower / upper position bound,
-2 / +2 the velocity bound; zeros with Backend::RobotController.
tau: [f64; 7]The torques sent, Nm, clamped to the torque limits; zeros with
Backend::RobotController.
tau_envelope: [f64; 7]The velocity envelope’s share of tau, Nm, before the clamp: the barrier opposing every
joint measured faster than
ImpedanceOptions::velocity_barrier_fraction
of its limit, less the law’s torque along a joint’s motion faded out above the fade’s
start (FADE_BAND); zeros below it and with
Backend::RobotController.
tau_position: [f64; 7]The position envelope’s share of tau, Nm, before the clamp; see
CartesianSent::tau_position. Zeros with
Backend::RobotController.
leash_alteration: f64The most, rad, the leash pulled any joint of the generator’s anchor back from the
previous goal toward the measured position: zero while the arm follows, positive while
it is held back (Leash); 0 with Backend::RobotController.
Trait Implementations§
impl Copy for JointSent
impl StructuralPartialEq for JointSent
Auto Trait Implementations§
impl Freeze for JointSent
impl RefUnwindSafe for JointSent
impl Send for JointSent
impl Sync for JointSent
impl Unpin for JointSent
impl UnsafeUnpin for JointSent
impl UnwindSafe for JointSent
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.