Closed
Description
In getBackPosition()
, the function isChangingLanes()
is called multiple times.
computeAngle()
uses getBackPosition()
to calculate the correct position/angle values during continuous lane changes.
I would like to use getBackPosition()
to do a similar angle-calculation for the SL2015 model (angle between front/back position).
Right now, this angle calculation does not work due to isChangingLanes()
/myLaneChangeCompletion
not being set in the SL2015 model. For the current sublane angle calculation, this is not an issue, because during lane changes the angle-value from computeAngle()
gets overwritten in MSLaneChangerSublane::startChangeSublane
.
See #11882 for reference. Part 2 of 3.