mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
Force battery temperature to 0 on comma two
old-commit-hash: e909fddac06acb1a602e3f25578c61a9e2b3ec11
This commit is contained in:
@@ -248,6 +248,7 @@ def thermald_thread():
|
||||
if is_uno:
|
||||
msg.thermal.batteryPercent = 100
|
||||
msg.thermal.batteryStatus = "Charging"
|
||||
msg.thermal.bat = 0
|
||||
|
||||
current_filter.update(msg.thermal.batteryCurrent / 1e6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user