Trilateration calculation method

hi,

I am trying to do a trilateral survey using dw1000.
I looked at the source code and the source code document for reference, but I wonder if there is a separate mathematical formula for trilateral surveying in the source code.

I looked at the wiki and saw the formula, but it is difficult to match the source code, so I ask for help.

Thanks.

Hi,

What source code would you be looking at?

The only source code which includes trilateration freely available is the TREK code which uses a trilateration function based on 3 ranges as a solver. This is described in section 2.3.1 i the DECARANGERTLS PC SOURCE CODE.DecaRangeRTLS_PC_Source_Code_Guide.pdf (920.1 KB)
Regards & stay safe

I have read it, and is there any mathematical formula for the trilateration function in the source code?

Please check the TREK1000 source code which is available form our website

Hi, I previously searched and read a phd thesis on the detailed mathematical derivation formula of the trilateration algorithm you mentioned. No-Line-Of-Sight Identification and Mitigation in a Real Time Indoor Ultra-Wide Band Localization System3.1.4 UWB trilateration process. Please refer to it and I hope it is useful to you. :grinning: