MegaPirateNG / ardupilot-mpng

MegaPirateNG
GNU General Public License v3.0
116 stars 104 forks source link

Multiwii Pro HK Board with Turnigy 9X and MegaPirateNG 3.0.1 cant see transmitter #202

Open bozmanx opened 9 years ago

bozmanx commented 9 years ago

Hi Guys , I purchased a Multiwii and Megapirate AIO Flight Controller w/FTDI (ATmega 2560) V2.0 from Hobby King and I am having all sorts of problems configuring it to work with my Turnigy 9X 9Ch Transmitter. I have flashed the Multiwii board with MegaPirateNG 3.0.1 R4 and I can see that the board is active and working when I connect it to Mission Planner. When I turn my transmitter on and connect the battery on the quad copter the motors beep as if the reciever does not have signal from the transmitter. I have checked the reciever and it is bound correctly and the red light is on. If I connect a servo to the reciever it will work when I move the associated stick. When in mission planner it shows nothing when I enter the transmitter calibration section. I have changed to PWM as recommended in some of the blogs, recompiled and flshed the board but it still fails to work. All of the reciever to Multiwii Pro connections are correct. I see that there are people using this combination of board and transmitter and its an assumtion that they are using this version of MegaPirateNG.

Any help on diagning this issue would be great, I have invested alot of time so far and had several issues but have been able to resolve them all except this one.

I do get GPS lock and the green led is on solid in the FC board, the red led is flashing which I believe means there is an issue. In mission planner the status is disarmed.

bozmanx commented 9 years ago

Its all good , Im going to say party my fault but there was no real clear doco in relation to changes to the rcinput_mpng.cpp. I originally changed this section

ifndef SERIAL_PPM

define SERIAL_PPM SERIAL_PPM_DISABLED

endif

last night I changed this section (higher up the page)

//#define SERIAL_PPM SERIAL_PPM_ENABLED

I uncommented it and changed it to DISABLED. I also uncommented this line

//#define RC_MAPPING RC_MAP_STANDARD

I left it as standard for now just to see if it worked and it did although some of the channels are in the wrong location but I assume when I changed this to RC_MAP_MULTIWII it will correct that issue, but I can see the channels moving in mission planner so its all taking.