Trait arcos_kdl::geometry::RotationRepresentations [−][src]
pub trait RotationRepresentations {
fn to_scaled_axis(&self) -> Vector;
fn from_scaled_axis(scaled_axis: Vector) -> Rotation;
fn to_euler(&self) -> (f64, f64, f64);
fn from_euler(roll: f64, pitch: f64, yaw: f64) -> Rotation;
}
Expand description
Different rotation representations
Required methods
fn to_scaled_axis(&self) -> Vector
fn to_scaled_axis(&self) -> Vector
Convert rotation matrix to a vector representing the rotation axis and its norm representing its angle
fn from_scaled_axis(scaled_axis: Vector) -> Rotation
fn from_scaled_axis(scaled_axis: Vector) -> Rotation
Create a rotation matrix from an rotation axis with angle in magnitude