the bug fix that u said was fixed for the auxiliary variables seems to be giving me same error

Asked by nigelh

notice that the bug for the auxiliary variables was listed as being fixed in latest release, but seem to be getting same error. Can u please confirm what the fix was - I have down loaded the same code twice with same error. Thanks
Sorry should hve been more specific .. there is a section in thefreeimu.cpp file where you assign q0q0 to be q0*q0 but the compiler fails on these statements. I modified it to put the calc in the places where the ref is, but notice that someone else had raised the issue which u replied u fixed in the latest release.
By the way compliments on the code - only been playing with it a couple of hours and seems really easy to get around and understand .. I don't have the board but descrete parts itg3200, lis331 and mag3110 which i'm in process of creating libraries and integrating.

To add a little more to this - when I switch the code from HAS_6DOF to HAS_9DOF I get a and error that stated that there was an issue with the code - I've just commented this out and changed the calculations
q0q0 = q0 * q0;
   q0q1 = q0 * q1;
   q0q2 = q0 * q2;
   q0q3 = q0 * q3;
   q1q1 = q1 * q1;
   q1q2 = q1 * q2;
   q1q3 = q1 * q3;
   q2q2 = q2 * q2;
   q2q3 = q2 * q3;
   q3q3 = q3 * q3;

I assume that this was meant to substitute the calculation everwhere that the descriptor was??

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
FreeIMU Edit question
Assignee:
No assignee Edit question
Solved by:
nigelh
Solved:
Last query:
Last reply:
Revision history for this message
Fabio Varesano (fabio-varesano) said :
#1

Can you be a little bit more specific? I don't remember what you are referring to..

Revision history for this message
Fabio Varesano (fabio-varesano) said :
#2

How exactly did you setup the code? what board did you uncommented?

Revision history for this message
nigelh (nhamblyn) said :
#3

I have actually posted a bit more information in the original question, but now I have actually got past this point and am now looking at the fused output of the devices - just trying to do a bit of research on yaw drift as I seem to be suffering this issue at the moment, but will raise another question if I can't find an answers.

Thanks for your help
Nigel