Stormworks: Build and Rescue

Stormworks: Build and Rescue

82 vurderinger
Radar Controller
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Vehicles: Creative
Tags: v1.3.4
Filstørrelse:
Offentliggjort:
Opdateret:
38.776 KB
23. maj 2019 kl. 7:11
9. okt. 2021 kl. 1:39
8 ændringsbemærkninger ( vis )

Abonner for at downloade
Radar Controller

Beskrivelse
Draws a radar screen on a monitor or hud. It uses the distance sensor and the radar dish to show the surroundings.
Is has a heading(normal) mode where the radar screen alignes with your ship and a "north mode" where the radar screen is north-aligned.
You can switch the range between several user-predefined ranges
Color Values are 6-Digit-Hex-Numbers (RRGGBB): 000000 is black, 00FF00 is bright green, ...

There are two different radar setups possible:
1. Use a velocity pivot for turning the radar and link the current rotation to the controller
2. Use a compact velocity pivot, add a compass sensor to the radar and link the sensor to the controller. The design will be more compact
An optional radar will show the objects, too.

The setup and properties of the radar dish:
The radar dish has to be at the exact angle as the distance sensor (the developers removed the facing yaw input) . You can figure out the correct sweep speed for yourself (I'm too busy right now) or you set the sweep mode to static and put the dish on the same (or a corresponding) compact velocity pivot as the distance sensor.

Setting up the controller properties:
1. Set the pivot direction to match the dish rotation
2. Set the pivot offset to math the dish direction. If the radar is 180° off the the property to 0.5 turns.
3. Set the radar direction correctly. You can locate your own blip on the screen and move to see if you surround the radar clockwise or anticlockwise.
4. Set the radar offset correctly. Use your own blip to control the current settings.
I made working assembly to show a correct setup: testassembly

Hints:
- You can define the ranges with the ranges-property. Separate them with a comma, e.g. "250,100,50,25,10"
- Too large values for the phosphorescence property results in faulty screen drawing

Controller Size: 3x3

Please credit me if you use my microcontrollers! Thank you

Inputs:
- Rotation (Number) [-0.5 .. 0.5] from a velocity pivot
- Distance (Number) from the distance senor on the pivot
- Object Distance (Number) from the radar
- Switch Range (On/Off): to switch between the user defined ranges
- Orientation (On/Off): to toggle between heading and north-mode
- Heading (Number): The ships heading (from the ships compass sensor)

Outputs:
- Video Out (Video)
- Yaw [-0.5 .. 0.5] to the radar
- Range [m]: the selcted Range

Properties:
- Ranges (Text): The ranges, separated by comma
- Offsets [deg] (Number)
- Directions [normal/reverse]
- Phosphorescence (Slider 1..400): The phosphorescence of the screen
- Screen Color (RRGGBB): the screen color as 6-Digit-Hex
- Object Color (RRGGBB): the object color as 6-Digit-Hex
48 kommentarer
Jojo 30. juni kl. 11:59 
oh wait nvm
Jojo 30. juni kl. 11:57 
17*
willzwix1 8. apr. 2024 kl. 17:29 
fun fact: in the description, he said "radar" 16 times.















im bored, ok?
ova578 4. jan. 2022 kl. 10:20 
i cant get it to work with the new radars either
sengir_vampire  [ophavsmand] 17. dec. 2021 kl. 12:32 
The laser sensor has to point into the same direction as the radar dish. The easiest way is to put laser senor and radar onto the same pivot and set the radars sweep mode to static
omenakunkku 17. dec. 2021 kl. 11:51 
if i use the normal radar can i still use the laser sensor?
xlxPlykxlx 9. okt. 2021 kl. 16:38 
I'm still not understanding this properly with the new radars. I could use some help if you have the time.
sengir_vampire  [ophavsmand] 9. okt. 2021 kl. 1:43 
I just added a quickfix for the new radar dishes. Please read the description on how to setup the new radar.
Echoless 8. okt. 2021 kl. 20:26 
is this going to be updated for the new radars?
sengir_vampire  [ophavsmand] 9. maj 2021 kl. 6:29 
It's only the microcontroller and you can find it in the categorie "Workshop Microcontrollers" of the workshop components list. It's a small 3x3 controller with an image of a radarscreen.