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

sonar_to_laser.py no messages received and simulated time is active. Is /clock being published? #1

Open
ghost opened this issue Jun 28, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 28, 2019

Hello

I tried to use your code to convert my sonar sensor msgs to laserScan and make use of it in my navigation to avoid obstacles detected by range sensors so I modified only the frami_id and name of topics
Screenshot from 2019-06-28 15-28-38
but when i tried to echo the topics nothing was displayed and I got this message
"WARNING:no messages received and simulated time is active. Is /clock being published?"

Also about this line, the topic car/power publishes whata data?

sub = rospy.Subscriber('car/power', Vector3, callback)

Thanks

@RiccardoGiubilato
Copy link
Owner

Hi,
sorry for the late reply but I didn't receive a notification about the issue..
Do you still have this problem?

In case you are using simulated time, can you check that the original sonar messages are published with the correct timestamp (in the simulated time)?

Otherwise if you are publishing messages from the sensor (and not bagfile), set use_sim_time to false

ciao
Riccardo

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

1 participant