Trait franka_interface::experiment::RealSetup
source · [−]pub trait RealSetup {
fn setup_real(&mut self) { ... }
fn setup_camera(&mut self) { ... }
fn get_camera_image(&mut self) -> RgbaImage { ... }
}
Expand description
A trait which contains methods for handling the real robot. All methods have a default implementation, so you do not have to implement them if you do not need them.
Provided Methods
sourcefn setup_real(&mut self)
fn setup_real(&mut self)
This method runs directly on calling Experiment::new
. You can use
it to run specific code which is only needed when using the real hardware.
sourcefn setup_camera(&mut self)
fn setup_camera(&mut self)
Runs directly after setup_real
and is intended for setting up the camera.
sourcefn get_camera_image(&mut self) -> RgbaImage
fn get_camera_image(&mut self) -> RgbaImage
determine how you want to get the camera image with this method.