Stormworks: Build and Rescue

Stormworks: Build and Rescue

36 arvostelua
Weather Screen [True Wind] 1x2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
22.778 KB
15.3.2022 klo 15.13
30.3.2022 klo 9.48
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Weather Screen [True Wind] 1x2

1 kokoelmassa, tekijä Mr Lennyn
Best Of Workshop Lua!
262 luomusta
Kuvaus
Microcontroller:
https://steamproxy.net/sharedfiles/filedetails/?id=2779621856

Description:
This compact weather 1x2 screen will display all you need to know about your environment. It also comes with different measurements for speed and temperature, as well as customizable colors.

Features:
  • True Wind Direction [White Line]
  • True Wind Speed (in Kmh, Mph, Knts)
  • Vehicle Direction [Red Line]
  • Temperature (in C, F)
  • Rain
  • Fog

Important Notes:
  • The lines in the compass represent vehicle direction (red) and direction the wind is coming from (white.)
  • Wind Sensor must be facing forward (Blade's pointing forward) and placed on the vehicle's main body.
  • Compass Sensor must be pointing forward and facing upwards.

Credits:
Text engine 3x5 by: Ping/Archimaede

Change Log:
  • Changed SPD label to Wind, for better clarity.
7 kommenttia
Mr Lennyn  [tekijä] 29.3.2022 klo 10.44 
You're right, Wind is a lot more clear than SPD. I'll be changing that. Thanks for the suggestion!
YogiTehBear 29.3.2022 klo 2.01 
Very nice weather screen, I did go through and updated SPD to Wind so as not to confuse it with vehicle speed other than that it works great :steamthumbsup:
Mr Lennyn  [tekijä] 21.3.2022 klo 16.59 
I just couldn't fit "wind speed" in the space I had. To get true wind direction, I just used the formulas from this website:
https://oic-nwreviewer.blogspot.com/2014/01/solving-for-true-wind-direction.html?m=1
True Wind gets more complicated than substracting. But I have no idea how the math works. If you need, you can copy my code from this MC.
TheSavageProdigy 21.3.2022 klo 16.06 
Oh my bad, not sure why you didn't just label it as wind, I thought the speed was something else. Still though how are you able to know the "true wind" if such creation is moving? Normally I'd just subtract the vehicles speed to the wind but its not entirely accurate most of the time.
Mr Lennyn  [tekijä] 21.3.2022 klo 7.12 
Or is there a bug or something? Speed is at the top: "SPD"
Mr Lennyn  [tekijä] 20.3.2022 klo 20.51 
It does, it does.
TheSavageProdigy 20.3.2022 klo 18.34 
How does this show true wind better then my 1x1 does? It doesn't even output a number of the actual wind speed.