Target Calculator
Calculates the following data from your GPS and compass sensors and your target 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.
– 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: 3×3
Inputs:
– GPS-X, GPS-Y (number): The GPS signal
– Target X,Y (number): The target coordinates
– Compass sensor [-.5 .. +.5] (number)
Outputs:
– Distance (number)
– Heading (number)
– Bearing (number)
– Relative Bearing (number)
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