You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Drone2020v1 2020-07-28 15-27-23.zip
Hi, I am trying to tune the controller in Airsim. For the video it is the same parameter as the original code. The video shows that the drone is kinda viberating when tracking a circle trajectory. To my understanding, it is because the Kp is too big or the attitude_tau is too small, but as I make them smaller or make one of them smaller, the drone is still viberating,.
Also, I design a polynomial trajectory for execute time T = 3, and at the time t = 3, v(t) = 0; a(t) = 0; For the current parameter, it will go back and forth around the final target position.
So do you have any advices on how to tune the parameter? and will it help if I use publist flat target witch contains (p, v, a)? currently I publish only p and v
I am new to tune the controller. really appreciated. Thanks for your help!
The text was updated successfully, but these errors were encountered:
@HenryHuYu Probably for tuning, it would be better if you just publish a stationary position setpoint and move it from there
Kp is a gain for the position controller and attitude_tau is the rate controller time constant.
If it still oscillates you need to probably make it bigger
@Jaeyoung-Lim I am also wondering what would be the best approach to tune this controller for real vehicles. How would you start with initial values based on a given vehicle specs?
@mzahana My recommendation is that you creat a model that is as close as the real vehicle ( including px4 tuning gains) and tune this controller on top of that model
Drone2020v1 2020-07-28 15-27-23.zip
Hi, I am trying to tune the controller in Airsim. For the video it is the same parameter as the original code. The video shows that the drone is kinda viberating when tracking a circle trajectory. To my understanding, it is because the Kp is too big or the attitude_tau is too small, but as I make them smaller or make one of them smaller, the drone is still viberating,.
Also, I design a polynomial trajectory for execute time T = 3, and at the time t = 3, v(t) = 0; a(t) = 0; For the current parameter, it will go back and forth around the final target position.
So do you have any advices on how to tune the parameter? and will it help if I use publist flat target witch contains (p, v, a)? currently I publish only p and v
I am new to tune the controller. really appreciated. Thanks for your help!
The text was updated successfully, but these errors were encountered: