Hi guys,

 

I don’t know what I did wrong the last two hours, but in the end,
setSpeedMode() for TraCI4Matlab works the same like 

in Python. I will check In the changes soon. 

 

The Code is similar to the already existing python version:

 

function setSpeedMode(vehID, sm)

import traci.constants

traci.sendIntCmd(constants.CMD_SET_VEHICLE_VARIABLE,
constants.VAR_SPEEDSETMODE, vehID, sm);

 

 

Usage:

traci.vehicle.setSpeedMode(testVehicle,0);

 

 

regards,

 

Marcus

 

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to