I Quote from APM 2.x release notes:

"We’ve tested it (APM 2.x) for months, including lots of flying, and it significantly outperforms the DCM used in APM 1.0.

It’s your choice whether you want to use the MPU-6000 internal sensor fusion or do it yourself in the main processor, but if you choose the DMP it frees up nearly 40% of the processing power in the Atmega 2560"

My question:

1) Currently as I see from the source, we extract Accel, and Gyro vectors from MPU-6k and perform DCM using (non-linear) complementary filter and AHRS after that.

So, how are we taking MPU-6k for an advantage, as I understand it does provide 'its own' sensor fusion (so that we don't need DCM or Kalman). We can use I2C with Compass + GPS + other sensors interfaced as required and perform sensor fusion inside of MPU-6K, thus making the code more easier to manage and leave more flash memory free!!

2) Do we have a choice to use MPU-6000 sensor fusion instead of external DCM? Is it already done and if so, how? As per the quote, then we can add more features in APM 2.6, for the next generation along with PX4 as well!!

Thanks for any inputs..

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

Join diydrones

Email me when people reply –

Replies

  • Hi @mP1, Lefebvre,

    Thanks for your inputs.
    That 40% improvement was stated by the APM 2.0+ developers, as per the link I quoted in the first post above. Don't yet know what was the source of that statement?

    Does PX4 also use MEMS mpu6000 sensors?
  • @Shyam

    Where did you get your figures like 40% from  ? Have you profile AP ?

    Im not disputing that some time is done doing all that fancy multiplications but i doubt it could be that much especially considering the Atmega has built in multiply instructions for fixed point that are reasonably fast. Im guessing without actually knowing that most of the CPU time is spent reading with all the handshaking and io with the various devices.

  • We can use I2C with Compass + GPS + other sensors interfaced as required and perform sensor fusion inside of MPU-6K, 

    How does that work?  How do we send Compass data, and more importantly, GPS data, into the MPU for internal fusion?

  • Anybody any views on this?

    I am sure, some curious user-developers would have this question.

This reply was deleted.

Activity

DIY Robocars via Twitter
10 hours ago
DIY Robocars via Twitter
yesterday
DIY Robocars via Twitter
Saturday
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
Saturday
DIY Robocars via Twitter
Wednesday
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…