Stormworks: Build and Rescue

Stormworks: Build and Rescue

Ei tarpeeksi arvosteluja
Waypoint Calculator
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Vehicles: Creative
Tunnisteet: v1.7.3
Tiedostokoko
Julkaistu
Päivitetty
24.488 KB
31.1.2020 klo 0.22
25.4.2023 klo 7.52
2 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Waypoint Calculator

Kuvaus
Calculates the following data from your GPS and compass sensors and your waypoint entry. This is not an autopilot but you can make your own autopliot based on the calculated data. Or you can build a navigation gauge quadrant in your ship. It also has an output to show if you reached your target.

- Distance to target
Units: feet, meter, kilometer, miles, nautical miles
Sensors needed for calculation: GPS and Target-Coordinates (e.g. from large keypad)

- Heading = direction you are pointing at (relative to true north)
Units: Vanilla [0..1], Radiant, Degree
Sensors needed for calculation: Compass sensor

- Bearing = direction (relative to true north) in which the target lies
Units: Vanilla [0..1], Radiant, Degree
Sensors needed for calculation: GPS and Target-Coordinates

- Relative Bearing = bearing, where the front of the vehicle is considered as "north"
Units: Vanilla [-0.5 .. 0.5], Radiant, Degree
Sensors needed for calculation: Compass sensor, GPS and Target-Coordinates

Controller size: 3x3

Inputs:
- GPS-X, GPS-Y (number): The GPS signal
- Target X,Y (composite): The channels are selectable
- Compass sensor [-.5 .. +.5] (number)

Outputs:
- Distance (number)
- Heading (number)
- Bearing (number)
- Relative Bearing (number)
- Waypoint Reached (on/off): Enabled when the distance to the target is below the distance threshold

Properties:
- angle units [vanilla, radiant, degree]: for all angular outputs
- distance unit [ft, m, km, mi, nm]: for all distance outputs AND the threshold input
- Channel Waypoint X,Y (slider 1..32)
- DIstance Threshold (number):
3 kommenttia
Urakuya 26.4.2023 klo 4.22 
I used the relative bearing output on a dial set to -0.33 to 0.33 and it perfectly points in the direction of the way point. Really useful for early game career since u can't see waypoint and advanced setups can be unaffordable. I also changed the comp input to 2 number inputs because the large keyboard that has paste waypoint functionality doesn't have a comp output. Thanks for the great upload I was really having trouble figuring out the math for bearings you saved me so much time and effort.
sengir_vampire  [tekijä] 25.4.2023 klo 7.53 
Thank you, error fixed and uploaded :)
Urakuya 25.4.2023 klo 7.11 
Great job well done, you made an error with the vanilla output property (anything times 0 is 0!) just change it to 1 and works