How to create a lanelet2 map for Autoware.Auto AVP demo?
[My question is wrongly originated from Autoware.Auto's gitlab]
Hi everyone, I'll try to be as brief as possible.
My area and the trajectory I want to create using lanelet2_global_planner is as follows: idea of a simple semantic map. And my idea to draw semantic map using JOSM: idea to draw
After looking into autonomoustuff_parking_lot.osm
of the AVP demo, the lanelet2_global_planner
C++ code, I have known that:
- The .osm map has to have an
area
that hasparking_accesses
which lists parking accesses by ids - Each parking access is a relation that has
type
ofmultipolygon
(therelation
of multipleway
members withrole
asouter
), and lists all relevantparking_spot
inparking_spots
tag - Each
parking_spot
has to be amultipolygon
, and rectangle in shape to be exact, formed from 5 points, where last point stays very close to the first point.
I opened autonomoustuff_parking_lot.osm in JOSM with Imagery, searched for parking_accesse s, parking_slot s by IDs to visually see what they are. But that gives me ununified rules. Sometimes a parking_spot is really a rectangular parking spot, but some times it's like this link
What are parking accesses, parking spots literally?
With manual blind study above, I then created this .osm. However, when re-running the AVP demo, it (and my .pcd point cloud) failed to show up in Rviz, although I had configured map_publisher
's longitude
and latitude
to be a node's lat and lon in the .osm.
What did I do wrong in the .osm file? What is the right methodology to start making an .osm map usable for the AVP demo without manually referring to the autonomoustuff_parking_lot.osm
of the Autoware.Auto? Please help.
Did you also define your osm map lat lon origin in data/autonomoustuff_parking_lot.yaml ?
@Aleksandr Savel'ev, I did it bro, as I replied to @mitsudome-r below. So happy.
Anyway, hope my trouble might help you when you come back to global planning after finishing testing sensing with real hardware :D