|
From: | Gareth Roberts |
Subject: | Re: [Paparazzi-devel] Spektrum Receiver & patching main_ap.c/autopilot.h |
Date: | Wed, 13 Jun 2012 20:10:25 +0100 |
User-agent: | Opera Mail/11.64 (Linux) |
Hi Tilman,
I think it's right but make sure you test it (a lot!) on the ground.
It wasn't right :)Just double checked and the autopilot_process_radio_control, despite being defined, isn't used anywhere in the codebase. I've altered main_ap.c to use the function instead of the #define ternary, but I'm not sure where to get the rc values.
I've pushed the change to the branch from the previous email.Is the radio_control struct from radio_control.h a valid global to use? It's compiling but I'm not sure if it's right.
If someone who actually knows what they are doing could look at the patch, that would be great. Tilman, I can check it properly tomorrow if you want to wait, or you can try and see if it works...
Cheers, Gareth
[Prev in Thread] | Current Thread | [Next in Thread] |