Working LCD Airspeed Indicator
19.2k klm747klm747
4.1 years ago
Speed is in KIAS.
Code was developed using paper and pencil, writing out code until it made sense.
The 747 will need 40 individual number displays, that's 280 pistons lol
Specifications
Spotlights
- PlaneFlightX 4.1 years ago
- SyntheticL 4.1 years ago
- EliteArsenals24 4.1 years ago
General Characteristics
- Created On Windows
- Wingspan 63.5ft (19.3m)
- Length 96.5ft (29.4m)
- Height 23.1ft (7.0m)
- Empty Weight 32,409lbs (14,700kg)
- Loaded Weight 46,603lbs (21,139kg)
Performance
- Power/Weight Ratio 1.446
- Wing Loading 47.9lbs/ft2 (233.7kg/m2)
- Wing Area 973.5ft2 (90.4m2)
- Drag Points 13098
Parts
- Number of Parts 119
- Control Surfaces 9
- Performance Cost 793
@Ezbbmm2006 I think this one has about 50.
Mine only needs 21 parts
@Werboithescientist Hi, the speed is in knots IAS.
probably measured in knots
Uuuuh is it in miles or kilometers an hour?? If kilometers that explains its inconsistency with my screen display .
No problem, @UltraLight .
@KLM_747 yeah, that first if X, if Y, then Z code is pretty simple, I could do that. I thought you had made what you are mentioning below, sorry
@UltraLight I understand. Fixed the red text, and if you want it to activate when the AG is pressed, use
(clamp01(Activate6) * clamp01(IAS < 50))
That way, when AG6 is on, that half is a value of 1. When the IAS is under 50, the second half is a 1. It’s a simple “if X and Y are true, output one”.
And of course a value of one just turns the engine on until the IAS is over 50.
I’m not sure if it can do that, but I am working a speed hold mode where you select your own speed. Range from 140 to 340 knots. What I do is simply put throttle * (200 knots in m/s) + (140 knots in m/s)
Throttle 0=140 Throttle 0.5=240 Throttle 1=340
@KLM_747 wait can you put that out of the red text because it did weird things to the characters. Also, I thought you put it so it would hold the speed that your aircraft was at when the ag was pressed, if that makes sense. Thanks
@UltraLight The speed can be coded very simply, by making an engine that simply activates when speed is below a certain number, and brake that activates when speed is above a certain number. (IAS < 50)
You can use gyroscope to hold attitude, or even elevators if you want some more code. (PitchAngle < 15)
You might want to smooth that out so the airplane doesn't do crazy pitching motions.
Congrats on 10k! I have seen this elsewhere but this is more part efficient. I have an FT question for you: how did you code the speed hold/attitude hold for your 757? I could code to keepmspeed at 150kts or hold attitude at 15* up but idk how to take current values
.
Also, you might want to rename it so people can find it
Interesting. Spot for effort. Nice job!
Damn, couldn't imagine FT could do that. Bravo, my dude!
Interesting
@KLM_747 HWAAAAAAAAAAAAAAAAA-
@FeiWu Yes, but they are not visible during the day due to low contrast. Besides, I don't are about part count as long as it's under 8000. These are 30 parts per digit.
@KLM_747 but I thought you can use lights to reduce part count and noise lol
@KLM_747 An Highschoolecomputeresciencemastere that is
@SyntheticL I'm a high school senior lol
@NormalPioneer If you check the code out, it's not actually that complicated.
You must be a computersciencemastere aren't you?
Btw where's your PhD?
@PoyuToyu Thank you!
Amazing. Just amazing. ;)