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]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
converts the motion type to a MotionGeneratorCommand and applies rate limiting and filtering
Implementors
impl Finishable for CartesianPose
[src]
impl Finishable for CartesianPose
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
impl Finishable for CartesianVelocities
[src]
impl Finishable for CartesianVelocities
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
impl Finishable for JointPositions
[src]
impl Finishable for JointPositions
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
impl Finishable for JointVelocities
[src]
impl Finishable for JointVelocities
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
impl Finishable for Torques
[src]
impl Finishable for Torques
[src]fn is_finished(&self) -> bool
[src]
fn set_motion_finished(&mut self, finished: bool)
[src]
fn convert_motion(
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)
[src]
&self,
robot_state: &RobotState,
command: &mut MotionGeneratorCommand,
cutoff_frequency: f64,
limit_rate: bool
)