Teleoperation with FT sensors¶
This tutorial describes how to set the teleoperation station with TIAGo Pro in case the teleoperation station arms does have F/T sensors.
In what follows pilot is the teleoperation station and robot is the TIAGo Pro robot this is attached to.
With F/T sensors:
- The pilot arms are in
cartesian_force_controllerin effort mode that uses the F/T sensors readings to compensate gravity, and - The robot arms mirror the pilots's motion using the
joint_trajectory_controllerin position interface. - The mirror_controller reads the pilot's joint states and sets them as joint posistion command to the robot.
Procedure via Terminal¶
To follow this you have to have connection to the robot and to ssh into it.
In what follows the commands are to activate teleoperation with both arms. If you want to control one single arm (left or right) you have to just run that part instead.
Step 0: Attach the teleoperation station¶
Follow this tutorial.
Step 1: Initial setup¶
Put both pairs of arms in the same configuration. There are corresponding motions for pilot and robot that can be triggered with play_motion2. Connect to the TIAGo Pro robot and run
ros2 run play_motion2 run_motion starting_pilot_arms &&
ros2 run play_motion2 run_motion starting_robot_arms
Warning
This first step is mandatory to be able to mirror properly.
Step 2: Calibrate F/T Sensors¶
It is highly recommended to calibrate both sensors before starting. This process takes some minutes.
Attention
You have to check always the measurements of the F/T sensor in the Diagnostics tab in the WebGUI and if necessary calibrate the F/T sensors mounted at the robot's wrists.
bash
ros2 run pal_sea_arm_bringup calibrate_ft_sensor.sh --all
They should all be close to 0.0 along all axes.
Step 3: Load and activate the Cartesian Force controllers¶
The cartesian_force_controller allow you to control the pilot arms in gravity compensation. The F/T sensor readings makes the pilot way more reactive compared to when using the gravity_compensation_controller.
Load them by doing:
ros2 launch arm_teleop cartesian_force_teleop_controller.launch.py side:=left &&
ros2 launch arm_teleop cartesian_force_teleop_controller.launch.py side:=right
And activate them by switching controllers
ros2 control switch_controllers \
--activate cartesian_force_controller_teleop_right cartesian_force_controller_teleop_left \
--deactivate arm_right_teleop_controller arm_left_teleop_controller
Warning
Do not move the arms at this stage, as the Cartesian controllers are not yet fully active.
Step 4: Load and activate the mirror controllers¶
Load the mirror_controller, that reads the joint states of the pilot and publishes them
ros2 launch arm_teleop mirror_controller.launch.py side:=right &&
ros2 launch arm_teleop mirror_controller.launch.py side:=left
Activate them with the switch controllers service
ros2 control switch_controllers \
--activate mirror_controller_left mirror_controller_right \
--deactivate arm_left_controller arm_right_controller
Step 5: Load and activate the trigger controllers¶
Load the trigger gripper controller by doing
ros2 launch arm_teleop trigger_gripper_controller.launch.py side:=left &&
ros2 launch arm_teleop trigger_gripper_controller.launch.py side:=right
and activate them by doing
ros2 control switch_controllers \
--activate trigger_gripper_left trigger_gripper_right \
--deactivate gripper_left_controller gripper_right_controller
Procedure via the WebGUI¶
The WebGUI has a dashboard with the procedure above. This consists of 3 buttons
- Intial motion: that performs Step 1 above,
- Calibration sensors: that performs Step 2 above, and
- Activation controllers: that performs Step 3,4,5 in this very same order.
See Figure 1.

Figure 1: Teleoperation station dashboard