Skip to content

Commit 78a2d1c

Browse files
authored
ign to gz (gazebosim#519)
Signed-off-by: Alejandro Hernández Cordero <[email protected]>
1 parent ef9cd5c commit 78a2d1c

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Rolling | Fortress | [humble](https://github.com/gazebosim/ros_gz/tree/humble) |
1818
Rolling | Garden | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
1919
Rolling | Harmonic | [ros2](https://github.com/gazebosim/ros_gz/tree/ros2) | only from source
2020

21-
* ROS 2 Jazzy Jalisco is slated for release on May 23rd, 2024. [Full ROS 2 release information is available in REP-2000.]
21+
* ROS 2 Jazzy Jalisco is slated for release on May 23rd, 2024. [Full ROS 2 release information is available in REP-2000.]
2222

2323
For information on ROS(1) and Gazebo compatibility, refer to the [noetic branch README](https://github.com/gazebosim/ros_gz/tree/noetic)
2424

README_RENAME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This allows users to do either of these and get equivalent behavior:
77

88
```bash
99
ros2 run ros_gz parameter_bridge [...]
10-
ros2 run ros_ign parameter_bridge [...] # Will emit deprecation warning
10+
ros2 run ros_gz parameter_bridge [...] # Will emit deprecation warning
1111
```
1212

1313
Additionally, installed files like launch files, message interfaces etc. are **duplicated** versions of the ones in `ros_gz` (but renamed as appropriate), and point to `ros_gz` dependencies as well (e.g. launch files pointing to `ros_gz` nodes.)

ros_gz_bridge/README.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Now we start the Gazebo Transport talker.
110110
111111
```
112112
# Shell C:
113-
ign topic -t /chatter -m gz.msgs.StringMsg -p 'data:"Hello"'
113+
gz topic -t /chatter -m gz.msgs.StringMsg -p 'data:"Hello"'
114114
```
115115
116116
## Example 1b: ROS 2 talker and Gazebo Transport listener
@@ -127,7 +127,7 @@ Now we start the Gazebo Transport listener.
127127
128128
```
129129
# Shell B:
130-
ign topic -e -t /chatter
130+
gz topic -e -t /chatter
131131
```
132132
133133
Now we start the ROS talker.
@@ -148,14 +148,14 @@ First we start Gazebo Sim (don't forget to hit play, or Gazebo Sim won't generat
148148
149149
```
150150
# Shell A:
151-
ign gazebo sensors_demo.sdf
151+
gz sim sensors_demo.sdf
152152
```
153153
154154
Let's see the topic where camera images are published.
155155
156156
```
157157
# Shell B:
158-
ign topic -l | grep image
158+
gz topic -l | grep image
159159
/rgbd_camera/depth_image
160160
/rgbd_camera/image
161161
```
@@ -206,15 +206,15 @@ On terminal B, we start a ROS 2 listener:
206206
207207
And terminal C, publish an Gazebo message:
208208
209-
`ign topic -t /chatter -m gz.msgs.StringMsg -p 'data:"Hello"'`
209+
`gz topic -t /chatter -m gz.msgs.StringMsg -p 'data:"Hello"'`
210210
211211
At this point, you should see the ROS 2 listener echoing the message.
212212
213213
Now let's try the other way around, ROS 2 -> Gazebo.
214214
215-
On terminal D, start an Igntion listener:
215+
On terminal D, start an Gazebo listener:
216216
217-
`ign topic -e -t /chatter`
217+
`gz topic -e -t /chatter`
218218
219219
And on terminal E, publish a ROS 2 message:
220220
@@ -232,7 +232,7 @@ On terminal A, start the service bridge:
232232
233233
On terminal B, start Gazebo, it will be paused by default:
234234
235-
`ign gazebo shapes.sdf`
235+
`gz sim shapes.sdf`
236236
237237
On terminal C, make a ROS request to unpause simulation:
238238
@@ -262,19 +262,19 @@ bridge may be specified:
262262
gz_type_name: "gz.msgs.StringMsg"
263263

264264
# Set just GZ topic name, applies to both
265-
- gz_topic_name: "chatter_ign"
265+
- gz_topic_name: "chatter_gz"
266266
ros_type_name: "std_msgs/msg/String"
267267
gz_type_name: "gz.msgs.StringMsg"
268268

269269
# Set each topic name explicitly
270270
- ros_topic_name: "chatter_both_ros"
271-
gz_topic_name: "chatter_both_ign"
271+
gz_topic_name: "chatter_both_gz"
272272
ros_type_name: "std_msgs/msg/String"
273273
gz_type_name: "gz.msgs.StringMsg"
274274

275275
# Full set of configurations
276276
- ros_topic_name: "ros_chatter"
277-
gz_topic_name: "ign_chatter"
277+
gz_topic_name: "gz_chatter"
278278
ros_type_name: "std_msgs/msg/String"
279279
gz_type_name: "gz.msgs.StringMsg"
280280
subscriber_queue: 5 # Default 10

ros_gz_image/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Image utilities for using ROS and Gazebo Transport
22

33
This package provides a unidirectional bridge for images from Gazebo to ROS.
4-
The bridge subscribes to Gazebo image messages (`ignition::msgs::Image`)
4+
The bridge subscribes to Gazebo image messages (`gz::msgs::Image`)
55
and republishes them to ROS using [image_transport](http://wiki.ros.org/image_transport).
66

77
For compressed images, install

ros_gz_point_cloud/examples/depth_camera.sdf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
3. Load the example world, unpaused:
1717
18-
ign gazebo -r examples/depth_camera.sdf
18+
gz sim -r examples/depth_camera.sdf
1919
2020
4. Launch RViz to visualize the point cloud:
2121

ros_gz_point_cloud/examples/gpu_lidar.sdf

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
1616
3. Load this world, unpaused:
1717
18-
ign gazebo -r examples/gpu_lidar.sdf
18+
gz sim -r examples/gpu_lidar.sdf
1919
2020
4. Launch RViz to visualize the point cloud:
2121

ros_gz_point_cloud/examples/rgbd_camera.sdf

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
1717
3. Load the example world, unpaused:
1818
19-
ign gazebo -r examples/rgbd_camera.sdf
19+
gz sim -r examples/rgbd_camera.sdf
2020
2121
4. Launch RViz to visualize the point cloud:
2222

ros_gz_sim/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ros2 launch ros_gz_sim gz_sim.launch.py
2929
then spawn a model:
3030

3131
```
32-
ros2 run ros_gz_sim create -world default -file 'https://fuel.ignitionrobotics.org/1.0/openrobotics/models/Gazebo'
32+
ros2 run ros_gz_sim create -world default -file 'https://fuel.gazebosim.org/1.0/openrobotics/models/Gazebo'
3333
```
3434

3535
See more options with:

0 commit comments

Comments
 (0)