deke-types
Shared types and interfaces for the deke crates. Joint count N is a const
generic; the scalar F is generic over f32/f64 via KinScalar.
Surface
RobotQ/SRobotQ: joint configurations (heap and stack-array forms).RobotPath/SRobotPath: ordered joint-space waypoints.RobotTraj/SRobotTraj: time-sampled trajectories.FKChain,StrictFKChain,BoxFK: forward-kinematics chains;JointSpec,KinSpecdescribe them.Validatorand combinators (ValidatorAnd,ValidatorOr,ValidatorNot,JointValidator,DynamicJointValidator).Planner,Retimer: the interfaces implemented bydeke-rrtand thedeke-toppcrates.DekeError/DekeResult.
Example
use ;
let lower = from_array;
let upper = from_array;
let validator = new;
let q = from_array;
let ret = validator.validate; // DekeResult<R> per the Validator impl
Planner::plan and Retimer::retime each return their result paired with a
diagnostic; Validator::validate / validate_motion return DekeResult<R>.
Features
valuable: derivevaluable::Valuablefor structured logging.
License
Apache-2.0