mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-20 07:43:48 +08:00
Update sentryd.py
This commit is contained in:
@@ -161,7 +161,7 @@ class SentryMode:
|
||||
return
|
||||
|
||||
try:
|
||||
detection = self.detector.update(message.acceleration.v, now=now)
|
||||
detection = self.detector.update(list(message.acceleration.v), now=now)
|
||||
except (TypeError, ValueError):
|
||||
self._write_status("sensor_unavailable")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user