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
rc_update: cleanup parameter usage #13672
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.
Nice
tmpScaleFactor = (1.0f / ((parameters.max[i] - parameters.min[i]) / 2.0f) * parameters.rev[i]); | ||
tmpRevFactor = tmpScaleFactor * parameters.rev[i]; | ||
|
||
/* handle blowup in the scaling factor calculation */ |
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.
You did not want to keep that check?
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'm not opposed to keeping it, but not in this form printing an error message that's likely never going to be seen by a user. The scaling_factor it clears isn't even used anymore.
Co-Authored-By: Beat Küng <beat-kueng@gmx.net>
Co-Authored-By: Beat Küng <beat-kueng@gmx.net>
@PX4/testflights on any vehicle could you please try fully (re)calibrating RC and verify everything still works? If it checks out on the bench then please test fly and provide a log that can be compared to master. We can use that to compare calibration results before and after. |
Tested on NXP FMUK66 v3Modes Tested Procedure
Notes Log
Tested on Pixhawk 4 v5Modes Tested Procedure
Notes Log |
Tested on PixRacer V4:Modes Tested Procedure Calibrate RC before flying. Log PR 13672 Master |
No description provided.