Skip to content

Commit 1fccb76

Browse files
authored
fix ros_gz_bridge message type for Gazebo Harmonic (#241)
1 parent 7362f34 commit 1fccb76

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

irobot_create_gz/irobot_create_gz_bringup/launch/create3_ros_gz_bridge.launch.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ def generate_launch_description():
5757
}],
5858
arguments=[
5959
[namespace,
60-
'/cmd_vel' + '@geometry_msgs/msg/TwistStamped' + '[ignition.msgs.Twist'],
60+
'/cmd_vel' + '@geometry_msgs/msg/TwistStamped' + '[gz.msgs.Twist'],
6161
['/model/', robot_name, '/cmd_vel' +
6262
'@geometry_msgs/msg/TwistStamped' +
63-
']ignition.msgs.Twist']
63+
']gz.msgs.Twist']
6464
],
6565
remappings=[
6666
([namespace, '/cmd_vel'], 'cmd_vel'),
@@ -78,10 +78,10 @@ def generate_launch_description():
7878
arguments=[
7979
['/model/', robot_name, '/pose' +
8080
'@tf2_msgs/msg/TFMessage' +
81-
'[ignition.msgs.Pose_V'],
81+
'[gz.msgs.Pose_V'],
8282
['/model/', dock_name, '/pose' +
8383
'@tf2_msgs/msg/TFMessage' +
84-
'[ignition.msgs.Pose_V']
84+
'[gz.msgs.Pose_V']
8585
],
8686
remappings=[
8787
(['/model/', robot_name, '/pose'],
@@ -100,7 +100,7 @@ def generate_launch_description():
100100
arguments=[
101101
['/model/', robot_name, '/tf' +
102102
'@tf2_msgs/msg/TFMessage' +
103-
'[ignition.msgs.Pose_V']
103+
'[gz.msgs.Pose_V']
104104
],
105105
remappings=[
106106
(['/model/', robot_name, '/tf'], 'tf')
@@ -117,7 +117,7 @@ def generate_launch_description():
117117
[namespace,
118118
'/bumper_contact' +
119119
'@ros_gz_interfaces/msg/Contacts' +
120-
'[ignition.msgs.Contacts']
120+
'[gz.msgs.Contacts']
121121
],
122122
remappings=[
123123
([namespace,
@@ -138,7 +138,7 @@ def generate_launch_description():
138138
['/world/', world,
139139
'/model/', robot_name,
140140
'/link/base_link/sensor/' + cliff + '/scan' +
141-
'@sensor_msgs/msg/LaserScan[ignition.msgs.LaserScan']
141+
'@sensor_msgs/msg/LaserScan[gz.msgs.LaserScan']
142142
],
143143
remappings=[
144144
(['/world/', world,
@@ -161,7 +161,7 @@ def generate_launch_description():
161161
['/world/', world,
162162
'/model/', robot_name,
163163
'/link/' + ir + '/sensor/' + ir + '/scan' +
164-
'@sensor_msgs/msg/LaserScan[ignition.msgs.LaserScan']
164+
'@sensor_msgs/msg/LaserScan[gz.msgs.LaserScan']
165165
],
166166
remappings=[
167167
(['/world/', world,
@@ -183,7 +183,7 @@ def generate_launch_description():
183183
arguments=[
184184
[namespace, '/create3_buttons' +
185185
'@std_msgs/msg/Int32' +
186-
'[ignition.msgs.Int32'],
186+
'[gz.msgs.Int32'],
187187
],
188188
remappings=[
189189
([namespace, '/create3_buttons'], '_internal/create3_buttons'),

irobot_create_gz/irobot_create_gz_bringup/launch/sim.launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def generate_launch_description():
7777
name='clock_bridge',
7878
output='screen',
7979
arguments=[
80-
'/clock' + '@rosgraph_msgs/msg/Clock' + '[ignition.msgs.Clock'
80+
'/clock' + '@rosgraph_msgs/msg/Clock' + '[gz.msgs.Clock'
8181
])
8282

8383
# Create launch description and add actions

0 commit comments

Comments
 (0)