Files
firmware/docs/software/gps-todo.txt

45 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-10-01 10:03:23 -07:00
gps todo - bug 376
2020-10-05 14:43:44 +08:00
for taiwan region:
bin/run.sh --set region 8
2020-10-01 10:03:23 -07:00
handle the various GPS modes
2020-10-05 14:43:44 +08:00
fix poll interval for sending commands to ublox
2020-10-01 10:03:23 -07:00
handle maxint parameters
handle loss of lock at end of wake (gotLocThisTime)
if not sharing location, don't even power up the GPS
if we go to sleep without getting a location set hasValidLocation to false
properly handle time only modes
force gps sleep when in LightSleep and force wake only once <- confirm
fix has_gps based on new logic
2020-10-05 14:43:44 +08:00
have loop methods return allowable sleep time (from their perspective)
increase main cpu sleep time
2020-10-01 10:03:23 -07:00
add set router mode in python tool - it will also set GPS to stationary
(which will shrink DARK and NB period to zero and
make light_sleep very long)
2020-10-05 14:43:44 +08:00
warn people about crummy gps antennas - add to faq
2020-10-01 10:03:23 -07:00
gps states
Active - for gps_attempt_time seconds
Sleeping - for (gps_update_rate or sleep forever) seconds
ForcedSleep - PowerFSM says we don't want to use GPS right now
(no need for sleep forever state)
gps triggers
GPS_TRIG_FORCE_SLEEP - from powerfsm
GPS_TRIG_FORCE_WAKE - from powerfsm
GPS_SETTINGS - if GPS settings changed, reset params and possibly become active