Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traffic command lane change direction #724

Open
dbeckerAC opened this issue Apr 3, 2023 · 0 comments
Open

Traffic command lane change direction #724

dbeckerAC opened this issue Apr 3, 2023 · 0 comments
Labels
Documentation Everything which impacts the quality of the documentation and guidelines. Harmonisation The Group in the ASAM development project working on harmonisation with other standards. TrafficParticipants The group in the ASAM development project working on traffic participants.
Milestone

Comments

@dbeckerAC
Copy link

Describe the problem

I just stumbled over the lane change direction in the TrafficCommand message:

        // Targeted lane relative to the current lane.
        //
        // Convention: +1 means to the right, -1 means to the left.
        //
        optional int32 relative_target_lane = 2;

Ask your question

Isn't this convention quite counter-intuitive?

When thinking about this, I encounter at least two examples, where this is confusing:

  • Usually vehicle coordinate systems use a coordinate system where the y-axis points to left in driving direction.
  • In OpenDRIVE, the lane numbering is the other way around (and also within the LaneChangeAction in OpenSCENARIO, I guess).

Notes

The last changes according to git blame came from you, @pmai and @ThomasNaderBMW. Probably you could help me understand why the direction was defined this way? Thanks in advance!

@dbeckerAC dbeckerAC added Documentation Everything which impacts the quality of the documentation and guidelines. TrafficParticipants The group in the ASAM development project working on traffic participants. labels Apr 3, 2023
@thempen thempen added the Harmonisation The Group in the ASAM development project working on harmonisation with other standards. label Apr 24, 2023
@thempen thempen added this to the V4.0.0 milestone Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Everything which impacts the quality of the documentation and guidelines. Harmonisation The Group in the ASAM development project working on harmonisation with other standards. TrafficParticipants The group in the ASAM development project working on traffic participants.
Projects
None yet
Development

No branches or pull requests

2 participants