Skip to main content

RobotBasic

Trait RobotBasic 

Source
pub trait RobotBasic {
    // Required method
    fn dim(&self) -> usize;
}
Expand description

Minimal robot metadata required by the planner.

A usize variable can serve as a trivial RobotBasic implementation representing the robot dimension, but users can also implement this trait for their own robot models.

Required Methods§

Source

fn dim(&self) -> usize

Return robot dimension / DoF.

Implementations on Foreign Types§

Source§

impl RobotBasic for usize

Source§

fn dim(&self) -> usize

Implementors§