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
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
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
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
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
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
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
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
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
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<1, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<1, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<2, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<2, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<3, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<3, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<4, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<4, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<5, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<5, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<6, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<6, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
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<7, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.
impl Validator<7, (), f64> for DynamicJointValidator
f64 entry point — downcasts to f32 and dispatches to the f32 impl.
DynamicJointValidator stores JointValidator<N, f32>, so f64 inputs
are narrowed at the boundary; precision is governed by the f32 limits
the validator was configured with.