GNSS Ctrl Improvements #871
No reviewers
Labels
No Label
OPS TODO
api change
breaking api change
bug
documentation
duplicate
feature
help wanted
invalid
question
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: eive/eive-obsw#871
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "gnss-ctrl-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -8,3 +8,3 @@
namespace GpsHyperion {
enum class FixMode : uint8_t { NOT_SEEN = 0, NO_FIX = 1, FIX_2D = 2, FIX_3D = 3, UNKNOWN = 4 };
enum FixMode : uint8_t { NOT_SEEN = 0, NO_FIX = 1, FIX_2D = 2, FIX_3D = 3 };
is this still used? Because its in the archive..
it is in the core ctrl. i might move the used stuff to a separate defs file
WIP: GNSS Ctrl Improvementsto GNSS Ctrl Improvements@ -299,3 +309,1 @@
// As specified in gps.h: Only valid if mode >= 2
if (gps.fix.mode >= 2) {
latValid = true;
if (modeIsSet) {
this don't make sense if mode is not set? I think I took this from the gpsd sample code..
@ -322,2 +335,2 @@
if (gps.fix.mode == 3) {
altitudeValid = true;
if (modeIsSet) {
if (ALTITUDE_SET == (ALTITUDE_SET & gps.set) && std::isfinite(gps.fix.altitude)) {
this don't make sense if mode is not set? I think I took this from the gpsd sample code..
That is what gps larry wrote himself. I don't think this changes much anyways.
@ -330,3 +348,1 @@
if (SPEED_SET == (SPEED_SET & gps.set) && std::isfinite(gps.fix.speed)) {
gpsSet.speed.value = gps.fix.speed;
speedValid = true;
if (modeIsSet) {
this don't make sense if mode is not set? I think I took this from the gpsd sample code..