Stormworks: Build and Rescue

Stormworks: Build and Rescue

103 ratings
Lidar
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Land
Tags: v1.2.2
File Size
Posted
Updated
31.725 KB
19 May, 2019 @ 5:58am
2 Jun, 2021 @ 4:33am
12 Change Notes ( view )

Subscribe to download
Lidar

Description
Should be compatable with the new laser distance sensor. Just connect it like you would with a normal distance sensor. Then just change your range setting in the microcontroller. This would give you a maximum range of 2000 meters.

How to use:
Connect it to a velocity pivot that rotates counter clockwise with a positive input. Then connect the rotation from the pivot into the rotation node on the microcontroller.
On the velocity pivot place a distance sensor facing forward. Connect the distance sensor output to the distance input of the micrcrocontroller.
Connect a screen to the video output of the microcontroller.
You can input a rotatation speed to the velocity pivot and configure the settings of the microcontroller.

Changes:
-v0.03 Added radar shadow mode (on by defult). This mode creates a "shadow" behind objects. Makes stuff look better and it's easier to understand what is being shown on the screen. Auto remove feauture has been added to (on by defult). This setting removes "dots" when the radar sweeps over them.

-v0.02 Added connect nearby feature that connects nearby dots with lines to make it look better. This is optional.

-v0.01 Added min distance property to the microcontroller. This can be used to prevent you from picking up your own vehicle on the radar.
37 Comments
neoliden  [author] 4 May, 2023 @ 7:28am 
@griffithwes No
griffithwes 2 May, 2023 @ 11:27am 
Do I have to credit for this?
Kronus 16 Jan, 2022 @ 7:13am 
does it detect floating ice chunks?
neoliden  [author] 2 Jun, 2021 @ 5:54am 
@Sierra 117788 you are probably not setting the size propoery for your screen size. I don't think im explained that proppely. I updated it a bit. Try using any rectangular screen and make sure the size property is set to 0 size should be set automatically.
E. Hyde 1 Jun, 2021 @ 6:09pm 
I can't figure out how to get the red dot in the center to be centered on any displays. It always seems to appear in the bottom left corner of the monitor? Any suggestions?
Herze 17 May, 2021 @ 8:18am 
@Twistking Any chance you (or anyone else) could share the code changes you made? I'm bad with LUA but would love to be able to change the scan range
donver5 24 Dec, 2020 @ 5:48am 
and megoladons like a fin too!
donver5 24 Dec, 2020 @ 5:48am 
Dude this is the best! Oh... can you put tsunamis as a line?
Frag2000 21 Oct, 2020 @ 12:50pm 
Great work Leoniden. I really like it. However I was wondering ... it seems that I pick up objects that were built up. But does it detect terrain? I am at the creative base and the only thing it picks up is the standing light post. I tried with the 2000 meters laser (configured lidar) and the standard radar. I pick up contacts but it seems the terrain is not shown. What could I miss here? thanks ...awesome components!
Twistking 25 Sep, 2020 @ 7:13am 
nevermind. changed it directly in the code and got it working. thanks again.