Cannot get data from rosbridge_suite v1.1.0
See original GitHub issueDescription I just upgraded my container’s rosbridge_suite from v1.0.7 to latest on apt v1.1.0 and foxglove seems to have stopped working… It registers as a client, but doesn’t seem to receive anything as shown here:
Previously when running v1.0.7 I would get something like the following. This also includes an extra topic I manually published over ros2 topic pub /test_topic geometry_msgs/msg/Point {}
:
I have double checked with my own frontend running roslibjs connecting to the same rosbridge suite seems to work fine for both the older and newer versions.
For context, I have rosbridge_suite running as a Docker Container running this simple container: https://github.com/StarlingUAS/ProjectStarling/blob/master/system/rosbridge-suite/Dockerfile
It is possible that I might have misunderstood something or provided the wrong configuration. But I have found that the configuration is reproducable on other machines (with the docker file below at least). I have not attempted to test outside of the dockerfile natively as I do not have the correct machines!
I have attempted to look into it, but I have no idea where to start. I thought it might be that the rosbridge_server launch file may no longer be valid, or the topics_glob handling had changed, but providing my own launchfile did not appear to fix anything. Foxglove doesn’t provide any indications as to what might be going wrong, and neither does rosbridge!
Many Thanks in advance
- Version: 0.27.0
- OS: Windows & Linux & Chrome
Steps To Reproduce
Testing rosbridge_suite v1.1.0:
- Run the following container:
docker run -it --rm --network test_default -p 9090:9090 uobflightlabstarling/rosbridge-suite:latest
. This runs the dockerfile linked above. - In a seperate terminal, setup a rostopic pub by running
docker run -it --rm --network test_default uobflightlabstarling/rosbridge-suite:latest bash
, Source ros (. /opt/ros/foxy/setup.bash
) and runros2 topic pub /test_topic geometry_msgs/msg/Point {}
- Open Foxglove desktop or web and connect to rosbridge instance on
localhost:9090
. - You should see that rosbridge_suite has a new client connected and the foxglove does not complain, but it is all waiting for data.
To test the working rosbridge_suite v1.0.7, you can use the same containers except with the tag v0.1.0
instead of latest
.
Inside the containers you can check the version of rosbridge-suite by using dpkg -s ros-foxy-rosbridge-suite | grep Version
Expected Behavior
Foxglove connects succesfully and shows the topics in the second image, as well as displays the /test_topic
topic
Actual Behavior Foxglove connects successfully but it is show to be waiting for data.
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (5 by maintainers)
Top GitHub Comments
This commit came after 1.1.0 was released and looks related.
Okay thanks, for now I will build rosbridge from scratch, but it looks like it will all be resolved with the next foxy sync.
Thanks for the help! Happy for this issue to be closed 😃