Skip to content

Commit 4245f9f

Browse files
committed
update readme
1 parent 80d16b6 commit 4245f9f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,24 +46,26 @@ This repository contains C++ and Python code to define and handle Gaussian Mixtu
4646
`ros2 launch gmm_coverage world_gmm.launch.py`
4747

4848
* Define the region of interest and calculate the Gaussian Mixture Model fitting the desired shape. Left click with the mouse to define a vertex of the polygon, right click to define the last vertex, stop drawing and calculate the Gaussian Mixture Model.
49-
* **Python implementation**
49+
* **Python implementation**
5050
`ros2 run gmm_coverage interface.py`
5151
52-
* **C++ implementation**
52+
* **C++ implementation**
5353
`ros2 run gmm_coverage hs_interface`
5454
5555
*Note:* when using the C++ implementation, a warning window may appear. Don't close the window, otherwise the interface will consider the mouse click as the definition of a new vertex.
5656

57-
* Check if the GMM is being published by the interface node on the `/gaussian_mixture_model` topic:
57+
* Check if the GMM is being published by the interface node on the `/gaussian_mixture_model` topic:
5858
`ros2 topic list`
5959

6060
* Launch control nodes to drive robots:
61-
`ros2 launch gmm_coverage distributed_gmm.launch.py` (1 node for each robot)
62-
or
63-
`ros2 launch gmm_coverage centralized_gmm.launch.py`(1 node controlling every robot)
61+
`ros2 launch gmm_coverage distributed_gmm.launch.py` (1 node for each robot)
62+
63+
or
64+
65+
`ros2 launch gmm_coverage centralized_gmm.launch.py`(1 node controlling every robot)
6466

6567
*Note:* Before launching nodes to control robots, make sure to check that parameters inside the launch file match the number of robots and environment size defined when spawning robots.
6668
6769

68-
A visualization tool is also provided to visualize Gaussian components of the Mixture. Set the `GUI` parameter in the launch file to `True` to launch it together with control nodes. A predefined RViz configuration will be loaded, showing each component as an ellipse colored according to its weight (green for small values, red for high values), and tracking robots during the mission. If you want to launch it separately:
70+
A visualization tool is also provided to visualize Gaussian components of the Mixture. Set the `GUI` parameter in the launch file to `True` to launch it together with control nodes. A predefined RViz configuration will be loaded, showing each component as an ellipse colored according to its weight (green for small values, red for high values), and tracking robots during the mission. If you want to launch it separately:
6971
`ros2 run gmm_coverage gmm_visualizer`

0 commit comments

Comments
 (0)