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

Gremsy liked Gremsy's profile
Mar 12
DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
More…