Closed maxlein closed 3 years ago
To be upfront, I won’t have the cycles to work on this. If this is something important, I’d recommend taking the initiative and implementing it yourself and submitting a PR.
This is one of those “yeah, we know its a problem” but has reasonable workarounds so it doesn’t usually cause a huge hassle.
Steps (from slack):
Closing this ticket as "wontfix", this has the same item as https://github.com/ros-planning/navigation/issues/166 which hasn't had any progress in 7 years. The fix is pretty easy to rotate the map in a graphics editing tool if you don't visually like the way its oriented. To implement this, we'd own a bunch of sin/cos functions every time we did a map operation that would likely increase the overhead of the costmap system non-trivially.
This is something that if were implemented, would be considered for merging, but given its legacy of 7 years of non-action and a reasonable work around for a visual-developer-only issue, I think its safe to remove this from any "todo" list in the issue tracker.
Just found out that if you add a rotation to the map.yaml's origin, the global costmap is not rotating the map. So map and static costmap differ in der global representation.
But I am not sure if this is a bug, or if this is just how the costmap "works".
I think in ROS 1, it was the same.
Map without rotation:
Map with rotation:
Bug report
Required Info:
Steps to reproduce issue
Start map server with a map where its origin is rotated.
Expected behavior
Global Costmap is also rotated and in sync with the map topic.
Actual behavior
Global costmap is not getting rotated.