-
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
fw_att_control: move to px4::params #13048
Conversation
19c5aa5
to
b9a215d
Compare
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.
@@ -20,7 +20,7 @@ px4_add_board( | |||
DRIVERS | |||
adc | |||
barometer # all available barometer drivers | |||
batt_smbus | |||
#batt_smbus |
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.
How does this relate to the rest of the PR?
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.
This change pushed the px4_fmu-v5_stackcheck build over the flash limit. NuttX stackcheck (https://nuttx.org/doku.php?id=wiki:howtos:run-time-stack-checking) instruments every single function call, so in this particular case my guess is it breaks the inlining in these param wrappers. https://github.com/PX4/Firmware/blob/34b03d56593815e16a29ba5dcef9b66208285c98/src/platforms/px4_param.h#L123
@PX4/testflights could you give this a test on a plane or vtol? For a plane test manual and stabilized on the ground to make sure recovery is possible (worst case). |
Tested on pixhawk 1 v3 Phantom Wing |
Thanks @dannyfpv, I'm glad you caught it on the ground. There was an incorrect radian conversion on the manual scale factors (FW_MAN_R_SC, FW_MAN_P_SC). Should be fixed with the last push. |
@PX4/testflights could you try again? |
Tested on fixed wing Pixhawk1 v3 note: wind speed 9.0 m/s |
We need to carefully check the mix of degrees and radians, but otherwise this should be pretty straightforward.