-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Multicopter velocity control to work with the crazyflie model #6
Comments
See this branch https://github.com/bitcraze/crazyflie-simulation/tree/pid_gazebo |
Hi @knmcguire I've just started using the aerostack2 crazyflie sim stack for a project I'm working on!
I think they copied a model from this repo about a year/two years ago. No idea if the drag, thrusts, force or moment constants are correct, and I have no idea where the gains come from. You can see a plotjuggler picture of the current controller here. Wondering if you had any suggestions on how I might be able to tune the thing? I've spent a day semi-randomly testing gains and it all looks really similar! The drone just oscillates around weirdly semi-stably and randomly limps towards a target. I'm not sure if there's a way of isolating the rates or attitude controllers. Or whether this is more hassle than its worth and I should try and interate the PID(?) Controller you have in this repo. End of the day all i want is some stable flight! Thanks! |
hmm oke interesting that aerostack2 wasn't able to get this to work either to work in all this time, which is a bit worrying. The difference is that they tried to get it to work with the gazebo's embedded velocity controller (based on lee's controller) https://gazebosim.org/api/gazebo/6.7/classignition_1_1gazebo_1_1systems_1_1MulticopterVelocityControl.html. I think this might be the most chance of success here, but unfortunate I wouldn't know how to tune this properly I'm afraid |
The multi copter velocity control in gazebo could also control the crazyflie, but it needs the right drag and thrust constants and the right gains.
The text was updated successfully, but these errors were encountered: