OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
267 stars 125 forks source link

Traffic command lane change direction #724

Open dbeckerAC opened 1 year ago

dbeckerAC commented 1 year ago

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:

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!