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

mc_rate_control: publish angular acceleration setpoint #14035

Closed
wants to merge 1 commit into from

Conversation

dagar
Copy link
Member

@dagar dagar commented Jan 27, 2020

This is another little piece of #13219 we can pull in.

@dagar
Copy link
Member Author

dagar commented Jan 27, 2020

FYI @RomanBapst

@dagar
Copy link
Member Author

dagar commented Jan 27, 2020

#14034 has been merged, rebasing.

@dagar dagar force-pushed the pr-mc_angular_acceleration_setpoint branch from 71ae472 to a51d998 Compare January 27, 2020 21:45
@dagar dagar changed the title mc_rate_control: publish acceleration setpoint mc_rate_control: publish angular acceleration setpoint Jan 27, 2020
@LorenzMeier LorenzMeier requested a review from a team January 27, 2020 23:28
@LorenzMeier
Copy link
Member

@PX4/testflights Please test slowly and carefully in manual attitude flight.

@@ -90,7 +94,7 @@ Vector3f RateControl::update(const Vector3f &rate, const Vector3f &rate_sp, cons
updateIntegral(rate_error, dt);
}

return torque;
return _angular_accel_sp + torque_feedforward;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dagar This does not make sense to me. It seems like we are mixing torque and angular acceleration.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dagar Let's add a comment indicating that we are assuming an identity inertia matrix, then I think it will be more clear.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Junkim3DR
Copy link

Junkim3DR commented Jan 28, 2020

Tested on NXP FMUK66 v3

Modes Tested

  • Altitude Mode: Good.

Procedure
Arm and Take off in altitude mode and test only altitude.

Notes
No issues noted, good flight in general.

Log

@dannyfpv
Copy link

Tested on pixhawk4 v5 f-450
Modes Tested

Altitude Mode: Good.

RTL (Return To Land): Good.
Procedure
Arm and Take off in altitude mode t

Notes
No issues noted, good flight in general.

Log

https://review.px4.io/plot_app?log=0444d554-8057-4802-b13f-36705dd44a3c

@jorge789
Copy link

Tested on CUAV nano V5

Modes Tested

Altitude Mode: Good.
Procedure
Arm and Take off in altitude mode and test only altitude.

Notes
No issues noted, good flight in general.

Log: https://review.px4.io/plot_app?log=2417cd21-20c3-4e84-b08e-fb0b627301b4

Tested on PixRacer V4

Modes Tested

Altitude Mode: Good.
Procedure
Arm and Take off in altitude mode and test only altitude.

Notes
No issues noted, good flight in general.

Log: https://review.px4.io/plot_app?log=d0813090-78d1-4548-b6cf-7191867c43b3

@dagar dagar closed this Mar 12, 2020
@dagar dagar deleted the pr-mc_angular_acceleration_setpoint branch June 4, 2020 16:44
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.

7 participants