w.pasman Elite Veteran Location: Netherlands
| Hi Frederic. Thanks for the checkup!
| Quote |
|
About the placement of the channel absolute and differential data in the frame, I think we agree. Correct?
|
Mmmm let me see. You concluded | Quote |
| I think that the FS position for channel 1 can be found in the first packet of the 4th frame.".
| So that's not the correct...
Let's try again.Comparing our results, we both have two 0x0x and two 1x1x aux fields during failsafe. Apparently this must be combined with the odd/even frame number to give the exact failsafe frame (1..4). From my data I would conclude:
Odd 0x0x => FS for 1 and 5
Even 0x0x => FS for 2 and 6
Odd 1x1x => FS for 3 and 7
Even 1x1x => FS for 4 and 8
Rechecking your data --> you said you have FS for channel 1 in the frame with aux 0200. This was an odd frame. Yes that fits with above decoding scheme :-)
Checking your next result | Quote |
| FS on channel 1 and 2. Now the aux are: 1010, 0200, 0200,1010. I think that the FS position for channel 1 is in packet 1 of frame 2 and FS for channel 2 in packet 1 of frame 3
| .
However now you start with an EVEN sync; the second frame is ODD, and ODD 0x0x would be FS for frame 1 according to above. Again it fits!. For frame 3 you have EVEN, and EVEN 0x0x is for frame 2. Seems to be allright! I think we cracked it again
| Quote |
| How did you perform the tests?
|
I set up the delay values for switching between idle-up1 and idleup2. idleup1 is set to 120% and idleup2 to -120%. That means that switching doesnot happen at once but slowly. For the max delay value of 100% I get steps of 6 every next frame. Of course I can see only the absolute value every second frame, and there I see jumps of 12 then. For some delays you get an odd total jump between two frames and I assume no half steps are done. This implies that apparently this delay loop runs independent of the transmitter syncs.
With very small delays I run into problems. For instance delay 21 gives steps of 29, and delay 20 gives steps of 32. So I can't check accurately in that range and larger steps. For that range we seem to need your throw-the-switch with mixer method.
I never checked what happens with the delta field during failsafe, I assume this data is just ignored.
Do you still find only even position data? Or was that a bug somewhere?
| Quote |
| About the FS, I have been wondering, should I first continue with my current tools or should I first port your tools to the PC.
|
Mmm noone else jumped in, so I would not work further on the code, just use what you have.
| Quote |
| There is something I do not understand; in my view all normal (not FS) frames have aux 2020.
|
Re-checked, yes always 2020 during non-failsafe. Must be error in my notes... Had 0000 at even headers, no idea how it got there  |