Randy Mackay
bd44c2f73d
Copter: all pre-arm checks to be disabled
...
set ARMING_CHECK parameter to zero to disable
12 years ago
Randy Mackay
43c377ca67
Copter: add compass calibration to pre-arm check
12 years ago
Randy Mackay
6efdabb104
Copter: move auto disarm into a separate function
12 years ago
Randy Mackay
1dbe98b566
Copter: display reason for pre-arm-check failures in GCS
12 years ago
Randy Mackay
f4846b417a
Copter: compiler fix for disabled logs
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
bd6edecdec
Copter: restore logging of arm/disarm event
12 years ago
Randy Mackay
324200b52c
Copter: disable centrifugal correction when disarmed
12 years ago
Randy Mackay
372ebb602c
Copter: disable centrifugal force correction when disarmed
12 years ago
Randy Mackay
cca05ee8ae
Copter: start dataflash logging when arming
...
Stop nearly empty logs from being produced.
Removed redundant armed bit from ap state.
12 years ago
Randy Mackay
90af3262c5
Copter: pre-arm check for compass
12 years ago
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
12 years ago
Randy Mackay
63a48f76e2
Copter: add pre-arm check of radio and accel
...
Only checks throttle channel and accelerometer scaling
12 years ago
Randy Mackay
d2bd818b2d
Copter: bug fix for auto_armed logic
...
Zero throttle when switching into an auto flight mode would cause the
motors to stop.
12 years ago
Randy Mackay
7cf2255822
Copter LEDs: replace bitRead with bitmask
...
Consolidate all checks of led_mode to leds.pde
Add #defines for bitmasks comparisons
Some formatting changes
12 years ago
Randy Mackay
38e81adae0
InertialNav: remove unnecessary "virtual" from function definitions
...
This saves about 30bytes of RAM
12 years ago
Randy Mackay
67c69a19ee
Copter: remove baro-only alt hold
...
Saves 8 bytes of memory and more importantly simplifies the alt hold
calculations
12 years ago
rmackay9
bd0e018ca0
ArduCopter: restore auto-trim method but now use AHRS.add_trim
12 years ago
rmackay9
52802cb29e
ArduCopter: limit output throttle to 800 only for TRI which does not have the new stability patch
12 years ago
rmackay9
881dae1e27
ArduCopter: remove throttle limit of 800 for quads, hexas and octacopters
...
Note: Y6 and OctaQuads still have the 800 limit because they do not have the latest stability patch
12 years ago
rmackay9
6da68c53a5
ArduCopter: bug fix so AP_Limits does not use up memory if it is disabled
12 years ago
Andrew Tridgell
9e986801c9
Copter: fixed SITL for ArduCopter
12 years ago
Pat Hickey
7af03127f6
ArduCopter: more work
12 years ago
rmackay9
072ffec493
ArduCopter: allow INERTIAL_NAV to be enabled separately for horizontal and vertical position
12 years ago
Robert Lefebvre
b32d7c8b63
ACM: TradHeli
...
Prevent helis from arming while RSC control is switched on.
12 years ago
Robert Lefebvre
637c9a1a72
ACM: TradHeli
...
Removing this "throttle" output restriction for TradHelis.
12 years ago
Andrew Tridgell
bcae83c4f6
ACM: make it possible to run CLI on radio port in ArduCopter
12 years ago
rmackay9
bcb9519fd7
ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues
12 years ago
Jason Short
883bb7cfc0
ACM formatting
12 years ago
Jason Short
d2a5928c06
Ap state updates
12 years ago
rmackay9
1f801714e8
ArduCopter: incorporate new version of inertial navigation
...
Moved several navigation functions from ArduCopter.pde to navigation.pde
12 years ago
rmackay9
a1b4ec6d0e
ArduCopter: move to use new INS library instead of IMU library
12 years ago
rmackay9
c0ad98be31
ArduCopter: failsafe added to shutdown motors if mainloop fails
13 years ago
rmackay9
95763e610b
ArduCopter: allow DMP to run in parallel with DCM
...
Parallel DMP can be enabled by #define SECONDARY_DMP_ENABLED in APM_Config.h
New DMP dataflash log type added to allow easy comparison with DCM
13 years ago
uncrustify
7f89e6c677
uncrustify ArduCopter/motors.pde
13 years ago
Andrew Tridgell
1b0f5ac84f
ACM: use ahrs.set_fast_gains() on arm/disarm
13 years ago
Jason Short
c81064279a
ACM : removed 2-level DCM gain change - .1 will still be the default.
13 years ago
Jason Short
575a9c4fd1
ACM : Fix for reloading the user DCM gains upon arming
13 years ago
Jason Short
522fa58ea5
ACM : temp fix for throttle output limit
...
I had a bad crash when I lost authority. The logs showed the throttle pegged at 1000 which killed my control. We went round and round on this and somehow settled on no limit. That wasn't a good idea. This should really be hard coded into the Motors Library, but for now I'm just sticking it here.
13 years ago
rmackay9
07c7c3945d
ArduCopter: fixed small bug re arming_counter for TOY mode
13 years ago
rmackay9
36f947acb9
ArduCopter: changed all "int" to "int16_t" and a few "long"s to "int32_t".
...
Also moved "simple_counter" variable from global scope to the "update_simple_mode" function which is the only place that it's actually used.
13 years ago
Jason Short
b27c1ce396
ACM : Added check for second Toy mode
13 years ago
Andrew Tridgell
c2dc920d02
ACM: allow users to set the AHRS_YAW_P and AHRS_RP_P
...
the forced set left users with parameters they couldn't use
13 years ago
Jason Short
6037fabb5c
ACM Motors.pde
...
Added Toy mode options,
Added DCM kp set to .1(armed) and .8 (disarmed)
13 years ago
Jason Short
8188058404
ACM: Failsafe Fix for Mission planner initiated AUTO mode
...
Keeps the failsafe from exiting Auto mode when returning from failsafe. Added arming ability for Toy mode.
13 years ago
Jason Short
fbe898a6db
Arducopter: motors.pde formatting
13 years ago
Jason Short
98725be0ec
Arducopter: INS
...
removed calibrate accels for now
13 years ago
Andreas M. Antonopoulos
c73f7ef3ab
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
13 years ago
Jason Short
c42f9ece43
Inertial Control
...
I added inertial navigation based on the simulator data. This is an option only available if you compile with Arduino and set
#define INERTIAL_NAV ENABLED
in the APM_Config.h file.
This has been tested for one real flight and did not crash my quad, but consider it very alpha. The quad may be unpredictable at first until the error correction fixes poorly calibrated accels. Be Careful.
Most of the real work is in the inertia file, but the error correction, new variable defines and calibration calls are sprinkled throughout.
The Log should record RAW messages with special debugging values.
13 years ago
Robert Lefebvre
4e4ff84cf1
Updates to CopterLEDS
...
Creation of Nav Blink Function.
13 years ago