Skip to content

Use motion capture with crazyflie-lib-python #240

Answered by krichardsson
cc299792458 asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like you are on the right track

I don't think crazyflie.extpose.send_pose() exists but you probably mean cf.extpos.send_extpose() :-)

crazyflie.extpose.send_extpose() pushes your data to the kalman estimator, pretty much like any other sensor data and if you do it repeatedly it should work as you expect.

If I can use motion capture with crazyflie-lib-python in this way?

Yes. We don't have a Vicon example, but we have one for Qualisys. Lines 228-245 is where the pose data is sent to the Crazyflie. Also note that you can use cf.extpos.send_extpos() if you only want to send position data and not full pose.

Is there any mistake in my demo?

The two things I can think about is tha…

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@cc299792458
Comment options

@krichardsson
Comment options

@cc299792458
Comment options

Answer selected by cc299792458
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@cc299792458
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment