Comments (17)
Note that it might be easier to know the current sea level pressure at your location (e.g. by some official, calibrated measurement) then the correct altitude. So it would be great if one could use this value instead of altitude.
Additionally, a setting "I stay at the current altitude" would be nice. (There are some activities that happen at sea level, or at lake level e.g. ;)
from trail-sense.
Yeah,
I can do the compass calibration technique where you rotate your phone to calibrate.
Also, you will be able to use the declination calibration to adjust the compass of it is still inaccurate
from trail-sense.
I'm also going to change the elevation correction setting to be called something like convert elevation to MSL (mean sea level), which is actually what it's doing (GPS uses wgs84). I can make that setting not disabled when auto location is disabled so that the setting it factors it into the set override by GPS button.
from trail-sense.
I would love to use something like DEM to allow that - may be too big of a file though
I wonder if one could rely on files from other apps? E.g. Osmand should use this for hill shading. Similar argument would go for OruxMaps. Maybe one coIuld share the data file? Use it if it exists anway kind of logic.
from trail-sense.
I think there will be a few settings around this, such as when you enter pressure/altitude you can set it as constant (altitude), dynamic (sets the altitude as a baseline, but it can change - need to come up with a better name), or automatic (uses GPS for altitude)
from trail-sense.
This should clear up what I mean:
Settings for altitude
(Disabled if weather monitoring if off)
- Initial altitude (Recorded once - at time of changing this setting, and used as a baseline)
- Manual
- Enter sea level pressure (stores as elevation)
- Enter elevation
- Automatic
- GPS (Default)
- Barometer (stores as elevation)
- Manual
- Auto calibration
- Off (does not use GPS/barometer and will keep altitude constant to what was entered above)
- On
- GPS (Records GPS elevation in background - what currently happens) (Default)
- Barometer (Uses barometer to adjust the initial altitude, a variant of the current algorithm which only factors in rapid barometric changes to avoid drift)
from trail-sense.
Settings for declination
- Initial declination
- Manual
- From lat/lng (stores as degrees)
- From degrees
- Automatic (Default)
- Manual
- Auto calibration
- Off (Will not use GPS to update declination)
- On (Will use GPS to update declination) (Default)
from trail-sense.
Settings for location
- Location
- Manual (from lat/lng - with a button to use current GPS location, like the beacon screen)
- Automatic (Default)
Note: the GPS location is only used on the navigation and astronomy tabs.
Setting GPS to manual will disable the beacons (would there be a reason why they should be enabled here? I can't envision that navigation without GPS would be useful since moving will change the direction to the beacons, and it wouldn't be reflected in the app).
Anything that uses the GPS location (ex. declination, astronomical times) will respect the value set here.
from trail-sense.
The auto-calibration values will be available directly on the settings screen, while the initial values will be set on a separate page accessible from the settings tab.
from trail-sense.
Cached properties needed:
- Last altitude (exists)
- Last location (exists)
- Last declination
(FYI, I'm putting some of this information here for me to refer back to when implementing this, but feel free to comment on any of it)
from trail-sense.
Flow for the altitude / declination will be:
- Go to settings page
- Scroll to calibration section
- Click calibrate X (where X is altitude or declination)
- Opens initial value page
- Select from manual or automatic
- Enter the initial value (ex. manual elevation or select GPS)
- Select update policy (auto calibration)
- Return to settings screen - you can see the last stored value (if update policy is fixed, else 'Auto updates') and the update policy, which can be adjusted directly on the settings screen
Flow for the GPS will be:
- Go to settings page
- Scroll to calibration section
- Click GPS update policy
- Opens initial value page
- Select from fixed or automatic
- If fixed is clicked, enter the current location (similar page to the drop beacon page)
- Return to settings screen - you can see the last stored value (if update policy is fixed, else 'Auto updates')
from trail-sense.
Would it be possible to also manually calibrate the compass?
Sometimes it just thinks north is completely the wrong direction, and it would be nice to be able to force calibrate it using some other method of finding north.
Perhaps method 2 in this article could even be integrated for semi-automatic calibration: https://www.wikihow.com/Find-True-North-Without-a-Compass
from trail-sense.
FYI, this is a large feature and I don't have much time the next few weeks, so I am going to have to push the delivery of this further out
from trail-sense.
(not ready for release yet - hopefully next week)
from trail-sense.
Almost done with this - going to do some more testing tomorrow and then send out a new debug build, release likely next week - have a few more things I need to include in it.
from trail-sense.
May I ask wrt altitude correction: as mentioned above from a practical point of view it might be easier to know the current sea level pressure from some calibrated official source. Would this end up in set overwrite from barometer
? Also you mentioned in the discussion some table used to map GPS hights. This would end up in set overwrite from GPS
?
from trail-sense.
So the sea level entry does come from set from barometer (I should probably rename that or add some text to avoid confusion)
The altitude correction does not get applied using the set from GPS - that falls under the set altitude correction setting and only applies when the altitude is set to auto. The table only include the difference between GPS location and actual, so I can't use them as a lookup (though in the future I would love to use something like DEM to allow that - may be too big of a file though)
from trail-sense.
Related Issues (20)
- Improve tool / guide search with keywords
- Tap clinometer camera to lock
- Improve fused altimeter continuous calibration
- Augmented reality zoom bar not working
- Settings user guides HOT 2
- Add loading dialog when adding a path point
- Estimate distance using camera
- Trail marker detection
- Research 3D rendering
- Improve AR positioning using a VPS
- Option to switch to gyro only after calibrating AR with the sun/moon
- AR astronomy time of day
- Bubble level enhancements
- Improve quick action code
- Use a custom search bar
- Add app license to About section HOT 1
- Merge ceres into andromeda
- Quick tiles crash from background HOT 2
- Add compass visual to compass settings
- Make compass smoothing a percentage
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 trail-sense.