Project

General

Profile

Franka documentation and operating the Pandas » History » Version 10

Kévin Desormeaux, 2021-06-17 15:18

1 1 Kévin Desormeaux
h1. Franka documentation and operating the Pandas
2
3
4
h2. Franka Documentation
5
6
* The Panda User Handbook attachment:pandaUserHandbook.pdf (safety rules, setting/starting up, basic use through the web interface)
7 9 Kévin Desormeaux
* The Franka Control Interface & ROS packages: https://frankaemika.github.io/ https://frankaemika.github.io/docs/franka_ros.html
8 1 Kévin Desormeaux
* The dedicated LAAS robots "wiki page":https://wiki.laas.fr/robots/Panda (basic
9
10 2 Kévin Desormeaux
h2. Misc things
11 1 Kévin Desormeaux
12
* The PC must have a Linux kernel with the PREEMT_RT option
13
* To have access to this option, you must belong to the unix group "realtime"
14
15 3 Kévin Desormeaux
h2. Using your own laptop
16
17
First you will need a real-time kernel to be able to communicate with the pandas (PREEMPT_RT). 
18
19
The procedure is described here: https://frankaemika.github.io/docs/installation_linux.html
20
More informations in french can be found here: https://bidouilledebian.wordpress.com/2018/05/31/compiler-son-noyau/
21
The second link might actually be better. 
22
23
Note: avoid the use of the fakeroot command if you have errors. 
24
25
You will also need to configure the network (ethernet). 
26
27
- In the ipv4 tab, choose manual configuration. 
28
- Adress = 172.17.1.1
29
- Mask = 255.255.255.0
30
31
You can ping the robot's IP to see if you are able to communicate with it.
32
- Panda1 = 172.17.1.2
33 6 Kévin Desormeaux
- Panda2 = 172.17.1.3
34 3 Kévin Desormeaux
35 2 Kévin Desormeaux
h2. Start the pandas:
36 1 Kévin Desormeaux
37
https://frankaemika.github.io/docs/getting_started.html
38
39
1. before turning on check on the black button and red button.
40
- red button must be unpressed.
41
- black button must be pressed.
42
- turn on the robot cpu. It's on the back. Panda 1 is the lower one.
43
- yellow light will blink until its on.
44
- when it's on, light remains constant.
45
46 5 Kévin Desormeaux
2. Access the robot server interface: https://172.17.1.2/desk/ for panda_1 and https://172.17.1.3/desk/ for panda_2
47 1 Kévin Desormeaux
- accept the risks
48
- robot information on IP and credentials are in: https://wiki.laas.fr/robots/Panda
49 5 Kévin Desormeaux
- when accessing the server, joints are locked (the panda has yellow lights). unlock them. take care it can move a bit.
50 1 Kévin Desormeaux
- it changes the color of the light to white - unlocked but not accept command motion.
51
52
3. To move the robot, release the black safety button. The light will turn blue - accepting command motion.
53
54 5 Kévin Desormeaux
4. turning off
55 1 Kévin Desormeaux
- push black button
56
- move to a safe position manually (pushing the two buttons in the end-effector and guiding)
57
- lock the joint in Desk interface
58
- shutdown in the interface- wait until it says you can turn off the cpu
59
- press red button
60
61 7 Kévin Desormeaux
5. Recap of colors meaning on the panda:
62
- Yellow: joints are locked
63
- White: joints are unlocked and the arm can be operated by hand by pressing the 2 buttons on the end effector
64
- Blue: joints are unlocked and the arm can be operated by commands (libfranka)
65
- Purple: errors
66
67 10 Kévin Desormeaux
6. *Before running any programs like CM2P and CM2C you should initialize the grippers via the web interface. This is done by going into Settings->End Effector->Homing button.*
68
If you don't do that the gripper will not act as you expect (closing instead of opening etc).
69
70 2 Kévin Desormeaux
h2. Troubleshooting
71 1 Kévin Desormeaux
72
If you have this error: 
73
74
<pre>
75
linux libfranka: UDP receive: Timeout
76
</pre>
77
78
This means a firewall is blocking some UDP packets (see https://frankaemika.github.io/docs/troubleshooting.html).
79
You can disable the firewall (should be definitive) by using this command:
80
81
<pre>
82
sudo ufw disable
83
</pre>
84
85
Check if it is disabled:
86
87
<pre>
88
sudo ufw status
89
</pre>
90 8 Kévin Desormeaux
91
If it says the end effector (panda hand) is not connected, it is not a problem. You can add or remove end effector tools via the desk interface. The panda hand for example is already calibrated and can be added easily. However it might says after adding it that the end effector is not connected/not initialized. You can ignore this warning most of the time.