-
Notifications
You must be signed in to change notification settings - Fork 194
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
Many topics don't publish if world is specified with an absolute path #680
Comments
Looks like the problem may just be that the way we check for world names to bridge in We could make this approach a little more robust by normalizing the path strings a bit before we do our matching, but it seems like the decision about what to bridge should actually be made based what plugins are included in the sdf. In the long term, I think it would be even better if we had a way of indicating whether a gz topic should be advertised as available for bridging when we publish it, and then a ROS side process that picks up a list of bridgeable topics and decides whether to create the bridge for them. |
I gave this a shot while working on the wind plugin. Looks good now - all topics are publishing when I run directly on my machine with the example you posted. |
It turns out that #682 only fixed bridges for some topics, but task-specific bridges are still not being created. For example, running:
causes the following topics to fail to bridge to the ROS 2 side:
I believe this is also the reason our ghost ship is not currently showing expected behavior for the perception task in osrf/vrx-docker#60 This is happening because we need to pass the base name of the world to our |
how can i do while 20.04 ubuntu and ros-noetic??? |
@FangLian9101 You have two options: |
Describe the bug
When launching the VRX competition with an argument such as
world:=/full/path/to/stationkeeping_task
the world seems to launch but many topics are not published. On the ROS side, I get:This is a problem because to run our competition we rely on the ability to specify the path of world files that are not installed in the install directory.
Expected behavior
I expect to see at least the following topics:
To Reproduce
List the steps to reproduce the problem:
ros2 launch vrx_gz competition.launch.py world:=`pwd`/src/vrx/vrx_gz/worlds/stationkeeping_task
System Configuration:
Tell us about your system.
Additional notes
It looks like the first sign of error output is
This is followed shortly by
The text was updated successfully, but these errors were encountered: