Page 1 of 1

Initial Position of Crazyflie when using PositionHlCommander

Posted: Mon Jan 25, 2021 7:35 am
by pimpam
I have tried using the LPS system with 8 anchors in TDOA2 mode, also use the PositionHLCommander framework. Anyway, I'm still confusing about how to set the initial position of the Crazyflie. Originally I want to start flying the crazyflie near the center of LPS, so I changed the initial position to where I wanna start. But, each time I fly the drone, it always moves back to the world origin (near the anchor(id=0)) first, then goes to the position I have set.

Image


So, does anyone can explain to me why it happened like this, also how can I solve it?

Thank you.

Re: Initial Position of Crazyflie when using PositionHlCommander

Posted: Mon Jan 25, 2021 8:00 am
by kristoffer
Is this maybe what you see? https://github.com/bitcraze/crazyflie-l ... issues/180
It should work if you update the lib

Re: Initial Position of Crazyflie when using PositionHlCommander

Posted: Mon Jan 25, 2021 8:34 am
by pimpam
Oh it works!

Thank you so much