Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
Autopilot Heading + GPS
   
Award
Favorite
Favorited
Unfavorite
Tags: v0.10.29
File Size
Posted
37.926 KB
9 Jul, 2020 @ 6:07am
1 Change Note ( view )

Subscribe to download
Autopilot Heading + GPS

Description
An autopilot (for boats) wich can hold the actual heading a course or the course to a target
You can use the existing rudder on your boat, steering inputs will be forwarded by this controller when disabled. The autopilot will be diabled by a signal (button) or your manual steering.

Controller size: 5x3

Inputs:
- Heading [-0.5 .. 0.5] (number) - The direction your vehicle is facing. Use the Compass Sensor
- Set Course (number) - This value will be used when enableing the course mode.
- Manual Steering (number) - Link it to your steering wheel. This value will be directily forwarded to the rudder steering output if the autopilot is off and you can use it to disable the autopliot.
- Hold Course - Enables the Autopilot and hold the actual course
- Set Course To Heading - Enables the Autopilot and set the course to the actual heading
- Set Course To Target - Enables the Autopliot and set the course to target
- Disable - Disables the autoliot.
- Target X,Y (number) - Target Data from the keypad for example
- GPS X,Y (number) - Your coordinates

Outputs:
- Rudder Steering [-1..1] (number) - Goes to the rudder.
- Course - The set Course
- Autopilot Enabled (on/off) - On when the autopilot is enabled.
- Target Distance [m] (number) - Distance to target

Properties:
- Disable on steering - on if the autopilot should be disengaged when you manually steer.
- Sensitivity - Max Rudder sensitivity in Autopilot mode
- Course input [radiant/degree] - input and output values in radiant/degree
- on tagret reached [turn off/hold course] - what shoul the autopilot do when the target is reached?
- distance threshold [m] - when is the target marked as reached
6 Comments
Tesla 8 Nov, 2021 @ 12:23pm 
Thank you!
sengir_vampire  [author] 8 Nov, 2021 @ 10:12am 
Feel free to modify it, so it can satisfy your build
Tesla 8 Nov, 2021 @ 2:17am 
Pretty neato! Do you mind if i convert some numerical I\O into composite to accomodate my flight director ?
Brygun 23 Feb, 2021 @ 5:26pm 
Suggestion: an output that it is withing the set target distance so that it could go to audio and engine cutoffs
Oxyligen 9 Feb, 2021 @ 7:05am 
Thank you for your nice work. I used it in my creation: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2389608998
AlekseEv1ch 5 Feb, 2021 @ 4:20am 
nice