Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
*LUA* 3d HUD projection example with remote lidar scanner
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
63.366 KB
12 Jun, 2019 @ 3:25pm
9 Mar, 2022 @ 6:14pm
3 Change Notes ( view )

Subscribe to download
*LUA* 3d HUD projection example with remote lidar scanner

Description
Basically a little demonstration that consists of 2 things:

1. A scanner that uses a laser rangefinder to get x,y,z coordinates of anything it targets and sends a stream of those coordinates over radio

2. A little test-helicopter that receives those coordinates, caches them and then uses my worldToScreen function to display them as an overlay on the hud of the helicopter.

In combination what you get is something like a 3d lidar.


The worldToScreen function could however be used for countless other things aswell. Like displaying a waypoint in 3d (which is probably the most basic example) or you could even use it to make an EFVS that overlays the outline of a runway on your HUD.
18 Comments
Montarion 3 Oct, 2021 @ 7:11am 
heyo, does this not work anymore?

I already changed the radios from 888 to 21
Fireside 1 Oct, 2021 @ 4:21pm 
Hmm, I'll look into that! Currently I'm trying to get the HUD of this creation to display something, but I can't find what the issue is. I've tried replacing the Radio antennas to see if that was causing issues and I've gone over the LUA code in both the Helicopter and Scanner a couple times, but I can't seem to make it work.

Thanks for your reply!
Tajin  [author] 1 Oct, 2021 @ 12:31am 
It's actually not much different from this. The sensors (radar / lidar) can be completely separate. So long as they use the same coordinate system it is easy to combinethe data afterwards.

The main difference in that prototype you mentioned is that it uses a spinning lidar with 4 sensors to increase the scanning speed.
Fireside 30 Sep, 2021 @ 5:30pm 
Hey Tajin,

I was wondering if you could possibly upload the creations you used in your 'forward radar+lidar' and youtube video. I understand that they are protoype designs, but as I am building a system of my own in stormworks, I was wondering if I could possibly get a hold of the setup you used when combining lidar and radar since I can't seem to find examples of such elsewhere that aren't some dumbed-down version of lidar fundamentals.

Thanks in advance!
Тайно Дёргал 27 Dec, 2020 @ 12:30pm 
is that lidar still functional? And enyone can show me the work principle pls
Husky 7 Dec, 2020 @ 8:23am 
i cant get it work the lidar/scaner dont schowe noting
is like te lidar is ded help
violet 3 Jul, 2019 @ 9:49pm 
I normally have:
W/S is pitch
A/D is roll
Up/Down is collective
Left/Right is yaw
The C𝔬w God 17 Jun, 2019 @ 5:25pm 
this is awesome
Tajin  [author] 17 Jun, 2019 @ 5:41am 
Yeah I normally do when I make actual vehicles but this thing is barely more than a pilot seat and a rotor strapped onto a battery so I could test this with minimal fluff. ^^
Buunuu 17 Jun, 2019 @ 5:26am 
ohh thats right. sorry, i couldnt remember which way around the collective was lol. you should label the controls next time :P