-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ROS2 Bridge not working with LRAUV Simulator #660
Comments
I am pretty sure I know what is causing it.
If I remove the "/0/" the bridge causes no issues.
I assume this could be some sort of parsing issue correct? |
I figured out a workaround. From my understanding you can't specify ROS2 topics with a single number in the path. This is what is causing the issue. The workaround is top map the ROS topic to a different topic like so:
|
Environment
source - humble branch with gazebo garden
Description
Steps to reproduce
Output
In step 3 you will see that the bridge works and you are able to control the thurster. However in step 4 I get this warning:
[WARN] [1733327666.759352233] [ros_gz_bridge]: Failed to create a bridge for topic [/model/tethys/joint/vertical_fins_joint/0/cmd_pos] with ROS2 type [std_msgs/msg/Float64] to topic [/model/tethys/joint/vertical_fins_joint/0/cmd_pos] with Gazebo Transport type [gz.msgs.Double].
I don't think the topic name is wrong or the msg types because I can publish to that using gz topic -t /model/tethys/joint/vertical_fins_joint/0/cmd_pos -m gz.msgs.Double -p 'data: -0.17' and the vehicle starts to turn.
Hopefully somebody has dealt with this.
The text was updated successfully, but these errors were encountered: