Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to choose orientation of drone at calibration #406

Closed
benkuper opened this issue Mar 14, 2019 · 2 comments
Closed

Option to choose orientation of drone at calibration #406

benkuper opened this issue Mar 14, 2019 · 2 comments
Milestone

Comments

@benkuper
Copy link

It would be nice to have an option to be able to choose how the drone is when calibrating, currently is default to x positive, it could be something like
X+, X-, Z+, Z-
It would allow to have in a performance context the drone to be facing the public (Z-) or the performer behind (Z+)

It think it should at least be defaulting to Z- , which is probably the most used (drone facing front, meaning we are looking at the LPS cube with X+ being on the right and Z positive being behind

krichardsson added a commit that referenced this issue Jun 18, 2019
The initial yaw can be set through the kalman.initialYaw parameter. The initial yaw is used to initialize the estimator when the Crzyflie is not oriented in the positive X direction.

Initial Yaw is set in radians where:
0: facing positive X (default)
PI / 2: facing positive Y
PI: facing negative X
3 * PI / 2: facing negative Y

Note: initial yaw takes effect after the kalman filter is reset.
@krichardsson
Copy link
Contributor

The initial yaw can be set through the kalman.initialYaw parameter. The initial yaw is used to initialize the estimator when the Crzyflie is not oriented in the positive X direction.

Initial Yaw is set in radians where:
0: facing positive X (default)
PI / 2: facing positive Y
PI: facing negative X
3 * PI / 2: facing negative Y

Note: initial yaw takes effect after the kalman filter is reset.

@krichardsson krichardsson added this to the next-release milestone Jun 18, 2019
@benkuper
Copy link
Author

Nice !

J-Durotifa added a commit to J-Durotifa/crazyflie-firmware that referenced this issue Jun 25, 2019
bitcraze#406 Added initial yaw for the kalman estimator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants