Commit Graph

2172 Commits

Author SHA1 Message Date
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
db552adf02 Copter: typo in LOG_BITMASK param description 2013-05-21 10:30:59 +09:00
Randy Mackay
669850e6d4 Copter: add parameter description for LOG_BITMASK
Should allow a dropdown in the GCS so it can be set more easily without
going into the cli
2013-05-21 10:29:40 +09:00
Randy Mackay
bd44c2f73d Copter: all pre-arm checks to be disabled
set ARMING_CHECK parameter to zero to disable
2013-05-20 14:48:04 +09:00
Randy Mackay
43c377ca67 Copter: add compass calibration to pre-arm check 2013-05-20 14:19:47 +09:00
Randy Mackay
6efdabb104 Copter: move auto disarm into a separate function 2013-05-20 14:05:50 +09:00
Randy Mackay
1dbe98b566 Copter: display reason for pre-arm-check failures in GCS 2013-05-20 13:03:18 +09:00
Randy Mackay
d10e3bc75f Copter: send_text_P bug fix for short messages 2013-05-20 12:52:20 +09:00
Randy Mackay
885ce7db03 Copter: remove DigitalReadFast
With APHal all reads are fast
2013-05-20 11:29:34 +09:00
Randy Mackay
21f3534a93 Copter: remove DigitalWriteFast
With APHal all writes are fast
2013-05-20 11:27:35 +09:00
Randy Mackay
55f1b3b2ae Copter: reorganise medium loop
Shifted compass logging to happen when compass is read.
Updated comments.
2013-05-20 11:18:51 +09:00
Randy Mackay
c840e2a8c2 Copter: code clean-up move 10hz loop after 50hz loop 2013-05-20 11:05:14 +09:00
Randy Mackay
f4846b417a Copter: compiler fix for disabled logs 2013-05-19 22:55:40 +09:00
Randy Mackay
4ad395e7be Copter: merge WPNAV into NTUN dataflash message 2013-05-19 22:53:35 +09:00
Randy Mackay
072f3dbe30 Copter: display interference % in compassmot 2013-05-19 22:03:48 +09:00
Randy Mackay
9fdab5e8fe Copter: remove unused AUTO_SLEW_RATE parameter 2013-05-17 16:09:17 +09:00
Randy Mackay
8c99936431 Copter: update CH7_OPT, CH8_OPT to include Multi Mode 2013-05-17 16:07:11 +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
566daf883a Copter: remove unused MODE bit from LOG_BITMASK
We always log the mode so no need for this bit
2013-05-17 12:26:42 +09:00
Randy Mackay
5b00ce24ed Copter: minor user hooks cleanup
Only define and call functions if the appropriate #define in
APM_Config.h has been added
2013-05-17 12:19:07 +09:00
Randy Mackay
6a173eb7ad Copter: remove unused dump_state function
Feel free to add this back in when doing debug.  Let's not have too much
debug permanently in the code because it makes it harder to read.
2013-05-17 12:11:23 +09:00
Randy Mackay
1426f40319 Copter: remove unused JDrones motor PID overrides 2013-05-17 12:05:20 +09:00
Randy Mackay
19394918dd Copter: simplify APM_Config.h
Remove items that can be more easily set with parameters
2013-05-17 12:01:39 +09:00
Randy Mackay
28c37dd798 Copter: do pre-arm checks when arming from GCS 2013-05-17 11:22:32 +09:00
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.
2013-05-16 16:32:00 +09:00
Randy Mackay
0540acfec9 Copter: change to compassmot instructions 2013-05-15 12:35:16 +09:00
Randy Mackay
33d1129904 Copter: remove unused TB_RATIO parameter 2013-05-14 16:56:55 +09:00
Randy Mackay
e843bf3dfd Copter: bug fix for POSITION mode throttle
Was using alt-hold throttle controller instead of manual throttle
controller
2013-05-14 11:56:09 +09:00
Randy Mackay
a2e298bbfc Copter: change to default RTL yaw behaviour
We will not point the nose home for RTL but will point the nose for all
other waypoints
2013-05-14 11:52:39 +09:00
Randy Mackay
319f3ef560 Copter: flexible CH6 declination tuning range 2013-05-13 23:37:30 +09:00
Randy Mackay
6ba9431be4 Copter: update firmware version and release notes ahead of -rc2 2013-05-13 22:16:25 +09:00
Randy Mackay
e130c8041c Copter: remove unused event definitions 2013-05-13 18:07:44 +09:00
Randy Mackay
bd6edecdec Copter: restore logging of arm/disarm event 2013-05-13 18:07:28 +09:00
Randy Mackay
94a05a9285 Merge branch 'master' of https://github.com/diydrones/ardupilot 2013-05-13 18:01:53 +09:00
Randy Mackay
bb7aec2600 Copter: log compass failur to dataflash 2013-05-13 18:01:30 +09:00
Andrew Tridgell
c44fd42349 Copter: fixed RSSI reading on PX4
needed for different analog input scaling
2013-05-13 15:19:05 +10:00
Randy Mackay
429f900460 Copter: bug fix for RTL bearing
Also smooth RTL's initial climb stage by projecting stopping point
2013-05-11 16:21:25 +09:00
Randy Mackay
ad656c7e8a Copter: allow lat/lon to be specified for land 2013-05-10 22:37:15 +09:00
Randy Mackay
b3bca271d4 Copter: rename verify_must to verify_nav_command
Perhaps easier to understand if we use the "nav" and "conditional"
command labels
2013-05-10 12:06:29 +09:00
Randy Mackay
b65d714675 Copter: set yaw-mode in do_loiter mission command 2013-05-10 10:51:46 +09:00
Randy Mackay
98732ae4e8 Copter: remove redundant init of controllers when auto is started
individual do_* commands are responsible for setting roll-pitch, yaw and
throttle modes.  Removing this redundant setting of the controllers
removes the short period (10th second max) where loiter and waypoint
controller's desired roll and pitch were used even before the
controllers have been run once.
2013-05-10 10:51:13 +09:00
Randy Mackay
870b9b0fbb Copter: only run nav controllers when auto-armed
This stops run-up in target position and nav controller I terms ahead of
throttle being raised
2013-05-10 10:46:17 +09:00
Randy Mackay
1b52ee211a Copter: bug fix for RTL yaw control
Nose was only pointing home if your initial altitude was above the
RTL_ALT
2013-05-09 21:44:46 +09:00
Randy Mackay
ed5ddfd9db WPNav: initialise desired roll, pitch
bug-fix to resolve 1/10th second twitch when loiter or waypoint
controller are first engaged
2013-05-09 18:32:02 +09:00
Randy Mackay
d0fb332e9f Copter: init_rc_out in cli's compassmot setup
Bug fix to allow cli's compass motor compensation to be run from the
mission planner's terminal window
2013-05-09 13:30:08 +09:00
Andrew Tridgell
95120ed43d Copter: use library gcs_severity 2013-05-09 09:28:49 +10:00
Randy Mackay
1b2d8636ca Copter: set wp to "fast" if they have no delay 2013-05-09 00:18:36 +09:00