Randy Mackay
df28db1361
Copter: minor formatting update
11 years ago
Craig Elder
07d43534c1
Copter: Change Radio Failsafe Timeout
...
Change Radio Failsafe Timeout from 2 seconds to 200ms
11 years ago
Craig Elder
3c9c943b67
Copter: Change Radio Failsafe Timeout
...
Change Radio Failsafe Timeout from 2 seconds to 200ms
11 years ago
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.
11 years ago
Andrew Tridgell
27ad8c39d6
Copter: enable passthrough auxillary channels
11 years ago
Andrew Tridgell
e1b9135946
Copter: updates for new RCInput API
11 years ago
Randy Mackay
ac9f0b5fd1
Copter: remove setup_aux_channels
...
moved to individual motors libraries
11 years ago
Randy Mackay
e6f4fb4828
Copter: moved coax servo set-up to AP_MotorCoax
11 years ago
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
11 years ago
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
11 years ago
Andrew Tridgell
5a3a7f1cec
Copter: use new RC_Channels API
11 years ago
Randy Mackay
0f67e25d37
TradHeli: set throttle_min to zero by default
11 years ago
Randy Mackay
4537e0aa15
Copter: add deadzone to ch8 for TradHeli
11 years ago
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.
11 years ago
Jason Short
520a535c21
Copter: TOY mode updates
11 years ago
Randy Mackay
de08116320
Copter: disable some aux channels on hexa and octas
...
Resolves issue #324
11 years ago
Randy Mackay
d86ac9041e
Copter: report RC receiver health to GCS
11 years ago
Randy Mackay
d2bbc06502
Copter: allow throttle deadband to be redefined in APM_Config.h
11 years ago
Randy Mackay
9435eb4a15
Copter: remove unused flags and consolidate ap and ap_system
12 years ago
Randy Mackay
7cc8a9038f
Copter: move failsafe flags into structure
12 years ago
Randy Mackay
36bbed8fdd
Copter: removed calls to set motor's max throttle
12 years ago
Andrew Tridgell
1b99ef5e4f
Copter: added a delay in ESC calibration
...
this allows AP_Notify to run via the delay callback
12 years ago
Randy Mackay
52ef77393c
Copter: integrate Toshiba_LED_PX4
12 years ago
Randy Mackay
e985253f1a
Copter: integrate notify
12 years ago
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
12 years ago
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
12 years ago
Andrew Tridgell
340c451caf
Copter: fixed off-by-one in rcmapper
...
oops ...
12 years ago
Andrew Tridgell
725293b9c3
Copter: removed use of rc_ch[] global array
12 years ago
Randy Mackay
213eaa8db6
Copter: integrate draft RCMapper
12 years ago
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.
12 years ago
Randy Mackay
31e430948a
Copter: use renamed RCInput valid_channels
12 years ago
Andrew Tridgell
300a8d2bbc
Copter: support all 12 channels on PX4
...
last 4 channels are on the FMU pins
12 years ago
Randy Mackay
b48864e1ad
Copter: allow CH6 tuning of compass declination
12 years ago
Randy Mackay
f9539384a1
Copter: rename failsafe to failsafe_radio
...
Makes way for separation of failsafes for throttle, gps and gcs
12 years ago
Randy Mackay
8af605cafc
Copter: set update rate to 50hz during esc calibration
...
Also modified some comments in the code re the esc calibration
12 years ago
rmackay9
672fdfbf71
ArduCopter: added ERR dataflash message
...
Failsafe events changed to errors so they are more obvious.
Errors recorded to dataflash for failure to init compass and optical flow sensor.
Errors recorded for pwm failure.
Resolved a compile error when dataflash logging is disabled.
12 years ago
Pat Hickey
13c044ab3e
ArduCopter: fixes to radio.pde
12 years ago
Pat Hickey
d9e0bbbbab
ArduCopter: first pass at AP_HAL porting
...
* changed all the byte types to uint8_t
* fixed up much of the serial stuff
12 years ago
rmackay9
d31efebd44
ArduCopter: rename throttle failsafe parameters.
...
Switch to LAND flight mode if throttle failsafe triggers and we do not have a GPS.
THR_FAILSAFE renamed to FS_THR_ENABLE.
THR_FS_VALUE renamed to FS_THR_VALUE.
THR_FS_ACTION removed (action is now controlled by setting FS_THR parameter).
12 years ago
rmackay9
0f7bb79d89
ArduCopter: add comments to tuning parameters.
...
Use RC_CHANNEL types as defined by RC_Channel library.
Remove unused definitions.
12 years ago
Andrew Tridgell
bcae83c4f6
ACM: make it possible to run CLI on radio port in ArduCopter
12 years ago
rmackay9
73ed6c9dbf
ArduCopter, APM_RC: failsafe if PPM encoder fails to update for 2 seconds
12 years ago
Jason Short
9735a0eff1
ACM: Allow for user defined roll and pitch input max
12 years ago
rmackay9
bcb9519fd7
ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues
12 years ago
rmackay9
e212744f4c
ArduCopter: failsafe improvements
...
resolves momentary throttle drop to zero before failsafe engages
resolves motor cut after 30seconds if flying in stabilize without GPS (now switches to ALT_HOLD with target altitude zero)
disables motors if throttle was zero before failsafe event
12 years ago
Jason Short
d2a5928c06
Ap state updates
12 years ago
rmackay9
78316adf75
ArduCopter: replace Serial.print with Serial.print_P to save memory.
...
Includes replacing flight_mode_strings with print_flight_mode function.
SendDebug macro replaced with direct Serial.print_P calls.
12 years ago
rmackay9
b876733c0d
ArduCopter: added message to console when entering ESC Calibration on startup
13 years ago
rmackay9
9e66b555cb
ArduCopter: removed INSTANT_PWM from ArduCopter and AP_Motors library
13 years ago
rmackay9
c9d34c1737
ArduCopter: fixes to allow AP_Mount to work on APM1 with original default channels and fix to reenable support for 3-axis gimbals on APM2.
...
Channels 5 to 11 changed to RC_Channel_aux.
Removed channel 9 because APM_RC doesn't support it in any case.
Updated EEPROM format version to 119 because of the change to RC_Channel_aux and because k_param_rc_11 moved to be after k_param_rc_10.
13 years ago