Hello,
it should be possible to accomplish what you want be following up the 'add'
command with a 'move to' (0x5c). This should instantly insert the vehicle
at the given lane and position and it would then do regular movements in
the same simulation step.
regards,
Jakob

2015-06-02 14:34 GMT+02:00 Quentin Bragard <[email protected]>:

> Hi everyone,
>
> I'm currently working on a distributed version of SUMO and when I transfer
> a vehicle from one sumo instance to another, it takes one step to be
> inserted with TraCI "add vehicle" function which leads to a gap if I
> compare SUMO and my distributed version. As I cannot add a vehicle in the
> past nor accurately predict it's future position and speed, I was thinking
> of a specific function which add the vehicle and directly makes it drive
> within the same function. How hard would it be to modify SUMO to implement
> this specific "add vehicle" function, pushing the vehicle in the SUMO list
> of existing vehicles? Would you have any advices on how to do that properly
> ?
> I remember that I implemented it on SUMO 0.16 for the paper I presented at
> the SUMO conference but it seems that many changes happened in the code
> since and it was more tinkering that anything.
>
> Thanks everyone,
> Regards,
> Quentin
>
> --
> Quentin Bragard
> Diplômé de l'INSA de Lyon, Département Informatique.
>
> Ph.D Student in PEL,
> University College Dublin
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-devel
>
------------------------------------------------------------------------------
_______________________________________________
sumo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-devel

Reply via email to