michele-segata / plexe-pyapi

Python APIs to control Plexe models in SUMO
49 stars 14 forks source link

toc #17

Closed 1233fsfgr closed 1 year ago

1233fsfgr commented 1 year ago

Hello, developer, I want to let the team vehicles take over. I can't take over successfully using Traci.toc settings. How should it be implemented?

michele-segata commented 1 year ago

By take over, do you mean overtake?

1233fsfgr commented 1 year ago

No,I mean take over control (TOC) that the vehicle changes from automatic driving to manual driving.

michele-segata commented 1 year ago

use the set_active_controller() API, passing DRIVER as active controller parameter.

1233fsfgr commented 1 year ago

Ok, thank you very much for responding to my question. Thank you again.