Michael du Breuil
bd904f890f
Copter: Update for AFS interface
6 years ago
Rishabh
00f6dc9b05
Copter: brake moved in from AC_WPNav
6 years ago
Andrew Tridgell
7c44ad04b6
Copter: check for EKF lane switch to avoid EKF failsafe
...
this fixes an issue with mismatch between the EKF lane switch
threshold and the copter EKF failsafe threshold
6 years ago
SergeyBokhantsev
300ee173ce
Copter: fix user aux functions
6 years ago
Peter Barker
676d75c391
Copter: correct namespacing of Copter modes
...
This makes us look like Rover and Plane in terms of namespacing for the
Mode classes, and removes a wart where we #include mode.h in the middle
of the Mode class.
This was done mechanically for the most part.
I've had to remove the convenience reference for ap as part of this.
6 years ago
Andrew Tridgell
01a0d3897e
Copter: fixed HAL_MINIMIZE_FEATURES build
6 years ago
Peter Barker
5985579383
Copter: stop setting AC_Avoid in AC_WPNav; it uses singleton now
6 years ago
Peter Barker
33daef2f33
Copter: merge ArduCopter.cpp and Copter.cpp
6 years ago
Bill Geyer
4492727878
Copter: tradheli-comments added to new Heli Acro code
6 years ago
ChristopherOlson
e13ff6c398
Copter: Parameters TradHeli Acro - add description for setting of virtual flybar
6 years ago
ChristopherOlson
8d43e828cf
Copter: TradHeli - minor code format fix
6 years ago
Bill Geyer
0c64cdc565
Copter: TradHeli - add virtual flybar to heli acro flight mode
6 years ago
1iggy2
3c4bac7c97
Copter: added I frame for octa
6 years ago
Peter Barker
3e098df65a
Copter: move common proximity pre-arm checks up
...
It will not be possible to arm if a proximity sensor has been configured
but is not working after this patch.
The can't-arm-when-within-60cm-of-something check can still be disabled
with the PARAMETER arming check bit.
6 years ago
Peter Barker
9f6b48b743
Copter: remove unneeded initialisation
6 years ago
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