Skip to main content

CLI Bringup & Teleoperation

This guide explains how to connect to the robot and use the command line to bring up the robot and operate it through teleoperation.

1. Connect to the Robot​

  1. Connect the robot and user PC to the same network.

  2. Connect to the robot PC via SSH.

  3. Enter the ai_worker container (How to use container.sh):

    cd ~/ai_worker/docker
    ./container.sh enter

2. Start the Zenoh Daemon​

RMW_ZENOH NOTIFICATION

AI WORKER uses zenoh as RMW since version 2.0.0, so you need to bring up the Zenoh daemon before bringup the robot.
Please refer to the Zenoh Communication guide.

warning

If Cyclo Manager is installed, the Zenoh daemon may already be running. In a separate robot PC terminal outside the container, check whether the zenoh_daemon container is running. If it is, you do not need to start the Zenoh daemon separately.

docker ps | grep zenoh_daemon

In the AI Worker container, run the following command to bring up the Zenoh daemon:

ros2 run rmw_zenoh_cpp rmw_zenohd

or alias:

zenohd

3. Bringup the Robot and Leader​

Choose how to launch the robot and Leader. All-in-One starts both together; Separate Launches runs them in different terminals.

These commands start an LG2 Leader with BG2/SG2, or an A1 Leader with W1/W2. For other combinations, select the Separate Launches tab.

Default arm controls

Launching the programs does not start arm teleoperation. On A1, A2, and LG2, push both triggers forward together for 2 seconds, then release them, to start both arms. Repeat the action to pause both arms. See Operation Guide before starting.

To start both the Leader and Follower (BG2/SG2/W1/W2) simultaneously:

ros2 launch ffw_bringup ffw_f1_ai.launch.py

Or use the shortcut:

ffw_f1_ai

4. Operation Guide​

Launching the programs does not start arm teleoperation. Follow the Operation Guide to start and control teleoperation.

5. Stop the Services​

To stop a launch command, press Ctrl+C in the terminal where it is running. If the Follower and Leader were started separately, stop each command in its respective terminal.