rmackay9
2374806bfc
APM_RC: allow ppm sum for as few as 5 channels
2012-11-16 11:07:11 +09:00
rmackay9
414f9b9759
ArduCopter, APM_RC: failsafe if PPM encoder fails to update for 2 seconds
2012-11-15 23:35:36 +09:00
John Arne Birkeland
77c35d0ae4
Optimized APM_RC.InputCh() to prevent global interrupt disable each time a value is read.
2012-11-08 01:03:24 +01:00
Pat Hickey
0cef8ea12d
APM_RC_APM1.cpp: Bugfix on mapping of SetFastOutputChannels to ICR reg
...
* Previously had the ICR register for ch1/2/9 (on timer5) swapped with
ch3/4/10 (on timer1).
* This bug probably didn't make a difference in operation since
SetFastOutputChannels is typically only used for copters, where at
least CH1,2,3,4 would be set to fast all at once.
2012-08-28 17:12:41 -07:00
uncrustify
49686f18f9
uncrustify libraries/APM_RC/APM_RC_APM1.cpp
2012-08-21 19:04:08 -07:00
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