see the updated wiki page
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#move_to_.280x5c.29regards
,

Jakob

2015-09-11 12:31 GMT+02:00 Shrikanth MD <[email protected]>:

> Hi Team,
>
> I am using Traci Client to set vehicle parameter Move TO (0x5C) operation.
> Unfortunately WiKi does not give much information on the format of this
> message.
> I did browse through the SUMO code and found that it expetc TYPE_STRING and
> TYPE_DOUBLE in the message.
>
> Please find the piece of code below which I am using to achieve my
> functionality.
>
> into.writeUnsignedByte(TYPE_STRING);
> into.writeString(laneId);
>    into.writeUnsignedByte(TYPE_DOUBLE);
> into.writeInt(lanePositionSumo);
>
> When I try to send this to Traci Serve, socket is reset by the peer saying
> 4 more bytes expected.
> Could you please help by providing the exact format to be used with 0x5C
> operation?
>
> Thanks & regards,
> Shrikanth
>
> ------------------------------------------------------------------------------
> _______________________________________________
> 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