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

Backward incompatibility: updated controller interface, updated thrust curve parametrization #33

Closed
klaxalk opened this issue Dec 25, 2020 · 0 comments
Assignees
Labels
users-read-me information to users about a backwards-incompatible change

Comments

@klaxalk
Copy link
Member

klaxalk commented Dec 25, 2020

The controller interface was updated. The common handlers now contain the motor thrust curve parameters, gravitational acceleration and a getter for the current estimated UAV mass.

Moreover, the motor thrust curve parametrization is now independent on the number of motors on the UAV. The number of motors is a new parameter within the "motor params" config file. Therefore, the parameters for the same propulsion type can be shared between different UAV types. To update the config file to the new parametrization, do the following:

The old format:

hover_thrust:
  a: 0.175
  b: -0.148
  1. hover_thrust -> motor_params
  2. add n_motors
  3. multiply the old a by sqrt(n_motors)
motor_params:
  n_motors: 8
  a: 0.4949
  b: -0.148
@klaxalk klaxalk added the users-read-me information to users about a backwards-incompatible change label Dec 25, 2020
@klaxalk klaxalk self-assigned this Dec 25, 2020
@klaxalk klaxalk closed this as completed Oct 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
users-read-me information to users about a backwards-incompatible change
Projects
None yet
Development

No branches or pull requests

1 participant