hatem-darweesh / assuremappingtools

Desktop based tool for viewing, editing and saving road network maps for autonomous vehicle platforms such as Autoware.
GNU General Public License v3.0
210 stars 74 forks source link

Problem about traffic lights in osm format #65

Open BatuhanUlucay opened 2 years ago

BatuhanUlucay commented 2 years ago

Hello Hatem,

I am working with assuremapping tool for generating custom lanelet osm maps. However, when trying to add a traffic light, I can't set its horizontal angle as needed. Is there a way to do it? Or could you explain how it calculates horizontal angle of traffic light so that I can do it manually.

Thanks.

hatem-darweesh commented 2 years ago

Can you share a screen shot or video. First try to write the angle in the edit view on the right of possible,

clepz commented 2 years ago

Hi, I run map loader and map visualizer to use osm formatted hdmap. link Then, I run feat_proj_lanelet2 to check range and find a traffic light camera frame ROI from hdmap. link Feat_proj runs without a problem and finds traffic lights in the camera frame If I use SVL-created osm hdmap. Feat_proj can't find the rotation of traffic lights if I use the assuremapping tool created osm hdmap. I think I created the hdmap correctly.

The feat_proj calculates rotation from linestring points from traffic light objects. However, points are identical If I use the assuremapping tool created osm hdmap.

I shared an example for one traffic light XML's both SVL-created gomentum.osm and assuremapping tool hdmap.

Gomentum: gomentum.txt

Ours: ours.txt