2d triangulation

Here some helper code I wrote because I had a 2d pan-tilt pointing device, but did not know it’s location. But i did have 3 known points and the angles the pointing device reports when facing these points. The trigonometry helper allowed me to triangulate the unkown observer points.

https://github.com/stephanschulz/triangulation/tree/main/trigonometryHelper

trig

6 Likes

Thanks for sharing :slight_smile:

I am trying to learn more about cere solver and made a small test to see if it can be used to find the unknown point based on the 2d angles and 2d markers.
seems to work to some extend. it can’t find points outside the ABC triangle though.

https://github.com/stephanschulz/triangulation/tree/main/2dtriangulation_ceres