Struct k::Joint
[−]
[src]
pub struct Joint<T: Real> { pub name: String, pub joint_type: JointType<T>, pub angle: T, pub limits: Option<Range<T>>, }
Joint with type
Fields
name: String
joint_type: JointType<T>
angle: T
limits: Option<Range<T>>
Methods
impl<T> Joint<T> where
T: Real,
[src]
T: Real,
fn new(name: &str, joint_type: JointType<T>) -> Joint<T>
fn set_limits(&mut self, limits: Option<Range<T>>)
fn set_angle(&mut self, angle: T) -> Result<(), JointError>
fn get_angle(&self) -> Option<T>
fn calc_transform(&self) -> Isometry3<T>
Trait Implementations
impl<T: Debug + Real> Debug for Joint<T>
[src]
impl<T: Clone + Real> Clone for Joint<T>
[src]
fn clone(&self) -> Joint<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more