New FrSkyX protocol

More
09 May 2016 16:58 #48121 by hexfet
Replied by hexfet on topic New FrSkyX protocol
The discovery step is not required. Any data received from any sensor is saved and displayed as long as the sensor is supported. The limitation in FrskyX is that multiple instances of sensors with the same ID will overwrite each other (e.g. if you had two varios, the displayed value is the one most recently received from either sensor).

The deviation fixed id does not have any relation to opentx receiver numbers. Any match would just be coincidence.

A txid value in hardware.ini is not used directly to replace the MCU id pulled from ROM (see MCU_SerialNumber). It would be difficult to find a txid value that would match to receivers already bound to taranis or deviation (without txid in hardware.ini). It might be a good idea to change MCU_SerialNumber to make that possible, but that discussion should be in another thread.

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

More
09 May 2016 16:59 #48122 by TomPeer
Replied by TomPeer on topic New FrSkyX protocol
No it wil not work to use the same rx number in taranis and Devo. For the bind there is also a tx number used. For devo we can use a self choosen number. Not so for taranis.
The model id number can be 1 or 2 etc. but it will not make it interchangeable (is that a real word??)

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

More
09 May 2016 18:03 - 09 May 2016 18:05 #48127 by Fernandez
Replied by Fernandez on topic New FrSkyX protocol
personally I think it is even better safer to keep that......

2 devo's I can understand you would like that in some case, f.i. you buy a new devo and want to transfer install everyting on your new devo, all will fly out of the box wirthout rebind.. Or you can have a spare tx with you and fly which one you like etc.
Flying one time with Taranis, other time same model with devo, hmm I think complicated as all trims mixers setup are different, and sooner or later you'll face an issue crashing the model forgot about a setting etc ....

I think this so called model match is just to ensure only one rx, tx combination with particular selected model will work, personally I like it a lot, with my airtronics (no model match), I made the mistake once flying the model while still selected the other model ouugh...
Last edit: 09 May 2016 18:05 by Fernandez.

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

More
09 May 2016 23:53 #48141 by hexfet
Replied by hexfet on topic New FrSkyX protocol
Test build is updated - 1bb.
- The 320x240 telemetry test page now displays the extended telemetry values (except Cell6 wouldn't fit)

Please test on color screens if you can - thanks!

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

More
10 May 2016 08:01 #48154 by Alexandro
Replied by Alexandro on topic New FrSkyX protocol
Hello,
Test Ver.1bb on Devo8s with FrskyX, X8r

Telemetry Test Page is very nice !

All Datas are looking good, only Amp should be /2 ( i compared it with my Amp Meter and it is around 50 % to high on the FAS 100 )

greetings Alex

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

More
18 May 2016 18:35 #48647 by Fernandez
Replied by Fernandez on topic New FrSkyX protocol
Can I load the latest nightly build for 7e to acces to the X-series protocol? I received my X4R Sbus receiver so can try it out.

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

More
18 May 2016 19:08 #48648 by hexfet
Replied by hexfet on topic New FrSkyX protocol
Yes, the protocol is now in the nightly builds.

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

More
19 May 2016 02:03 #48668 by mwm
Replied by mwm on topic New FrSkyX protocol
Using the nightly builds on a regular basis is a bad idea. The 5.0 release is recent, so has most/all the bug fixes and hardware support of he nightly build. Since we're doing active development again, things are breaking in the nightly build.

I'd like an automated build of a branch that is the release build + new protocols and tested bug fixes, but it hasn't happened yet.

Do not ask me questions via PM. Ask in the forums, where I'll answer if I can.

My remotely piloted vehicle ("drone") is a yacht.

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

More
19 May 2016 02:47 #48672 by PhracturedBlue
Replied by PhracturedBlue on topic New FrSkyX protocol
I think the frskyX change is too big to go into 5.0.xx, so I'm not planning to copy it there. Other protocols may go, and we could consider frskyX without telemetry (though I'm not sure how useful that is), but the changes to the telemetry pages are too big for 5.0.xx. So if you want frskyx, you will need to look at the nightlies.

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

More
20 May 2016 04:12 - 20 May 2016 04:18 #48834 by Cereal_Killer
Replied by Cereal_Killer on topic New FrSkyX protocol
Just checking in I'm up and running. No testing tonight, it's late and I'm going to bed but I'm gonna try to fly my mini tri (basicly indestructible) with it tomorrow.

I love my taranis but I can not wait to have a choice (tray X9E vs regular D10 that I can just grab and go fly without the harness and setup)! Thanks KS everyone who made this possible (Hexfet and testers)!

Install (and removal of devo module) and test with a spare X4R.

File Attachment:


File Attachment:

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/
Last edit: 20 May 2016 04:18 by Cereal_Killer.

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

More
20 May 2016 13:36 #48866 by Cereal_Killer
Replied by Cereal_Killer on topic New FrSkyX protocol
Ok the model is flying! I'm getting good RSSI and I am receiving 2 voltages but I'm not sure what either are... Which voltage corresponds to VFAS (the voltage values as read by cleanflight and sent from cleanflight telemetry over Smart Port)? I dont have AD2 hooked up.

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

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

More
20 May 2016 13:47 #48867 by hexfet
Replied by hexfet on topic New FrSkyX protocol
VFAS is in VOLTA - row 6 in the Bat column. The VOLT2 value in the pic does come in over s.port though - maybe cleanflight uses the AD2 ID? VOLT1 is the internal voltage of the receiver.

+======== ======= =========
+Misc     Bat     Cells
+======== ======= =========
+RSSI     VOLT1   CELL1
+TEMP1    VOLT2   CELL2
+TEMP2    VOLT3   CELL3
+RPM      MINCELL CELL4
+FUEL     ALLCELL CELL5
+ALTITUDE VOLTA   CELL6
+VARIO    CURRENT DISCHARGE
+======== ======= =========

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

More
20 May 2016 15:30 - 20 May 2016 15:34 #48872 by Cereal_Killer
Replied by Cereal_Killer on topic New FrSkyX protocol
OK yes I see that and it's reading correct but how do I choose that value for a small box value to put on the main page? I have telemV1, telemV2 and TelemV3 as well as cell and cells1-6, no "voltA" and none of the V1 - V3 are it (they're all values under 5v)

Thanks
C_K


Edit: it shows up on the main page after setting the desired box to TelemVAmp!

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/
Last edit: 20 May 2016 15:34 by Cereal_Killer.

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

More
21 May 2016 15:40 - 21 May 2016 17:27 #48954 by Fernandez
Replied by Fernandez on topic New FrSkyX protocol
Devo 7e 5.0.0-481a401,nightly build.
Tested with X4R on Sbus connected to Raceflight.

I copied my model from devo 7e, from D4R.
Channel 1-8 tested and works. Rx volt works, RSSI works, AD1 volt not tested yet, will do later, but I find one issue.

scale +-125 for, D4R = 1000-2000 on flight controller
scale +-100 for, X4R = 1000-2000 on flight controller

For X4R setting scale +-125, will result in scale overflow, as will go over 2100, resulting in faulty data.

I would prefer to put scale identical to frsky D Protocol, then also models can be shared work identical one or the other protocol. And also because deviation, can go up to +-150 Scale and 125 scale setting will already lead to faulty result. (At least when tested with Raceflight, not sure if it is Sbus overflow, or Raceflight, who cant handle higher value than 2000 andy way at full stick value was completely wrong)
Attachments:
Last edit: 21 May 2016 17:27 by Fernandez.

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

More
21 May 2016 17:16 #48959 by hexfet
Replied by hexfet on topic New FrSkyX protocol
Thanks for the testing!

The channel scaling was discussed starting at this post . I think the reasoning there is sound, though different than Frsky, so I'm not inclined to change it. And it would break models already created for FrskyX. But it can be changed if there's a consensus.

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

More
21 May 2016 17:27 #48960 by Arakon
Replied by Arakon on topic New FrSkyX protocol
It's good practice to manually set endpoints on a model every time you set one up. There's a ton of things that can affect the endpoints, ranging from differences in calibration to timing differences on the flight controllers.
So no matter the scaling, this needs to be checked and adjusted as needed, so it may as well stay as-is.

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

More
21 May 2016 17:34 - 21 May 2016 17:37 #48961 by Fernandez
Replied by Fernandez on topic New FrSkyX protocol
Hmmm personally, I prefer we keep the same scale for x protocol as we also used for d protocol.

As cale in deviation can be changed up to +-150, however when set to 125, in my case it allready result in stange signal (overflow), so when above 2100 I think it is the limet I expect is cannot go higher.
Maybe it is is my flightcontroller (Raceflight) then ok, but if it is the X protocol -deviation who generate overflow or buggy output, then I prefer we change the scale equal to D series.

As +-125 scale , should be safely possible to set without issues.
Last edit: 21 May 2016 17:37 by Fernandez.

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

More
22 May 2016 07:43 #48998 by djdazzy
Replied by djdazzy on topic New FrSkyX protocol

Fernandez wrote: Hmmm personally, I prefer we keep the same scale for x protocol as we also used for d protocol.
.

+1 :cheer:

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

More
22 May 2016 07:58 #48999 by djdazzy
Replied by djdazzy on topic New FrSkyX protocol
Can someone confirm what level of D16 telemetry is included in the nightly build please? I agree with mwn about the temporary branch until the development of fixes in version 5.0 stabilises.

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

More
22 May 2016 12:52 #49003 by Cereal_Killer
Replied by Cereal_Killer on topic New FrSkyX protocol
I appear to be having some sort of protocol based issue...

I'll be flying, hovering or whatever and all the sudden I'll get a single failsafe engaged beep and the model will fall a foot or two then control will come back.

It doesn't appear to be range related as I get it happening regardless of distance. I also experience the opposite: again I'll be hovering still and for one second it'll climb like I'm commanding high amount of throttle.


Neither happen with taranis.

Taranis X9E | DEVO 10 | Devo U7E | Taranis Q7

What I do in real life: rivergoequestrian.com/

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

Time to create page: 0.147 seconds
Powered by Kunena Forum