Trait franka::robot::control_types::Finishable[][src]

pub trait Finishable {
    fn is_finished(&self) -> bool;
fn set_motion_finished(&mut self, finished: bool);
fn convert_motion(
        &self,
        robot_state: &RobotState,
        command: &mut MotionGeneratorCommand,
        cutoff_frequency: f64,
        limit_rate: bool
    ); }

Helper type for control and motion generation loops.

Used to determine whether to terminate a loop after the control callback has returned.

Required methods

fn is_finished(&self) -> bool[src]

Determines whether to finish a currently running motion.

fn set_motion_finished(&mut self, finished: bool)[src]

Sets the attribute which decide if the currently running motion should be finished

fn convert_motion(
    &self,
    robot_state: &RobotState,
    command: &mut MotionGeneratorCommand,
    cutoff_frequency: f64,
    limit_rate: bool
)
[src]

converts the motion type to a MotionGeneratorCommand and applies rate limiting and filtering

Loading content...

Implementors

impl Finishable for CartesianPose[src]

impl Finishable for CartesianVelocities[src]

impl Finishable for JointPositions[src]

impl Finishable for JointVelocities[src]

impl Finishable for Torques[src]

Loading content...