Hello,
I am building a quad for the first time.I am using a arduino mega and an mpu 6050 to control the quadcopter.I have been trying to tune the pid controller i have implemented for the past few weeks without any progress.It would be of great help if you could go through these videos and a short version of my code showing only the main part(to save your time), and tell me where i might be going wrong.
The first video contains only a kp value, which i found takes the quadcopter to the desired setpoint, albeit slowly.The second video has a kp and a very small value of kd(0.01) and the quadcopter is going crazy as you can see.
Thank you
https://drive.google.com/file/d/0B1Ec8Sq1L5voZzZoYWdJT2hRVW8/view?usp=sharing
https://drive.google.com/file/d/0B1Ec8Sq1L5voVWM3bE9IQVFHcHM/view?usp=sharing
I am building a quad for the first time.I am using a arduino mega and an mpu 6050 to control the quadcopter.I have been trying to tune the pid controller i have implemented for the past few weeks without any progress.It would be of great help if you could go through these videos and a short version of my code showing only the main part(to save your time), and tell me where i might be going wrong.
The first video contains only a kp value, which i found takes the quadcopter to the desired setpoint, albeit slowly.The second video has a kp and a very small value of kd(0.01) and the quadcopter is going crazy as you can see.
Thank you
https://drive.google.com/file/d/0B1Ec8Sq1L5voZzZoYWdJT2hRVW8/view?usp=sharing
https://drive.google.com/file/d/0B1Ec8Sq1L5voVWM3bE9IQVFHcHM/view?usp=sharing