Roban2 Docs
Debugging Tutorials

Configuration File Description

Basic Information

  • Motor rotation direction
    • The motor's rotation direction is consistent with the positive direction of the robot's coordinate system and follows the right-hand rule. Grip the motor's rotation axis with your right hand so that your thumb points along the positive direction of the rotation axis (the positive direction of the rotation axis is the same as the positive direction of the robot's coordinate system); the direction in which your remaining four fingers curl is the positive rotation direction.
    • Positive directions of the robot: forward -> positive x-axis, left -> positive y-axis, up -> positive z-axis.
    • For example, if the roll axis of hip joint No. 1 is parallel to the robot's x-axis, then according to the right-hand rule, the direction of rotation around the robot's x-axis is the positive direction.
    • Another example: the ankle joint is controlled by parallel linkages, and the axes of its two motors are parallel to the robot's y-axis, so according to the right-hand rule, the direction of rotation around the robot's y-axis is the positive direction.
    • Note: The knee joint is special. The positive direction of the knee joint should be determined by the joint's rotation direction rather than the motor's rotation direction.

Robot Zero-Point File Description

  • Path: /home/lab/.config/lejuconfig/ruiwo_zero.yaml
  • There are 13 motor zero points in total: 1 is the waist zero point, 2–7 are the left leg motor zero points, and 8–13 are the right leg motor zero points.

Arm End Effector Configuration File Description

  • Path: Lejulab_ARM/src/leju-hardware/config/roban_v17/kuavo.json. Note that you must modify the configuration file corresponding to your robot model.
  • When EndEffectorType is set to revo2 in the kuavo.json file, the arm end effector is a BrainCo dexterous hand.

Action and Music Configuration

  • Music storage directory: /home/lab/.config/lejuconfig/music
  • Action storage directory: /home/lab/.config/lejuconfig/action_files

Fall Recovery (Get-Up) Function Configuration

- Note: The end effector of Roban2 Advanced Edition B is a gripper. It must be replaced with a dummy hand or a dexterous hand before this configuration can be enabled; otherwise the gripper is likely to be damaged.

Modify the Configuration

  • Controller configuration: Lejulab_ARM/src/leju-controllers/leju-rl-controller/config/17/controller_manager.yaml Locate the code (around lines 29–32), drag the mouse to select it, then use the shortcut Ctrl + / to uncomment it. controller
  • Joystick control configuration: Lejulab_ARM/src/leju-controllers/leju-rl-controller/config/17/teleop_bindings.yaml Locate the code (lines 142–149), drag the mouse to select it, then use the shortcut Ctrl + / to uncomment it. controller

Deploy the Joystick

  cd /home/lab/Lejulab_ARM
  sudo bash src/leju-joystick/services/deploy_joy_autostart.sh

controller

For all of the following prompts, select y:

Directory /home/lab/.config/lejuconfig/action_files already exists. Replace it? [y/N] y

Directory /home/lab/.config/lejuconfig/music already exists. Replace it? [y/N] y

[teleop-install] Create a backup first and overwrite the existing configuration? [y/N] y

Check Whether the Configuration File Takes Effect

Check /home/lab/.config/lejuconfig/teleop_bindings.yaml and confirm that the comments have been removed. controller

Modify the End Effector Configuration

1. Dexterous hand

  • CAN configuration file: /home/lab/.config/lejuconfig/canbus_device_cofig.yaml Left dexterous hand: put it under bcan2: at the very end of the left arm
    - name: Lhand_revo2_hand
    class: revo2_hand
    device_id: 0x01
    ignore: false

controller

Right dexterous hand: put it under bcan3: at the very end of the right arm

    - name: Rhand_revo2_hand
    class: revo2_hand
    device_id: 0x02
    ignore: false

controller

  • Robot end effector configuration file: Lejulab_ARM/src/leju-hardware/config/roban_v17/kuavo.json Find line 79 and change it to "EndEffectorType": ["revo2", "revo2"] controller

2. Dummy hand

  • CAN configuration file: /home/lab/.config/lejuconfig/canbus_device_cofig.yaml Make sure there is no end effector configuration in the following locations in the file (or that the configuration has already been deleted; if present, it must be deleted) controller controller

  • Robot end effector configuration file: Lejulab_ARM/src/leju-hardware/config/roban_v17/kuavo.json Find line 79 and change it to "EndEffectorType": ["none", "none"] controller