Skip to content
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

remove scaling from rate feedback #1601

Merged
merged 1 commit into from
Apr 20, 2016
Merged

Conversation

EwoudSmeur
Copy link
Member

Currently gains from rate control do not carry over to attitude stabilization, because there is a factor 2 in the rate control and prescaler values (factor 3 for rate) in the attitude control. I searched through the airframes, and there are not many that use rate control. I doubled all the gains and removed rate control for bebop, as rate control over datalink is very difficult due to lag.

The prescaler values should also be default 1 for stabilization quat_int, as they already are for float_quat. However, this will mean updating a large amount of airframes, which will require some scripting. I might have time for this later.

@flixr
Copy link
Member

flixr commented Apr 17, 2016

As already mentioned in #1482, I think it would make more sense to convert the really simple rate control to float, or do you see any advantage of keeping fixed point here?

@EwoudSmeur
Copy link
Member Author

I agree that float would be simpler. Though that can well be a separate pull request. Can we first merge this, before new airframe files with rate gains are added?

@flixr flixr merged commit d29c83a into paparazzi:master Apr 20, 2016
@EwoudSmeur EwoudSmeur deleted the stab_scaling branch April 22, 2016 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants