Stormworks: Build and Rescue

Stormworks: Build and Rescue

29 ratings
TBS Multi Waypoint Auto Pilot and Transponder Locator
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v1.10.3
File Size
Posted
Updated
307.412 KB
19 Mar, 2022 @ 8:17am
14 Feb, 2024 @ 2:20pm
3 Change Notes ( view )

Subscribe to download
TBS Multi Waypoint Auto Pilot and Transponder Locator

Description


-----------------------


-- TBS Touchscreen Autopilot and Transponder Locator --

This is an easy to use and simple to setup Monitor based Autopilot. Most of the inputs will be set with the screen, except Target Altitude for aircraft. Please use a Small Keypad for that.
What it does is making it easy and convenient to move somewhere else. This Setup has been mostly designed for aircraft, but can also be used with other types of vehicles.
In order to adjust it to your vehicle, please use the Menu Options. You can chose, which Axis to use for throttle, steering and Altitude, as well as the strength with which the controlls will be used.

This Autopilot will switch from your Seat Input to internal Logic once activated.
You can plug your Seat into the Controller, and use the Composite Output like any other Seat!
For Use in an Aircraft, a propper Gyro Setup (custom or vanilla) is advised! This AP acts as a Seat, not as stabelizer!

This Microcontroller is compatible with all Monitors, EXCEPT 1x1, 1x2!

If you want to test this Autopilot, you can do so in my latest vehicle. Please use the Switch buttons below the Monitor to set the Screen to the Autopilot!
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2719406469

- Please Report Bugs -
Thank you!




Node Setup should be easy, as all are propperly named:
Bool:
- Transponder In
- Transponder Out
Number:
- Compass
- GpsX
- GpsY
- Altimeter
- Target Altitude <-- Small Keypad or equivalent
- Circle Distance (optional)
Composite:
- Monitor In
- Seat In
- Seat Out
Video:
- Monitor Out



Features on Screen:

AP:
Turn on/off Autopilot

CIR:
Turn on Circle-Mode around the last Waypoint
This will add a black Circle on the map, showing where the vehicle will circle around.

TRANS:
Turn on the Transponder Locator. This will also activate the Number on the right side.
The Locator will print a green Circle around your current position. This marks the distance to the Beacon. The Distance is also listed as Number on the right (unit = meter)
Periodically, the Transponder will save the latest 3 distance rings. They are colored in green/brown. These will help you to find the Beacon. The spot where they overlap is where the Beacon is. Keep moving for best results!

CLEAR:
Deletes all Waypoints on the map.

+/- :
Map Zoom.

U/D/L/R:
Move your Viewpoint on the map.

R:
Reset Map Viewpoint to your vehicle.



Features in Menu:

Throttle:
Set W/S or U/D as your Autopilot Throttle

Auto Throttle:
Set if the Autopilot should start and stop on it's own

Max AP Throttle:
Set the max. Throttle (up to 1, same as seat)

Yaw:
Set A/D or L/R as your Autopilot Yaw

Yaw - P:
PID P-Value for steering

Yaw - D:
PID D-Value for steering

Alt Hold:
Set if Autopilot should climb to set Altitude on it's own

Altitude P:
PID P-Value for AltHold

Altitude D:
PID D-Valuefor AltHold

Max. Waypoints:
Set a limit to how many waypoints you can set at once (max. 9)

Min. Distance:
Set the distance at which the Autopilot assumes you have arrived at the waypoint.

AP Brake (Thr-1):
If Auto Throttle is on, sets if the Autopilot should stop with signal "0" (zero / no input), or signal "-1" (i.e Seat's S)

Circle Distance:
Allows the vehicle to circle around the last waypoint, instead of stopping. Sets the Radius of the circle.
Note: This value can be overwritten with an input to Circle Distance Node on the Controller! Use a Small Keypad or equivalent.
18 Comments
Yugo 13 Jan, 2024 @ 11:22am 
@Shurq1 : use the menu of the micro-controler. (Access it with "select" then click on the micro-controller) You can disable "Alt Hold" here
The Nameless 1 Aug, 2023 @ 10:04am 
Autopilot won't engage without a target altitude.

I'm driving a ship.
TheBrilliantShadow  [author] 22 Apr, 2023 @ 6:49am 
@Shurq1: You have the arrow buttons on the bottom left and the zoom buttons on the bottom right. Use them to navigate the map, then click on the map where you want to go.
I have not planed for keypad inputs though, to keep the MC size as compact as possible.
Shurq1 21 Apr, 2023 @ 4:07pm 
Love this AP/map/beacon locator! Is there anyway to add waypoints manually?
TheBrilliantShadow  [author] 5 Dec, 2022 @ 6:21am 
@wabble234: Sorry for the late response!
Yes, sounds like it. You see, the AP is set up to replace a seat. It is modular, so you can tell it which axis is responsible for altitude. I guess what is happening is that it tries to raise altitude (axis + ) but for your air plane it is mapped to require the opposite (axis - ). You could try to enter a negative P-Value for Altitude. That should inverse the input and get you flying! Maybe you need to adjust the D-Value aswell.
wabble234 3 Dec, 2022 @ 3:26am 
Hey mate! Great microcontroller. I'm having issues with the Altitude hold function however, whenever I activate it in the settings it pitches my aircraft full nose down. This is on a conventional fixed wing aircraft with W/S bound as Pitch, A/D bound as Roll, L/R bound as Yaw and U/D bound as Brakes. Any tips?
meloeh 10 Oct, 2022 @ 1:17pm 
ok so i need to have a gyro got it
TheBrilliantShadow  [author] 10 Oct, 2022 @ 1:14pm 
@meloeh: As I have said in the description, yes ;-)
Basically this Autopilot replaces a Seat. So whatever can be controlled with your keyboard is also compatible with this Autopilot.
Just remember: This is a Seat only, not some gyro! If your helicopter does not fly on it's own, this Controller will NOT help you.
meloeh 10 Oct, 2022 @ 1:00pm 
will it work for chopters
TheBrilliantShadow  [author] 17 Jun, 2022 @ 3:18am 
@ksa Baz: This is the equivalent of your Seat's composit output. If you have not used that yet, I reccomend you to look into it's functionality!
Since the Auto Pilot is Lua based, all the functions are written to composit and, according to your settings, overwrite the original seat control. The huge benefit of that is, that any vehicle, that you built to use the Seat Composit, can be upgraded to use the Auto Pilot without further adjustments. A real plug-and-play experience!