pub struct JointState {
pub names: Vec<String>,
pub positions: Vec<f64>,
pub velocity: Vec<f64>,
pub effort: Vec<f64>,
pub stamp: f64,
pub frame_id: String,
}Expand description
Mirrors sensor_msgs/JointState using the JSON envelope shared with the
Python SDK.
Fields§
§names: Vec<String>§positions: Vec<f64>§velocity: Vec<f64>§effort: Vec<f64>§stamp: f64§frame_id: StringImplementations§
Trait Implementations§
Source§impl Clone for JointState
impl Clone for JointState
Source§fn clone(&self) -> JointState
fn clone(&self) -> JointState
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 moreSource§impl Debug for JointState
impl Debug for JointState
Source§impl Default for JointState
impl Default for JointState
Source§impl PartialEq for JointState
impl PartialEq for JointState
impl StructuralPartialEq for JointState
Auto Trait Implementations§
impl Freeze for JointState
impl RefUnwindSafe for JointState
impl Send for JointState
impl Sync for JointState
impl Unpin for JointState
impl UnsafeUnpin for JointState
impl UnwindSafe for JointState
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