nobleo / full_coverage_path_planner

Full coverage path planning provides a move_base_flex plugin that can plan a path that will fully cover a given area
Apache License 2.0
547 stars 156 forks source link

Running on Noetic #7

Closed ElClopitan closed 3 years ago

ElClopitan commented 3 years ago

I got it working on noetic but when I run roslaunch full_coverage_path_planner test_full_coverage_path_planner.launch I get the following error from dynamic reconfigure Screenshot from 2020-10-29 15-48-37 and while the robot moves on the path, the transform from the robot to the map seems to be missing. Screenshot from 2020-10-29 15-43-47 Is this just an issue of publishing a transform myself and if so where can I get the transform info?

amyjohansson1994 commented 3 years ago

@ElClopitan I had similar issue, and found the solution at magazino/move_base_flex#224

ElClopitan commented 3 years ago

@amyjohansson1994 I followed your advice and replaced move_base_legacy_relay.py with the one from noetic-devel branch and did the other fix on there so it runs again. The original issue remains and I think I have narrowed it down to mobile_robot_simulator publishing the robot's base_link to be at (0,0) on the map which is not correct. Manually publishing a tf messes up the path so is there another way I can fix this? Thank you!

Timple commented 3 years ago

So mobile_robot_simulator is broken on Noetic?

ElClopitan commented 3 years ago

It seems to be running fine, just that it places the robot at (0,0) on the map. If that counts as broken then yeah, it's broken. Hopefully there is a fix. It may just be that there is no source for localization on this map.

ElClopitan commented 3 years ago

Even if I give it a correct initial position, the path does not move with it so it seems to start at the point closest to the new position.

ElClopitan commented 3 years ago

Looking at a kinetic version of the code that works, I think it is safe to say that mobile robot simulator is the issue. I'll close this for now but if someone has any potential solutions I would be grateful.

Timple commented 3 years ago

Feel free to open an issue on robot_mobile_simulator for this :)