Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Add SE_ObjectCanChangeLanes() to check underlying road for allowed lane changes#776

Open
lrstttl wants to merge 2 commits intoesmini:masterfrom
lrstttl:check-for-lane-change-availability
Open

Add SE_ObjectCanChangeLanes() to check underlying road for allowed lane changes#776
lrstttl wants to merge 2 commits intoesmini:masterfrom
lrstttl:check-for-lane-change-availability

Conversation

@lrstttl
Copy link
Contributor

@lrstttl lrstttl commented Feb 20, 2026

I added a new function SE_ObjectCanChangeLanes() (+ helpers) to esminiLib.hpp/.cpp.

The method can be used to check if lane changes for a given object are possible.
I tested it on Carla's Town04, seems to work fine.

However, I am not sure how the internal handling of LaneChangeActions works, maybe there is a simpler approach?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant