Code Monkey home page Code Monkey logo

Comments (4)

krichardsson avatar krichardsson commented on September 15, 2024

When using an external system for positioning (like Qualisys) the position is sent to the Crazyflie via the radio. If you are using the python lib, you should use the ExtPos class
The position information is pushed into the Kalman estimator and is fused with any other sensor information that is available, the same way as the flow information is.
As the Motion commander is only related to sending setpoints to the controller in the Crazyflie, you can use it the same way regardless of what information you feed to the estimator.

You can find an example of how to get data from a Qualisys system and feed it to the CF in qualisys_hl_commander.py, it uses the high level commander instead of the Motion Commander though.

from crazyflie-lib-python.

gaurav713914 avatar gaurav713914 commented on September 15, 2024

Thank you for the clarification, I tried it and I was able to run the motion commander but I faced one problem during feedback that the 6d data which QTM is publishing in python has coordinates (x,y,z) and a rotation matrix. We need roll, pitch and yaw separately, also it will be good if we can receive velocity and acceleration data of any rigid body from QTM. Can you please help regarding it?

from crazyflie-lib-python.

krichardsson avatar krichardsson commented on September 15, 2024

We need roll, pitch and yaw

Scipy has nice support for converting between various flavors of rotation representations.

it will be good if we can receive velocity and acceleration data of any rigid body from QTM. Can you please help regarding it?

I'm not that good at QTM, Qualisys will be a better source of information.

from crazyflie-lib-python.

gaurav713914 avatar gaurav713914 commented on September 15, 2024

Thank you @krichardsson for support on roll, pitch and yaw. It worked as per your suggestion.

from crazyflie-lib-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.