bark-simulator / bark

Open-Source Framework for Development, Simulation and Benchmarking of Behavior Planning Algorithms for Autonomous Driving
https://bark-simulator.github.io/
MIT License
290 stars 70 forks source link

Bug: Lanes are sometimes not created with the correct length #73

Closed AKreutz closed 5 years ago

AKreutz commented 5 years ago

When a Lane is created using the function modules::world::create_lane_with_offset_from_line in commons.hpp, the created line sometimes is too short by one point.

The bug happens when the requested length of the new Lane, as determined by the parameters lane_width_current_lane.s_start and lane_width_current_lane.s_end, is not equal to 1. This is almost always the case when a map is created using xodr_parser.py.

AKreutz commented 5 years ago

Pull request #74 contains a test that fails because of the bug, as well as a potential fix for it.

klemense1 commented 5 years ago