Space Engineers

Space Engineers

Not enough ratings
Autopilot for planes
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
41.773 KB
17 Jul, 2019 @ 5:56am
1 Change Note ( view )

Subscribe to download
Autopilot for planes

Description
More stuff on a later date

[work in progress]

This script is an autopilot for planes on planets. The planes need to generate some sort of lift either by using the plane parts mod or having some sort of drag mod.

[To be done]
- Safety check if runway is long enough for the plane to reach its safe takeoff speed
- Flying a given route instead of just one GPS point
- Reversers, Landing gear


[Requirements]
- 3 LCD Panels for reading data and setting up/controlling the autopilot
- a ship controller. You can mark it with [NAV] in the name. It is adviseable to choose the cockpit
- gyroscope group name: used for manuevering
- thruster group name: self explaining
- potentially airbrake group name: ...


[Features]

*Autopilot will manage speed, altitude and 'heading' depending on given values (the autopilot does not concern itself with obstacles. If you use an altitude that is too low the autopilot will fly into the mountain.)
*Several modes
**Takeoff: Autopilot will check if plane is aligned with runway (given as a GPS Start and End point). If so autopilot will take over the controls and automatically accelerate the plane and then rotate to take off. At a specific altitude the autopilot will switch to cruise mode. If the plane is too heavy for your thrusters to make the safe takeoff speed in time the plane will crash.
**Cruise: Manages altitude and speed and heads towards the given GPS point
**Patrol: Cruises back and forth between two given GPS points
**Landing: Will automatically approach a given runway (Start and End GPS point: Landing direction from start to end point) from the current altitude. Speed, altitude, Alignment are fully managed. It is adviseable to have at least some sort of drag enabled. The autopilot can detect touchdown and will automatically enable airbrakes (plane parts mod) on touchdown.
5 Comments
Lord  [author] 5 Dec, 2021 @ 2:25pm 
@Tachi

I did not pay attention to it lately. So no :) It needs to be somewhat reworked anyways. If they haven't changed anything to the scripting you should still be able to set it up.
Tachi 12 Oct, 2021 @ 9:40pm 
Is this script still updated? And if so how do you use it? Trying to use Takeoff/Cruise commands and all i get is an error
gatecrasher 13 Dec, 2020 @ 7:35pm 
doesnt work anymore, lcd functions broke
JabberWocky 9 Nov, 2019 @ 6:13pm 
witch argumet do i need to use to start patroling?
woostyboy 19 Aug, 2019 @ 2:57am 
SCRIPT REQUEST PLEASE :)

Would you be able to make a PB script to switch ROLL and YAW axis on gyros? I want to fly a plane with PITCH / ROLL on the mouse, instead of PITCH / YAW. Would need to make 'Q' and 'E' the YAW.

Many thanks in advance!! ;)