Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use HDOP to calculate GPS "signal" strength #4

Closed
geeksville opened this issue Feb 27, 2020 · 2 comments
Closed

Use HDOP to calculate GPS "signal" strength #4

geeksville opened this issue Feb 27, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@geeksville
Copy link
Member

(that field on the GUI is currently a placeholder)

@geeksville geeksville added this to the BeforeBeta milestone Feb 28, 2020
@geeksville geeksville added the bug Something isn't working label Feb 28, 2020
@geeksville geeksville self-assigned this Mar 4, 2020
@geeksville geeksville changed the title Don't show gps signal on Heltec boards and use HDOP on TBEAM boards Use HDOP to calculate GPS "signal" strength Mar 10, 2020
@geeksville
Copy link
Member Author

The GPS code already reports the PDOP code ( description on PDOP here https://www.agsgis.com/What-is-PDOP-And-Why-its-Obsolete_b_43.html) so I would just use that for now (rather than HDOP - which would require updating the GPS library).

If you search the source tree (including the .pio directory also you should see mention of pDOP in the SparkFun_Ublox library. In our GPS class you can call getPDOP() to read it. And change the screen.cpp code to display that number as a % quality? Where super great PDOP you see outside on your deck with clear view of sky you call 100% and the crummy PDOP you see when it is on your desk you call something close to zero?

Does that help to get started? Happy to help if you have other questions.

@geeksville
Copy link
Member Author

Fixed by @Professr in #199

geeksville pushed a commit that referenced this issue Aug 10, 2020
mc-hamster added a commit that referenced this issue Sep 17, 2020
@GUVWAF GUVWAF mentioned this issue Apr 20, 2023
thebentern added a commit that referenced this issue Nov 5, 2023
* INA3221 / Power Telemetry Variant Implementation
	modified:   platformio.ini
	modified:   src/configuration.h
	modified:   src/detect/ScanI2C.h
	modified:   src/detect/ScanI2CTwoWire.cpp
	modified:   src/main.cpp
	modified:   src/modules/Modules.cpp
	new file:   src/modules/Telemetry/PowerTelemetry.cpp
	new file:   src/modules/Telemetry/PowerTelemetry.h
	new file:   src/modules/Telemetry/Sensor/INA3221Sensor.cpp
	new file:   src/modules/Telemetry/Sensor/INA3221Sensor.h
	modified:   src/mqtt/MQTT.cpp

* ifdef for portduino / linux native
	modified:   src/modules/Telemetry/PowerTelemetry.cpp

* try #2
	modified:   src/modules/Modules.cpp
	modified:   src/modules/Telemetry/PowerTelemetry.cpp
	deleted:    variants/xiao_ble/1.0.0/libraries/SPI/SPI.cpp

* try #3
	modified:   src/modules/Modules.cpp

* try #4
	modified:   src/modules/Telemetry/PowerTelemetry.cpp

* try #5?
	modified:   src/modules/Telemetry/PowerTelemetry.cpp

* try #6
	modified:   src/modules/Telemetry/PowerTelemetry.cpp

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant