Andrew Tridgell
af4f0c29ba
Copter: enable TMODE (ToyMode) support
...
this is for the skyviper button based transmitter control
2018-02-08 17:36:33 +11:00
Andrew Tridgell
1f76f69d80
Copter: implement per-motor compass compensation
2018-02-08 17:36:33 +11:00
Pierre Kancir
10e6fe43dd
Copter: Add a switch option to enable/disable RC_Override
2018-01-24 21:37:41 +09:00
Randy Mackay
8d6f8e4d9c
Copter: move pos-control pids to pos-control library
2018-01-23 12:00:43 +09:00
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.
2018-01-17 07:24:17 -08:00
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.
2017-12-23 10:57:31 +09:00
Peter Barker
6c82f7671d
Copter: move all commands logic into AUTO flightmode
2017-12-14 14:08:01 +09:00
Randy Mackay
2d23e1f7c7
Copter: rename flightmode_ objects to mode_
2017-12-12 10:39:26 +09:00
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.
2017-12-07 07:43:08 +09:00
Peter Barker
51cd143012
Copter: FlightMode - convert BRAKE flight mode
2017-12-06 08:24:24 +09:00
Peter Barker
2db09ba0f7
Copter: FlightMode - convert GUIDED flight mode
2017-12-06 08:24:24 +09:00
Peter Barker
e2b70c3a0a
Copter: FlightMode - convert AUTO flight mode
2017-12-06 08:24:24 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
ce3197e0ac
Copter: use the return code of the guided_set_destination_posvel() function calls
2017-12-05 08:57:55 +09:00
Peter Barker
398d07a68a
Copter: tighten return types of mavlink functions and variables
2017-12-01 17:01:10 +00:00
Randy Mackay
8d2db3218c
Copter: minor comment fix to code handling SET_POSITION_TARGET msgs
2017-11-27 14:24:30 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas
bde1aaa2f6
Copter: Rename variable to correct the meaning (NFC)
2017-11-27 14:17:21 +09:00
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 :)
2017-11-27 14:17:21 +09:00
Andrew Tridgell
a644cff921
Copter: support testing multiple motors with motortest
...
this matches the quadplane behaviour, allowing a sequence of motors to
be tested
2017-11-27 10:15:31 +09:00
Peter Barker
8f48b3187e
Copter: use gps singleton for GCS function
2017-11-15 13:43:03 +00:00
Randy Mackay
842eed5426
Copter: accept do-winch commands with max rate
2017-10-27 09:20:38 +09:00
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
2017-10-27 09:20:38 +09:00
Andrew Tridgell
f49ab44f25
Copter: support simple accel calibration
2017-10-10 10:57:38 +11:00
Lucas De Marchi
4ef5186733
ArduCopter: do not include version.h/ap_version.h
...
The interface provided by each vehicle should be used to get the
version.
2017-09-23 21:37:45 -07:00
Randy Mackay
a8a5c1d332
Copter: command-long DO_SET_HOME check first param is zero
...
Also do not use current location just because lat,lon,alt are all zero
2017-09-20 12:14:38 +09:00
Randy Mackay
d982cfed4a
Copter: accept DO_SET_HOME within COMMAND_INT
2017-09-20 12:14:38 +09:00
Randy Mackay
70cf21a5ba
Copter: accept more mav-frame types
...
accept mav frames whether or not they have _INT appended
2017-09-20 12:14:38 +09:00
Peter Barker
0afe1e7473
Copter: move handling of SET_GPS_GLOBAL_ORIGIN up
2017-09-19 15:44:23 +09:00
Randy Mackay
1b3cc9289b
Copter: support SET_GPS_GLOBAL_ORIGIN
...
also remove setting of origin from DO_SET_HOME command
initialise ekf_origin location when consuming SET_GPS_GLOBAL_ORIGIN
set_ekf_origin performs sanity check on location
2017-09-19 10:30:15 +09:00
Peter Barker
6b5fd5fbdd
Copter: move gcs_out_of_time into GCS object
2017-09-12 18:28:07 +01:00
squilter
4b57a4a231
Copter: rename SafeRTL to SmartRTL
2017-09-09 14:05:41 +09:00
Randy Mackay
8df042f00c
Copter: complete addition of SafeRTL flight mode
2017-09-09 14:05:41 +09:00
Peter Barker
3f67dfe4fe
Copter: move handling of do_send_banner up
2017-08-30 15:54:47 +01:00
Peter Barker
3da70f19c1
Copter: handle param_request_list in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
e6ac68fd2a
Copter: handle param_set in GCS_MAVLINK base class
2017-08-30 15:54:47 +01:00
Peter Barker
bb06db6389
Copter: move send_autopilot_request calls up to GCS base class
2017-08-30 15:54:46 +01:00
Peter Barker
470e790117
Copter: add constant structure holding firmware version
2017-08-30 15:54:46 +01:00
Peter Barker
19e409f7f4
Copter: move serial_control case to base class
2017-08-17 12:42:31 +01:00
Peter Barker
6db348bab3
Copter: move play_tune and led_control handling to base class
2017-08-17 12:27:10 +01:00
Peter Barker
aa06fc499c
Copter: use GCS_MAVLINK subclasses to handle set_mode
2017-08-16 11:58:10 +10:00
Michael du Breuil
5cfe4d5a8c
Copter: Expose the AFS instance to MAVLink
2017-08-15 15:14:56 +01:00
Peter Barker
55af774e98
Copter: send gps messages as separate queued messages
2017-08-09 16:18:22 +01:00
Peter Barker
56160a8bbd
Copter: move sending of gps_raw up
2017-08-09 16:18:22 +01:00
Peter Barker
ff81186951
Copter: move sending of system_time up
2017-08-09 16:18:22 +01:00
Peter Barker
7ca146878d
Copter: move sending of camera_feedback up
2017-08-09 16:18:22 +01:00
Peter Barker
da889bdff5
Copter: move sending of meminfo up
2017-08-09 16:18:22 +01:00
Peter Barker
c36a20ab54
Copter: use new retry_deferred method
2017-08-05 23:14:31 +01:00
Peter Barker
db080ed60e
Copter: stop sending MSG_SERVO_OUT messages
...
This didn't ever result in a message being sent on Copter
2017-08-03 14:34:33 +01:00
Peter Barker
7c37bb324b
Copter: move try_send_message queued_param_send up
2017-08-03 14:34:33 +01:00
Peter Barker
431e3443bd
Copter: move try_send_message send_hwstatus up
2017-08-03 14:33:37 +01:00
Peter Barker
3e5665735f
Copter: move try_send_message mission handling up
2017-08-03 14:24:47 +01:00