Stormworks: Build and Rescue

Stormworks: Build and Rescue

44 ratings
ZE Airplane Flight Controller
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Mechanical
Microcontrollers: Microcontroller
Tags: v1.6.10
File Size
Posted
Updated
63.546 KB
19 Jun, 2020 @ 12:03pm
27 Dec, 2022 @ 9:26am
15 Change Notes ( view )

Subscribe to download
ZE Airplane Flight Controller

Description
Description
A full-fledged flight controller for airplanes with separate control surfaces. Providing smooth tilt and yaw, orientation hold, altitude hold, and has an optional engine control.
  • Engine, altitude hold and autopilot should be enabled manually through the composite node. On/Off channels for them are set in the microcontroller properties.

  • Engine control maintains the constant engine RPS and shut it down when overheating. Can handle with both diesel and jet engines. Also has a node for the jet turbine starter motors. Target RPS can set with a lever or a constant number.
  • The axis for Pitch/Prop and Roll/Yaw are switchable between WASD and arrows, pitch axis is invertible.
  • If altitude hold is enabled, airplane will be aligned horizontally and its direction can be changed only with yaw. If target altitude is set to 0, airplane will hold current altitude and the pitch axis is responsible for its vertical speed. Autopilot enables current altitude hold as well.

Setup order
  • Rotate roll control surfaces that way their orientations should be different.
  • Set propellers blade pitch to neutral.
  • Install this gyro and connect all logic nodes according their labels. Angular speed sensors should not be mirrored.
  • Set the correct control surfaces orientation in the microcontroller properties.
  • Connect pilot seat to the gyro with a composite link. Set all axis to the reset mode, adjust their sensitivity.
  • If you are using engine control, switch between propellers or jet engine type and set it's seat axis sensitivity to maximum.
  • Set seat axis trim to 0 and tune microcontroller pitch trim instead.

All done, but my airplane...
  • Tilts too slackly - increase the respective PILOT SEAT axis sensitivity.
  • Tilts too fast - reduce the respective axis turn speed.
  • Shaking with control surfaces - reduce the respective axis PID sensitivity.
  • Kicks back after yaw turn - reduce the PILOT SEAT yaw axis sensitivity or microcontroller yaw PID sensitivity.
  • Constantly pitching up or down - adjust the MICROCONTROLLER PITCH TRIM. Do not change the pilot seat axis trim because its nonzero values disables the automatic orientation hold.

Slim down basic controller with dimensions of default gyro.
114 Comments
Echoless 26 May @ 12:52pm 
Can you make this use the physics sensor
Virtua1! 30 Apr @ 3:18am 
constantly rolls to the right a little bit
Uran_Wind  [author] 17 Nov, 2024 @ 6:49pm 
yes
-=Slapsnake=- 17 Nov, 2024 @ 4:44pm 
does this work for jet engines?
Mr. Clocks 7 Aug, 2024 @ 5:05am 
I think it would be incredibly useful if you could figure out some sort of custom gyroscope controller, since i've almost never been able to properly use the gyroscope
Uran_Wind  [author] 3 Jun, 2024 @ 8:14am 
Better to use a separate ECU.
TurtleUnit 3 Jun, 2024 @ 3:50am 
Does this work for Modular engines or am I better off using a seperate ECU?
Quantum toast 19 May, 2024 @ 10:47am 
what mode works with ducted fans or does that not matter if im not using the engine controller parts
Mrmunchyolly 19 Nov, 2023 @ 11:50pm 
Will you ever make a new one of these?
Uran_Wind  [author] 16 Nov, 2023 @ 12:17pm 
not really