| ... | ... | @@ -92,10 +92,22 @@ The robot is ready to take commands, but the visualisation by the simulator is v |
|
|
|
rviz2
|
|
|
|
```
|
|
|
|
|
|
|
|
It should start empty and look like the following:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
We can add visualisation using the ```add``` button, it should show a display like this:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
The first thing to add is called ```TF```, it shows all the frames used by the robot. Too many frames are shown, deselect all of them (uncheck ```all enabled```), and then select ```odom``` and base link. It should show the origin of the world and the current position of the robot.
|
|
|
|
|
|
|
|
Then add a 3D model of the robot, using the ```RobotModel``` visualisation, in the parameters, for ```topic``` type ```/robot_description```.
|
|
|
|
|
|
|
|
Then add the map used by the robot to navigate, you can use the ```map``` visualisation and then select the ```/map``` topic.
|
|
|
|
|
|
|
|
This should show a window that looks like this:
|
|
|
|
|
|
|
|

|
|
|
|
|
|
|
|
|
| ... | ... | |