praveen-palanisamy / multiple-object-tracking-lidar

C++ implementation to Detect, track and classify multiple objects using LIDAR scans or point cloud
MIT License
796 stars 229 forks source link

Invalid argument "/map" #45

Closed brianjzhang closed 3 years ago

brianjzhang commented 3 years ago

It looks like TF2 has deprecated the "/" that precedes frame names so that it should just be "map" instead of "/map". I was able to fix a "Frame not found" error in rviz by removing the slash in main.cpp and main_naive.cpp, so it might be a nice quick fix. Thanks!

https://github.com/praveen-palanisamy/multiple-object-tracking-lidar/blob/f1aec75f7dd46d5f6af3b131be4354822e63c587/src/main.cpp#L250

praveen-palanisamy commented 3 years ago

Thanks @brianjohnzhang! That's right, the / prefix was only retained initially in TF2 for backward compatibility with TF but it's indeed deprecated and should be removed. I'll push the fix in a PR.