How can I modify or change parameters or topics' names wrt laser_scan?
Hi, I'm working on ROS kinetic in Ububtu 16.04.
I'm trying to modify some launch or source files to do simple practice. (To be honest, that package is https://github.com/spencer-project/spencer_people_tracking .)
But unfortunately, my 2D lidar sensor of Hokuyo seems to be unacceptable to the above package. (In the above package, it uses SICK LMS200-style sensors with 0.5 deg angular resolution.)
I guess the reason why my sensor's scan data should not be acceptable would be below: the names of laser topics could be at odds with each other.
And really really really unfortunately, I can't find where to modify.
If you happened to have ever had used released packages with your own message or topics, please help me.
Thanks in advance :)
Best regard
Asked by kane_choigo on 2019-09-16 01:27:54 UTC
Comments
Just changing the topic name will not do anything since you have laserscan and the package you have mentioned requires RGB-D data
Asked by Choco93 on 2019-09-16 02:58:03 UTC
Also I have Asus Xtion pro for this package so that I can get RGB-D data.
Asked by kane_choigo on 2019-09-16 23:02:06 UTC
Then you just need to remap topic names of Xtion pro to match that from spencer or vice-versa.
Asked by Choco93 on 2019-09-17 01:29:18 UTC
Thank you so much. I'm doing it now but is it not necessary to modify other source codes( kinds of .cpp or .py ) since I just run this package by roslaunch?
Asked by kane_choigo on 2019-09-17 01:46:59 UTC
No need to modify any code, you just need to make sure that required topics are available and that their names match
Asked by Choco93 on 2019-09-17 02:00:39 UTC