更新 fleet_manager.py
This commit is contained in:
parent
7511835010
commit
b3f60400a3
@ -509,7 +509,7 @@ def carinfo():
|
|||||||
"Cruise Status": "On" if CS.cruiseState.enabled else "Off",
|
"Cruise Status": "On" if CS.cruiseState.enabled else "Off",
|
||||||
"Adaptive Cruise": "On" if CS.cruiseState.available else "Off",
|
"Adaptive Cruise": "On" if CS.cruiseState.available else "Off",
|
||||||
"Set Speed": f"{CS.cruiseState.speed * 3.6:.1f} km/h" if CS.cruiseState.speed > 0 else "Not Set",
|
"Set Speed": f"{CS.cruiseState.speed * 3.6:.1f} km/h" if CS.cruiseState.speed > 0 else "Not Set",
|
||||||
"Following Distance": str(CS.pcmCruiseGap) if hasattr(CS.cruiseState, 'pcmCruiseGap') else "Unknown"
|
"Following Distance": str(CS.cruiseState.pcmCruiseGap) if hasattr(CS.cruiseState, 'pcmCruiseGap') else "Unknown"
|
||||||
},
|
},
|
||||||
"Wheel Speeds": {
|
"Wheel Speeds": {
|
||||||
"Front Left": f"{CS.wheelSpeeds.fl * 3.6:.1f} km/h",
|
"Front Left": f"{CS.wheelSpeeds.fl * 3.6:.1f} km/h",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user