thotro / arduino-dw1000

A library that offers functionality to use Decawave's DW1000 chips/modules with Arduino.
Apache License 2.0
527 stars 288 forks source link

3D positioning issue - curve when it was supposed to be a straight line #219

Open mraeclo opened 7 years ago

mraeclo commented 7 years ago

Hey, how is it going?

After getting 4 anchors and trying to localize 1 tag in 3d position, using lemmingapexs trilateration library ( available here https://github.com/lemmingapex/trilateration ), Im getting a strange behavior: whenever I walk on an axis in a straight line, the result is a curve, kind of making almost an "C" and not going straight.

I have positioned the anchors recreating a gizmo, 1 at the base, other 1 meter high, other 1 meter to the right of the base, other 1 meter ahead of the base.

Anyone has any idea why this could be going wrong? Has anyone got to track a 3d postion using 4 anchors, 1 tag and the lemmingapex trilateration?

Thanks a lot!

TempleClause commented 7 years ago

@Mraeclo I want to the same thing but I'm struggling with the multiple Anchors setup. Is it your goal to get the position of the tag on the tag itself or one of the anchors?