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
uncrustify
a75d477071
uncrustify ArduCopter/radio.pde
13 years ago
Amilcar Lucas
780b469b11
ArduCopter: Enable the aux servos later, only in the slow periodic loop
...
This might solve some of the boot issues some users are having
13 years ago
Jason Short
e73c0250ad
ACM: Radio.pde - toy mode updates
13 years ago
Amilcar Lucas
d9f1140278
ArduCopter: Use generic channel names for AP_Mount servos.
...
This simplifies mission planner, the same code can be used for plane and copter now.
13 years ago
Amilcar Lucas
b8c7b8a786
RC_Channel: Allow each channel to know who they are, this simplifies the enabling and output function calls.
13 years ago
Amilcar Lucas
9c1ac2d9e6
More work on ch9, 10 and 11
13 years ago
Amilcar Lucas
bbc4bdb729
More flexible RC support
13 years ago
rmackay9
33d8cbfd51
ArduCopter: small bug fix to radio.pde to allow code to compile when MOUNT == DISABLED
13 years ago
rmackay9
761dad4e99
ArduCopter: restored set_range calls for RC_Channels 5 ~ 8.
13 years ago
Amilcar Lucas
dfe0983e1e
Merge the changes from APM_Camera branch into ArduCopter
...
Conflicts:
ArduCopter/Camera.pde
ArduCopter/Parameters.pde
13 years ago
Jason Short
efdf0a7fc8
changed define to a param for throttle_min and throttle_max
13 years ago
Jason Short
c2d14a5cad
RC_Channel fix for throttle output.
...
throttle was outputting incorrectly and allowing the user to max out the throttle leaving nothing for attitude control
13 years ago
Jason Short
15774366ba
Failsafe: Looking for takeoff_complete now vs unreliable GPS
13 years ago
Jason Short
b8349f5486
Added note to functionality
13 years ago
rmackay9
473126581d
ArduCopter - radio.pde - changed motor initialisation to set update rate, frame orientation, min and max throttle to AP_Motors class.
...
Note: perhaps the motors speed at least should be moved to a parameter within the motors class.
output_min function greatly simplified as this is handled by the AP_Motors class.
13 years ago
Randy Mackay
9fabdb5797
TradHeli - change throttle range back to 0~1000 (was temporarily changed to be 1250~850 which limited the range of the swash plate's vertical movements)
13 years ago
Jason Short
ff2b4ecb7a
updated throttle range
13 years ago
Jason Short
9f8d7d5076
Minimize the Yaw Deadzone
13 years ago
Jason Short
2335b74bc3
faster FS timer
13 years ago
Randy Mackay
f3a95ff3cb
Arducopter - Tri - move yaw servo (channel7/motor7/CH_TRI_YAW) to mid point on startup
13 years ago
Pat Hickey
98a90d0352
ArduCopter: Call motors_output_enable at correct spot during init
13 years ago
Jason Short
60e3508f7c
converted to cm
...
Signed-off-by: Jason Short <jasonshort@mac.com>
13 years ago
Jason Short
c4476bdd80
Fixed type error
13 years ago
Jason Short
92f7b22722
Moved failsafe check to more logical place
13 years ago
Pat Hickey
91bc2698a8
ArduCopter radio.pde: translate CH_ to MOT_ outputs
13 years ago
Jason Short
5b66a09688
Added check for armed motors in failsafe
13 years ago
Jason Short
e1232e7b80
cosmetic
13 years ago
Jason Short
4f60fa412c
Set Define for Max throttle
13 years ago
Jason Short
ea911e0bcb
updated failsafe code
13 years ago
Pat Hickey
ea4c220ee9
APM_RC: OCR register init moved from ArduCopter/radio.pde to lib inits.
13 years ago
Pat Hickey
e3027fe54e
purple: pass isr_registry to APM_RC.Init()
13 years ago
Jason Short
89e014c06a
Added alternate alt hold,
...
New ESC Calibration Routine
13 years ago
Jason Short
d02b4342ae
removed some unused code, made output min by default
13 years ago
unknown
a7038cbaf9
TradHeli - new parameter HSV_MAN to allow better set-up from APMissionPlanner. Also changed swash movement to use radio_out which fixes some setup bugs
13 years ago
unknown
f1e626e3c1
TradHeli - changed deadzones for throttle to zero (and also reduced for yaw)
13 years ago
unknown
ea66c74ff0
TradHeli - added throttle scaling and heli specific angle_boost function that takes into account that heli's main blades can have -ve pitch.
13 years ago
Jason Short
76bf784f8c
RC_Channel Dead zone
...
Added APVar dead_zone to the RC_Channel library so you could edit it in the Mission planner
Made CH filtering off by default.
13 years ago
Jason Short
142707711e
Updates to guided mode from Michael O.
...
removed or commented unused static vars
14 years ago
Jason Short
43b3015963
lowered DCM RP gains
...
made Instant_PWM optional
upped PWM output to 400hz
14 years ago
Jason Short
c881600385
lowered the deadzone a tad
14 years ago
Jason Short
326cfef808
Dead Zone fix - Now the range is full instead of clipped. Should make the Yaw much more smooth.
14 years ago
Jason Short
d29cfbcee3
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
14 years ago
Jason Short
02bfd43390
Fixes Alt hold mistake
...
Moves tuning into runtime definable param
Added more IMax to throttle
Signed-off-by: Jason Short <jasonshort@gmail.com>
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
73be185414
Big update 2.0.38
...
moved ground start to first arming
added ground start flag
moved throttle_integrator to 50hz loop
CAMERA_STABILIZER deprecated - now always on
renamed current logging bit mask to match APM
added MA filter to PID - D term
Adjusted PIDs based on continued testing and new PID filter
added MASK_LOG_SET_DEFAULTS to match APM
moved some stuff out of ground start into system start where it belonged
Added slower Yaw gains for DCM when the copter is in the air
changed camera output to be none scaled PWM
fixed bug where ground_temperature was unfiltered
shortened Baro startup time
fixed issue with Nav_WP integrator not being reset
RTL no longer yaws towards home
Circle mode for flying a 10m circle around the point where it was engaged. - Not tested at all! Consider Circle mode as alpha.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2966 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jphelirc
2d094da38e
added relay control to CH6
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2943 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
df6a1b51f3
make a lot more functions and variables static
...
this saves about 1k of code space through better compiler optimisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2889 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
855b88852e
fixed a bunch of compiler warnings
...
mostly signed/unsigned warnings
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2884 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago