Ros2 control hardware interface for the Gluon robotic arm.
- ROS 2 Jazzy installed
- Hardware set up
- Calibration done for the arm
cd ~/ros2_ws/src
# Robot description
git clone https://github.com/ariccspstk/gluon_description.git
# Hardware interface
git clone --recurse-submodules https://github.com/ariccspstk/gluon_hardware_interface.git
From the workspace root:
cd ~/ros2_ws
rosdep install --from-paths src --ignore-src -r -ycolcon build
source install/setup.bashros2 launch gluon_hardware_interface gluon_bringup.launch.pyWith the gluon_bringup running, open a new terminal:
source ~/ros2_ws/install/setup.bash
ros2 run rqt_joint_trajectory_controller rqt_joint_trajectory_controllerIn the rqt window:
- Select the appropriate Controller Manager ns (namespace) for your robot.
- Select the Controller (e.g.
joint_trajectory_controller) from the dropdown. - Enable the controller/joints and use the sliders to move each joint.