Struct franka_interface::types::RobotState
source · [−]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
sourceimpl Debug for RobotState
impl Debug for RobotState
sourceimpl From<RobotState> for RobotState
impl From<RobotState> for RobotState
sourcefn from(state: RobotState) -> Self
fn from(state: RobotState) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for RobotState
impl Send for RobotState
impl Sync for RobotState
impl Unpin for RobotState
impl UnwindSafe for RobotState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable 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.