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

Reply via email to