News for hackers. Stuff that matters.
Re:No GPS required: our app can now locate underground trains by oniony on Wednesday November 13, 2024 @04:38AM (#42124477)
I believe many do because it's used to fix GPS data when at different elevations, if I remember correctly.

https://nextnav.com/why-phones-have-barometers/

Re:No GPS required: our app can now locate underground trains by telgareith on Wednesday November 13, 2024 @08:36AM (#42125946)
Maybe it'll help achieve a lock faster- but theres nothing else needed for GPS besides GPS. The military really doesn't like dependencies.
Re:No GPS required: our app can now locate underground trains by traverseda on Wednesday November 13, 2024 @08:59AM (#42126149)
Not a faster lock, air pressure is actually more accurate on the z axis for the most part. GPS is not great at height, and including an extremely accurate barometer is a big help.
Re:No GPS required: our app can now locate underground trains by umeshunni on Wednesday November 13, 2024 @10:29AM (#42126860)
Why is GPS not great at height? If you know your location is x,y and you have an elevation map, you can map x,y to an altitude z, right?
Re:No GPS required: our app can now locate underground trains by Wowfunhappy on Wednesday November 13, 2024 @10:41AM (#42126981)
I know nothing about this, but I imagine two people at the same latitude and longitude could be at different altitudes.

A trivial example would be people on different floors of a skyscraper—although I suppose gps works poorly indoors anyway. Still, even outdoors there are peaks and crevices, and on a steep slope a very trivial change in lat/lon could lead to a major change in altitude.

Re:No GPS required: our app can now locate underground trains by ScottEvtuch on Wednesday November 13, 2024 @12:46PM (#42128254)
I would imagine it's because your distance to the satellites changes more when you move along the ground than when you move up and down the same amount.
Re:No GPS required: our app can now locate underground trains by avidiax on Wednesday November 13, 2024 @01:28PM (#42128610)
Re:No GPS required: our app can now locate underground trains by ianburrell on Wednesday November 13, 2024 @01:06PM (#42128424)
One problem is that using position to get altitude would require a detailed elevation map and that would use a lot of storage space or require internet.

But elevation maps are not detailed enough and position is not accurate enough to get accurate elevation. Think about standing on trail along steep slope. The position not being that accurate is fine since you know you are on trail. But altitude could vary wildly going up or down slope, or even up or down trail. It is probably similar to GPS vertical accuracy, but were going for more accuracy that barometer provides.

Re:No GPS required: our app can now locate underground trains by bobmcnamara on Thursday November 14, 2024 @10:35AM (#42137202)
The maps are only used when resolving a 3 bird fix. As soon as you lock a fourth bird you can solve 3D directly rather than leveraging an onboard spheroid. Many receivers refer to a three bird fix as a 2D fix for that reason.
Re:No GPS required: our app can now locate underground trains by bobmcnamara on Wednesday November 13, 2024 @01:15PM (#42128497)
> Why is GPS not great at height?

Because the SATs only give you a pseudorange distance between you and the sat, so each say is most accurate solving for distance to/from that sat, and much less helpful resolving angle to the sat.

With a clear SkyView, around just under half of the sats are hidden by the earth.

This means that you get a full 360 degrees of data that can be near the horizon helping resolve lat/long.

But only about half of that sky is helpful for altitude. The birds you can't hear directly below the earth would be the most helpful for improving the altitude fix if you could hear them.

Baro is handy because you can take the absolute altitude from GPS as a low frequency baseline and use the baro for high frequency changes. Then when GPS says we teleported +200 feet when a new sat comes into view, we can temper that that with baro information.

Re:No GPS required: our app can now locate underground trains by sgarman on Wednesday November 13, 2024 @01:53PM (#42128783)
Re:No GPS required: our app can now locate underground trains by sliken on Thursday November 14, 2024 @12:18AM (#42133333)
Sure, assuming you are not in a building, balloon, helicopter, plane, drone, etc. Not to mention interesting topology like a cliff where an error in long/last of even a single foot could mean your altitude would vary by 1000 feet.
Re:No GPS required: our app can now locate underground trains by dorfsmay on Wednesday November 13, 2024 @10:39AM (#42126963)
Do you then use the internet to find the local pressure, or only use it to calculate changes in altitude?
Re:No GPS required: our app can now locate underground trains by traverseda on Wednesday November 13, 2024 @05:04PM (#42130588)
It's one factor in estimating altitude you feed into an extended kalman filter. If the GPS altitude is holding steady but there's a sudden jump in pressure that's probably a storm front not indicative of motion.

You also probably want an accelerometer.

Re:No GPS required: our app can now locate underground trains by CamperBob2 on Wednesday November 13, 2024 @10:58AM (#42127164)
GPS itself is one hell of a dependency. What the military (and pretty much everyone else) wants right now is redundancy.
Re:No GPS required: our app can now locate underground trains by rightbyte on Wednesday November 13, 2024 @09:51AM (#42126533)
I did an IMU once. You get way better and faster Z position with barometer than with only GPS.
Re:No GPS required: our app can now locate underground trains by bigiain on Wednesday November 13, 2024 @06:02PM (#42131187)
Inexpensive barometric sensors are _remarkably_ sensitive too. Like enough precision to detect less than 10cm or 4" changes in height/altitude.

Note that's "sensitive", not "precise". The atmosphere changes pressure with the weather, so you don't get accurate absolute altitude - at least not without knowing the local "pressure altitude". Barometric pressure can vary in a way that represents plus or minus 300 or 400m of altitude, and can swing between high and low fairly rapidly in extreme weather events.

But over short timeframe the change in barometric altitude can be very useful. Glider pilots (including paragliders and even RC gliders) often use very sensitive barometric pressure sensors to detect when they're in rising to sinking air, down at the few meters per minute range of sensitivity.

Re:No GPS required: our app can now locate underground trains by BurningFrog on Wednesday November 13, 2024 @12:05PM (#42127844)
GPS already gives you altitude in addition to longitude and latitude, so I don't understand what the air pressure adds.
Re:No GPS required: our app can now locate underground trains by tqi on Wednesday November 13, 2024 @12:16PM (#42127954)
Vertical error for GPS is about 2X to 3X more than horizontal error[1], so the barometer helps correct that.

[1] https://www.nstb.tc.faa.gov/reports/2020_Q4_SPS_PAN_v2.0.pdf...