Question on `force_lane_change()` and its lane change flag


I am testing the lane change of NPCs through force_lane_change. According to the code comment and documentation, True for “Left” and False for “Right” but I observe that it works the way around in my experiment.
I am wondering if my experiment is wrong or any typo in your document.



We already noticed and changed it a week ago, documentation should be already updated for this. Maybe the code isn’t, so I’ll double check, thanks!

  • direction ( bool ) – Destination lane. True is the one on the right and False is the left one.