Open ar4development opened 3 years ago
Maps were rotated to fix long standing issues with autoware. Please see #1187 and #961. Do you have the updated map?
@EricBoiseLGSVL The map I have mentioned in description seems to be the actual map from https://content.lgsvlsimulator.com/maps/cubetown/ (see Asset Bundle
link)
@ar4development Hmm, that is the right map. Are you using updated HDMap being used? @hadiTab doesn't users need to update map and hdmap. Visualizer is returning what the AD stack detects.
@EricBoiseLGSVL Hi Eric,
I'm not very familiar with LGSVL. I've googled around and as far as I now understand (probably I'm wrong though) hd maps are somehow related to autoware stack. However I'm just looping Ground Truth data from simulator back to the same simulator without any intermediate processing. Just reading from the topic that simulator writes to..
I believe that map bundle has to be enough for having everything rendered in proper coordinates.
@ar4development Ok I see. yes 3DGTVisualizer is not for simulator GT but the AD stack ground truth. It is for Apollo and is expecting data to be rotated.
@EricBoiseLGSVL Alright. My goal is to evaluate boxes for the objects using some arbitrary algorithm. It takes the lidar points from LGSVL. I use GPS sensor to obtain position and orientation for ego-vehicle in coordinate space of the map. Then I use that data to translate positions of detected objects from LIDAR space to map space.
I also want to render detected boxes in simulator.
Taking into account that the evaluations are performed in the space of the map which cannot the be correctly visualized how do I transform my objects to have them properly oriented? Or probably it is easier to apply transformation to the 3DGTVisualizer sensor? Which exact transformation should I perform?
@hadiTab What would be the best solution? Create a new Visualizer sensor that orients the data. Is GroundTruth3D causing the rotation or is it visualizer?
The issue is caused by coordinate system differences. These sensors expect different coordinate systems. https://www.lgsvlsimulator.com/docs/simulator-coordinate-system/
I believe it could be fixed by adding an ENUM parameter to the Ground Truth Visualize Sensor, allowing to specify the coordinate system.
EXPECTED: Rendered boxes fit the vehicles OBSERVED: They are rendered in different plane. Like shown on screenshot.
Sensors:
Map: https://assets.lgsvlsimulator.com/416285c369f9cd9862e2797818f39e9afe9c8f07/environment_CubeTown
LGSVL version: linux64-2020.06
P.S. - topics are communicated through lgsvl_bridge