5.3.4
Description
Abstract
fix pitch and slope acceleration calculation for ego vehicle.
and refactor to test properly.
Background
When calculating the position on the lanelet used to calculate the slope, a point in a different coordinate system was used, so the slope calculation did not work properly.
Details
Added tests
do tests at 2 red points, which have different slope in same lanelet in the figure below.
8 test variation
- 2 different slope
- 2
consider_acceleration_by_road_slope
flag state (true/false) - 2 ego direction (up / down against the slope)
References
Destructive Changes
None
Known Limitations
None