Michael du Breuil
adb7ecef92
Copter: Check MANUAL_CONTROL target
7 years ago
Francisco Ferreira
8ff74f31e9
Copter: fix method shadowing
7 years ago
Peter Barker
0c8110ecb2
Copter: factor vehicle's mavlink send_heartbeat
7 years ago
Peter Barker
d58e2214d2
Copter: tidy handling of barometer calibrations
7 years ago
Peter Barker
cca4d5136e
Copter: move common calibration functions up
7 years ago
Peter Barker
c80714b820
Copter: factor out preflight calibration function
7 years ago
Dr.-Ing. Amilcar do Carmo Lucas
d633ba8c46
Copter: Add option to disable RPM module
7 years ago
Peter Barker
ce0f0938ee
Copter: make superclass handle command_ack packets
7 years ago
Michael du Breuil
291531e056
Copter: Support new battery failsafes
7 years ago
Peter Barker
f8d5fe96d8
Copter: allow DataFlash to handle log sending
7 years ago
Peter Barker
41960704b0
Copter: move handling of visual odometry messages up
7 years ago
Peter Barker
edcfa7ffd4
Copter: move handling of get_home_position up
7 years ago
Peter Barker
45f2312bfe
Copter: move home state into AP_AHRS
7 years ago
Peter Barker
d88bd52a53
Copter: use baro singleton
7 years ago
Peter Barker
9bffeb4117
Copter: use AHRS singleton in GCS_MAVLink
7 years ago
Peter Barker
af56826107
Copter: follow mode fixups
...
add follow to FLTMODEx param descriptions
remove follow's set_velocity method
10hz logging of desired velocity in follow mode
follow mode uses pos error P gain
add send-debug-via-mavlink option
don't enter follow if follow lib is disabled
follow debug slowed to 1hz
disable follow on min-features builds
7 years ago
Randy Mackay
6ee101ca98
Copter: rename chase to follow
7 years ago
Randy Mackay
053983eb70
Copter: integrate AP_Follow into chase mode
7 years ago
Peter Barker
199455dc56
Copter: add chase mode
7 years ago
Peter Barker
86b162e32f
Copter: add option to disable BRAKE flight mode
7 years ago
Peter Barker
b8c432b1a1
Copter: add option to disable GUIDED flight mode
...
Saves about 6kB of flash
7 years ago
Peter Barker
b9ad2bc8db
Copter: add option to disable AUTO mode
...
Saves ~12k of flash
7 years ago
Peter Barker
eb9bbddcb7
Copter: add in_guided_mode mode callback
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
def098bd8a
Copter: obey ADSB_ENABLED == DISABLED
7 years ago
Peter Barker
bfc373aeff
Copter: move logging of PM messages to AP_Scheduler
7 years ago
Randy Mackay
9eda7f4e31
Copter: global-pos-int uses system time
7 years ago
murata
296ee7315b
Copter: minor formatting fixes
7 years ago
murata
c31c2a4cf1
Copter: optionalize the winch
7 years ago
Peter Barker
40d74584ac
Copter: remove shims used in scheduler
7 years ago
Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
7 years ago
Andrew Tridgell
1f76f69d80
Copter: implement per-motor compass compensation
7 years ago
Pierre Kancir
10e6fe43dd
Copter: Add a switch option to enable/disable RC_Override
7 years ago
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
7 years ago
Alexey Bulatov
8accfb97f6
ArduCopter: Check for nullptr for motors class pointer
...
Because of added initialisation of UAVCAN send_heartbeat function
starts before motors initialisation. So we need check is object created.
7 years ago
Matt
c0f0e3eca3
COPTER: Fix MOUNT_CONTROL yaw in guided
...
If the mount instance does not support yaw/pan, the copter needs to yaw in
response to MSG_MOUNT_CONTROL and MAV_COMMAND_DO_MOUNT_CONTROL commands from
a GCS or co-computer. There was no checking for mount pan in the GCS_Mavlink
logic. As such, no yaw takes place when a mount control command calls for it.
This patch impliments copter yaw control for both MSG_MOUNT_CONTROL and
MAV_COMMAND_DO_MOUNT_CONTROL in copter GCS_Mavlink.
7 years ago
Peter Barker
6c82f7671d
Copter: move all commands logic into AUTO flightmode
7 years ago
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
7 years ago
Peter Barker
103e2cc711
Copter: calculate wp bearing and distance on demand
...
Move responsibility for calculating wp bearing/distance
into the FlightMode object doing the navigation
Calculating these variables was being done at 50Hz where they
were used at 10Hz max.
7 years ago
Peter Barker
51cd143012
Copter: FlightMode - convert BRAKE flight mode
7 years ago
Peter Barker
2db09ba0f7
Copter: FlightMode - convert GUIDED flight mode
7 years ago
Peter Barker
e2b70c3a0a
Copter: FlightMode - convert AUTO flight mode
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
ce3197e0ac
Copter: use the return code of the guided_set_destination_posvel() function calls
7 years ago
Peter Barker
398d07a68a
Copter: tighten return types of mavlink functions and variables
7 years ago
Randy Mackay
8d2db3218c
Copter: minor comment fix to code handling SET_POSITION_TARGET msgs
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
bde1aaa2f6
Copter: Rename variable to correct the meaning (NFC)
7 years ago
Dr.-Ing. Amilcar Do Carmo Lucas
8678d13e7b
Copter: Update the result of a MavLink message, this is a NFC
...
The result variable is not used, but at least it gets documented :)
7 years ago
Andrew Tridgell
a644cff921
Copter: support testing multiple motors with motortest
...
this matches the quadplane behaviour, allowing a sequence of motors to
be tested
7 years ago
Peter Barker
8f48b3187e
Copter: use gps singleton for GCS function
7 years ago
Randy Mackay
842eed5426
Copter: accept do-winch commands with max rate
7 years ago
Randy Mackay
787954fa37
Copter: integrate winch library
...
fixes after peer review:
rename winch-disable to winch-relaxed
add DO_WINCH to do-verify
winch release-length accepts rate
7 years ago