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
Robert Lefebvre
c8fb9a6635
More CopterLEDS changes.
...
Merged CopterLEDS and Piezo functions to eliminate pin conflict on APM2. Created new Parameter bit to turn piezo function on and off from MP. Moved GPS and Aux pin assignments to allow commonality between APM1 and 2. Set LED_Mode parameter default to 9 in order to make CopterLEDS completely backwards compatible with old Motor LEDS and Piezo code. Legacy users should see no difference.
13 years ago
rmackay9
905a445391
ArduCopter - motors.pde - changed references to "motor_armed" to "motors.armed()" because we've moved to using the AP_Motors class.
...
Simplified set_servos_4 function which was responsible for calling "output_motors_armed" or "output_motors_disarmed" as this determination as to whether the motors are armed or not is handled within the AP_Motors class.
13 years ago
Andrew Tridgell
7634f541b9
ACM: use set_blocking_writes(false) when we arm motors
13 years ago
Jason Short
d1fcebb5ca
Cosmetic changes
...
GPS LED lock waits for home_is_set to be true
13 years ago
Jason Short
f5fd3a0597
reset all I terms at Arming
13 years ago
Jason Short
3ebed0b278
This allows users to test the Auto_throttle hold or cruise value
13 years ago
Pat Hickey
b907c1fd5c
ArduCopter: add ch_of_mot lookup to motors.pde
13 years ago
Jason Short
e7b750074b
Added takeoff state and ground state variable
13 years ago
Andrew Tridgell
4fe527aefa
ACM: use LED_OFF/LED_ON instead of LOW/HIGH
13 years ago
Jason Short
58ad9faf6d
initing z dampener at arming
13 years ago
Andrew Tridgell
483bef35e5
IMU: update ACM and APM for flash_leds change in IMU init
13 years ago
Jason Short
307723960d
Increased slightly the Auto_trim time
13 years ago
Jason Short
b3bd4bd3c9
Cosmetic cleanup, commented functions for compiler warnings
13 years ago
Andrew Tridgell
a99bcec762
desktop: report motors armed in desktop build too
...
this helps in autotest
13 years ago
Jason Short
6bf0c32173
Removed some old debug prints from motors.pde
...
added ability to not increment I term for traversals.
13 years ago
Jason Short
c8304114a3
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
13 years ago
Jason Short
27fc6eea10
Z dampener
...
Integrated Aurelio R. Ramos' Z dampening code.
13 years ago
Jason Short
dd23883097
Motor arming delays
...
Speeding up delays for motor arming commands - Level and Inflight leveling.
13 years ago
Jason Short
43b3015963
lowered DCM RP gains
...
made Instant_PWM optional
upped PWM output to 400hz
14 years ago
Andrew Tridgell
d89ae696ef
merged the GCS updates from ArduPlane to ArduCopter
...
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
14 years ago
Jason Short
ba7abd62d8
Adjusted DCM Gains to normal levels. Added a check to stop navigating when landing and to land faster.
14 years ago
Jason Short
73fd0084be
Added Piezo Support, code from Oliver.
14 years ago
Amilcar Lucas
227ce0a92d
Merge some small misc improvements from APM_Camera branch
14 years ago
Jason Short
e6b7c57d26
Circle Mode now working
...
250Hz loop implemented
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
cb64198759
removed unused variables, functions,
...
moved camera to 10hz loop
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3268 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
3ad21cc236
2.0.40
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
75114aa93f
hack to fix Motor lights when arming after init.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3100 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
312c0e6b3b
removed throttle_slew - Just wasn't working well enough and added too much complexity
...
moved reading sonar to the 50hz loop so the Mode filter could do it's thing without causing so much latency
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3094 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
2da62b8a3e
fixed PSTR() on motor arm messages
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3004 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
11cee834b2
re-added ARMING messages in HIL mode
...
this is useful as in HIL mode you don't always have blinking lights
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3003 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
9371ee545e
process MAVLInk packets during gps detection and IMU calibration
...
this allows the GCS to connect immediately on startup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2994 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago