Getting started with the Franka Emika Research 3ï
This is only a brief introductory guide on how to use the Franka Emika robot. For more detailed informationâespecially regarding safetyâplease refer to the product manual available here: Franka Robot Manual.
đ Installation Guideï
Follow the tutorial to have the SIC framework up and running (If you are not going to use SIC, you can skip this step)
If you want to control the robot directly on your machine without using ROS, there is a lightweight Python package you can install in your virtual environment (venv or conda): panda-py. With this package, you donât even need to install libfranka or a real-time kernel.
Since our robot version is
5.3.2(which is â„5.2.0), the libfranka version should be \(\geq 0.10.0 \lt 0.13.3\). That means you should download a stable version ending with0.10.0.zip. For example,0.13.3.zipwonât work because it is not lower than0.13.3.
We recommend downloading the release we have confirmed works with our robot: https://github.com/JeanElsner/panda-py/releases/download/v0.7.5/panda_py_0.7.5_libfranka_0.10.0.zip
After downloading, use pip to install the version of panda-py that corresponds to your current Python version. For example, if you are using Python 3.10, install the package built for Python 3.10.
pip install panda_python-0.7.5+libfranka.0.10.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
More documentation on how to use panda-py can be found here
Start with the robotï
Switch on the Frankaï
Press the power switch on the backside of the Control
Network setupï
Set up the connection between the Control and the workstation:
The workstationâs network settings have already been configured, so you simply need to connect the workstation and the Control box using an Ethernet cable. If youâre using a workstation or laptop that doesnât have a fixed wired IP address (172.16.0.1) set up, please refer to the instructions here
Select network
Wired connection 1, where the IPv4 address is set to 172.16.0.1.
Preparing the robot for FCI usage in Deskï
Open a browser, *Desk (you will need to log in; ask Lilly for the username and password) can be accessed via https://172.16.0.2, although you will see a certificate warning in your browser
Unlock joints: go to the joints section and select the unlock icon
Activate FCI (Go to the right panel where you see 172.16.0.2 N/A and click on it. A menu will expandâthen click the Activate FCI option) Once itâs activated, the status indicator should turn green (if itâs in Execution mode) from blue.
*Desk is Franka Emikaâs web-based, intuitive and graphical programming and user interface
Operate the robotï
If youâre going to run code, make sure the operation mode is set to âExecutionâ instead of âProgrammingâ. The status indicator should be green when in Execution mode. If you want to freely move the arm, switch to âProgrammingâ modeâ the status indicator should then turn white.
2. If youâre not going to use SIC, you can run a very simple example to make the robot move:
example/teaching.py. This script lets you teach the robot 3 poses and replay the trajectories. Make sure to pass the robotâs IP address when running the script, i.e.: python teaching.py 172.16.0.2
If you are using Python version below 3.11, you might encounter a segmentation fault. To fix this, you can downgrade your NumPy version by running:
pip install "numpy<2"
See a similar issue for panda-py.
4. To move the robot to its starting (home) position, use the move_to_start function.
You can find more details here.
If any drastic or dangerous movements occur, please press the emergency stop button. After you press it, always twist and release the button to reset it and allow it to pop back up.
If the robot moves to a weird position and you encounter a âJoint Position Error Detected,â and youâre unable to recover it back to the reference position or continue operating the robot, please contact Lilly. Only Safety Operators can recover joint position sensor errors.
Switch off the Frankaï
1. Before switching off the robot, always move it to its starting (home) position first. You can use the move_to_start() function, see Panda.move_to_start.
See the photo below:
2. Then, go to the right panel, click 172.16.0.2 N/A, and select the Shut down option. The fail-safe locking system is activated, and Franka will shut down. Please make sure the system is properly shut down. You will see the message âFinished shutting downâ once the process is complete.
Then, use the power switch on the back of the control box to disconnect Franka from the main power supply.
Warning
Be aware: after using the switch to power the system off, please ensure to allow adequate waiting time (i.e. in the order of ~ 1 minute) before using it to power the system on again.