Comments (5)
My apologies for the huge delay in this response.
Browser Orientation
Orientation is a tricky topic with this project because it is hard to tell with 100% accuracy what device the user is using and how they want the app oriented. Even using phone accelerometer data, as an example, may be invalid if the phone is mounted to the control column. For this reason, the app will always orient itself in a 'landscape' style. Currently, there is no way to tell the application to force portrait mode.
If you are using a desktop
- One workaround is to resize your browser window to a landscape configuration.
- Alternately, the chrome developer tools can be used to set the browser viewport to simulate a specific device. More info on that here.
If you believe it would be beneficial to have a button on the display to force a portrait mode, please let me know.
Ground Speed Units
You can change the ground speed unit to be any unit you prefer by modifying the configuration.js
file:
/** ******************************** SPEED ********************************* **/
var speedTape = {
lowerSpeed: 0,
upperSpeed: 200,
speeds: [
{
color: COLORS.WHITE,
start: 55,
end: 115
},
{
color: COLORS.GREEN,
start: 64,
end: 140
},
{
color: COLORS.YELLOW,
start: 140,
end: 171
},
{
color: COLORS.RED,
start: 171,
end: 200
}
],
units: UNITS.MPH // <----- Units for displaying speed. 'UNITS.KTS' for knots.
};
/** ******************************** ***** ********************************* **/
Available units are as follows:
UNITS.KTS // Knots
UNITS.MPH // Miles per Hour
UNITS.KPH // Kilometers per Hour
UNITS.FPM // Feet per Minute
UNITS.FPS // Feet per Second
UNITS.MPS // Meters per Second
UNITS.MPM // Meters per Minute
from stratux_ahrs.
from stratux_ahrs.
Great example, I'll re-open this and start looking into it. Thanks for the suggestion!
from stratux_ahrs.
Just finished adding a button in the menu ("Toggle Rotation" - have to scroll to see it) that forces the screen to rotate orientations. It is still recommended to lock screen orientation on your device, but in that locked state you should now be able to set portrait or landscape. Let me know how it works for you - it seems to work well in Chrome and on my iPhone, but not all devices act the same in these regards.
from stratux_ahrs.
Hi Keenan, in landscape mode the readability is very good. But in my opinion the further development should prefer the portrait mode - Doug is right.
In portrait mode the readability should be improved, and furthermore portrait mode offers the possibility for splitting the screen like Aspen Avionics E5: AHRS in the upper section, compass arc in the lower section. The compass arc should be selectable orientated in geographic = true north and magnetic north and should have a bug for selectable input the GPS-desired track or magnetic heading referring to this. Next a HSI screen with lateral course deviation could computed ... and with your code the iPhone is a very great instrument for checking the certified installed avionics.
I don´t know, if the iPhone´s magnetic sensors are suitable. Or would it be more suitable upgrading the stratux project with a magnetic sensor?
Please open isssues according to my suggestions.
Thanks and kind regards
Franz
from stratux_ahrs.
Related Issues (20)
- Simulation Data Source HOT 1
- CI/CD Support HOT 1
- Slip / Skid Ball HOT 13
- Enhancement Request: Flight Path Angle / Vector HOT 1
- Adjust Baro Altitude to QNH HOT 6
- Negative altitudes do not display correctly on the altitude tape
- Easy Updating
- Piped Console Output
- Wiki needs to better match current release version
- Speed tape configuration values should respect the speed tape unit selection
- Please reopen #16: Adjust Baro Altitude to QNH HOT 1
- Add live demo that can be accessed via GitHub HOT 1
- Portrait mode with split screen as Aspen Avionics E5 HOT 2
- Refactor proposal: better G-Meter indicator
- Feature request: device frame for simulation and demo
- Shutdown Stratux From Menu HOT 2
- Refactor proposal: Alternate satellite badge information HOT 1
- Bug report: HOT 2
- update for AHRS
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 stratux_ahrs.