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

release of platoon vehicle #15

Open
zhaotuo0815 opened this issue Oct 7, 2022 · 1 comment
Open

release of platoon vehicle #15

zhaotuo0815 opened this issue Oct 7, 2022 · 1 comment

Comments

@zhaotuo0815
Copy link

hello, developer,I want the platoon vehicle to be released after reaching a certain road section. How should it be implemented?

@michele-segata
Copy link
Owner

TraCI offers the getRoadID API, which returns the ID of the edge a vehicle is currently traveling on. You should monitor that periodically and when you get there you should implement a maneuver for letting that car out of the platoon.

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

No branches or pull requests

2 participants