Comments (9)
It is one or the other, there is a single altitude value on the packet and the value changes based on your position flag. It is possible some devices do not support HAE. There is also not much of a use case for having both, as you are either in an airplane or on the ground but seldomly both.
from firmware.
If I set just ALTITUDE no altitude data is transmitted. I must set both ALTITUDE and ALTITUDE_MSL for any altitude data to be sent. This seems to force me to use MSL for altitude values.
The code is setting either p_altitude
or p.altitude_hae
depending on ALTITUDE_MSL. Maybe p.altitude is being sent out even if p.altitude_hae is the one that is set? (I'm not sure where in the code this is handled.)
from firmware.
if you have MSL checked (which is the default) it outputs MSL for altitude, otherwise HAE
if (pos_flags & meshtastic_Config_PositionConfig_PositionFlags_ALTITUDE_MSL) p.altitude = localPosition.altitude; else p.altitude_hae = localPosition.altitude_hae;
from firmware.
With bitmask 163 (ALTITUDE, ALTITUDE_MSL, SATINVIEW, TIMESTAMP)
!e2e5b84c │ 42.9693° │ -70.9999° │ 42949665 m. (ignore the bad value for altitude)
With bitmask 161 (ALTITUDE, SATINVIEW, TIMESTAMP):
!e2e5b84c │ 42.9693° │ -70.9999° │ N/A
If I turn off ALTITUDE_MSL but still have ALTITUDE set, no altitude data is transmitted.
I just did the above and the only change to the config file was 163 -> 161. Same firmware, hardware, etc.
from firmware.
@jp-bennett have you seen a HAE altitude value ever? The code looks to be adding it to the packet and sending it out if the position flag is set but there never seems to be a value.
from firmware.
have you seen a HAE altitude value ever?
I'm not even entirely sure what an HAE altitude is. I'll look into it when I get back to my work on checking for empty fields.
from firmware.
have you seen a HAE altitude value ever?
I'm not even entirely sure what an HAE altitude is. I'll look into it when I get back to my work on checking for empty fields.
Altitude value for aircraft
from firmware.
HAE is height above ellipsoid. I believe this is the "normal" GPS altitude value, i.e., what all GPS receivers provide.
Some modern GPS receivers have added the ability to calculate height above mean sea level, MSL. This is traditionally done with barometric pressure sensors.
So, I believe, HAE data is what you get from all GPS receivers and MSL data only is produced by GPS receivers with the ability to calculate height above MSL.
from firmware.
https://avionicswest.com/Articles/GPSalt.html
from firmware.
Related Issues (20)
- [Bug]: ESP32 OTA Issues HOT 4
- [Bug]: No indication that E-Ink display updates are suspended HOT 1
- [Feature Request]: Special case in `Screen::handleSetOff()` for E-Ink displays HOT 1
- [Bug]: When GPS lock is lost, position is still reported over MQTT with lat and long of 0,0. HOT 1
- [Bug]:
- hostnames (device names) with underscores break RFC HOT 5
- [Feature Request]: Short Name aka short_name shoud be 7 or 8 chars long for Amateur Radio mode HOT 1
- Make Store and Forward module storage abstraction for flash / SD card HOT 1
- [Feature Request]: Crypto/Channel drop when new device connected HOT 3
- [Bug]: Cannot rotate screen on SH1107 HOT 1
- [Bug]: Messages not sending when MQTT is enabled HOT 1
- [Bug]: Updates to button click accuracy adversely affect rotary encoders
- [Feature Request]: Range check and mesh complexity: Proposed Backwards compatible Meshtastic protocol improvement HOT 16
- [Feature Request]: Security: Factory reset via hardware, such as detection sensor module or button HOT 3
- [Bug]: RAK18001 buzzer very quiet - solution included HOT 2
- [Bug]: T-Echo reboot loop HOT 6
- [Board]: Flipper Zero with LoRa GPIO connection. HOT 1
- [Feature Request]: making meshtastic.local changeable HOT 2
- [Feature Request]: Expire node after x time of no contact. HOT 1
- [Feature Request]: Allow bluetooth connection when network is not connected HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firmware.