-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
initial control allocation support (safe to merge) #16528
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense to bring it in like that to keep things moving.
5891646
to
a53d75b
Compare
@dagar SITL tests and param metadata tests are failing. |
Invalid unit in AVC_X_FF: N.m.s/rad |
Will the corresponding document description be synchronized? |
I'm not sure what you're referring to, could you be more specific? |
For example, how to use this new control allocation on a homemade drone? |
8963233
to
8d06f1e
Compare
We'll get there, but it's a bit early. At this stage I'm trying to bring in this incremental progress to enable further development. |
8d06f1e
to
5120d77
Compare
@@ -323,6 +323,9 @@ void Standard::update_transition_state() | |||
} | |||
} | |||
|
|||
|
|||
_v_att_sp->thrust_body[0] = _pusher_throttle; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO:
5120d77
to
20b5189
Compare
The standard VTOL failures look real. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went through quite carefully and did not stop anything strange.
20b5189
to
b9ce5c4
Compare
The build failure was caused by some leftovers in the SITL vtol_standard aiframe. |
b9ce5c4
to
08c559e
Compare
- control allocation module with multirotor, VTOL standard, and tiltrotor support - angular_velocity_controller - See #13351 for details Co-authored-by: Silvan Fuhrer <[email protected]> Co-authored-by: Roman Bapst <[email protected]>
…point_achieved are bool
…n updated Reduces stack + RAM usage
And limit the operations to the number of configured outputs. Only using the number of configured actuators reduces CPU load by ~2% on F7 @1KHz.
Mostly important in cases where the ouputs would change (e.g. param change)
…ting the matrix Just to be on the safe side.
…update subscription
08c559e
to
b18c6ab
Compare
Continued #13351 that should be safe for merging to support continued development.
Apologies for the squashed history, the rebase of #13351 got a little hairy and this was ultimately safer.