Description
This application note describes step to launch lidar-based SLAM on iRobot Create3 with Navqplus as a compute board.
Preparation
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.
Launching SLAM/navigation stack
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.
Launching RVIZ
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
Setting movement goals
In the rviz window use the 2D Goal Pose toolbar button and then click to the location you want robot to move to.