cancel
Showing results for 
Search instead for 
Did you mean: 

AHRS continous problem under CoIDE

daniel23
Associate II
Posted on April 19, 2015 at 20:33

Hi to all, I'm trying to use this demo, and I have noticed that my program remains blocked at this line of the iNEMO_AHRS_Init()

void iNEMO_AHRS_Init(iNEMO_SENSORDATA* pSensorData,
iNEMO_EULER_ANGLES* pAngle,
iNEMO_QUAT* pQuat)
{
console_out(''ciao1_1'');
/* Initialize all the EKF Matrix to Zero */
pMat_P = iNEMO_fMatCreateZero(7,7);
console_out(''ciao1_2'');
pMat_Fsys = iNEMO_fMatCreateUnit(7,7);
console_out(''ciao1_3'');
pMat_Q = iNEMO_fMatCreateZero(7,7);
console_out(''ciao1_4'');
pMat_Pnew = iNEMO_fMatCreateZero(7,7);

Since the last call is like the previous, I think that maybe my heap is too small. It is a correct idea? In this case, how to increase it? Thank you #inemo-engine #heap #inemo
2 REPLIES 2
kjell
Associate
Posted on May 22, 2015 at 08:48

Any solution yet?

daniel23
Associate II
Posted on June 17, 2015 at 10:20

Yes, I have found a solution but I haven't updated this post sorry. I attach a PDF that is taken from my project report and briefly explains how to solve the problem.

Daniel

________________

Attachments :

CoIDEiNemo.pdf : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzYO&d=%2Fa%2F0X0000000bNZ%2F2tUgtqesinQmKrktbj8zv1mJbfXaQC0kPShOJCM1l_A&asPdf=false