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
Jun 19, 2020 @ 12:03pm
Dec 27, 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.
112 Comments
Uran_Wind  [author] Nov 17, 2024 @ 6:49pm 
yes
-=Slapsnake=- Nov 17, 2024 @ 4:44pm 
does this work for jet engines?
Mr. Clocks Aug 7, 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] Jun 3, 2024 @ 8:14am 
Better to use a separate ECU.
TurtleUnit Jun 3, 2024 @ 3:50am 
Does this work for Modular engines or am I better off using a seperate ECU?
Quantum toast May 19, 2024 @ 10:47am 
what mode works with ducted fans or does that not matter if im not using the engine controller parts
Mrmunchyolly Nov 19, 2023 @ 11:50pm 
Will you ever make a new one of these?
Uran_Wind  [author] Nov 16, 2023 @ 12:17pm 
not really
ACE Nov 16, 2023 @ 10:03am 
is this up to date still?
Dashsolpher1 Sep 21, 2023 @ 6:03pm 
I have this installed on two separate aircraft, and they both hold level pitch when the gyro is turned on. However, level pitch does not correspond to level flight. Both aircraft start a very slow descent when at level pitch. It is realistic for an aircraft to have pitch up attitude when at cruise. So, I was wondering was the solution may be or is it in my design? Is there a way for me to tell the gyro to hole a different sensor value other than 0?