Minimal implementation of a ROS2 node for the Sphero RVR robot. See hardware description at ROS2 Robot (Sphero RVR) with Localization, Navigation, AI, and a Thermal Imager.
- Reset RVR (on/off): this is necessary to reset internal Sphero odometry.
- run ros2 run sphero sphero_node
- run ros2 launch rplidar_ros rplidar.launch.py frame_id:=laser (ROS2 RP LIDAR node)
- Start rviz2
- run ros2 launch teleop_twist_joy teleop-launch.py joy_config:='ps3' (to move the rover around during mapping)
- run ros2 launch mapping_slam_async_launch.py (start SLAMToolbox in mapping mode)
- Reset RVR (on/off): this is necessary to reset internal Sphero odometry.
- run ros2 run sphero sphero_node
- run ros2 launch rplidar_ros rplidar.launch.py frame_id:=laser (ROS2 RP LIDAR node)
- Start rviz2 (otherwise it may lose the initial map)
- run ros2 launch navigation_launch.py (start navigation2)
- run ros2 launch localization_slam_async_launch.py (start SLAMToolbox localization)
- run ros2 run sphero image_publisher (for publishing thermal and visible light images)