pub struct Jacobian(/* private fields */);Expand description
Jacobian matrix, relating joint velocities to end-effector velocities.
The Jacobian is a matrix of size $6 \times n_v$ where $n_v$ is the number of joints in the robot model. Each column corresponds to the basis of the spatial velocity of the joint in the origin of the inertial frame.
Implementations§
Source§impl Jacobian
impl Jacobian
Sourcepub fn update_column(&mut self, v_offset: usize, column_data: &[f64; 6])
pub fn update_column(&mut self, v_offset: usize, column_data: &[f64; 6])
Updates the specified column of the Jacobian matrix with the given data.
§Arguments
v_offset- The index of the column to update, which corresponds to the joint index in the robot model.column_data- The data to update the column with, which should be a 6-dimensional vector representing the spatial velocity basis of the joint.
Sourcepub fn column(&self, v_offset: usize) -> JacobianColumn
pub fn column(&self, v_offset: usize) -> JacobianColumn
Returns a specified column of the Jacobian matrix as a JacobianColumn structure.
§Arguments
v_offset- The index of the column to retrieve, which corresponds to the joint index in the robot model.
§Returns
- A
JacobianColumnstructure containing the specified column of the Jacobian matrix, which represents the spatial velocity basis of the joint.
Trait Implementations§
impl StructuralPartialEq for Jacobian
Auto Trait Implementations§
impl Freeze for Jacobian
impl RefUnwindSafe for Jacobian
impl Send for Jacobian
impl Sync for Jacobian
impl Unpin for Jacobian
impl UnsafeUnpin for Jacobian
impl UnwindSafe for Jacobian
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.