RC_raw not working
I'm working in a research project with ROS flight and I'm trying to build a quadrotor and setup the hardware and firmware properly.
I'm currently having problems with the RC_raw input.
I'm using a raspberry pi for onboard computer and a Flip 32 flight controller. I also have a HK-T6A V2 RC transmitter and its receiver. This receiver do not support PPM signal, neither the controller have any receiver that support PPM, so I'm trying to use the Parallel PWM configuration, and have set the RC_TYPE parameter in rosflight to "0".
However, when I echo the rc_raw topic on the screen, all the values shown are equal to "0". The rosflight_io node is working properly on the firmware, the /imu/data topic print the orientation data correctly, and when i call the calibration service it works. I can also set and get any parameters.
I've measured the output signal from the receptor and it works as expected, changing when i change the sticks positions on the controller. This signal is a PWM pulse from 1ms to 2ms with 50 Hz.
Can anyone help me? Maybe I'm wiring the Flip 32 wrong, but i coudn't found any instructions on the ROS_flight site about this specific wiring, so I've connected the channels of the receptor as the picture in the link below, from right to left.
Flip 32 Wiring: http://cdna2.zoeysite.com/Adzpo594RQGDpLcjBynL1z/cache=expiry:31536000/resize=fit:max,width:1200/compress/http://s3.amazonaws.com/zcom-media/sites/a0iE000000GWIo4IAH/media/catalog/product/f/l/flip32layout.jpg
Thank you for your help!