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: docs/source/gazebo/installation.rst
+64-2Lines changed: 64 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,8 +91,70 @@ We can start by choosing the file :file:`ackermann_steering.sdf`
91
91
.. _gnupg: https://gnupg.org/download/
92
92
93
93
94
-
:program:`Gazebo` and :program:`rviz2`
95
-
--------------------------------------
94
+
:program:`Gazebo` and :program:`ROS2` structure
95
+
-----------------------------------------------
96
+
97
+
A :program:`Gazebo`\-related development in :program:`ROS2` will generally have four packages for each robot or system.
98
+
One example is shown below, in the official https://github.com/gazebosim/ros_gz_project_template.
99
+
100
+
.. code-block::
101
+
:emphasize-lines: 2,5,10,15
102
+
103
+
.
104
+
|-- ros_gz_example_application
105
+
| |-- CMakeLists.txt
106
+
| `-- package.xml
107
+
|-- ros_gz_example_bringup
108
+
| |-- CMakeLists.txt
109
+
| |-- config
110
+
| |-- launch
111
+
| `-- package.xml
112
+
|-- ros_gz_example_description
113
+
| |-- CMakeLists.txt
114
+
| |-- hooks
115
+
| |-- models
116
+
| `-- package.xml
117
+
`-- ros_gz_example_gazebo
118
+
|-- CMakeLists.txt
119
+
|-- README.md
120
+
|-- hooks
121
+
|-- include
122
+
|-- package.xml
123
+
|-- src
124
+
`-- worlds
125
+
126
+
This means that if you were to develop packages for a robot called ``beautiful_bot`` you'd be expected to create the four packages as follows.
127
+
128
+
.. code-block::
129
+
130
+
.
131
+
|-- beautiful_bot_application
132
+
|-- beautiful_bot_bringup
133
+
|-- beautiful_bot_description
134
+
`-- beautiful_bot_gazebo
135
+
136
+
According to the developers `here <https://gazebosim.org/docs/harmonic/ros_gz_project_template_guide/>`_ and `here <https://github.com/gazebosim/docs/issues/580>`_, our hypotetical packages would have the following roles.
Owing to the lifecycle of products and resource allocation (we also suffer from this at Universities), you can always expect the official packages for :program:`ROS2` and
154
+
:program:`Gazebo` shipped officially by vendors to considerably lag behind.
0 commit comments