Open saadi-tech opened 3 years ago
Do you have #define GPS_FIX_HDOP
enabled in GPSfix_cfg.h
? I think that must be enabled to be accessible via the fix structure, as the GPSfix_cfg.h
states:
* Disabling a member prevents it from being parsed from a received message.
* The disabled member cannot be accessed or stored, and its validity flag
* would not be available. It will not be declared, and code that uses that
* member will not compile.
When I try to access, fix.hdop using: hdop = fix.hdop;
(Screenshot attached)![Screenshot (29)](https://user-images.githubusercontent.com/62258090/120081986-d17d0600-c0d9-11eb-8f89-3148b9df33c1.png)
I get the following error: 'class gps_fix' has no member named 'hdop'
(While I can easily access all other parameters like fix.latitude etc.
Please check into this issue and help me out.
Thanks!