Laser-based SLAM and path planning on the robot with WebGUI#

Pre-requisites#

Before you start mapping, make sure the robot is undocked. Otherwise the robot will not move for security purposes. Follow the undocking section to do so.

Creating a new map with Laser Scanner#

Step 1. Start the mapping process. Open WebGUI and click the Building option and then select the MAP MANAGER‣START MAPPING option in the top menu.

../_images/ari_navigation_laser_webgui_start_mapping.png

The interface will automatically switch to Navigation page where the current map state will be shown. An arrow represents the robot and the current readings of the laser are depicted in pink.

../_images/ari_navigation_laser_webgui_mapping_1.png

Step 2. Map the area Move the robot around the area to be mapped using the WebGUI joystick on the right side. The map will be constantly updated with the laser readings. It is possible that the robot stops moving at some point, due to a full processing queue, in this case it will be able to move again in few seconds.

../_images/ari_navigation_laser_webgui_mapping_2.png

Step 3. Stop mapping. Once all the desired area has been covered, press the STOP MAPPING button. A window will popup asking you to name the current map. Afterwards, you will be taken to the EDIT MAP tab, where you can add features to the map configuration.

Localization with Laser Scanner#

Once the mapping process has been completed, the new map will be loaded and the robot will be localizing in it. Note that the correct localization of the robot in the map is a main requirement in order to safely perform the navigation of the robot in the map. This allows the user to specify a goal or a set of goals in the maps and the robot will plan a trajectory to navigate safely through them while performing obstacle avoidance. Therefore, before proceeding to path planning, ensure that the robot is well localized in the map.

Go to the Navigation page in the WebGUI and verify the localization accuracy of the robot by observing its reported position (orange arrow) in the map. For more accurate information about the localization of the robot, check the Localization with Laser Scanner page.

If the robot is not properly localized, then proceed as follows:

Step 1. Press the localization option. Press the Localize Robot button on the left panel of the Navigation page.

../_images/ari_navigation_laser_webgui_localization_1.png

Step 2. Confirm the localization process. A pop-up will ask you to confirm whether you want to proceed with the process.

../_images/ari_navigation_laser_webgui_localization_2.png

Step 3. Set the new location of the robot. Left-click the mouse at the point where the robot is actually located in the map, while dragging the mouse to set the robot’s orientation.

../_images/ari_navigation_laser_webgui_localization_3.png

Once the mouse is released, the updated location of the robot will be displayed in the map.

Advanced Navigation utilities#

Additional functionalities in the WebGUI allow the user to define points of interest or list of points to follow along in sequence, set-up zones of interests and edit the map to include virtual obstacles among others. Check the Navigation Manager to learn how to add such features in your map.