ROSIntegration
ROSIntegration copied to clipboard
ROSIntegration not publishing messages on Ubuntu 20.04/noetic
Hello,
My team makes use of ROSIntegration within our Unreal project where most of us use Ubuntu 18.04 and ROS Melodic. However, a couple of us have recently updated to Ubuntu 20.04 and ROS Noetic and we have found that the ROS aspects of our project are no longer working. Once the Unreal project is running, the expected topics can be seen when running rostopic list, but when I try run rostopic echo /mytopic I get an error that says "WARNING: topic [/mytopic] does not appear to be published yet". The only thing we've changed as far as we can tell is that upgrade to Ubuntu 20.04 and ROS Noetic. Is ROSIntegration expected to work with these versions? Note: I have downgraded rosbridge to 0.11.10
Thanks, Corwin
Hi @corwinjs
Thanks for reporting the error. Unfortunately i don't have any feedback on that combination of Ubuntu and ROS. I wonder if the underlying rosbridge library (https://github.com/Sanic/rosbridge2cpp) is still working on 20.04/noetic with the downgraded rosbridge?
Hi @Sanic,
Thanks so much for the quick reply. I have never set up rosbridge2cpp before, but I thought I would give it a try in order to test rosbridge functionality. I got through all of the steps in the readme successfully up until cmake .. -Dtest=on, where I got the following errors:
[~/Documents/...ridge2cpp/build](master)$ cmake .. -Dtest=on
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_PREFIXES
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_SUFFIXES
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_PREFIXES
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_FIND_LIBRARY_SUFFIXES
I am not very familiar with rosbridge2cpp, but perhaps this is evidence that it is not compatible with Ubuntu 20.04?
Hi @corwinjs,
While I also do not use ROS Noetic, I see that someone recently mentioned a similar issue between Noetic and this plugin. It seems that the ros1 branch of rosbridge has been updated and no longer uses message encoding if using bson_only_mode. Are you able to check if using the ros1 branch of rosbridge addresses your issue, instead of 0.11.10?
FYI, the rosbridge2cpp library already included in this plugin is more up-to-date than @Sanic's repo.
Maybe it is the problem of ros_bridge? I tried using the version of 0.11.13 and it worked, my configuration is Ubuntu 20.04/noetic and I also use UE5.