Stormworks: Build and Rescue

Stormworks: Build and Rescue

51 ratings
Radio Beacon Location via Multilateration
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
314.302 KB
23 Jan, 2021 @ 7:08am
12 Feb, 2021 @ 1:53pm
7 Change Notes ( view )

Subscribe to download
Radio Beacon Location via Multilateration

Description
A relatively simple touchscreen-enabled Radio Beacon Locator Microcontroller. When given a GPS signal and the pulses from a Beacon Locator (and optionally a compass), it will draw a red circle around your current location with radius equal to the estimated distance to the beacon transponder. You can save your current circle to memory (turning it into a saved Yellow circle), allowing you to move to a new location and observe the overlapping between all of your circles.

Basically, if you move toward where you think the beacon is, you'll be able to place several circles down and the circles should intersect at a point near where the beacon is transmitting from.

What the buttons mean:
Menu: Shows/Hides the left menu
P: (Default on) Turns on the Beacon Locator
- / +: Zooms out and in on the map
S: Saves your current Red circle
C: Clears all of your saved Yellow circles
A: (Default on) Averages your recent distances together, so that each new pulse adjusts the current circle toward it, rather than replacing it entirely. This helps to overcome some of the issues with inaccuracy, since the script can only update 60 times a second, which can causes the distance to fluctuate by 100 to 300 meters. You might wish to turn this off if you cover a lot of distance between pulses (either because of having a fast vehicle or being very far away).
M: (Default off) Mutes the Buzzer output from the MC.

In the bottom center of the screen is the current distance estimate to the radio beacon.

I recommend using at least a 2x2 monitor. After quite of bit of tweaking, I now declare that it is usable on a 1x1 monitor, but still recommend 2x2 if you can fit it.

Please give me a comment if you like/hate it or if you have suggestions or recommendations. Thank you.

Update 24Jan21: I've adjusted the buttons slightly (moving the +/- to the top right) and added a color drop down so you can change the color of the circles and the menus. Currently have Black, White, Red, Green, Blue, Yellow, Cyan and Magenta as color options. Hopefully that will help folks who have trouble seeing certain colors or if folks have color schemes in their cockpit.

Update 12Feb21: I've now using Tajin's drawRing for prettier circles (and was previously using drawPointer). I've also shortened the buttons to just squeeze them onto a 1x1 monitor. Finally, to better communicated that beacons closer than 300m cannot be precisely located (due to how Stormworks impliments beacons), instead of a ring you get a solid circle on that position. Hopefully you'll be able to spot the vehicle from that close. I've also added a short (1 second) logo that quickly fades away. There's a property in the the MC to turn it off if you dislike it.
6 Comments
Stuka 31 Dec, 2023 @ 12:10pm 
Very nice controller. The buzzer does not seem to do anything though as it pulses too fast to emit a tone?
The Mighty Pringles 9 Feb, 2023 @ 1:02pm 
Map zoom minus button does not seem to work on a 3x3 monitor
UpasTree 27 Nov, 2022 @ 9:14pm 
does it work with 5x9 monitor
trcolka 22 Feb, 2022 @ 12:27am 
Very very good controller, thank you
M∧iss 7 Jan, 2022 @ 1:16pm 
very nice!
MPR 11 Jul, 2021 @ 2:11pm 
Awesome work! Thanks!

A property drop-down to toggle the buzzer to be muted as default could be a nice addition!