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
Added support for displaying RPM MAVLink message in the main QGroundControl values panel #10757
base: master
Are you sure you want to change the base?
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.
Other than a couple minor things this looks good.
src/FactSystem/FactGroup.cc
Outdated
@@ -116,7 +116,8 @@ FactGroup* FactGroup::getFactGroup(const QString& name) | |||
factGroup = _nameToFactGroupMap[camelCaseName]; | |||
QQmlEngine::setObjectOwnership(factGroup, QQmlEngine::CppOwnership); | |||
} else { | |||
qWarning() << "Unknown FactGroup" << camelCaseName; | |||
qWarning() << "Unknown FactGroup CC" << camelCaseName; |
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.
Could you change this to be "Unknown FactGroup (camelCaseName)"? That will make it way more clear.
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.
Sorry what I meant was to change to:
qWarning() << "Unknown FactGroup (camelCaseName)" << camelCaseName;
Hi @DonLakeFlyer, I have solved all your comments. Please, look at it again. Thank you |
Can you squash this into a single commit and then if the unit tests pass I'll merge. |
@roman-dvorak Can you squash, rebase to master and fix conflicts? |
@roman-dvorak Fix conflicts and squash? |
@roman-dvorak bump, if you could fix the conflicts, we'll get it in. |
This pull request adds a new feature to QGroundControl, enabling display value of RPM from MAVLink message on the main application window. With this update, users can now show and monitor up to four RPM values, which proves particularly useful for quadcopters.
To achieve this functionality, a new factView group has been created, allowing users to easily track RPM values in a clear panel within the main QGroundControl interface.
The functionality of the PR and features has been tested both with a custom-built QGC and with PX4 autopilot using TFRPM01 sensors, as well as with the PX4 simulator.