Peter Barker
fa150bc982
Copter: remove loop-initialisation of output
...
Use brace initialisation instead. This is the only loop in here which
loops over the max number of compasses vs the number of compasses.
6 years ago
bnsgeyer
4120e29614
AP_Motors: Tradheli-complete conversion of throttle curve params to percent
...
add conversion for throttle curve params for upgrade
6 years ago
ChristopherOlson
9d03b44cf7
Copter:Heli - governor set_rpm call independent of frame type
6 years ago
ChristopherOlson
2f7d198196
Copter:Logging TradHeli - add governor output and throttle logging for heli governor
6 years ago
ChristopherOlson
8312dcae5d
Copter:Scheduler - increase update rate for rpm to 40Hz for helicopter governor
6 years ago
Peter Barker
112b153268
Copter: move Arming functions into AP_Arming file
6 years ago
Peter Barker
6dce39cbe1
Copter: use AP_Arming methods to arm and disarm vehicle
...
Really just changing the namespace of init_arm_motors
6 years ago
Peter Barker
17060d5d66
Copter: stop changing frame to home when home not set
6 years ago
Peter Barker
08a18d6a0a
Copter: avoid working with uninitialised home location
6 years ago
Peter Barker
d34c4b01f4
Copter: build return path in run() rather than init()
...
This avoids attempting to build a return path if we don't currently have
a home or origin
6 years ago
Peter Barker
7ad4d95426
Copter: do not permit RTL unless home is set
...
Rover has a similar check for entering RTL
Without this, if you do not have any rally points then we end up
attempting to manipulate an invalid location.
6 years ago
Randy Mackay
f93a9c37d3
Copter: 3.6.9 release notes
6 years ago
Peter Barker
3ef84d2b96
Copter: stop passing references to AC_Avoid constructor
6 years ago
Peter Barker
3c436b30f0
Copter: have takeoff.start() handle clearing i terms and setting land-complete
6 years ago
Andrew Tridgell
f55d9140e2
Copter: rename to EXPECT_DELAY_MS()
6 years ago
Andrew Tridgell
bc2f5fa33b
ArduCopter: use EXPECT_DELAY() macro
6 years ago
Tom Pittenger
3f359886cd
Copter: move heartbeat sending to gcs instead of by vehicles
6 years ago
Andrew Tridgell
f46207499a
Copter: prevent reset on compassmot due to watchdog
6 years ago
Randy Mackay
791b6effdd
Copter: fix wp distance and bearing reporting during LOITER_TURNS
6 years ago
Peter Hall
3fe63d5bc0
Copter: only save autotune gains if disarmed in autotue
6 years ago
Randy Mackay
73973c77d7
Copter: 3.6.9-rc2 release notes
6 years ago
Randy Mackay
0472c7e6dd
Copter: 3.6.9-rc1 release notes
6 years ago
Andrew Tridgell
55dca5cda9
Copter: added in sink rate for parachute check
6 years ago
Peter Barker
37c07e1d89
Copter: use enum class for roll/pitch mode
...
This adds some type-safety and helps distinguish between the many
defines which are used within PosHold mode
Saves about 210 bytes of flash
6 years ago
Peter Barker
462d87e5d0
Copter: remove unused PosHoldModeState enumeration
6 years ago
Peter Barker
e28c6b9dc6
Copter: remove redundant poshold_ prefix on PosHold methods
6 years ago
Peter Barker
f57a9f11cc
Copter: move poshold state variables into mode object
...
This was simply moving the members from the poshold struct into the
class then mechanically removing poshold. from in front of the member
access.
6 years ago
Peter Barker
9f9531a790
Copter: AP_Arming: correct overriding of arm_checks method
...
This makes the arbitrary decision that arming checks always report
failures to the GCS.
Fixes:
In file included from ../../ArduCopter/events.cpp:1:
In file included from ../../ArduCopter/Copter.h:91:
../../ArduCopter/AP_Arming.h:33:69: fatal error: non-virtual member function marked 'override' hides virtual member function
bool arm_checks(bool display_failure, AP_Arming::Method method) override;
^
../../libraries/AP_Arming/AP_Arming.h:64:18: note: hidden overloaded virtual function 'AP_Arming::arm_checks' declared here: different number of parameters (1 vs 2)
virtual bool arm_checks(AP_Arming::Method method);
^
1 error generated.
6 years ago
Randy Mackay
4fa52bb0de
Copter: 3.6.8-release notes
6 years ago
Dr.-Ing. Amilcar do Carmo Lucas
402b1cba3f
Copter: replace 4 divisions with multiplications
6 years ago
Andrew Tridgell
3abe8fed89
Copter: updated release notes for 3.6.8
6 years ago
Pierre Kancir
d5d81f3a1c
ArduCopter: set AUTO_YAW_HOLD when user control yaw during nogps land
6 years ago
Pierre Kancir
c2811ea144
ArduCopter: respect yaw orientation on LAND
6 years ago
Peter Barker
5d996a289a
Copter: move responsibility for logging into library
6 years ago
Peter Barker
7207035c34
Copter: do no compass stick gesture detection while armed
6 years ago
Randy Mackay
8a5141f751
Copter: mode autoyaw lower in mode.h
...
make ordering of some declarations consistent across child classes
6 years ago
Peter Barker
7945c1fdfd
Copter: mode class unfriends everyone, make relevant methods public
6 years ago
Randy Mackay
b7d0e4ec10
Copter: remove surface tracking shim functions
6 years ago
Randy Mackay
01909cf4c8
Copter: zigzag mode gets terrain following support
6 years ago
Randy Mackay
89eb876faf
Copter: move surface tracking variables into structure
6 years ago
Randy Mackay
33a57361bd
Copter: reduce args passed to get_surface_tracking_climb_rate
...
The same arguments are always passed in
6 years ago
Randy Mackay
a732dfed6d
Copter: minor format fixes to get_pilot_desired_cilmb_rate
6 years ago
Michael du Breuil
465d6b4dc7
Copter: Remove rangefinder distance prearm check
6 years ago
Arjun Vinod
f1de62f0d3
Copter: added left out copter flight modes as auxiliary switch options
6 years ago
Pierre Kancir
caf925eda5
Copter: factorize arm or land check
6 years ago
Peter Barker
07b8473a20
Copter: move setting of compass sys_status bits up
6 years ago
Randy Mackay
403195d9d4
Copter: fix auto-disarm check
...
Copters go to SHUT_DOWN when estop is engaged
6 years ago
Peter Barker
46a6f45e4a
Copter: adjust for desired spool state and spool state renames
6 years ago
Randy Mackay
2c682c7001
Copter: add missing AccelZ to GCS_PID_MASK param description
6 years ago
Randy Mackay
571d933b3f
Copter: fix send_pid_tuning
...
the rate roll PID was being overwritten when PID logging was enabled
6 years ago