USB PPM RC Transmitter YAW only in one direction

Post here to get support
Post Reply
myrcfocus
Beginner
Posts: 9
Joined: Mon Sep 23, 2013 4:15 pm

USB PPM RC Transmitter YAW only in one direction

Post by myrcfocus »

I am using a Spektrum DX9 RC transmitter hooked up to to a USB PPM Encoder.

I have it all set up and working with a custom mapping i have attached below.

The only problem i have is that the YAW control only works one way. Let me explain...

In the main window of the client in the Target column you have the set target angles. (these jitter around a lot but can be tamed with the Trim)
Under YAW i have 0.00 and when i yaw left on my transmitter it goes into negative however when i yaw right it doesn't go above 0.00. Roll and pitch work fine, both negative and positive.

I have a new profile on my transmitter with nothing but some Expo set, and have no idea why i can't yaw in both directions.

PLEASE HELP :o :?

Code: Select all

{
  "inputconfig": {
    "inputdevice": {
      "updateperiod": 10, 
      "name": "DX9", 
      "axis": [
        {
          "scale": -1.6, 
          "type": "Input.AXIS", 
          "id": 0, 
          "key": "thrust", 
          "name": "thrust"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.AXIS", 
          "id": 3, 
          "key": "yaw", 
          "name": "yaw"
        }, 
        {
          "scale": -2.6, 
          "type": "Input.AXIS", 
          "id": 1, 
          "key": "roll", 
          "name": "roll"
        }, 
        {
          "scale": 2.6, 
          "type": "Input.AXIS", 
          "id": 2, 
          "key": "pitch", 
          "name": "pitch"
        }, 
        {
          "scale": -1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "pitchcal", 
          "name": "pitchNeg"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "pitchcal", 
          "name": "pitchPos"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "estop", 
          "name": "killswitch"
        }, 
        {
          "scale": -1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "rollcal", 
          "name": "rollNeg"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "rollcal", 
          "name": "rollPos"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "althold", 
          "name": "althold"
        }, 
        {
          "scale": 1.0, 
          "type": "Input.BUTTON", 
          "id": -1, 
          "key": "exit", 
          "name": "exitapp"
        }
      ]
    }
  }
}
marcus
Bitcraze
Posts: 659
Joined: Mon Jan 28, 2013 7:02 pm
Location: Sweden
Contact:

Re: USB PPM RC Transmitter YAW only in one direction

Post by marcus »

Hi,

The config seems ok, but it sounds like the driver/device doesn't do the full range. Each axis should go to +/- some value, the scale in the config only set's the direction and normalizes the value to +/- 1.0.

What OS are you running?
myrcfocus
Beginner
Posts: 9
Joined: Mon Sep 23, 2013 4:15 pm

Re: USB PPM RC Transmitter YAW only in one direction

Post by myrcfocus »

So it would seem it's a matter of the USB PPM Encoder not giving the full range? I'll see if there's an updated driver around. It's just a cheap Chinese one off ebay but i had no problems with my last cheapy one off ebay which i gave to a friend to learn to fly with.
myrcfocus
Beginner
Posts: 9
Joined: Mon Sep 23, 2013 4:15 pm

Re: USB PPM RC Transmitter YAW only in one direction

Post by myrcfocus »

Tested the USB PPM Encoder in FMS and all channels function 100%
Also a USB PS4 controller works as you'd expect it to in CrazyFlie client. All ranges.

I'm running Windows 7 64bit - any ideas?
myrcfocus
Beginner
Posts: 9
Joined: Mon Sep 23, 2013 4:15 pm

Re: USB PPM RC Transmitter YAW only in one direction

Post by myrcfocus »

Shameless bump to find out if anybody has any clues as to why this is happening? :? It's just sat here not being used as it's unflyable
myrcfocus
Beginner
Posts: 9
Joined: Mon Sep 23, 2013 4:15 pm

Re: USB PPM RC Transmitter YAW only in one direction

Post by myrcfocus »

A month has passed and it's still sat here not being used :|

In Configure Input Device my yaw control DOES move left/right when i move my transmitter stick.

However in the Target value screen the yaw values only ever go positive or negative, never both, either way stopping at 0.

Which leads me to believe it's not the PPM Encoder...

Please can you anybody offer any help? Marcus?
whoenig
Expert
Posts: 395
Joined: Mon Oct 27, 2014 2:55 am

Re: USB PPM RC Transmitter YAW only in one direction

Post by whoenig »

Can you try adding a print statement in pygamereader.py, line 66 to print the axisvalue? Just to see if there is an issue with the overall range of the yaw axis.
Post Reply