Skip to content

Conversation

@fiam
Copy link
Member

@fiam fiam commented May 12, 2018

Check for feature(FEATURE_GPS) rather than for a GPS fix. This lets
users perform the sensor discovery step without having a GPS fix.

To still allow users to notice if the GPS has stopped working, we
check that either the craft has never been armed or we do have a GPS
fix. This way the sensor is available on startup, but if it stops
working mid-flight the user will get a "sensor lost" alarm.

Check for feature(FEATURE_GPS) rather than for a GPS fix. This lets
users perform the sensor discovery step without having a GPS fix.

To still allow users to notice if the GPS has stopped working, we
check that either the craft has never been armed or we do have a GPS
fix. This way the sensor is available on startup, but if it stops
working mid-flight the user will get a "sensor lost" alarm.
@fiam fiam added this to the 2.0 milestone May 12, 2018
@digitalentity digitalentity merged commit 40a95d8 into development May 13, 2018
@digitalentity digitalentity deleted the agh_sport_gps_sensor_when_configured branch May 13, 2018 05:31
@shellixyz
Copy link
Collaborator

Good idea. Much better !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants