Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def acUpdate(delta_t):
- global someLabel
- ac.setBackgroundOpacity(appWindow, 0)
- rpm = ac.getCarState(0, acsys.CS.RPM)
- drivetrainspeed = ac.getCarState(0, acsys.CS.DriveTrainSpeed)
- dy = ac.getCarState(0, acsys.CS.DY)
- ac.setText(someLabel, str(round(rpm)) + "\n" + str(round(drivetrainspeed, 2)) + " / " + str(dy))
Advertisement
Add Comment
Please, Sign In to add comment