Robert Lefebvre
acdf4a226f
Copter: RCMAP Fix, remove RC_Channel references
...
from AP_Motors objects. And a few function renaming to follow changes in AP_Motors. Also add new throttle channel setter functionality.
Remove RC7 object from Tricopter. Add special Tricopter param handling.
2015-05-25 22:13:25 +09:00
Andrew Tridgell
554de1f2d7
Copter: added channel objects named after input function
...
this follows the pattern used in plane and rover
2015-05-25 22:13:23 +09:00
Robert Lefebvre
05f18bb014
Copter: Rename output_min() to enable_motor_output()
2015-05-01 14:30:44 +09:00
Robert Lefebvre
4e51ce6d75
Copter: rename "estop" to "emergency stop".
...
No functional change
2015-05-01 14:30:41 +09:00
Robert Lefebvre
16cf9471ae
Copter: Remove ap.motors_interlock, use only flag in AP_Motors
2015-05-01 14:30:31 +09:00
Robert Lefebvre
9b15ea6f5c
Copter: Change throttle_zero to check interlock and E-stop status
2015-05-01 14:30:30 +09:00
Randy Mackay
b10730f35c
Copter: remove THR_MAX parameter
2015-03-16 14:49:34 +09:00
Robert Lefebvre
2186dec271
Copter: Remove trim_radio() function.
2015-02-05 11:17:56 +09:00
Jonathan Challinger
cafb38e923
Copter: allow radio failsafe while disarmed so that user can be notified
2014-12-15 14:10:29 +09:00
Andrew Tridgell
dcdfff66e8
Copter: setup pwm esc scaling
2014-11-26 11:14:44 +11:00
Randy Mackay
8eba55ed67
Copter: throttle zero debounce to separate function
...
Also initialise throttle_zero to true on startup
Treat throttle less than zero as zero
2014-10-08 21:52:16 +09:00
Jonathan Challinger
96f50b7cd7
Copter: add throttle_zero state
2014-10-08 20:54:19 +09:00
Randy Mackay
41c576044f
Copter: allow passthru for ch 9 ~ 14
...
Based on work by Emile Castelnuovo
2014-09-23 22:55:19 +09:00
Randy Mackay
58602bd1ae
Copter: move esc calibration to separate file
...
Restructured into case statement
Replaced use of g.throttle_max with definition
Added more comments
Send message to ground station instead of printing on console (although
probably both are unlikely to be read)
2014-09-19 22:21:47 +09:00
Randy Mackay
af28270669
Copter: bug fix for throttle failsafe
...
Missing bracket could cause throttle failsafe to be triggered even when
disabled or motors disarmed
2014-07-21 20:58:16 +09:00
Randy Mackay
df28db1361
Copter: minor formatting update
2014-07-17 11:49:38 +09:00
Craig Elder
07d43534c1
Copter: Change Radio Failsafe Timeout
...
Change Radio Failsafe Timeout from 2 seconds to 200ms
2014-07-16 19:41:43 -07:00
Craig Elder
3c9c943b67
Copter: Change Radio Failsafe Timeout
...
Change Radio Failsafe Timeout from 2 seconds to 200ms
2014-07-16 11:03:29 -07:00
Randy Mackay
e1a6b07e60
Copter: setting ESC param to 2 skips high throttle check
...
This allows the all-at-once ESC calibration to be performed on a setup
in which the RC input takes some time to come online.
2014-07-09 13:25:08 +09:00
Andrew Tridgell
27ad8c39d6
Copter: enable passthrough auxillary channels
2014-04-03 12:19:44 +11:00
Andrew Tridgell
e1b9135946
Copter: updates for new RCInput API
2014-03-25 14:47:04 +11:00
Randy Mackay
ac9f0b5fd1
Copter: remove setup_aux_channels
...
moved to individual motors libraries
2014-02-07 22:04:28 +09:00
Randy Mackay
e6f4fb4828
Copter: moved coax servo set-up to AP_MotorCoax
2014-02-07 12:36:11 +09:00
Dneault
f48e106271
Copter: add coax heli support
...
Motors should be attached to RCOutputs 1 and 2, Flaps should be connected
to RC outputs 3 and 4
2014-02-07 12:36:04 +09:00
Andrew Tridgell
dc6433d63c
Copter: ensure that motor channels cannot be used for auxillary functions
...
disable RC_Channel_aux channels that are used for motors. This perhaps
should be done by the AP_Motors library, but for now this is simpler
2014-02-06 21:34:47 +11:00
Andrew Tridgell
5a3a7f1cec
Copter: use new RC_Channels API
2014-02-06 10:17:16 +11:00
Randy Mackay
0f67e25d37
TradHeli: set throttle_min to zero by default
2013-11-15 22:58:38 +09:00
Randy Mackay
4537e0aa15
Copter: add deadzone to ch8 for TradHeli
2013-11-15 22:58:20 +09:00
ssq870424
07d3f2a3c5
Copter: add support for singlecopter airframe
...
this is the newest singlecopter airframe programme.
This kind of aerial vehicles include Honeywell T-hawk and Goldeneye.
2013-11-12 23:40:27 +09:00
Jason Short
520a535c21
Copter: TOY mode updates
2013-11-02 21:34:48 +09:00
Randy Mackay
de08116320
Copter: disable some aux channels on hexa and octas
...
Resolves issue #324
2013-10-31 15:22:34 +09:00
Randy Mackay
d86ac9041e
Copter: report RC receiver health to GCS
2013-10-24 16:32:55 +09:00
Randy Mackay
d2bbc06502
Copter: allow throttle deadband to be redefined in APM_Config.h
2013-10-13 20:41:11 +09:00
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
2013-10-08 15:25:14 +09:00
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
2013-09-26 19:37:15 +09:00
Randy Mackay
36bbed8fdd
Copter: removed calls to set motor's max throttle
2013-09-12 22:28:38 +09:00
Andrew Tridgell
1b99ef5e4f
Copter: added a delay in ESC calibration
...
this allows AP_Notify to run via the delay callback
2013-08-30 13:01:36 +10:00
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
2013-08-30 13:01:35 +10:00
Randy Mackay
e985253f1a
Copter: integrate notify
2013-08-30 13:01:35 +10:00
Randy Mackay
6969ab573d
Copter: configurable max lean angle
...
ANGLE_MAX parameter allows limiting the roll and pitch angles during
manual and auto flight modes to anywhere from 10 to 80 degrees
2013-08-11 12:53:22 +09:00
Randy Mackay
2f4221391e
Copter: set_dead_zone renamed to set_default_dead_zone
...
Dead zones now set as part of rc initialisation instead of only after
eeprom is erased.
Change in use of parameter means value passed in should be 1/2 what it
was previously
2013-07-12 11:44:23 +09:00
Andrew Tridgell
340c451caf
Copter: fixed off-by-one in rcmapper
...
oops ...
2013-06-03 22:22:26 +10:00
Andrew Tridgell
725293b9c3
Copter: removed use of rc_ch[] global array
2013-06-03 16:23:48 +10:00
Randy Mackay
213eaa8db6
Copter: integrate draft RCMapper
2013-06-03 16:23:47 +10:00
Randy Mackay
9d0f40b432
Copter: add pre_arm_rc_check
...
Motors are not be enabled unless we have passed rc checks which include
checking the radio in calibration has been performed.
2013-05-16 16:32:00 +09:00
Randy Mackay
31e430948a
Copter: use renamed RCInput valid_channels
2013-04-29 15:06:30 +09:00
Andrew Tridgell
300a8d2bbc
Copter: support all 12 channels on PX4
...
last 4 channels are on the FMU pins
2013-04-25 20:10:53 +10:00
Randy Mackay
b48864e1ad
Copter: allow CH6 tuning of compass declination
2013-04-15 21:50:44 +09:00
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
2013-03-16 17:14:21 +09:00
Randy Mackay
8af605cafc
Copter: set update rate to 50hz during esc calibration
...
Also modified some comments in the code re the esc calibration
2013-01-25 11:34:48 +09:00