- Posts: 1433
18 channels for DSM2 / DSMX ?
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
02 Nov 2013 11:15 - 02 Nov 2013 11:17 #15228
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
I don't checked it, but it very likely can happen. Probably, X-Plus channels have sense for Devo12 only.
At any case, early or late, we need refuse from full support for Devo7e.
At any case, early or late, we need refuse from full support for Devo7e.
Last edit: 02 Nov 2013 11:17 by vlad_vy.
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- Posts: 1433
02 Nov 2013 11:36 - 02 Nov 2013 11:37 #15229
by rbe2012
I was on the wrong track. The values are changed outside the protocol option page - no need to force something.
Vlad, is there a direct dependancy of the values? Esp. is the resolution a changeable option or given by the DSM2/DSMx-protocol and the number of channels used? If so I would not show this as an option.
And what about Devo10? There are enough user inputs to control additional channels...
We should introduce a "#define HAS_DSM_XCHANNELS" or similar in the target_defs.h files and add the X-channel code conditionally.
Replied by rbe2012 on topic 18 channels for DSM2 / DSMX ?
rbe2012 wrote: I think you can force the right values to be shown directly, not only after revisiting the page. I'll have a look later.
I was on the wrong track. The values are changed outside the protocol option page - no need to force something.
Vlad, is there a direct dependancy of the values? Esp. is the resolution a changeable option or given by the DSM2/DSMx-protocol and the number of channels used? If so I would not show this as an option.
And what about Devo10? There are enough user inputs to control additional channels...
We should introduce a "#define HAS_DSM_XCHANNELS" or similar in the target_defs.h files and add the X-channel code conditionally.
Last edit: 02 Nov 2013 11:37 by rbe2012. Reason: #define name changed
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
02 Nov 2013 11:47 - 02 Nov 2013 11:48 #15230
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
With current implementation of DSM2/X protocol, without parsing binding responce from Rx, we must select resolution manually.
I think we need implement X-Plus channels for Devo12 only. For other Tx it has not sense.
I think we need implement X-Plus channels for Devo12 only. For other Tx it has not sense.
Last edit: 02 Nov 2013 11:48 by vlad_vy.
- DavidT
-
- Offline
Less
More
- Posts: 8
02 Nov 2013 12:30 #15232
by DavidT
Replied by DavidT on topic 18 channels for DSM2 / DSMX ?
Hi. How about the Devo8? It has 18 inputs excluding trims.
Regards, David.
Regards, David.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
02 Nov 2013 12:34 #15233
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
I can see only 16 inputs including trims at Devo8. Buttons can't be used as input.
- FDR
-
- Offline
02 Nov 2013 12:46 #15234
by FDR
Replied by FDR on topic 18 channels for DSM2 / DSMX ?
4 sticks, 6x2 trim buttons, 6 switches = max 22 inputs
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
02 Nov 2013 12:54 #15235
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
I have nothing against that, we can implement it in all Tx except devo7e. But in reality, it can be used effectively only with Devo12.
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- Posts: 1433
02 Nov 2013 13:49 #15240
by rbe2012
Replied by rbe2012 on topic 18 channels for DSM2 / DSMX ?
...and Devo10.
I see no reason why we should add more differences between the deviation implementations than what is necessary from a technical /ressource view. If such a feature is usable shall the user decide. It will cost more to maintain the differences.
I can imagine a config where X-channels are used, but not all regular channels (X-channels are for switching lights and gears, was writetn somewhere). So the number of inputs needed may be less than the highest used channel number.
I see no reason why we should add more differences between the deviation implementations than what is necessary from a technical /ressource view. If such a feature is usable shall the user decide. It will cost more to maintain the differences.
I can imagine a config where X-channels are used, but not all regular channels (X-channels are for switching lights and gears, was writetn somewhere). So the number of inputs needed may be less than the highest used channel number.
- DavidT
-
- Offline
Less
More
- Posts: 8
02 Nov 2013 13:54 #15242
by DavidT
Replied by DavidT on topic 18 channels for DSM2 / DSMX ?
I would like Devo8S if you can do it. Happy to test too. May I ask how you have implemented X1 and X2? Are they 9bit copies of Ch11 and Ch12?
Thanks, David.
Thanks, David.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
02 Nov 2013 14:09 #15243
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
You can read about it in X-Plus channels documentation
www.deviationtx.com/forum/7-development/...-dsmx?start=40#15134
www.deviationtx.com/forum/7-development/...-dsmx?start=40#15134
- DavidT
-
- Offline
Less
More
- Posts: 8
02 Nov 2013 15:43 #15250
by DavidT
Replied by DavidT on topic 18 channels for DSM2 / DSMX ?
Thanks. I've seen reference to 20 channels so I assume you've implemented this as 1-12 normal + X1-X8. It is my understanding that Spektrum only send data for 18 channels with X1/X2 the same as Ch11/12 but with different resolution. I don't think this is a problem; just seeking clarification.
Regards, David.
Regards, David.
- Cesco
-
Topic Author
- Offline
Less
More
- Posts: 37
02 Nov 2013 18:44 - 02 Nov 2013 18:53 #15261
by Cesco
Replied by Cesco on topic 18 channels for DSM2 / DSMX ?
Vlad i do have a Devo10. I think there are not enough inputs to need x-channels, but i can test it should it be necessary.
In the "final version", what do i have to do to get xchannels enabled?
In the "final version", what do i have to do to get xchannels enabled?
Last edit: 02 Nov 2013 18:53 by Cesco.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
03 Nov 2013 05:08 - 03 Nov 2013 05:19 #15274
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
At protocol options you have to select 'X-Plus channels' = 'On', then you can change number of channels up to 20.
You don't need change 'DSM2 resolution'. If 'X-Plus channels' = 'On'and number of channels > 7, 'DSM2 resolution' will automatically change to 'Step: 2048'. You can see it if next time visit protocol options page.
You don't need change 'DSM2 resolution'. If 'X-Plus channels' = 'On'and number of channels > 7, 'DSM2 resolution' will automatically change to 'Step: 2048'. You can see it if next time visit protocol options page.
Last edit: 03 Nov 2013 05:19 by vlad_vy.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
03 Nov 2013 05:42 - 05 Nov 2013 14:45 #15276
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
Last edit: 05 Nov 2013 14:45 by vlad_vy.
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- Posts: 1433
03 Nov 2013 08:17 #15290
by rbe2012
Replied by rbe2012 on topic 18 channels for DSM2 / DSMX ?
As I have written here or in my repo: if you choose values which start with a number and change the values, they are changed in steps (of 1 if both values < 200, 10 above) so you will have a very long way from 1024 to 2048.
But you are right, should be shorter. BTW: leading blanks do not help...
But you are right, should be shorter. BTW: leading blanks do not help...
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
03 Nov 2013 08:27 - 05 Nov 2013 14:45 #15291
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
Now I see this problem, it's corrected. Also, with DSMX protocol 'Resolution' always will be 'Steps:2048'.
Last version dsm2.c file:
DELETED
I see one problem with Devo10 emulator - protocol options do not changed to conditional values if I do not scroll down to '# Channels'.
Last version dsm2.c file:
DELETED
I see one problem with Devo10 emulator - protocol options do not changed to conditional values if I do not scroll down to '# Channels'.
Last edit: 05 Nov 2013 14:45 by vlad_vy.
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- Posts: 1433
03 Nov 2013 09:05 #15293
by rbe2012
Replied by rbe2012 on topic 18 channels for DSM2 / DSMX ?
I think this is because something is changed when the channel number field is calculated (maybe in numchanselect_cb()?).In this case there can be a difference in Devo8 where the channel number field is visible and Devo10 where it is not.
If you send me the code I can have a look.
If you send me the code I can have a look.
- vlad_vy
-
- Offline
Less
More
- Posts: 3333
03 Nov 2013 09:18 - 03 Nov 2013 09:50 #15294
by vlad_vy
Replied by vlad_vy on topic 18 channels for DSM2 / DSMX ?
Code attached in my previous message. At any case, it's only for testing X-Plus.
Last edit: 03 Nov 2013 09:50 by vlad_vy.
- rbe2012
-
- Offline
- So much to do, so little time...
Less
More
- Posts: 1433
03 Nov 2013 11:02 #15297
by rbe2012
Replied by rbe2012 on topic 18 channels for DSM2 / DSMX ?
Didn't you make any changes outside of dsm2.c?
Time to create page: 0.782 seconds
-
Home
-
Forum
-
Development
-
Protocol Development
- 18 channels for DSM2 / DSMX ?