ROS 2 teleoperation node for controlling a robot using MoveIt Servo with various input devices.
- Sends JointJog and TwistStamped commands from input device
- Supports joint and cartesian (base frame and tool frame) control
- Clean shutdown with Ctrl+C
Important
Make sure MoveIt Servo is running and the terminal window has focus.
For more details, see: https://github.com/AGH-CEAI/aegis_ros/tree/humble-devel/aegis_moveit_config
Note
Install dependencies:
rosdep install --from-paths src --ignore-src -r -y
Note
Make sure the ROS 2 joy package is installed.
ros2 launch teleop2servo teleop.launch.pyYou can configure GamepadTeleopNode parameters in config/gamepad_config.yaml.
This project uses various tools for aiding the quality of the source code. Currently most of them are executed by the pre-commit. As a faster alternative it is suggested to use prek. Please make sure to enable its hooks:
# In case of pre-commit
pre-commit install
# In case of prek
prek installThis repository is licensed under the Apache 2.0, see LICENSE for details.