Hello,
most likely, traci4matlab does not implement the latest version of the TraCI 
API.
However, for controlling lane-changing via TraCI the recommended functions are
'change lane' and 'lane change mode' (see
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State)

regards,
Jakob

The moveToVTD function

On 10/11/2015 07:18 PM, Sharan, S. wrote:
> Hi All,
>
> I am working on two platoon merging scenario implementation in SUMO.
> With the help of "Traci4matlab" setup and the controller implemented in the 
> Simulink
> I am trying to set the coordinates of one of the vehicle by using 
> "moveToVTD.m" function from
> TraCI4Matlab. But I am getting the following error.
>
> Error using traci.sendExact (line 46)
> 68  196  255 Error Setting VTD vehicle should obtain: edgeID, lane, x, y, 
> angle.
>
>
> Error in traci.vehicle.moveToVTD (line 24)
> traci.sendExact();
>
> Error in final (line 115)
> traci.vehicle.moveToVTD('veh0','D2',1,46,-4.95)
>
> Please find my matlab file attached with the mail.
>
> Best Ragards
>
> SUJIT SHARAN
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user


------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to