Stormworks: Build and Rescue

Stormworks: Build and Rescue

Not enough ratings
LIDAR Camera 2 - fast, lightweight and compact
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
33.470 KB
14 Sep, 2023 @ 2:38am
18 Sep, 2023 @ 12:05am
3 Change Notes ( view )

Subscribe to download
LIDAR Camera 2 - fast, lightweight and compact

Description
This single monitor LIDAR solution is an improved version of my previous design:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2983982391

It's lightweight, easy to install and small enough to be used on every helicopter, ship, etc.
It can be used to monitor the deepest sea floor in up to 4000m depth, or take images of ground locations from the sky in every weather condition.

It's optimized so it can be effectively used even on a 1x1 monitor in a crammed cockpit.

A low res scan only takes ~1 second and is always scaled up to fullscreen.

Features:
- single monitor solution, no external buttons needed
- Tilt compensation so the laser always points down (optional)
- Continous scanning
- faster, fullscreen images by interpolating smaller sample sizes
- zoom and enhance into every part of the image

How to install:
- load the prebuilt setup into your creation using the selection tool in the editor
- move the parts whereever you want
- if you don't want tilt compensation, delete the physics sensor
- done!

How to use:

Start scan:
1. Press the "S" button on the top right to start scanning. The progress is displayed as a progress bar on the top.
2. Adjust the image resolution by pressing the number on the bottom right. It displays the estimated time to complete a scan in seconds. The largest time is always a full screen scan, which is not recommended for large screens.

Zoom control:
1. When your image is ready and displayed, you can pick data points by pressing on the part of the image.
2. After selecting an interesting location, a "+" appears on the right. Press the "+" to zoom into the selected part of the picture
3. To unselect a point, simply press somewhere on the lower bar where the data is displayed.
4. Zoom out by pressing "-" which only appears when no data is selected.
5. Press "R" to reset the camera position

You can access the uncompressed code here: https://github.com/KwentiN-ui/Stormworks_LIDAR_Camera_2
This code is distributed under MIT, so you are allowed to use and modify this however you like. Be sure to send me a link to your awesome creations!
You need to minify the code using https://lua.flaffipony.rocks if you want to make changes to the original code.

If you want to support me financially: paypal.me/kwentinq
19 Comments
KwentiN  [author] 21 May @ 6:27am 
@MrChickenLover25 You can imagine it like a real camera. If you have long exposure and move around, then the image gets blurry. The same applies here. The lower the resolution setting the faster you can move.
MrChickenLover25 20 May @ 1:40pm 
does it still work if the vehicle that it is on is moving at a slow pace?
Ω Compu 27 Apr @ 2:46pm 
stormworks recently raised the character limit for Lua code blocks to 8000 instead of 4000
KwentiN  [author] 26 Apr @ 2:20am 
@Ω Compu I've published the full code on GitHub here [github.com]. You can try adjusting the `pad` value on line 33. Just need to copy your adjusted code into the LUA block. If it's too large there are tools to compress the code into fewer characters.
Ω Compu 24 Apr @ 5:57am 
i'm using a 2x3
KwentiN  [author] 23 Apr @ 5:46am 
@Ω Compu What size of screen are you using? Unfortunately making a bigger button would mean less size for the image :/
Ω Compu 21 Apr @ 9:52am 
the touch landing zone for the number to change the scan speed is really small and hard to press
KwentiN  [author] 17 Jun, 2024 @ 9:58am 
Please make sure that all components are still connected properly. See if it works with the unmodified prebuilt setup and adjust your implementation accordingly
patrickskipwith 15 Jun, 2024 @ 12:53pm 
i cant zoom
jamtime2002 4 Apr, 2024 @ 11:20pm 
my lidar isnt scrolling up so I am only seeing 1 row of pixels