Stormworks: Build and Rescue

Stormworks: Build and Rescue

Navigation Map with Autopilot
68 Comments
Frag2000 15 May @ 8:12am 
Thanks a lot. My bad.... I was trying to open it from the ship dock. Took for granted that it would be on a ship example. I would recommend to add the note to your description. I am pretty sure other people could do the same error.

Thanks again!
SeaWeed  [author] 15 May @ 8:07am 
You can access it in large hangar
Frag2000 15 May @ 8:03am 
Werid one here. I have tons of experience with this game but cannot access this microcontroller. First it does not show in the inventory list. I can see a creation in the vehicle workshop, but I tried to open it at many large dock and I get the error "Vehicle too big for the area". Am I missing something?
Frank Renson 6 May @ 8:04am 
Alright, thanks for the availability
SeaWeed  [author] 5 May @ 12:06pm 
Yes of course, I uploaded it for people to use :pickax:
Frank Renson 5 May @ 11:27am 
Greetings, may I can use it on my ship? Credits will be given
hunter_vertigo17 27 Apr @ 2:34am 
Hi, I have made some adaptations and now when I try to drive flippers it slowly powers down
SeaWeed  [author] 8 Jan @ 10:06pm 
It can but you would be required to set up autopilot for yaw, pitch and roll
Snefflz 8 Jan @ 11:41am 
does it work with aircraft?
Snefflz 8 Jan @ 11:41am 
never mind i figured it out, didnt merge lol
SeaWeed  [author] 8 Jan @ 11:37am 
Make sure your screens are turned on and have electric
Snefflz 8 Jan @ 11:33am 
i love this mod, how ever when ever i try and add it to my creation it doesnt work, the screens dont work even though ive hooked it up correctly. any help??
GabeTeuton 8 Jan @ 6:08am 
That seems like a very smart thing to do! I hope (and i'm sure) you'll do great! Cheers! :steamthumbsup:
SeaWeed  [author] 8 Jan @ 5:17am 
Nice suggestion but unfortunately I am taking a break from the game for the next few years to focus on my studies
GabeTeuton 8 Jan @ 4:53am 
consider this a feature suggestion, not a request as i don't feel entitled to a request like some people sometimes do :P. If it's feasible you could add a button to either monitor to switch from ETA and Dist from current pos to current waypoint to ETA and Dist for all remaning route? Or maybe a toggle in the settings window? (i love the 2 monitor set up) ♥
MAKT445 6 Jan @ 5:03pm 
amazing
SeaWeed  [author] 22 Dec, 2024 @ 8:57pm 
Haha this definitely took more than 3 hours but I'm happy to hear you like it :P
GabeTeuton 22 Dec, 2024 @ 6:55pm 
This is absolutely amazing i cannot believe it i subscribed to it and didn't use it cause i was not up to the size i required for such a complex system, just tried it on my new project, it's unbeliebable, i awarded you 3 consecutive times... just for context i've been trying to code my own with help from chatgpt for the last 3 hours (didn't end well) but this... beautiful!
Reysn 10 Nov, 2024 @ 4:08am 
This is such a great implementation of a map + autopilot. Userfriendly, intuitive, functional and also pretty. Thank you for the great work. Looking forward to using it in upcoming creations! :hellionfunny:
SeaWeed  [author] 5 Nov, 2024 @ 6:58am 
The composite input from the monitor to microcontroller provides the screen width and height. You can manually change the value to your desired aspect ratio and the UI will adjust accordingly.
AEz 5 Nov, 2024 @ 6:54am 
yea and the ui
SeaWeed  [author] 4 Nov, 2024 @ 10:17am 
You want to display it on the top 2/3 of the hud?
AEz 4 Nov, 2024 @ 9:27am 
hey how can u get the 2x3 scale version on a 3x3 hud so i can make a 2x3 hud version
SeaWeed  [author] 22 Sep, 2024 @ 9:49am 
Sure, I'd be happy for you to use my creation :)
RainyRain 22 Sep, 2024 @ 8:56am 
Hello, bro! Incredible project, i want to ask you a permission to integrate your code into on-board all-in-one computer system controller (Your code will open up like an app, part of a system)


Credits of course will be written down in description in workshop + when the app is opening there is greeting message with name and author of app.
I Can send you a beta of the controller, if u r interested in

Thanks, write me back plz

your fan :)
BushCrafters CO. 16 Sep, 2024 @ 10:40pm 
After scratching my head for a day, I got it working decently with this approach:

The AP output goes directly to the rudder, but to complement it with the aileron, I had to take the AP output, divide it by 1.5, and clamp it between (0.15 to -0.15), which is the setpoint for the roll sensor.

Example:
AP is making a 180-degree turn.

AP output is either (1 or -1) (Full deflection).
My microcontroller divides that by 1.5, resulting in (0.66 or -0.66).
It then clamps that value to (0.15 or -0.15).
This value is sent to a PID controller, which uses the ailerons to match it with the roll sensor (which only values between 0.25 to -0.25). My PID settings are 2, 0.000001, 0.000001.



The reason for dividing by 1.5 and clamping is to create a good initial turn rate while avoiding exceeding around 54 degrees of roll.
SeaWeed  [author] 16 Sep, 2024 @ 7:38pm 
Its kinda complicated to explain. But you could take the turning output from my autopilot and feed it into the plane's autopilot
BushCrafters CO. 15 Sep, 2024 @ 5:49pm 
pretty incredible. would be great for flying in complete fog. Whats a good way of making an aircraft make these turns? straight to the rudder seems slightly effective but not exactly. Am i able to make the turns more agressive?
SeaWeed  [author] 29 Aug, 2024 @ 6:10am 
But you are of course free to adjust the colours manually in the codes
SeaWeed  [author] 29 Aug, 2024 @ 6:09am 
Sorry i dont plan to add adjustable map colours or text colours, otherwise the microcontroller settings and my codes would be very lengthy.

I also have different text colours for certain areas of the UI so it would be difficult for me to make them adjustable in a user friendly way.
RedneckRepublic 28 Aug, 2024 @ 3:11pm 
Sideral, thank you for the cyan code but is it also to change like background colors and like the color of text, im just generally asking because I love this creation but it’s the one thing that doesn’t fit into the color scheme of my setups
aria 22 Aug, 2024 @ 11:56pm 
looks good im going to try it out on my catamaran atm the one im using does this too but also displays radar targets but your one looking like it has an interesting ui
SeaWeed  [author] 22 Aug, 2024 @ 11:55am 
BTW thank you guys for the feedback. It helps me improve on my creations.
SeaWeed  [author] 22 Aug, 2024 @ 11:44am 
I realised a throttle controller would need a "last waypoint reached" output pulse to stop at the last waypoint, since using the "autopilot active" output to stop would cause the vehicle to stop even if you disable autopilot manually which is undesirable...

so I've updated the microcontroller again:

- Added "Last Waypoint Reached" output which can be used for your vehicle's throttle controller

- Added an Example Vehicle with throttle controller
Rhedd 21 Aug, 2024 @ 1:09am 
Thank you!!
SeaWeed  [author] 19 Aug, 2024 @ 8:57pm 
:pickax:
Marle 19 Aug, 2024 @ 5:17pm 
what a chad
SeaWeed  [author] 18 Aug, 2024 @ 4:53am 
I've updated the microcontroller:

- Added "Autopilot Active" output which can be used for your vehicle's throttle controller

- Added RGB Inputs in the microcontroller settings for you to choose any colour scheme

- Added variable speed ETA calculation
SeaWeed  [author] 18 Aug, 2024 @ 2:24am 
Ok I'll add that as an option
Rhedd 18 Aug, 2024 @ 1:57am 
So this looks the BEST system I've seen, but ETA is very important to me. Why are you using a fixed property for the average vehicle speed instead of an input of the actual current vehicle speed? Can that added?
Bubo001 17 Aug, 2024 @ 8:24am 
Great! Thank you!
SeaWeed  [author] 17 Aug, 2024 @ 7:37am 
I'll add an output when the autopilot is ON since everyone designs their speed control differently e.g.(sticky/non-sticky throttle)
Bubo001 17 Aug, 2024 @ 7:13am 
Hi,

would it be possible to add throttle management, or even just an output pulse upon arrival?
I would like to ensure that it can drive a ship completely autonomously and stop once it reaches its destination.

Thank you :)
SeaWeed  [author] 15 Aug, 2024 @ 10:28pm 
I can send you the full unminimised codes if you need them as well
SeaWeed  [author] 15 Aug, 2024 @ 10:26pm 
In the first lua block:

"gpsPX, gpsPY = MS(mapX,mapY,zoom,96,64,gpsWX,gpsWY)"


•gpsPX / gpsPY == screen pixel coordinates of your vehicle converted from real world coordinates

•gpsWX / gpsWY == world coordinates (raw gps values)
Marle 15 Aug, 2024 @ 9:50pm 
hey buddy, quick question, ive been trying to look through your code and find where its getting the coords for where it draws the ships current position regardless of where the cursor is, i can seem to pick it apart. you did a reallllllllly good job shorthanding everything and im having a hell of a time. im trying to integrat the map with a bouy tracking system im making, and i can only get it to use the cursor gps values and try as i might with offsets to the point of origin i can get it to work properly
SeaWeed  [author] 14 Aug, 2024 @ 8:58am 
In the meantime, you can manually change the colours yourself:
SC(R,G,B)

Just paste your desired RGB values into the matching values e.g.:
"SC(0,100,200)" is the default cyan colour displayed when you tap a button. You can replace all of the "SC(0,100,200)" with your own RGB values.
SeaWeed  [author] 14 Aug, 2024 @ 8:44am 
Hi sry about that, I'll try to make the colour scheme customizable next time.
RedneckRepublic 12 Aug, 2024 @ 11:32am 
Hey I love the map and everything, but would it be possible getting some help changing around colors so it better suits my boat color scheme? Im just confused on really which ones control the backrounds bc there's so many
Wild1231 24 Jul, 2024 @ 9:35pm 
Thanks a lot for putting together such a great creation! If anyone is looking for a comprehensive GPS/Map/AP system, this is a must try.