Skip to content
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

ROSIntegration not publishing messages on Ubuntu 20.04/noetic #143

Open
corwinjs opened this issue Feb 2, 2021 · 4 comments
Open

ROSIntegration not publishing messages on Ubuntu 20.04/noetic #143

corwinjs opened this issue Feb 2, 2021 · 4 comments

Comments

@corwinjs
Copy link

corwinjs commented Feb 2, 2021

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

@Sanic
Copy link
Contributor

Sanic commented Feb 2, 2021

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?

@corwinjs
Copy link
Author

corwinjs commented Feb 2, 2021

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?

@tsender
Copy link
Contributor

tsender commented Feb 8, 2022

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.

@owlmoo
Copy link

owlmoo commented Oct 14, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants