This file explains how to
- plan, execute motions that move the camera in front of a chessboard,
- collect eye to hand calibration data,
- compute and save hand eye calibration parameters
-
connect to the ip adress of the robot using firefox. On akasan, this address is 172.17.1.3.
-
release the brakes,
-
activate FCI,
-
in terminal 1, in this directory
roslaunch robot.launch arm_id:=panda2 robot_ip:=172.17.1.3
-
to start the camera
roslaunch realsense2_camera rs_camera.launch
-
to start agimus / SoT
roslaunch demo.launch calibration:=true
-
Start hppcorbaserver
hppcorbaserver
-
Start the GUI
gepetto-gui
-
run
calibration.py
script in a terminal
cd agimus-demos/franka/manipulation
python -i calibration.py
This should compute some paths going to configurations where the robot looks at the chessboard.
In the same terminal, display the robot and environment:
>>> v = vf.createViewer()
-
place the chessboard as shown in
gepetto-gui
. -
in a new terminal,
python -i run_calibration.py
This should
- execute the motions planned by step 9 and collect data at each
way point,
- save the data in directory measurements
,
- compute the pose of the camera in the end effector, and
- save it in config/calibrated-params.yaml
.
- You can then commit the latter file and re-install agimus-demos package.