Ros_bridge not publishing ROS messages
See original GitHub issueI’ve followed the tutorial on Setting up a new Unity Project, but want to set up the a new catkin_ws independent of the provided docker space. I’m quite new to ROS so this might be obvious.
I’ve tried to run
roslaunch rosbridge_server rosbridge_tcp.launch bson_only_mode:=true
And then press play in Unity.
The console in Unity then reports that connection to ros bridge is established, and rostopic list
confirms that the topics have been published. However, when opening up rviz to view the sensors, none of them receive any messages.
Is it possible to get access files in the docker container so that it is easier to set up a workspace outside of docker? Does anyone know how to solve this issue?
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (5 by maintainers)
Top Results From Across the Web
Unable to view some ROS1 messages using ROS bridge
I enter the container with docker exec -it foxy-ros-bridge bash . If I source the ROS1 workspace with ROS1, I can see the...
Read more >Simple Message failed - rosbridge
I created the topic three with that message through rosbridge { “op”: “advertise”, “topic”: “/three”, “type”: “std_msgs/String” } but failed ...
Read more >I'm trying to publish a message of a Tizen based app on ros ...
The app is running on a Tizen based smartwatch. If i try to publish geometry messages, like the device orientation, i have no...
Read more >Nvidia IsaacSim rosbridge__no message published on ...
I Tried to Publish ROS messages from builtin ROS examples in Isaac sim. using rostopic list I see advertised topics but not receiving...
Read more >11. Custom Message — isaacsim latest documentation
Publishing and receiving ROS messages in standalone python scripts. Using custom ROS message that contains contact sensor information.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I found the easy way to solve this issue, but it only works on a linux host.
Add the
--network host
argument to thedocker run
command. You can also remove the--publish
arguments to prevent the gettingWARNING: Published ports are discarded when using host network mode
.Proof of fix
Run the docker image
rosbridge 0.11.13 (ROS Noetic, Ubuntu 20.04 LTS)
@EdvardGrodem, thank you for your reply. After switching to a different version of rosbridge as mentioned above, all the topics are visible now. Thanks!