PXX protocol

More
04 Apr 2019 15:00 #73687 by joeclone
Replied by joeclone on topic PXX protocol
@hexfet is it possible to have a test build on Qlrs with these telemetry values in the cell 1 n cell 2 positions?
APID_PITCH 0x0430
APID_ROLL 0x0440

Please Log in or Create an account to join the conversation.

  • hexfet
  • hexfet's Avatar Topic Author
  • Away
More
04 Apr 2019 20:47 #73691 by hexfet
Replied by hexfet on topic PXX protocol
Sure. Test build is updated (4fa9893). Pitch in CELL1 and Roll in CELL2. I left the other Qlrs overrides as before. Would it be better to just remove them?

Please Log in or Create an account to join the conversation.

More
05 Apr 2019 00:23 #73696 by joeclone
Replied by joeclone on topic PXX protocol
Is ok to remove since I'm unsure how to interpret the values. Maybe there's some multiplication factors involved?

Please Log in or Create an account to join the conversation.

  • hexfet
  • hexfet's Avatar Topic Author
  • Away
More
05 Apr 2019 01:48 #73698 by hexfet
Replied by hexfet on topic PXX protocol
Test build is updated (51ff19a). The only Qlrs custom telemetry values displayed are pitch in CELL1 and roll in CELL2.

If the interpretation is not in the Qlrs documentation then it's probably not available.

Please Log in or Create an account to join the conversation.

More
05 Apr 2019 17:03 #73705 by joeclone
Replied by joeclone on topic PXX protocol
Ok tried the latest test build, but having a few glitches with it. Pitch and roll values is displayed but have the decimal points in the wrong place. Also the total discharge mAh value in the last row of the CELL column is wrong, I think it's displaying a false 5130 value in front of the actual correct value.



Attachments:

Please Log in or Create an account to join the conversation.

  • hexfet
  • hexfet's Avatar Topic Author
  • Away
More
07 Apr 2019 03:42 #73715 by hexfet
Replied by hexfet on topic PXX protocol
Test build is updated (244c818). The telemetry test page is extended with a ninth row for Frsky telemetry. This row has pitch, roll, and yaw values. The standard s.port telemetry reports three accelerometer values that were not previously supported. When Qlrs telemetry is present the pitch and roll values are reported in the accelerometer x and y spots (first two values on row 9).

The s.port air speed telemetry sensor was also not previously supported. It is now displayed in the third column of row 8.

Not sure about the strange value reported for discharge. I did see it once in testing, but when i added code to debug it the problem went away and did not return. See what happens with this latest build.

This version also supports resetting the discharge and ground level altitude values by a long press on UP. If you see a large number for discharge, see if that resets it to 0.

Please Log in or Create an account to join the conversation.

More
07 Apr 2019 15:34 #73719 by joeclone
Replied by joeclone on topic PXX protocol
Test build 244c818 report, pitch and roll values from Qlrs is displayed correctly and also discharge values is correct. But now also seeing a small bug, when resetting by long press UP the 4th row of BAT column (mincell) is displayed a false value of 5.00v which is greyed out.
Attachments:

Please Log in or Create an account to join the conversation.

  • hexfet
  • hexfet's Avatar Topic Author
  • Away
More
09 Apr 2019 02:06 #73743 by hexfet
Replied by hexfet on topic PXX protocol
Thanks for testing. Test build is updated (42d48d4). Should fix the MIN CELL value problem.

If this works I'll make a PR to get the improvements incorporated.

Please Log in or Create an account to join the conversation.

More
09 Apr 2019 09:35 - 09 Apr 2019 09:36 #73745 by joeclone
Replied by joeclone on topic PXX protocol
Tested 42d48d4 and everything's looking good. When's the planned release of 5.1.0 master?

hexfet wrote: The s.port air speed telemetry sensor was also not previously supported. It is now displayed in the third column of row 8.



Is referring to this value?
APID_AIR_SPEED 0x0a00

Last edit: 09 Apr 2019 09:36 by joeclone.

Please Log in or Create an account to join the conversation.

  • hexfet
  • hexfet's Avatar Topic Author
  • Away
More
09 Apr 2019 16:40 #73748 by hexfet
Replied by hexfet on topic PXX protocol
Thanks. I'm not sure when the next release will be. Some internal changes are currently underway.

Yes on the air speed. 0x0a00 is the standard s.port sensor id for air speed. The GPS speed is reported separately.

Please Log in or Create an account to join the conversation.

More
09 Apr 2019 23:14 #73754 by joeclone
Replied by joeclone on topic PXX protocol
Thanks again for ur time and effort put into this, just glad I was able to help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.259 seconds
Powered by Kunena Forum