hi everybody.
over the last couple of days ive been wrestling with the mpu-6050 dmp stuff. more specifically, jeff rowbergs i2c library, which is a huge help.
i have a question though as to how the interrupts are handled in the dmp6 example sketch. it seems that this is not the most responsive way to handle the dmp data ready signal, as if the code within the main loop is in a while loop for example, the interrupt wont actually interrupt.
hence im wondering if anyone has a version of the dmp6 sketch which handles interrupts traditionally, ie the yaw pitch roll, in my case, get updated each and every time the interrupt fires.
secondly, im wondering if anyone has any experience porting pansentis 9150 library over to the 6050 with a separate compass on the aux i2c lines? i have a hmc5883l and i really want to use the dmp output of the 6050 and the mag values to feed an ekf (extended kalman filter) or similar, as is done on the 9150. this way my gyro yaw drift will be nulled.
actually does anyone have any filters at all designed to take data from the mpu6050 and hmc5883l and combine it?
cheers