pub enum DynamicJointValidator {
J1(JointValidator<1>),
J2(JointValidator<2>),
J3(JointValidator<3>),
J4(JointValidator<4>),
J5(JointValidator<5>),
J6(JointValidator<6>),
J7(JointValidator<7>),
J8(JointValidator<8>),
}Variants§
J1(JointValidator<1>)
J2(JointValidator<2>)
J3(JointValidator<3>)
J4(JointValidator<4>)
J5(JointValidator<5>)
J6(JointValidator<6>)
J7(JointValidator<7>)
J8(JointValidator<8>)
Implementations§
Source§impl DynamicJointValidator
impl DynamicJointValidator
pub fn try_new(lower: Vec<f32>, upper: Vec<f32>) -> DekeResult<Self>
pub fn dof(&self) -> usize
pub fn validate_dyn(&self, q: &[f32]) -> DekeResult<()>
pub fn validate_motion_dyn(&self, qs: &[&[f32]]) -> DekeResult<()>
Source§impl DynamicJointValidator
impl DynamicJointValidator
pub fn from_validator(v: impl Into<Self>) -> Self
Trait Implementations§
Source§impl Clone for DynamicJointValidator
impl Clone for DynamicJointValidator
Source§fn clone(&self) -> DynamicJointValidator
fn clone(&self) -> DynamicJointValidator
Returns a duplicate of the value. Read more
1.0.0 · 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 DynamicJointValidator
impl Debug for DynamicJointValidator
Source§impl From<JointValidator<1>> for DynamicJointValidator
impl From<JointValidator<1>> for DynamicJointValidator
Source§fn from(v: JointValidator<1>) -> Self
fn from(v: JointValidator<1>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<2>> for DynamicJointValidator
impl From<JointValidator<2>> for DynamicJointValidator
Source§fn from(v: JointValidator<2>) -> Self
fn from(v: JointValidator<2>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<3>> for DynamicJointValidator
impl From<JointValidator<3>> for DynamicJointValidator
Source§fn from(v: JointValidator<3>) -> Self
fn from(v: JointValidator<3>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<4>> for DynamicJointValidator
impl From<JointValidator<4>> for DynamicJointValidator
Source§fn from(v: JointValidator<4>) -> Self
fn from(v: JointValidator<4>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<5>> for DynamicJointValidator
impl From<JointValidator<5>> for DynamicJointValidator
Source§fn from(v: JointValidator<5>) -> Self
fn from(v: JointValidator<5>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<6>> for DynamicJointValidator
impl From<JointValidator<6>> for DynamicJointValidator
Source§fn from(v: JointValidator<6>) -> Self
fn from(v: JointValidator<6>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<7>> for DynamicJointValidator
impl From<JointValidator<7>> for DynamicJointValidator
Source§fn from(v: JointValidator<7>) -> Self
fn from(v: JointValidator<7>) -> Self
Converts to this type from the input type.
Source§impl From<JointValidator<8>> for DynamicJointValidator
impl From<JointValidator<8>> for DynamicJointValidator
Source§fn from(v: JointValidator<8>) -> Self
fn from(v: JointValidator<8>) -> Self
Converts to this type from the input type.
Source§impl Validator<1> for DynamicJointValidator
impl Validator<1> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<1, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<1>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<2> for DynamicJointValidator
impl Validator<2> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<2, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<2>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<3> for DynamicJointValidator
impl Validator<3> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<3, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<3>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<4> for DynamicJointValidator
impl Validator<4> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<4, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<4>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<5> for DynamicJointValidator
impl Validator<5> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<5, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<5>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<6> for DynamicJointValidator
impl Validator<6> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<6, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<6>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<7> for DynamicJointValidator
impl Validator<7> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<7, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<7>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Source§impl Validator<8> for DynamicJointValidator
impl Validator<8> for DynamicJointValidator
type Context<'ctx> = ()
fn validate<'ctx, E: Into<DekeError>, A: SRobotQLike<8, E>>( &self, q: A, ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
fn validate_motion<'ctx>( &self, qs: &[SRobotQ<8>], ctx: &Self::Context<'ctx>, ) -> DekeResult<()>
Auto Trait Implementations§
impl Freeze for DynamicJointValidator
impl !RefUnwindSafe for DynamicJointValidator
impl Send for DynamicJointValidator
impl Sync for DynamicJointValidator
impl Unpin for DynamicJointValidator
impl UnsafeUnpin for DynamicJointValidator
impl !UnwindSafe for DynamicJointValidator
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