You can do it the way you described. There is currently no function to retrieve the speed mode but the default has all 5 bits set to 1 (decimal 31). Alternatively you can also set the max deceleration directly for that vehicle (set deceleration (0x47)) regards, Jakob
2016-06-22 6:15 GMT+02:00 Mani Amoozadeh <[email protected]>: > Hi, > > I am trying to send a stop TraCI command to a vehicle so that the > corresponding vehicle stops with a deceleration higher than its type. > What is the easiest way to do this? Should I change the speed mode to > disregard the maximum deceleration, then send 'change speed' TraCI > command, and then revert the old speed mode? Then how can I get the > speed mode of a vehicle? > > Thanks! > > -Mani > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > sumo-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/sumo-user > ------------------------------------------------------------------------------ Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San Francisco, CA to explore cutting-edge tech and listen to tech luminaries present their vision of the future. This family event has something for everyone, including kids. Get more information and register today. http://sdm.link/attshape _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
