View Single Post
Old 04-15-19, 04:39 AM   #10
ljqcn101
Sailor man
 
Join Date: Jan 2013
Location: Hong Kong
Posts: 50
Downloads: 78
Uploads: 3
Default

Quote:
Originally Posted by Thecoroner View Post
Yeah, I know. But you can still get infos and estimations but the solution won't be unique unless you take a turn or else. As with 3 bearings at stop, you can get the course but not a unique solution.
Yes, but you can get a bunch of solutions starting from 1000m to 5000m for example. (This is the range I set multiple starting point for optimisation. There could be more solutions.) Course solutions can be in a certain range though. But if bearing lines have intersections, you could get course solutions in totally different directions.

Code:
time t1 = 0 (sec)
ownship heading at t1 (deg): 0

target bearing at t1 (deg): 90

ownship straight direction from last position = 0 (deg)
ownship straight distance from last position = 0 (meter)
*******************************
time t2 (sec): 120

ownship heading at t2: 0

target bearing at t2 (deg): 85

ownship straight direction from last position (deg): 0

ownship straight distance from last position (meter): 300

*******************************
time t3 (sec): 240

ownship heading at t3: 0

target bearing at t3 (deg): 80

ownship straight direction from last position (deg): 0

ownship straight distance from last position (meter): 300


target course: 358.88deg, speed: 6.26725knots, distance: 999.996m
target course: 358.16deg, speed: 7.67643knots, distance: 2000m
target course: 358.17deg, speed: 7.66992knots, distance: 1995.38m
target course: 357.67deg, speed: 9.08642knots, distance: 2999.99m
target course: 357.68deg, speed: 9.07374knots, distance: 2991m
target course: 357.31deg, speed: 10.4969knots, distance: 3999.99m
target course: 357.04deg, speed: 11.9077knots, distance: 4999.99m

probability of target course error within 5deg: 13.6364 %
probability of target course error within 10deg: 23.0909 %
probability of target course error within 20deg: 49.2727 %

probability of target positional error within 75m: 3.81818 %
probability of target positional error within 150m: 13.6364 %
probability of target positional error within 300m: 27.9091 %

*******************************
time t4 (sec): 360

ownship heading at t4: 0

target bearing at t4 (deg): 75

ownship straight direction from last position (deg): 0

ownship straight distance from last position (meter): 300


target course: 358.34deg, speed: 6.26019knots, distance: 1000.58m
target course: 358.37deg, speed: 6.23728knots, distance: 984.243m
target course: 358.35deg, speed: 6.25775knots, distance: 998.846m
target course: 358.36deg, speed: 6.24476knots, distance: 989.58m
target course: 358.39deg, speed: 6.21228knots, distance: 966.41m
target course: 357.3deg, speed: 7.66408knots, distance: 2001.17m
target course: 357.32deg, speed: 7.63115knots, distance: 1977.72m
target course: 357.31deg, speed: 7.64557knots, distance: 1987.99m
target course: 356.57deg, speed: 9.06974knots, distance: 3001.76m
target course: 356.59deg, speed: 9.02861knots, distance: 2972.5m
target course: 356.58deg, speed: 9.0449knots, distance: 2984.09m
target course: 356.04deg, speed: 10.4765knots, distance: 4002.35m
target course: 356.06deg, speed: 10.4307knots, distance: 3969.78m
target course: 356.05deg, speed: 10.4356knots, distance: 3973.29m
target course: 355.64deg, speed: 11.8839knots, distance: 5002.94m
target course: 355.65deg, speed: 11.83knots, distance: 4964.62m
target course: 355.63deg, speed: 11.8987knots, distance: 5013.45m

probability of target course error within 5deg: 24 %
probability of target course error within 10deg: 48 %
probability of target course error within 20deg: 81.3333 %

probability of target positional error within 75m: 4 %
probability of target positional error within 150m: 16 %
probability of target positional error within 300m: 34.6667 %

Last edited by ljqcn101; 04-15-19 at 05:00 AM.
ljqcn101 is offline   Reply With Quote