Stormworks: Build and Rescue

Stormworks: Build and Rescue

45 valoraciones
Long Range/Laser Lua Radar/Lidar Controller
   
Premiar
Favoritos
Favorito
Quitar
Vehicles: Mechanical
Etiquetas: v0.7.6
Tamaño
Publicado el
Actualizado el
41.044 KB
24 MAY 2019 a las 14:07
25 MAY 2019 a las 8:49
2 notas sobre cambios ( ver )

Suscríbete para descargar
Long Range/Laser Lua Radar/Lidar Controller

Descripción
Description:
A radar/lidar displayer that shows the distance between you and whatever the distance sensor senses using lua, it also remembers old readings to create a circular depth map. Works on every monitor size!

How to use:
Place a laser distance sensor on top of a velocity pivot and connect the distance sensors output and the current position of the velocity pivot to the microcontroller (make sure the distance sensor is pointing forwards)
And connect the video output to a screen.
Also if desired connect the proximity alert to a buzzer and in the microcontrollers settings change the proximity alert distance(in meters).
When it is fully zoomed in it will show a max of 250 meters on the monitor, when it is fully zoomed out it will show a max of 2000 meters.
And if you want you can change the colours and transparency of all the things inside the microcontrollers settings.
(recommended speed of the velocity pivot is 0.4-0.47 so it doesnt accidently skip saving some positions)

Inputs/Outputs and Settings:
Distance sensor:
A number output value from a laser distance sensor between 0 and 2000.

Current rotation:
The current rotation being output from a velocity pivot in turns (the standard output)

Proximity alarm:
A on/off value to connect to buzzer so that they beep when the distance sensor detects a value lower than the specified distance.

Proximity alarm 2:
A on/off value to connect to buzzer so that they beep when the distance sensor detects a value lower than the specified distance.

Video output:
The video output to connect to screens so they display the radar/lidar (supports multiple monitors at the same time)

Radar "Colour":
The red, green and blue settings require a value between 0 and 255 to colour the main parts of the radar. Alpha also requires a value between 0 and 255 for the transparency, 0 is see through and 255 is 100% visible.

Old radar "Colour":
The red, green and blue settings require a value between 0 and 255 to colour the scanned parts of the radar. Alpha also requires a value between 0 and 255 for the transparency, 0 is see through and 255 is 100% visible.

Radar beam "Colour":
The red, green and blue settings require a value between 0 and 255 to colour the beam which is inside the scanned area. Alpha also requires a value between 0 and 255 for the transparency, 0 is see through and 255 is 100% visible.

Display text?:
A on/off value to set whether it should display the currently detected distance on the screen.

Proximity alarm minimum distance:
The minimum amount of meters the distance sensor needs to detect before it starts outputting to the buzzer output.

Proximity alarm minimum distance 2:
The minimum amount of meters the distance sensor needs to detect before it starts outputting to the buzzer output.

Standard zoom:
The standard amount of meters shown in the radar from the center.

Display zoom text?:
A on/off value to set whether it should display the current zoom used on the radar.

Display slider?:
A on/off value to set whether it should display a slider showing how zoomed in it currently is.

overlay coming soon maybe idk
the slider should be fixed now
15 comentarios
SillyGoose 27 SEP a las 19:21 
Kronus, instead of using the output on the big velocity pivots, just use a forwards facing compass sensor connected to the lidar, it should work the same EXCEPT for the lidar is now facing relative to north, rather than your boat, which can be easy to fix if it really a problem, (just place a second compass on the base of your boat, and subtract the one on the lidar as "A", and the other as "B") because now the lidar will be facing correct relative to maps. I know this comment is two years late, but maybe it'll help someone.
Kronus 18 ABR 2022 a las 8:03 
OK, I found the problem. It does not work with compact velocity pivots. It requires the big velocity pivot to output the current rotation value. A pity! I hate the noise that the big velocity pivot makes on top of the pilothouse of my boat!
Kronus 13 ABR 2022 a las 11:39 
i'm having the same problem as Kahrstrom :steamsad:
Green Goose 13 OCT 2021 a las 8:13 
It was the pivot that was the problem, it was the wrong way around
ketrab2004  [autor] 5 OCT 2021 a las 11:23 
is it not mirrored when you connect other microcontrollers?
Green Goose 5 OCT 2021 a las 11:19 
The monitor is the right way round though
ketrab2004  [autor] 5 OCT 2021 a las 9:01 
that happens when the screen is mirrored, remove it and try placing it again
Green Goose 5 OCT 2021 a las 6:04 
The image is mirrored for some reason
Kahrstrom 7 ENE 2020 a las 13:25 
Having some trouble getting this to work. Everything wired up correctly (afaik, double and triple checked), going at 0.47 speed and the radar is measuring range. The radar scan symbol is not moving on the screen however and it is not showing any radar signatures.

Is this outdated or am I doing something stupid?
Tiger__ 1 OCT 2019 a las 11:13 
thank you!