Stormworks: Build and Rescue

Stormworks: Build and Rescue

Advanced Radar to GPS (XYZ)
47 Comments
SMITHY  [author] 2 Sep @ 4:07am 
Can't atm, maybe in a few weeks if I get time
SUSHI_ENJOYER 1 Sep @ 1:35pm 
Will you make a version with new composite?
SMITHY  [author] 13 Aug @ 4:30am 
also iirc lasers only work up to 2km right? Or has that changed?
SMITHY  [author] 13 Aug @ 4:23am 
yeah, but like if you use lasers you still have to point them using radar. It also introduces challenges like how do you know if the laser is pointing at the target or the terrain (Like say you're a radar above another flying target)
luckytiger 13 Aug @ 1:35am 
Since (to my knowledge) lasers do not have random noise applied to the found distance, there are simpler ways to compute this without the need for the Kalman filter
OSCH04 2 Aug @ 7:43pm 
Can you also make it position tracking with a Laser that also can provide GPS coordinates
SMITHY  [author] 4 May @ 2:14pm 
Just add me on discord @smithy3141 you can find me on stormworks official server
尤利 4 May @ 7:40am 
gotta talk to you.
SMITHY  [author] 3 May @ 5:19pm 
Iirc it does output acceleration
[AIM] scrapguy 2 May @ 4:03am 
what would i need to do to also get the mass and the xyz acceleration of the target?
SMITHY  [author] 19 Apr @ 7:30pm 
Just this alone, only a few hours. A lot of this was just repurposed from other projects I had tbh. Like I learnt how kalman filters worked while making the jpdaf tws. But yeah a pretty long time if you consider all the research I had to do for other projects.
Security Cam #01 19 Apr @ 3:41pm 
Neat! How long did it take you to make?
SMITHY  [author] 26 Feb @ 12:37pm 
Target size can only be calculated with the old radars, but I could add range at some point
Babou 26 Feb @ 3:21am 
It would be nice to add a target size estimator to try to make the system more dynamic and versatile
Babou 26 Feb @ 3:15am 
good work, functional and efficient :steamthumbsup:
SMITHY  [author] 25 Feb @ 1:27pm 
Btw just throwing this out here, if you want to track a very manoeuvrable target increase the process noise a bit
SMITHY  [author] 25 Feb @ 1:27pm 
velocity is in m/s and acceleration is in m/s/s
andmcnabb1 25 Feb @ 8:41am 
slight question what units are the speeds in ?
SMITHY  [author] 23 Feb @ 7:41pm 
There’s a table somewhere that gives the max sweep speed for a given x fov, but I don’t have it on hand
SMITHY  [author] 23 Feb @ 7:41pm 
If the sweep speed is too high and the range is too far, it’s possible for SW radars to completely miss targets
SMITHY  [author] 23 Feb @ 7:40pm 
Oh you asking why that happens on your own build?
Nick Name 23 Feb @ 6:15pm 
nono im just adding on top of what was said earlier
SMITHY  [author] 23 Feb @ 1:25pm 
just target tracking
SMITHY  [author] 23 Feb @ 1:25pm 
are these search radars spinning, because I haven't designed this to work with spinning radars at all
Nick Name 23 Feb @ 10:13am 
Yeah i've noticed that with search radars on my 2s6, when rotating it only detects for 4 - 5 times, then doesn't for 4 - 5 times again, repeats that all the time
unforgiven3091 22 Feb @ 11:15am 
I've been looking for something like this for awhile, thanks!
andmcnabb1 22 Feb @ 5:15am 
oh my god this is exactly what i was looking for thanks
andmcnabb1 22 Feb @ 5:11am 
amazing
SMITHY  [author] 21 Feb @ 5:50pm 
ah well it was just like a couple vids that showed how SW radars don't update with new data every tick. With more range the the delay gets bigger too
tom 21 Feb @ 5:38pm 
im banned on SW discord
SMITHY  [author] 21 Feb @ 5:10pm 
1. currently probs not. Mainly because of the weird time since detection mechanics. Like two identical radars may update out of sync, and also if the ranges are different they'll update at different rates.
SMITHY  [author] 21 Feb @ 5:09pm 
if you search through some of my recent messages on the SWO discord for "time since detection", you can see what I'm talking about.

To get it working with the Kalman filter would require the data is like fuzed together somehow, which isn't what this kalman was designed for specifically.
tom 21 Feb @ 4:35pm 
no, im saying can i use it on multiple radars at once?
SMITHY  [author] 21 Feb @ 4:33pm 
I'm not really sure what you mean by that. Like can it be used on the TWS? It's possible, but I'm not exactly sure how I'd implement that yet. It'd also be pretty performance heavy.
tom 21 Feb @ 4:18pm 
can the Unscented kalman Filter macro used on multi radar at once?
SMITHY  [author] 21 Feb @ 11:31am 
yeah very possible, you'll likely have to swap y&z composite outputs though (and then swap composite 2 and 3 in the other microcontroller).
thisissparta138 21 Feb @ 7:18am 
is it possible for this to feed target data to a missile?
Caio Estrada 21 Feb @ 4:47am 
very nice!! :steamthumbsup::steamthumbsup:
tom 20 Feb @ 7:07pm 
thank you
SMITHY  [author] 20 Feb @ 6:55pm 
tom if you're asking if the system can be used with other radars, then yes. If you're asking if I use this in any of my other systems, then no. I only use a normal linear kalman filter for my V2 tws.
SMITHY  [author] 20 Feb @ 6:51pm 
Added everything you wanted Nick. Also changed it so that you don't have to manually input time since detection now. Reworked how track initiation works too, so it'll auto select the target closest to the centre of the screen (and then try to keep this same target locked)
tom 20 Feb @ 5:20pm 
is the Unscented Kalman Filter used on other radar?
Nick Name 19 Feb @ 10:18pm 
Alright, hyped for that !
SMITHY  [author] 19 Feb @ 10:12pm 
Alright, I'll change the way the switch works when I change the way target selection works (so that it picks the target at the centre not the target in the first channel). I originally had a different idea to how the target selection would work, and that internal switch is just left over from that.

Tick compensation will be an easy add too. Already have target velocity and acceleration so I can just move the target position however many ticks into the future.

I could add a button to save target coords and another to swap Y&Z.

This will all happen sometime tomorrow though.
Nick Name 19 Feb @ 9:44pm 
Nice system,
tho what could be added to make it more versatile since it will need to be modified alot of times to fit systems:
tick compensation
Save XYZ Or Not When target is lost, Swap Y&Z
Switch the toggle to a push, and instead use a push to toggle in the controller itself, so it's easily modified.
Description of each parameters and their effects.
SMITHY  [author] 19 Feb @ 9:22pm 
time since detection is 0 for any radar with a max range less than like 2999m I think. Also that tsd calculator thing in the MC only gives a value if the radar has a target in it's sights.
Nick Name 19 Feb @ 9:19pm 
don't quite get it, time since detection stays 0 when putting my own radar, is it normal ?