Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Get acceleration

tc.VAR_ACCELERATION is not a command but only a protocol constant. Call traci.vehicle.getAcceleration(vehID) instead.

Am Fr., 11. Dez. 2020 um 15:58 Uhr schrieb Yasmina Jaafra <yasmina.jaafra@xxxxxxxxx>:
Hello,

I am training an RL agent controlling the acceleration of an ego vehicle. I execute the following command to get the real acceleration of the vehicle in the simulator  "tc.VAR_ACCELERATION" ,  but it returns a “None” value. Is there another command to get the real acceleration?  

Best regards, 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top