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

#3505: add fuel quantity sensor in telemetry simulator #3506

Merged
merged 4 commits into from
May 23, 2016

Conversation

raphaelcoeffic
Copy link
Member

It seemed to be missing. I have still no clue why this sensor is supposed to be sent as 0.01ml. Is there any sensor in this world capable to measure that? Should it be changed as well to something more reasonable? (ml is just enough, IMHO)

@projectkk2glider projectkk2glider added this to the OpenTX 2.1.9 milestone May 19, 2016
@projectkk2glider
Copy link
Member

It is helpful if you add text Closes #3505 to the description of the pull request. This then links the pull request with the original issue.

@projectkk2glider
Copy link
Member

I would prefer if you put the new sensor below the existing Fuel sensor.

@@ -158,6 +158,7 @@ void TelemetrySimulator::showEvent(QShowEvent *event)
SET_INSTANCE(t2_inst, T2_FIRST_ID, 0);
SET_INSTANCE(rpm_inst, RPM_FIRST_ID, DATA_ID_RPM);
SET_INSTANCE(fuel_inst, FUEL_FIRST_ID, 0);
SET_INSTANCE(fuel_qty_inst, FUEL_QTY_FIRST_ID, 0);
Copy link
Member

Choose a reason for hiding this comment

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

Pleas try to keep the alignment, if needed move the tabs on all other lines.

@projectkk2glider
Copy link
Member

Closes #3505

@projectkk2glider
Copy link
Member

Expect for minor issues (comments above) the code works good and will be merged as soon as comments are addressed. Thanks!

@raphaelcoeffic
Copy link
Member Author

@projectkk2glider I made the changes, added/updated code from #3507, pushed, but it seems github is rather slow to process new commits sometimes...

@projectkk2glider projectkk2glider self-assigned this May 23, 2016
@projectkk2glider projectkk2glider merged commit 0f1259d into master May 23, 2016
@projectkk2glider
Copy link
Member

projectkk2glider commented May 23, 2016

Thanks! The code ported to next in 06fce51 (I am not sure why this commit was attributed to me and not to @raphaelcoeffic - bummer)

projectkk2glider added a commit that referenced this pull request May 23, 2016
… (ported from master)

* Closes #3507: raise max RPM in telemetry simulator to 2147483647 (0x7FFFFFFF)
@projectkk2glider projectkk2glider deleted the raphaelcoeffic/issue_3505 branch May 31, 2016 17:20
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.

2 participants