Skip to content

Refinements to location/orientation solver

Latest
Compare
Choose a tag to compare
@GNSS-Stylist GNSS-Stylist released this 22 Aug 13:00

Needs Godot-project https://github.com/GNSS-Stylist/FerrySim_Godot/tree/v1.1.0 to work correctly. Notice the version 1.1.0.

This version should make LOSolver agnostic of the order of the points:
As no point should affect the calculation more than others, basis vector X (and indirectly Y) is calculated as follows (degrees used in this explanation):
"Imaginary" vectors from centroid, lying on the plane defined by points A, B and C and separated by 120 degrees (1/3 of full round) are rotated around the centroid so that the sum of the ("signed") angles between these and the vectors to real corners of the triangle are zero. "Imaginary" vector initially pointing to point A and rotated as explained above is then used as a basis vector X.

This change should make LOSolver better at averaging out location errors from receivers in real world applications. Effects in this simulated environment are insignificant.