Is there a way to have a local costmap layer that changes its orientation along with the robot?
I would like to implement a local costmap that could rotate along with the robot with respect to the map frame. Is this possible?
Asked by naegling77 on 2021-03-19 17:41:45 UTC
Answers
The navigation stack is able to do it. move_base has global costmap, local costmap and planners, ready to go in a convenient package. move_base
Asked by Dragonslayer on 2021-03-20 03:12:21 UTC
Comments
The cost maps don't rotate with respect to the map frame as far as I've seen. Is there a setting I don't know about?
Asked by tryan on 2021-03-20 09:35:29 UTC
@Dragonslayer, can you specify where I can configure such that the orientation can be changed?
Asked by naegling77 on 2021-03-22 20:04:53 UTC
Maybe I understood the question wrong. But what Iam talking about is the frame-ID of the costmaps. The local-costmap usually is base_frame and "turns" with it. The global-costmap, on the other hand is fixed to, world for example.
Asked by Dragonslayer on 2021-03-23 06:51:31 UTC
global_frame
is usually set to map
or odom
(a fixed frame). You could try setting it to base_link
, but you might run into issues with smeared obstacles if the transform shifts.
Asked by tryan on 2021-03-23 09:07:15 UTC
Comments