Not applicable
Sep 16, 2016
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2016
05:00 AM
Hello Copter Rocks Community,
reading through the new Dave 4 Copter Rocks Software I noticed a potential error in the AttitudeController and MPU9150 files, if the sensor fusion algorithm is changed.
If the define is set to 2 (QuaternionFilter), the name of the GetAngles() function is misleading as it returns the Pitch and Roll Angle of the copter but for Yaw it returns its Yawrate.
However if the ATTITUDEALGORITHM 1 (Kalman filter) is used, the function returns the Roll, Pitch and Yaw angle of the copter.
So changing the attitude algorithm would cause problems in the AngleRateController as this function expects the Yawrate.
I would make a Pull request on Github to fix this but the new Software is only uploaded as zip file.
reading through the new Dave 4 Copter Rocks Software I noticed a potential error in the AttitudeController and MPU9150 files, if the sensor fusion algorithm is changed.
#define ATTITUDEALGORITHM 2
If the define is set to 2 (QuaternionFilter), the name of the GetAngles() function is misleading as it returns the Pitch and Roll Angle of the copter but for Yaw it returns its Yawrate.
However if the ATTITUDEALGORITHM 1 (Kalman filter) is used, the function returns the Roll, Pitch and Yaw angle of the copter.
So changing the attitude algorithm would cause problems in the AngleRateController as this function expects the Yawrate.
I would make a Pull request on Github to fix this but the new Software is only uploaded as zip file.
Labels
- Labels:
-
Multicopter
- Tags:
- IFX
5 Replies
Sep 16, 2016
08:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 16, 2016
08:41 AM
Hi Marcell,
Walter will extract and reupload the single files on Monday.
Can anyone confirm this fix?
Best regards, Rafael
Walter will extract and reupload the single files on Monday.
Can anyone confirm this fix?
Best regards, Rafael
Sep 18, 2016
11:23 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 18, 2016
11:23 PM
Hello Marcell,
The code should fly as it is right now on our GitHub repository: https://github.com/ManagementCenterInnsbruck/copter.rocks
I also unpacked the .zip file on the repository.
Please flash the software and try to get your quadcopter flying. If you have any more queries please just ask.
Best regards, Walter
The code should fly as it is right now on our GitHub repository: https://github.com/ManagementCenterInnsbruck/copter.rocks
I also unpacked the .zip file on the repository.
Please flash the software and try to get your quadcopter flying. If you have any more queries please just ask.
Best regards, Walter
Not applicable
Sep 19, 2016
02:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 19, 2016
02:28 AM
Hello Walter,
I just wanted to point out that there is a potential error in the code if someone changes the define for the sensor fusion algorithm. (#define ATTITUDEALGORITHM)
I just wanted to point out that there is a potential error in the code if someone changes the define for the sensor fusion algorithm. (#define ATTITUDEALGORITHM)
Sep 19, 2016
03:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 19, 2016
03:14 AM
This seems to be the relevant file on GitHub - correct?
https://github.com/ManagementCenterInnsbruck/copter.rocks/blob/de8ffc783860fd7662d11a6444c9f89f80d91...
https://github.com/ManagementCenterInnsbruck/copter.rocks/blob/de8ffc783860fd7662d11a6444c9f89f80d91...
Not applicable
Sep 19, 2016
03:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 19, 2016
03:56 AM
This file: https://github.com/ManagementCenterInnsbruck/copter.rocks/blob/de8ffc783860fd7662d11a6444c9f89f80d91...
I made the changes and sent a pull request on github.
I made the changes and sent a pull request on github.