Randy Mackay
a68966e077
Copter: integrate sprayer pump test
2013-09-11 17:05:25 +09: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
fd047cc968
Copter: AUTO ch7/ch8 option
2013-08-19 18:09:23 +09:00
Randy Mackay
69da4e99f8
Copter: add ch7/ch8 Auto and Land option
...
CH7/CH8 high initiates AUTO mode, low initiates Land. Ideally high
would be a new take-off flight mode so this may need some rework.
2013-08-15 16:08:33 +09:00
Randy Mackay
e1fe4946fb
Copter: Sprayer enable added to CH7/CH8 switch
2013-08-05 21:12:29 +09:00
Randy Mackay
786d6824ae
Copter: Acro Trainer added to Ch7/Ch8 switch
2013-08-05 21:04:55 +09:00
Randy Mackay
c30cfa21c5
Copter: resolve compiler warning re unused variable
2013-07-29 16:46:25 +09:00
Randy Mackay
2c48c20088
Copter: generalize 3 pos switch for all ch7/ch8 options
2013-07-29 16:28:04 +09:00
Olivier-ADLER
87d062905e
Copter: 3 positions switch support for CH7 and CH8 - new 3 positions SIMPLE / SUPERSIMPLE mode
...
3 positions modes must use mode number >= 100
pre-arm check correction for CH7 - CH8 check
2013-07-29 15:12:10 +09:00
Olivier-ADLER
bf6120d8b7
Copter: Move CH7 - CH8 check from read_aux_switches() to pre_arm_checks.
...
Moving this to pre-arm checks save some processing time and is safer.
2013-07-26 09:30:24 +09:00
Randy Mackay
c937fe45e1
Revert "Copter: Remove CH7 & CH8 Enable / Disable of GeoFence"
...
This reverts commit e25b8933f3
.
2013-07-20 15:00:08 +09:00
Randy Mackay
7ea971d948
Copter: check set_mode for failure
...
Previously if set_mode failed it would return the copter to stabilize
mode. With this commit set_mode returns a true/false indicating whether
it succeeded or not so the caller can make the decision as to the
appropriate response which could be to stay in the current flight mode
or try another flight mode.
2013-07-20 11:01:10 +09:00
Craig3DR
e25b8933f3
Copter: Remove CH7 & CH8 Enable / Disable of GeoFence
2013-07-18 17:06:53 +09:00
Randy Mackay
41ba4a1ed2
Copter: initialise ch7 and ch8 aux switches
...
This ensures that if you have simple mode or sonar attached to an
auxiliary switch it will be enabled or disabled according to the switch
immediately after start-up
2013-07-16 22:05:59 +09:00
Randy Mackay
d5b4c44926
Copter: comment fix for flight mode switch delay const
2013-07-12 22:29:14 +09:00
Rayjan Wilson
07ca8ef87a
attempt to change from 1/10th second to 2/10th second on flight mode switch
2013-07-12 21:57:35 +09:00
Randy Mackay
0cf4ac088a
Copter: restore LEDs to off state when auto-trim completes
2013-07-04 16:38:28 -10:00
Dr Gareth Owen
e0dcd680f7
proposed radio failsafe bug fix
2013-06-27 17:13:01 -10:00
Randy Mackay
00bd1bf8ea
Copter: RESETTOARMEDYAW order and comments
...
We should keep the order in the case statement the same as the #define
order.
2013-05-21 10:58:34 +09:00
Dr Gareth Owen
f646b79e5f
indent correct again
2013-05-21 10:40:36 +09:00
Dr Gareth Owen
d9fc37c01c
indent correct
2013-05-21 10:40:34 +09:00
Dr Gareth Owen
e9d640ced8
added ch7 option to reset yaw back to what it was when quad was armed
2013-05-21 10:40:30 +09:00
Randy Mackay
38239c652a
Copter: ch8 aux switch
...
Ch8 can be used as an aux switch like ch7. Has all the same options as
ch7 and there is a safety check to ensure both switches aren't set to
the same function so as to avoid interfering with each other
2013-05-17 14:42:28 +09:00
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
2013-04-27 11:14:07 +09:00
Andrew Tridgell
fb0f5d46ba
Copter: use BIT_IF_SET()
...
this should fix the problem with simple mode on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2013-04-23 23:05:42 +10:00
Andrew Tridgell
82c604dd67
Copter: more constrain fixes
2013-04-22 13:26:49 +10: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
4813526725
Copter: bug fix for autotrim's roll axis backwards
2013-01-31 17:42:29 +09:00
James Bielman
5631f865b2
Update floating point calculations to use floats instead of doubles.
...
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Randy Mackay
8bbc93bb04
Copter: added CH7 switch to enabling/disable the sonar in flight
...
This indirectly switches surface tracking on/off which is useful to
avoid tracking the tops of uneven objects when far above the ground
2013-01-14 14:00:08 +09:00
Jason Short
8b62c4630b
ACM: Restore Multi-mode support
2013-01-02 09:20:08 +11:00
rmackay9
bd0e018ca0
ArduCopter: restore auto-trim method but now use AHRS.add_trim
2013-01-02 09:20:08 +11:00
Andrew Tridgell
78d98023f4
Copter: remove use of 'byte'
2012-12-20 14:58:07 +11:00
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
2012-12-20 14:52:27 +11:00
Jason Short
0419dc8dfd
ACM: Simplified control mode code
2012-12-14 13:30:48 -08:00
rmackay9
d74cf54b5d
ArduCopter: allow triggering of camera from a mission
2012-12-06 23:48:30 +09:00
rmackay9
653535b9a1
ArduCopter: added CH7 option to trigger camera
...
Restructured reading of channel 7 into a switch statement.
2012-12-06 17:47:01 +09:00
rmackay9
6da07ef1d2
ArduCopter: increase CONTROL_SWITCH_COUNTER so that flight mode switch must be changed for at least 1/10th of a second
2012-12-06 10:31:46 +09:00
rmackay9
258442770d
ArduCopter: flight mode changes ignored while in throttle failsafe
...
reaction time to flight mode changes (when not in failsafe) reduced from 0.6 seconds to 0.1 seconds
2012-11-13 12:50:51 +09:00
rmackay9
bcb9519fd7
ArduCopter: renamed system bitmap to ap_system to resolve desktop compile issues
2012-11-11 22:42:10 +09:00
rmackay9
96872493ae
ArduCopter: remove unnecessary debug print mesage from save_trim function
2012-11-10 23:10:29 +09:00
Jason Short
d2a5928c06
Ap state updates
2012-11-09 22:15:15 -08:00
rmackay9
a1b4ec6d0e
ArduCopter: move to use new INS library instead of IMU library
2012-11-07 19:21:09 +09:00
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
2012-09-30 00:25:40 +09:00
rmackay9
498cbb063b
ArduCopter: set fast gains while auto trim is being executed
2012-09-18 09:03:29 +09:00
uncrustify
7c8f4421a3
uncrustify ArduCopter/control_modes.pde
2012-08-21 18:54:57 -07:00
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.
2012-08-16 20:04:46 +09:00
Jason Short
45574c0b1a
ACM : CH_7 multimode option added
2012-08-11 22:37:26 -07:00
Jason Short
26e3d6090e
ACM control modes - renames CH_7 flag
2012-08-09 16:59:43 -07:00