Comments (4)
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.
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.
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.
Thank you @krichardsson for support on roll, pitch and yaw. It worked as per your suggestion.
from crazyflie-lib-python.
Related Issues (20)
- CI should test examples
- Streaming Ranging Distance Info from the Localization Class Using the Python Library HOT 2
- Add other mocap examples minimal HOT 3
- Why it reminded me "Could not add Measurement log config, bad configuration"๏ผwhen I added a new log variable ? HOT 2
- Open multiple plotting instances HOT 1
- motion commanderf wo context manager fails on reconnect.
- python 3.12, can't compile due to missing packages HOT 2
- Convert gui examples to QT6
- Mocap example for multiple crazyflies
- wall follower bug
- Position setpoint handling in flavor of motioncommander
- send_full_state_setpoint fails to move in x and y directions HOT 1
- Not able to find Crazyradio Dongle on MacOS with Python 3.12 - Exception: Cannot find a Crazyradio Dongle HOT 8
- Raspberry Pi 5 CRTP through uart doesn't work HOT 1
- Logging RPM HOT 1
- Raspberry 5 CPX instructions don't work HOT 1
- Add swarm example sharing data
- No error when wrong type is used set parameters
- commander generic setpoints for manual flight
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crazyflie-lib-python.