I'm trying to figure out how to get "max gears" value for a car.
This AC API document describes "Gear" property, but there is no kind of "MaxGears" property.
Code for getting a current "Gear":
Is there a way to get max gear's value?
This AC API document describes "Gear" property, but there is no kind of "MaxGears" property.
Code for getting a current "Gear":
Code:
current_gear = ac.getCarState(ac.getFocusedCar(), acsys.CS.Gear)