pub struct RobotState {Show 14 fields
pub joint_positions_d: Vector7,
pub joint_positions: Vector7,
pub joint_velocities: Vector7,
pub joint_velocities_d: Vector7,
pub joint_torques: Vector7,
pub end_effector_pose_c: Isometry3<f64>,
pub end_effector_pose: Isometry3<f64>,
pub end_effector_pose_d: Isometry3<f64>,
pub end_effector_velocity_d: Vector6<f64>,
pub jacobian: Matrix6x7,
pub mass_matrix: Matrix7,
pub coriolis: Vector7,
pub gravity: Vector7,
pub control_command_success_rate: f64,
}
Expand description
Describes the State of the Robot at a certain point in time.
Fields§
§joint_positions_d: Vector7
desired join positions
joint_positions: Vector7
measured joint positions
joint_velocities: Vector7
measured joint velocities
joint_velocities_d: Vector7
desired joint velocities
joint_torques: Vector7
measured joint torques
end_effector_pose_c: Isometry3<f64>
command end-effector pose. Use it cartesian pose control
end_effector_pose: Isometry3<f64>
measured end-effector pose.
end_effector_pose_d: Isometry3<f64>
desired end-effector pose
end_effector_velocity_d: Vector6<f64>
desired end-effector velocity (linear,angular)
jacobian: Matrix6x7
Jacobian at the current configuration
mass_matrix: Matrix7
Mass matrix at the current configuration
coriolis: Vector7
Coriolis torques at the current configuration
gravity: Vector7
Gravity torques at the current configuration
control_command_success_rate: f64
Percentage of the last 100 robot commands that the robot successfully received
Trait Implementations§
Source§impl Debug for RobotState
impl Debug for RobotState
Source§impl From<RobotState> for RobotState
impl From<RobotState> for RobotState
Source§fn from(state: RobotState) -> Self
fn from(state: RobotState) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for RobotState
impl RefUnwindSafe for RobotState
impl Send for RobotState
impl Sync for RobotState
impl Unpin for RobotState
impl UnwindSafe for RobotState
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§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>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read moreSource§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).Source§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.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.