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

scan topic is empty ( topic not published yet) #32

Closed
walid19 opened this issue Jul 23, 2019 · 4 comments
Closed

scan topic is empty ( topic not published yet) #32

walid19 opened this issue Jul 23, 2019 · 4 comments

Comments

@walid19
Copy link

walid19 commented Jul 23, 2019

I am trying to convert Pointcloud2 msg to laser scan, I mapped the input topic in the launch file . the out laser scan topic is empty ?.

@walid19 walid19 changed the title scan topic is empty scan topic is empty ( topic not published yet) Jul 23, 2019
@kungfrank
Copy link

Hello, I have the same problem. Did you solve it?

@walid19
Copy link
Author

walid19 commented Nov 11, 2019 via email

@hynkis
Copy link

hynkis commented Nov 20, 2019

  1. Try to run this command in terminal at first.
    rosrun pointcloud_to_laserscan pointcloud_to_laserscan_node cloud_in:="your pointcloud topic"
    and subscribe topic "/scan" (/scan is the default publish topic).

  2. If it works, then it means pointcloud_to_laserscan package works and you need to change the parameters in the example launch file (simple_node.launch). In my case, "scan_time" parameter was too big(default 0.33, mine was 0.033). You can check the right parameters by 'rostopic echo' the message "/scan" when you run the 'rosrun' command above.

@walid19
Copy link
Author

walid19 commented Nov 20, 2019 via email

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