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

How to specify the topic and frame names? #23

Closed
wiku30 opened this issue Sep 13, 2019 · 2 comments
Closed

How to specify the topic and frame names? #23

wiku30 opened this issue Sep 13, 2019 · 2 comments

Comments

@wiku30
Copy link

wiku30 commented Sep 13, 2019

In the hdl_graph_slam, I can change the topic and frame IDs (to run on data from other lidars) in the launch file. But in this project, I could not see interfaces about such IDs in the launch file.

So how to change the IDs?

@koide3
Copy link
Owner

koide3 commented Sep 17, 2019

Hi @wiku30 ,
You can remap "/velodyne_points" and "/gpsimu_driver/imu_data" topics to use this package with your sensor.

imu_sub = mt_nh.subscribe("/gpsimu_driver/imu_data", 256, &HdlLocalizationNodelet::imu_callback, this);

points_sub = mt_nh.subscribe("/velodyne_points", 5, &HdlLocalizationNodelet::points_callback, this);

Maybe this packages should have more documentation so that users can tell how they can use it without taking look at the code... I'll put more information in README.

@wiku30
Copy link
Author

wiku30 commented Sep 17, 2019

Thanks!

@wiku30 wiku30 closed this as completed Sep 17, 2019
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