Initial Position of Crazyflie when using PositionHlCommander

All discussions related to the Loco Positioning system
Post Reply
pimpam
Beginner
Posts: 19
Joined: Fri Aug 07, 2020 8:07 am

Initial Position of Crazyflie when using PositionHlCommander

Post 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.
kristoffer
Bitcraze
Posts: 630
Joined: Tue Jun 30, 2015 7:47 am

Re: Initial Position of Crazyflie when using PositionHlCommander

Post by kristoffer »

Is this maybe what you see? https://github.com/bitcraze/crazyflie-l ... issues/180
It should work if you update the lib
pimpam
Beginner
Posts: 19
Joined: Fri Aug 07, 2020 8:07 am

Re: Initial Position of Crazyflie when using PositionHlCommander

Post by pimpam »

Oh it works!

Thank you so much
Post Reply