Yes.
- you can remote control vehicle speeds via TraCI (if your model computes
accelerations, you need to convert this to the resulting speed first)
- you can remote control vehicle positions directly

see https://sumo.dlr.de/docs/TraCI/Change_Vehicle_State.html

regards,
Jakob

regards,
Jakob

Am Fr., 7. Jan. 2022 um 10:38 Uhr schrieb lllcccmmm--- via sumo-user <
[email protected]>:

> Good morning.
>
> Thanks for answering.
>
> I'am using Windows and in the Plexe website they say "On Windows instead,
> building Plexe still requires manual steps (such as downloading external
> libraries), which is highly inefficient" (
> https://plexe.car2x.org/building/).
>
> So I think my only option is using TraCI. I have used TraCI a bit but I
> don't understand how I can use it to simulate vehicle dynamics. I want to
> realize a controller in Matlab or Python and I want to send the control
> input to SUMO. Is it possible?
>
> Alternatively I can read the position of the vehicle from SUMO, calcolate
> the control input and the relative system evolution in Matlab or Python and
> send the new position to SUMO for the next simulation step. Is this
> possible?
>
> Thank you,
>
> Regards,
>
> Fra
>
> Il 07/01/2022 07:32 Jakob Erdmann <[email protected]> ha scritto:
>
>
> Hello,
> SUMO doesn't really have sub-microscopic features.
> The most sub-microscopic component are maybe the Plexe engine models that
> are integrated in SUMO (https://plexe.car2x.org/tutorial/example4/).
> However, you can add microscopic modelling to SUMO by attaching your own
> process to the simulation via the TraCI-API (
> https://sumo.dlr.de/docs/TraCI.html).
>
> regards,
> Jakob
>
> Am Do., 6. Jan. 2022 um 21:50 Uhr schrieb lllcccmmm--- via sumo-user <
> [email protected]>:
>
> Hi,
>
> I'd like to know how to simulate in SUMO with a sub-microscopic model of
> the traffic (if it is possible).
>
> Regards,
> Fra
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to