Page 1 of 1
IMU_Rotation setting?
Posted:
Tue Sep 25, 2012 11:06 pm
by nikivan
Hi Everyone,
I have my AQ board mounted as per the enclosed picture. The quad is + (plus) configuration. I've tried setting IMU_Rotation setting to 45, but after restarting the board, HUD still shows incorrectly movements of the board. When tilting forward I see the horizon rolling as well. Is there anything else I need to set, or perhaps I need to use different angle (-45, or 315, or whatever)? Please help.
Thanks,
Nick
- AQorientation.jpg (87.28 KiB) Viewed 11114 times
Re: IMU_Rotation setting?
Posted:
Tue Sep 25, 2012 11:21 pm
by GoFaster
Hi -
"IMU_ROT -45" is the correct value for that orientation. That's how mine is oriented as well.
The + or X setup only affects the motor mixing table.
Regards,
- Felix
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 2:45 am
by nikivan
Thanks, Felix, but setting the value to -45 still shows the same issue. I've refreshed the settings screen to make sure the update took place. I've also noticed the HUD horizon rolls in the wrong direction (should be CCW when board is rolled CW and vice versa). I am using ground control 1.0.2 and FW 6.6 downloaded from the Wiki links.
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 3:17 am
by GoFaster
Hi Nick -
Silly question but you have done the static and dynamic calibrations, run the calculations and uploaded those parameters?
- Felix
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 3:45 am
by nikivan
Yes, I did.
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 6:35 am
by Max
Nick, did you do the Calibso as Felix describes here:
viewtopic.php?f=27&t=566&p=2448&hilit=IMU_ROT#p2448 That is, with the IMU_ROT setting already set to -45 and treating the corners as the "sides" to rotate around?
I don't have any personal experience with rotating the FC, just remembered that it was mentioned.
-Max
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 5:35 pm
by nikivan
Thanks, Max. No, I did the dynamic calibration with the default settings. At the time I did not even know about the existence of this IMU_ROT parameter. I thought the purpose of the calibration routine is to align each and every axis to each other. Beside, changing the parameter should force the IMU to "rotate" itself to the desired angle, no? I am thinking if this is so critical, the software should prompt you for it before running the calculations. BTW, I did my first flight yesterday in X configuration, after creating new mixing table. The quad flies even though the dynamic calibration "dance" was performed as for + type of frame.
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 6:02 pm
by bn999
The setting of IMU_ROT during data collection has no impact on the calibration process.
Re: IMU_Rotation setting?
Posted:
Wed Sep 26, 2012 6:16 pm
by nikivan
Thanks, Bill. Going back to my original question, why changing IMU_ROT does not seem to do what it is supposed to do? Is this a bug?