Is it normal for balancing robot move forward even in balancing point cause my bot do so, i try to adjust the position my battery so it can balance but its not good enough, and i will try to tune its more now with more high kP because if its lean it just go forward and cant recover from its positionIll wait sir.ThankHadri
I'm Struggling with some kind of delay possibly caused by the Kalman filter. I can get my bot to balance using the MPU6050's DMP code but it isn't responding correctly with your Kalman filter code. Still Testing....
Sorry for late reply sir, just got trouble few days ago and now its fine.should i go for the MPU6050 DMP ? is that different with kalman filter that i implemented ? actually i dont really know whats better for my bot and for DMP i dont really understand that and not have the example code to implement that on my bot.i still struggling with the tuning i will try to record the video sir.
lets try this code out to see if it works on your bot.you will need to use The calibration sketch to get good offsets for the MPU6050Also you will need to modify Balancing_Bot_Works_.ino to work with your motor controlLet me know if this will balance your bot. I'm still trying to figure out how to get your code working Z
i just tune the PID with kP = 35 without kI and kD its now a little bit stable sir, however its still jitter and lean forward a bit. ill update the video , so you can observe the behavior of the bot.actually i want the bot balance and stable as good as i can so i can implement the bluetooth for control.Thanks sirHadri