- Posts: 83
Protocol Stacks
- wuselfuzz
- Offline
PhracturedBlue wrote: Right...4-channel doesn't have pitch control... . But the 4channel does have heading hold? how do you control it? That would need to be a 5th channel (even if it is not proportional) right?
There's pots on the rx for gyro gain.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
PhracturedBlue wrote:
Can you check these again?wuselfuzz wrote:
Throttle 50%, Throttle trim 100%: df 00 2f ff a6 5f 40 c8 ff 93 86 62 a0 62 34 38 Throttle 50%, Throttle trim 0%: df 00 8f ff a6 00 40 c8 ff 91 86 62 40 02 49 6b
The 1st looks like 100% throttle, 0% trim
The 2nd looks like 25% throttle, 0% trim
Just to be clear:
0% = stick all the way down, 100% = stick all the way up, 50% = stick centered. Same for trims.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
removed to avoid confusion
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
removed to avoid confusion
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
Sniffer set to LSB first, CYRF datasheet specifies MSB first. -.-
/edit: Here's some elevator trim data with MSB first:
0% fb 02 f1 ff 45 00 14 13 ff 29 c7 18 15 42 eb b7
1% fb 0c f1 ff 45 00 14 13 ff 29 c7 18 16 42 e6 c2
48% fb ec f4 ff 55 00 14 13 ff 29 c7 18 12 4c 19 bb
49% fb f6 f4 ff 55 00 14 13 ff 29 c7 18 11 4c 00 c4
50% fb 00 f4 ff 65 00 00 13 ff 29 c7 18 15 42 d8 c4
51% fb 0a f4 ff 65 00 00 13 ff 29 c7 18 16 42 d1 cf
52% fb 0a f4 ff 65 00 14 13 ff 29 c7 18 15 42 c6 e2
53% fb 1e f4 ff 65 00 14 13 ff 29 c7 18 19 46 da fe
54% fb 28 f4 ff 65 00 14 13 ff 29 c7 18 1a 46 ef 09
55% fb 32 f4 ff 65 00 14 13 ff 29 c7 18 1a 46 f5 13
Packet counters make sense now, too.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
Stick/Trim
0%/ 0% fb 0c f1 ff 45 00 02 13 ff 09 c7 18 11 4c d9 95
0%/100%fb 0c f1 ff 45 00 fe 13 ff 39 c7 18 1a 46 14 c4
0%/49% fb 0c f1 ff 45 00 f6 13 ff 19 c1 1a 09 36 5b 77
0%/50% fb 0c f1 ff 45 00 00 13 ff 29 c7 18 16 42 f2 ae
0%/51% fb 0c f1 ff 45 00 0a 13 ff 29 c1 1a 0a 36 94 9c
50%/49% fb 0c f1 ff 45 01 f6 13 ff 99 c1 1a 0a 36 d9 f9
50%/50% fb 0c f4 ff 45 ff 00 13 ff 69 c7 18 11 4c 41 f5
50%/51% fb 0c f4 ff 45 03 0a 13 ff a9 c1 1a 05 32 19 19
0%/50% fb 0c f1 ff 45 00 00 13 ff 29 c7 18 16 42 f2 ae
25%/50% fb 0c f1 ff 45 fa 00 13 ff 29 c7 18 12 4c 02 ae
49%/50% fb 0c f1 ff 45 f6 00 13 ff 69 c7 18 11 4c 4d e9
50%/50% fb 0c f4 ff 45 ff 00 13 ff 69 c7 18 11 4c 41 f5
51%/50% fb 0c f4 ff 45 08 00 13 ff a9 c7 18 11 4c 76 3e
75%/50% fb 0c f4 ff 45 05 00 13 ff e9 c7 18 15 42 31 75
100%/50%fb 0c f4 ff 45 fa 00 13 ff e9 c7 18 15 42 ce 6a
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Where do you see that?wuselfuzz wrote: This is what happens when I bind the devo8 to the rx2435:
f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6
I thought binding was working ok a couple of days ago, and I didn't change anything releated to binding.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
PhracturedBlue wrote:
Where do you see that?wuselfuzz wrote: This is what happens when I bind the devo8 to the rx2435:
f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6 f6
I thought binding was working ok a couple of days ago, and I didn't change anything releated to binding.
This happened after the rx bound, but now it's not reproducible...
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
2402
a5 23 2c 24 d0 28 00 13 ff 29 74 e6 00 2c 0d d1
fb 0c f4 ff 45 00 00 13 ff 29 64 e6 05 24 df ed
a5 23 42 46 d0 3a 00 13 ff 29 dc 82 00 42 b1 35
fb 0c f4 ff 45 00 00 13 ff 29 cc 82 05 46 71 13
a5 23 18 0e d0 12 00 13 ff 29 36 04 24 0e 8f 77
fb 0c f4 ff 45 00 00 13 ff 29 26 04 20 18 66 dc
a5 23 4e 48 d0 20 00 13 ff 29 b4 4a 08 20 63 af
fb 0c f4 ff 45 00 00 13 ff 29 a4 4a 00 4e dc b6
a5 23 48 4c d0 40 00 13 ff 29 d4 02 27 4c 6a f0
fb 0c f4 ff 45 00 00 13 ff 29 c4 02 26 4c d0 b2
2801 Pro
a5 23 48 22 d0 29 ff 00 00 32 15 30 93 f8 96 2c
df 00 0f 00 6a 70 00 f6 fc 25 e8 30 95 f8 50 84
a5 23 31 1c d0 21 ff 00 00 32 18 03 06 f8 72 50
df 00 0f 00 6a 70 00 f6 fc 25 e8 03 01 f8 f7 c3
a5 23 2e 32 d0 4f ff 00 00 32 18 87 91 f8 3e a0
e0 00 10 00 6a 70 00 f6 fc 25 e8 87 9a f8 c8 e2
a5 23 24 45 d0 28 ff 00 00 32 1b 9a 66 f8 cd 6d
e0 00 0f 00 6a 70 00 f6 fc 25 e8 9a 65 f8 35 bf
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
Finally got a servo moving with the change in my repo, but it probably broke 2601/2801 stuff (quick hack for testing, need to go to bed).
/edit: I just hovered my V100D01 for a short time using the Devo 8.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Ok, I implemented something that should work with the 2401, and 2801. Let me know how it goes.wuselfuzz wrote: Bit 0 in Byte 10 (count from 0) seems to be a "bind packet"-bit in 2401 mode and TxID seems to be only 12 bit.
Finally got a servo moving with the change in my repo, but it probably broke 2601/2801 stuff (quick hack for testing, need to go to bed).
/edit: I just hovered my V100D01 for a short time using the Devo 8.
I will test the 2601 later and see if I can get it working reliably too.
I also updated the servo travel such that it should give full range to the 2401.
Note that as I've said before, I'm sending the trim/channel-mixed data in the 'channel' fields as opposed to sending the trim data separately. Your data indicates that the trims do not affect the maximum servo travel, so I remain unconvinced that there is any benefit to letting the RX mix the trims.
FDR is concerned that it may affect some flybarless models, but someone will have to show me an actual issue before I agree to change it. Did Walkera even make a flybarless FP compatible with the 2402?
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
The 2601 channel behavior is odd. servo-throw is different for each channel for the same input, and the throttle channel is non-linear. There is also a Gyro channel, but it doesn't seem to be exported to a servo control wen bound to the Rx2801.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yep, for example the aforementioned V100D01, but there were quite a few:PhracturedBlue wrote:
Did Walkera even make a flybarless FP compatible with the 2402?wuselfuzz wrote: /edit: I just hovered my V100D01 for a short time using the Devo 8.
V100D01, V120D01, V200D01, V200DQ01, V200D02, V370D01, 4F180, 4F200LM, V100D06...
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
PhracturedBlue wrote: Note that as I've said before, I'm sending the trim/channel-mixed data in the 'channel' fields as opposed to sending the trim data separately. Your data indicates that the trims do not affect the maximum servo travel, so I remain unconvinced that there is any benefit to letting the RX mix the trims.
Actually I wrote earlier that I grounded the ADC input on the RX2435 from the "ELE-AIL-EXT" pot. This is a scale factor for servo throws on the rx. I noticed that there's a dead zone at maximum stick deflections, even with the original TX. There might be oversaturation in the rx going on - stick and trims are mixed, the result is multiplied by a too large "EXT" factor and subsequentially clipped to a value corresponding to 910us/1910us before the PWM output is generated.
I have another unmodified RX2435 that I could check later with the EXT pot set to a more sane value.
/edit: The V100D01 was the best FP micro heli I got from Walkera yet, and yes, it's flybarless.
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
PhracturedBlue wrote: There is also a Gyro channel, but it doesn't seem to be exported to a servo control wen bound to the Rx2801.
It's news to me that a TX260x can bind to an RX2801.
The TX260x is weird anyways. On the original TX2601, it requires flipping DIP switches to set some values. On the 2801 Pro, I ran into some strange behaviour when trying to configure the RX2610S.
I suspect that an RX in 2601 mode can enter different states for programming certain values that are stored on the RX.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
It is better now, but the range is still too narrow.PhracturedBlue wrote:
With the fix I checked in an hour ago that is still true?FDR wrote: I would like to say that "it is not even close to the real 100%"...
The CB100 could barely lift off to about 4 inches.
There was a strong left drift too, I must use aileron trim...
But it binds, and the directions are all right.
However we should indicate somehow, when the automatic binding period ends...
Please Log in or Create an account to join the conversation.
- wuselfuzz
- Offline
- Posts: 83
FDR wrote: It is better now, but the range is still too narrow.
The CB100 could barely lift off to about 4 inches.
There was a strong left drift too, I must use aileron trim...
Hmm. With the latest code, I think I get full servo throws. Hovering the V100 was quite twitchy, too. Are you sure that limiting doesn't happen in the mixer, does the output monitor show full ranges?
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Yep, I have a simple 1-to-1 for all the channels without limiting them with scale, min/max or anything else...wuselfuzz wrote:
FDR wrote: It is better now, but the range is still too narrow.
The CB100 could barely lift off to about 4 inches.
There was a strong left drift too, I must use aileron trim...
Hmm. With the latest code, I think I get full servo throws. Hovering the V100 was quite twitchy, too. Are you sure that limiting doesn't happen in the mixer, does the output monitor show full ranges?
The only thing I've done is a throttle hold with the safety value feature...
It is with the latest build of today morning: 6c984eceee15
EDIT: Well, I have to check if the battery was fresh enough...
Please Log in or Create an account to join the conversation.
- FDR
- Offline
I've flown my CB100 and Genius CP with the new fw!
BTW looks like the gyro gain is sent on channel 7. I thought it is the 5th, but the rx led doesn't light, which is the case of too low gyro gain, and it flew horrible that way...
Please Log in or Create an account to join the conversation.
- Home
- Forum
- Development
- Development
- Protocol Stacks