![]() |
Visual Servoing Platform version 3.7.0
|
This tutorial explains how to implement eye-in-hand image-based visual servoing (IBVS) with Franka Emika's Panda 7-dof robot equipped with an Intel Realsense camera mounted on its end-effector. It follows Tutorial: Eye-in-hand PBVS with Panda 7-dof robot from Franka Emika that explains also how to setup the robot.
At this point we suppose that you follow all the 2. Prerequisites given in Tutorial: Eye-in-hand PBVS with Panda 7-dof robot from Franka Emika.
An example of eye-in-hand image-based visual servoing using Panda robot equipped with a Realsense camera is available in servoFrankaIBVS.cpp.
Now enter in ${VISP_WS}/visp-build/example/servo-franka folder and run servoFrankaIBVS binary using --eMc to locate the file containing the
transformation. Other options are available. Using --help show them:
Run the binary activating the plot and using a constant gain:
Use the left mouse click to enable the robot controller, and the right click to quit the binary.
At this point the behaviour that you should observe is the following:
You can also activate an adaptive gain that will make the convergence faster:
You can also start the robot with a zero velocity at the beginning introducing task sequencing option:
And finally you can activate the adaptive gain and task sequencing:
To learn more about adaptive gain and task sequencing see Tutorial: How to boost your visual servo control law.
If you want to achieve a physical simulation of a Franka robot, with a model that has been accurately identified from a real Franka robot, like in the next video, we recommend to make a tour on Tutorial: FrankaSim a Panda 7-dof robot from Franka Emika simulator that is available in visp_ros. Here you will find a ROS package that allows to implement position, velocity and impedance control of a simulated Franka robot using ROS and CoppeliaSim.
You can also follow Tutorial: Image-based visual servo (IBVS) that will give some hints on image-based visual servoing in simulation with a free flying camera.