usdot-fhwa-stol / carma-platform

CARMA Platform is built on robot operating system (ROS) and utilizes open source software (OSS) that enables Cooperative Driving Automation (CDA) features to allow Automated Driving Systems to interact and cooperate with infrastructure and other vehicles through communication. Doxygen Source Code Documentation :
https://usdot-fhwa-stol.github.io/documentation/carma-platform/
402 stars 122 forks source link

Center line calculation preventing HD maps from loading #755

Closed msmcconnell closed 4 years ago

msmcconnell commented 4 years ago

Types of Issue

Descriptive summary

When trying to run the develop version of carma platform using the TFHRC or Perryman vector maps they cannot be loaded and fail with the following error:

platform                      | terminate called after throwing an instance of 'std::invalid_argument'
platform                      |   what():  Left and right bound not the same size for centerline computation
platform                      | [environment/lanelet2_map_loader-16] process has died [pid 255, exit code -6, cmd /opt/autoware.ai/ros/install/map_file/lib/map_file/lanelet2_map_loader /opt/carma/maps/vector_map.osm /lanelet_map_bin:=base_map __name:=lanelet2_map_loader __log:=/home/carma/.ros/log/99115b1c-c699-11ea-b112-000c29e8fc0e/environment-lanelet2_map_loader-16.log].

This most likely comes from the changes made in this PR to support curvature calculations https://github.com/usdot-fhwa-stol/autoware.ai/pull/85

Expected behavior

HD maps can be loaded without issues

Software version this applies to

develop after 3.3.0

Actual behavior

Map loader throws exception and shutsdown

Steps to reproduce the behavior

Set your vector map to TFHRC or perryman OSM files (not yet tested with others) carma start all

Related work

Link to related tickets or prior related work here.

msmcconnell commented 4 years ago

Resolved by above PR. Waypoint generator unit tests can now be seen passing on this pr https://github.com/usdot-fhwa-stol/carma-platform/pull/612 image