ignore IMU during loco positioning while tracking people #1076
Replies: 2 comments 1 reply
|
Hi, What I did was to add a new estimator, implemented as an Out Of Tree estimator in an Crazyflie app. The estimator only tracks position and reused the measurement model and outlier filter from the kalman estimator. It is very simplistic, it just updates the estimated position with the measured error. The estimator does not use the IMU at all, which means that there is a bit of lag when moving around (it is not for flying), with the current settings in our flight lab it takes a round 1 second to catch up when walking around. You can find the estimator in the |
|
This is excellent thank you so much for looking into this. I will post here when I have had a chance to build this and flash on my devices. Do you have a sense for why there is a 1 second lag? I think that with 8 anchors in TDoA 2 mode we get ~62.5 updates per second (1000/16ms), not sure about TWR or TDoA 3, so I was thinking UWB only positioning might be a bit faster. Do you think there are parameters in the estimator we could tweak or is the 1 second lag just having to do with the accuracy of the UWB system when not doing sensor fusion with the IMU? Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am using the Crazyflie Bolt with Loco Positioning decks and 8x Loco Positioning nodes as anchors in TDoA 3 mode. I am actually getting the position of people (not drones) by mounting the bolt+positioning deck on each person. It seems like the current codebase assumes that the IMU always points up-ish (which is a reasonable assumption for a drone). And the current codebase assumes that the drone faces up and with the correct XY orientation relative to the Anchor layout and is stationary for at least for a few seconds on first power on. When mounted on a person however the bolt can move around a lot orientation-wise. I would like to estimate positions with more focus on the Loco and less focus on the IMU to see if that would improve our positioning estimates.
I did modify the following parameters:
Which seemed to make positioning much less sensitive to the initial orientation of the Bolt (at startup) and much less sensitive to the orientation of the Bolt during movements. It did not however let me turn the Bolt upside-down; as soon as I turned the Bolt upside down I couldn't really get any kind of accurate positions.
I am wondering if there are any other parameters I should try to modify that would minimize the influence of the IMU on position estimates?
Thanks!
Andrew
All reactions