Stormworks: Build and Rescue

Stormworks: Build and Rescue

118 个评价
Navigation Map with Autopilot
4
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
581.283 KB
2024 年 6 月 29 日 上午 4:29
2024 年 8 月 22 日 上午 11:29
5 项改动说明 ( 查看 )

订阅以下载
Navigation Map with Autopilot

描述
Spawning This Demo

Make sure to spawn this demo in a LARGE HANGAR.


How it Works




This microcontroller is made up of a navigation map and autopilot combined together. Simply set up some waypoints on the navigation map and it will allow you to activate the autopilot. The waypoints will be cleared upon reaching a set distance (which you can set). The autopilot only controls the turning inputs, it does not control your throttle.



Screen Size Compatibility




This microcontroller works on any monitor size except for monitors smaller than 2x2.



Features


  • Highly customizable
  • Customizable colour scheme (input your own RGB values)
  • Settings can be adjusted during gameplay
  • Light & Dark mode colour schemes
  • Unlimited amount of waypoints can be set
  • Accepts keypad input for GPS coordinates
  • Able to hide UI
  • Able to override autopilot with seat inputs
  • Smooth transition between autopilot and pilot seat inputs
  • Displays waypoint distance and ETA (Estimated Time of Arrival)
  • Customizable autopilot sensitivity and PID



User Interface






Autopilot Screen Information




Autopilot Status:
  • Standby - No waypoint added
  • Ready - Waypoint(s) added and autopilot is ready for activation
  • Active - Autopilot has been activated

ETA - Estimated Time of Arrival to current waypoint
Dist - Distance to current waypoint



Setting Up The Microcontroller


The components which are to be connected with the nodes are listed on each microcontroller node.

Just ensure that the physics sensor is placed upright, facing forwards and connected to electricity.

There is an example vehicle included which you may copy from for your creations.

The "Autopilot Active" and "Last Waypoint Reached" boolean outputs are optional nodes which you may use for your own throttle controller or other systems. You may reduce the width of the microcontroller and omit these nodes if they are not needed.



Microcontroller Properties




  • Minimum Distance to Clear Waypoints - This is how close you have to be to the waypoints to clear them. (WARNING: Setting a very low value may cause your vehicle to miss and overshoot the waypoints)
  • Default Map Colour Scheme - Set the default map colour scheme when the creation is spawned in.
  • Grid Lines Default State - Set grid lines to be on/off when the vehicle is spawned in.
  • PID Proportional Gain - Proportional gain for the PID of the autopilot
  • PID Integral Gain - Integral gain for the PID of the autopilot
  • PID Derivative Gain - Derivative gain for the PID of the autopilot
  • Initial Turning Sensitivity - How quickly it transitions between autopilot and seat inputs. It also affects transition speed when it clears a waypoint and turns towards the next waypoint.
  • Seat Controls Override Autopilot - If enabled, pressing A/D on the pilot seat will override and turn off autopilot
  • Colour Scheme (Red Value) - RGB red value for UI colour scheme
  • Colour Scheme (Green Value) - RGB green value for UI colour scheme
  • Colour Scheme (Blue Value) - RGB blue value for UI colour scheme
  • ETA Calculation - Variable Speed (ETA calculated based on real-time speed) / Fixed Speed (ETA calculated based on average vehicle speed manually inputted)
  • (ETA Variable Speed) Calculation Decay - If variable ETA calculation is chosen, a higher value would make it more resistant to speed variations at the cost of responsiveness while setting it to the lowest value would make it use the real-time vehicle speed.
  • (ETA Fixed Speed) Average Vehicle Speed - If fixed Speed ETA calculation is chosen, this value is used to calculate the ETA to your waypoints.



Closing Notes


Thank you for taking the time to read through the description.

For PID tuning with your creation, I recommend you set the “Initial Turning Sensitivity” to 100% first. After the PID has been tuned for your creation, then you can start tuning the “Initial Turning Sensitivity”.

You are free to use this microcontroller on your vehicles but please credit me by providing a link to this page if you upload your vehicle to the workshop with my microcontroller. Please do not reupload my creation/modified versions onto the workshop.

Please report any bugs or issues you find and any feedback is welcomed. I would also appreciate it if you leave a rating/favourite if you find this microcontroller useful.
热门讨论 查看全部(2)
0
2024 年 8 月 18 日 上午 5:22
2nd LUA Script (Unminified Code)
SeaWeed
0
2024 年 8 月 18 日 上午 5:21
1st LUA Script (Unminified Code)
SeaWeed
84 条留言
Echoless 10 月 16 日 下午 2:26 
It could use a seat input for zoom, and remove the keypad input support.
Echoless 10 月 16 日 下午 2:25 
A version of this that is 1x1 would be amazing.
Fact Sphere 10 月 13 日 下午 6:09 
@Stinky_poo4090
Works fine for me as well
Echoless 10 月 12 日 下午 6:00 
@Stinky_poo4090
It's working perfectly fine right now.
Stinky_poo4090 10 月 8 日 下午 3:50 
yeah its just broken
Stinky_poo4090 10 月 8 日 下午 3:42 
also, turning does not work
Stinky_poo4090 10 月 8 日 下午 3:38 
for some reason when i put it on one of my boats the monitors dont turn on i even tried putting a constant on to both of them but nothing would show on the screen even though the monitor said true whenever there was an input going into it
Amagi-chan 9 月 19 日 下午 4:48 
is it possible to have this with a video switch gate to jump between a camera and the map?
radioaktivkaiser 9 月 13 日 上午 7:16 
What should I do set this up on a heli
Dark_Sabre247 9 月 8 日 下午 7:42 
what are the rgbs used in the night mode colors? i want to make the rest of my systems match colors