A ROS2 package for teleoperating CRANE+ V2 robot.
- Keyboard teleoperation in joint space
- Setup Environment
Follow https://github.com/AI-Robot-Book-Humble/docker-ros2-desktop-ai-robot-book-humble to setup the Docker environment Launch CRANE+ V2 manipulator in Gazebo by running
ros2 launch crane_plus_gazebo crane_plus_with_table.launch.py- Clone this repository into your ROS2 workspace:
cd ~/pai_ws/src
git clone https://github.com/matsuolab/physicalai_teleop.git- Install dependencies
cd ~/pai_ws
rosdep install --from-paths src --ignore-src -r -y- Build the package:
colcon build --symlink-install --packages-select physicalai_teleop- Source your workspace:
source install/setup.bashros2 run physicalai_teleop teleop_keyboard| Key | Function |
|---|---|
| Q/E | Select joint (1-4) |
| W/S | Increase/Decrease selected joint angle |
| R/F | Increase/Decrease all joint angles (coarse adjustment) |
| O | Open gripper |
| C | Close gripper |
| X | Reset robot to vertical (all-zero) position |
| ESC | Quit |
The joints are:
- Joint 1: Base rotation
- Joint 2: Shoulder
- Joint 3: Elbow
- Joint 4: Wrist