← Back


Play with Our Robot Hardware

Last Update: 2025-11-03


Prerequisites

  • Read this Doc πŸ“‘ Robot Hardware Guide

  • Make sure your ROS_DOMAIN_ID is unique, or LOCALHOST_ONLY

Template workspace src folder

The structure of src should be like:

src
β”œβ”€β”€ interbotix_ros_core
β”œβ”€β”€ interbotix_ros_manipulators
β”œβ”€β”€ interbotix_ros_toolboxes
β”œβ”€β”€ iqr_tb4_ros
β”œβ”€β”€ pan_tilt_ros
β”œβ”€β”€ realsense-ros
└── witmotion_ros_driver

Please check it carefully

Basic Operations You May Refer to


Hardware Startup

  • ros2 launch iqr_tb4_bringup bringup.launch.py: Launch the hardware setup

Keyboard Teleopration

  • ros2 run teleop_twist_keyboard teleop_twist_keyboard: Send velocity command to topic /cmd_vel

Rviz2 Visualization

  • ros2 launch iqr_tb4_description display.launch.py: Visualize the β€œdigital twin” of the robot

SLAM

  • ros2 launch turtlebot4_navigation slam.launch.py: Launch slam_toolbox’s slam functionality

  • ros2 launch turtlebot4_viz view_robot.launch.py: Launch rviz2 for visualization during slam

  • ros2 run nav2_map_server map_saver_cli -f <name_of_your_saved_map>: Save the map you constructed

Navigation

  • ros2 launch turtlebot4_navigation localization.launch.py map:=<name_of_your_saved_map.yaml>: Start localization

  • ros2 launch turtlebot4_navigation nav2.launch.py: Launch nav2

  • ros2 launch turtlebot4_viz view_robot.launch.py: Launch rviz2 for visualization during navigation

4-dof Arm

  • You should place the arm in a configuration as below during rest:

name


Pan-Tilt

  • ros2 launch pan_tilt_bringup panTilt_bringup.launch.py, then the pan-tilt topics are ready for you, you can publish to these topics to control the pan-tilt.

e.g.

ros2 topic pub /pan_tilt_cmd_deg pan_tilt_msgs/msg/PanTiltCmdDeg "{yaw: 30.0, pitch: 30.0, speed: 5}"

Camera

  • ros2 run realsense2_camera realsense2_camera_node or ros2 launch realsense2_camera rs_camera.launch.py to start the camera node. Then visualize the camera image by using rviz2 or rqt_image_view.