Skip to content

getBackPosition() uses LC-model-dependent function #12146

Closed
@Domsall

Description

@Domsall

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions