IMU: Runs Infinitely!! Help Required...

Hi All,

I was running ArduPlane2.60 library example under arduPlane/libraries/APU_IMU/IMU_Oilpan_test.pde

I just want to check the reading of gyro's and accelerometer. However, when I run the program it gets stuck in setup() here:

imu.init(IMU::COLD_START, delay, flash_leds, &adc_scheduler);
imu.init_accel(delay, flash_leds);

Acceleration does not initiliaze even though my board is resting on the table. It KEEPS ON calibrating it infinitely. 

However, if I see this code in main Arduplane.pde code, they used MavLink delay and here it is just a delay passed into as function pointer. Can I overcome this without using MavLink??

I tried running ArduPlane 2.26/ 2.40/ 2.50 example, all the same result.

Any clue/ help will really be useful..

Thank you..

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Developer

    Usually if setup get's stuck it means that you have some level of hardware failure. Have you checked that PCB is intact and no other visual sings of damage? Also if you have good soldering / reflow stations you could give heat a bit for gyro / adc chips.

    Btw which flight electronics you are using? AMP1x or APM2x ?

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…