Andrew Tridgell
bff8fc8947
APM_RC: added OutputCh_current() method
...
this allows logging of the actual servo output values. The radio_out
method previously used doesn't take account of the various override
mechanisms available via waypoints
2012-04-24 10:57:43 +10:00
Andrew Tridgell
2969e16f7d
RC: disable interrupts when reading the RC registers
...
this prevents getting bogus values which could cause a flight mode
change
2012-03-10 10:34:30 +11:00
Andrew Tridgell
63ea5dfb49
APM_RC: allow the fast RC speed to be passed as a parameter
...
this will allow users to test different speeds
2012-03-02 17:57:08 +11:00
Jason Short
59e1d43f60
Updated fastPWM to 490Hz
2012-02-29 22:17:38 -08:00
Randy Mackay
98f3386ea0
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
2012-01-28 12:25:47 +09:00
Pat Hickey
a13e371d1e
APM_RC: PWM outputs are disabled by default on init
2012-01-22 12:03:11 -08:00
Pat Hickey
47204921e9
APM_RC enable_out and disable_out added to APM1 and APM2
...
* Outputs still enabled by default
2012-01-22 12:03:11 -08:00
Jason Short
e68f9191c9
updated channel notes
2012-01-15 10:24:15 -08:00
Pat Hickey
d015e0d6d9
APM_RC & ArduCopter: Change interface to SetFastOutputChannels to use _BV
...
* Every use of MSK_CH_n changed to _BV(CH_n)
* Easier to read, and will allow CH_n to be parameterized without needing
a separate macro expansion for the MSK value.
2012-01-09 21:57:01 -08:00
Pat Hickey
e992b2e2a2
APM_RC: APM1 fast output speed increased to 400hz.
2011-12-10 13:06:06 -08:00
Pat Hickey
0549a50e9e
APM_RC: _set_speed functions implemented for APM_RC_APM1 and _Purple
...
* I have not tested any of these on real hardware.
2011-11-25 20:00:18 -08:00
Pat Hickey
718f3dee00
APM_RC: OCR register init moved from ArduCopter/radio.pde to lib inits.
2011-11-25 20:00:18 -08:00
Pat Hickey
5cb60f76cf
purple: rework APM_RC library for purple hardware
...
this splits the APM_RC class into instances for purple and APM1, and
adds example sketches for both
2011-11-25 20:00:16 -08:00