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

Added support for displaying RPM MAVLink message in the main QGroundControl values panel #10757

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

roman-dvorak
Copy link
Contributor

@roman-dvorak roman-dvorak commented Aug 3, 2023

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.

Copy link
Contributor

@DonLakeFlyer DonLakeFlyer left a 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.

@@ -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;
Copy link
Contributor

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.

Copy link
Contributor

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;

custom-example/qgroundcontrol.qrc Outdated Show resolved Hide resolved
@roman-dvorak
Copy link
Contributor Author

Hi @DonLakeFlyer, I have solved all your comments. Please, look at it again. Thank you

@DonLakeFlyer
Copy link
Contributor

Can you squash this into a single commit and then if the unit tests pass I'll merge.

@DonLakeFlyer
Copy link
Contributor

@roman-dvorak Can you squash, rebase to master and fix conflicts?

@DonLakeFlyer
Copy link
Contributor

@roman-dvorak Fix conflicts and squash?

@julianoes
Copy link
Contributor

@roman-dvorak bump, if you could fix the conflicts, we'll get it in.

@HTRamsey HTRamsey marked this pull request as draft April 12, 2024 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants