This application note describes step to launch lidar-based SLAM on iRobot Create3 with Navqplus as a compute board.
The application note assume the following preparation steps are concluded:
Setup Linux host for running Rviz
Put your robot on a level surface, make sure there are no dangling wires that could damage the robot or the NAVQ Plus board during the movements.
Open terminal window.
Log in to the Navqplus console
$ ssh user@<navqplus-ip> |
Start navigation stack:
$ /opt/ros/humble/share/create3_slam_launch/scripts/start_slam -b |
NOTE: You must place the robot on the initial place before starting the navigation stack.
Open terminal window
Restart chrony service
$ sudo systemctl restart chrony |
Set up cyclonedds as default RMW
$ export RMW_IMPLEMENTATION="rmw_cyclonedds_cpp" |
Start rviz
$ /opt/ros/humble/share/create3_slam_launch/scripts/start_rviz |
In the rviz window use the 2D Goal Pose toolbar button and then click to the location you want robot to move to.