You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,24 +46,26 @@ This repository contains C++ and Python code to define and handle Gaussian Mixtu
46
46
`ros2 launch gmm_coverage world_gmm.launch.py`
47
47
48
48
* 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**
50
50
`ros2 run gmm_coverage interface.py`
51
51
52
-
* **C++ implementation**
52
+
* **C++ implementation**
53
53
`ros2 run gmm_coverage hs_interface`
54
54
55
55
*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.
56
56
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:
58
58
`ros2 topic list`
59
59
60
60
* 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)
64
66
65
67
*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.
66
68
67
69
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:
0 commit comments