Jump to content
I2Cdevlib Forums

Recommended Posts

I need any help to do a PID after filter MPU6050 data with a KALMAN filter.

If u can give me a code or a guide to do it i will be tpo grateful.

 

I'm doing a quadcopter and I have seriaus problems adjusting the PID

 

Respects! 

 

PD: Sorry if I no speak english well  :blink:

Link to comment
Share on other sites

Hello, Diego!

 

Here you can find one of the PID realizations
https://github.com/MegaPirateNG/ardupilot-mpng/tree/mpng-3.0.1-r3/libraries/AC_PID

also, there is a storing PID values to the EEPROM, but you can delete it :-)

 

And filtering... There is no need to use only Kalman.

Here you can find some other filters
https://github.com/MegaPirateNG/ardupilot-mpng/tree/mpng-3.0.1-r3/libraries/Filter

 

Hope it helps you.

 

Maybe you can help me with my noobish question?
http://www.i2cdevlib.com/forums/topic/110-arduino-multiple-definition-of-some-function-mpu6050xxxxxx/

Because my math is OK. But my skill in Arduino is poor :-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...