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

Can't subscribe to std_msgs/String #141

Closed
Vourhey opened this issue Aug 21, 2020 · 1 comment
Closed

Can't subscribe to std_msgs/String #141

Vourhey opened this issue Aug 21, 2020 · 1 comment

Comments

@Vourhey
Copy link

Vourhey commented Aug 21, 2020

I don't know if it's related to rosrust specifically but our team uses rosrust to handle ROS topics.

At the moment it's possible to send messages from rust and catch it via rostopic, but publishing from rostopic and catching in rust is not possible.

Here's the issue in our package. And here's the line where all the magic must happen link

The package is located here https://github.com/airalab/robonomics/blob/master/substrate-ros/

@adnanademovic
Copy link
Owner

This might be totally unrelated, but you're not doing anything with the Result returned by try_init_with_options. You might be even getting an issue there.

I also recommend setting up some logger that connects to the log library. rosrust might be giving you warnings about interactions with other nodes, but you're not seeing them. A simple example is env_logger.

@adnanademovic adnanademovic closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2023
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

2 participants