Getting started

MATLAB

Demo Pick & Place with RRT

For familiarization with the Matlab API for the Franka Robot the pick_and_place_with_RRT.mlx demo is a good starting point.

../_images/matlab_pick_and_place_with_RRT_demo.png

Live Matlab Script and Figure of the pick^and^place demo.

Automatic error recovery

If the robot encounters an error state and transitions to reflex mode, you may attempt a recovery by executing the automatic error recovery command in Matlab.

fr = FrankaRobot(<robot ip as string>);
fr.automatic_error_recovery();

In case the command fails and the robot remains in the erroneous state try using the guiding mode to manually bring back the robot to a valid configuration.

Hint

Checkout the Franka library for MATLAB for a set of helper functions that can help to optimize your workflow.