Commit Graph

64 Commits

Author SHA1 Message Date
Peter Barker
ad2c9d4e7e Copter: rename system_status as it won't be called from base class 2019-12-16 14:02:46 +09:00
Michael du Breuil
b42b1c08c4 Copter: Support new AP_Vehicle::set_mode 2019-10-25 08:48:22 +08:00
Randy Mackay
36327d56de Copter: reject reboot request from GCS if auto esc cal on next reboot
this resolves an edge case in which the motors could spin up on the next reboot because the user didn't unplug the battery to reboot the flight controller
2019-10-15 07:41:44 +09:00
Peter Barker
1b29cf14a6 Copter: remove get_advanced_failsafe override; singleton to be used 2019-09-17 09:13:43 +10:00
Peter Barker
48a1b2f436 Copter: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Pierre Kancir
c330b87592 ArduCopter: pass mavlink_message_t by const reference 2019-07-16 20:51:42 +10:00
Peter Barker
6dce39cbe1 Copter: use AP_Arming methods to arm and disarm vehicle
Really just changing the namespace of init_arm_motors
2019-05-30 07:37:30 +09:00
Rajat Singhal
49554bf8d9 Copter: Add function for sending POSITION_TARGET_LOCAL_NED message 2019-03-29 09:11:14 +11:00
Peter Barker
9a2d5ac5a6 Copter: move various sensor status flag updates up 2019-03-26 11:03:21 +11:00
Peter Barker
a5c18ff8f5 Copter: move vehicle_initialised to be on GCS not GCS_MAVLink 2019-03-19 14:39:14 +11:00
Peter Barker
e22b29bce4 Copter: FrSky support has moved to GCS 2019-03-19 14:39:14 +11:00
Peter Barker
227f6499d3 Copter: mark vtol_state and landed_state methods as override 2019-03-19 10:32:50 +11:00
Peter Barker
281dbfcef8 Copter: support send_extended_sys_state 2019-03-12 09:16:13 +09:00
Peter Barker
eed73749f9 Copter: move sending of send_pid_tuning up 2019-03-05 10:41:56 +11:00
Peter Barker
039aa3f3b3 Copter: move sensor flags to be a GCS thing rather than a GCS_MAVLINK thing 2019-02-19 14:09:59 +11:00
Peter Barker
f759c7ac7e Copter: GCS_MAVLink takes care of mavlink capabilities 2019-02-19 13:14:52 +11:00
Peter Barker
9bc23d3f28 Copter: move try_send_message of nav_controller_output up 2019-02-19 10:08:00 +11:00
Peter Barker
0dce6172f2 Copter: use visual odometry singleton 2019-02-15 16:56:13 +11:00
Peter Barker
5ae52038fa Copter: make setting of home boolean in preparation for sanity checks 2019-02-15 08:28:45 +11:00
Peter Barker
270fa2dfb9 Copter: move handling of command-int MAV_CMD_DO_SET_HOME up 2019-02-13 09:42:26 +11:00
Peter Barker
609b4f87c5 Copter: move handling of RC_CHANNELS_OVERRIDE up 2019-02-05 13:59:21 +11:00
Peter Barker
7197cf9e5c Copter: move sending of sys_status message up 2019-02-05 11:07:39 +11:00
Michael du Breuil
6bb84bfcc5 Copter: Remove unneeded GCS rally override 2019-01-08 10:39:50 +11:00
Peter Barker
f8a05564e8 Copter: split SYS_STATUS and POWER_STATUS onto separate ap_messages 2018-12-18 14:05:20 +11:00
Peter Barker
0e6efd6de0 Copter: move accept_packet to GCS_MAVLink base class 2018-12-14 12:44:31 +11:00
Peter Barker
8ac5ee02ea Copter: GCS_MAVLink now uses Mission singleton 2018-12-13 10:52:52 +09:00
Peter Barker
72440e2af3 Copter: allow VFR_HUD.alt to be relative-alt if DEV_OPTIONS has bit 2 set 2018-11-06 11:26:38 +09:00
Peter Barker
1d322046b0 Copter: tidy up send_pid_tuning 2018-11-06 08:19:15 +09:00
Peter Barker
859f4828a1 Copter: move handling of gimbal messages up
Copter: move handling of mav_cmd_do_mount_control up

Copter: move handling of deprecated mount messages up

Copter: move handling of command_do_set_roi up

Copter: move handling of command_do_set_roi up

Copter: mount no longer takes ahrs in constructor
2018-10-30 17:19:14 +11:00
Peter Barker
f005ee4a4c Copter: use camera singleton to get camera rather than callback 2018-08-31 15:48:56 +10:00
Peter Barker
ec52c22c7c Copter: GCS_MAVLink uses compass singleton, stop implementing get_compass 2018-08-31 15:48:56 +10:00
Peter Barker
7fc580921a Copter: handle command_long in GCS base class 2018-07-06 09:43:09 +10:00
Peter Barker
aa4ee64af2 Copter: handle command_int in base class 2018-07-06 09:43:09 +10:00
Peter Barker
485cafb343 Copter: use AP_FWVersion singleton 2018-06-18 19:10:37 +01:00
Peter Barker
6d9a131a26 Copter: make VFR_HUD always return height above MSL 2018-06-05 09:38:20 +10:00
Peter Barker
5f2221fe74 Copter: move handling of VFR_HUD into GCS_MAVLink_Copter 2018-05-29 13:00:40 +10:00
Peter Barker
7c8583d51d Copter: implement sending of position_target_global_int 2018-05-18 20:26:37 +10:00
Peter Barker
9dce133938 Copter: handle setting of ekf origin in GCS_MAVLink 2018-05-17 10:13:42 +10:00
Peter Barker
e90ce4ced9 Copter: move data stream send up 2018-05-09 16:15:38 +10:00
Peter Barker
4b5953734d Copter: use AP_ServoRelayEvents singleton 2018-04-18 20:31:55 +09:00
Peter Barker
0c8110ecb2 Copter: factor vehicle's mavlink send_heartbeat 2018-04-03 13:05:19 +01:00
Peter Barker
c80714b820 Copter: factor out preflight calibration function 2018-04-02 23:25:05 +01:00
Peter Barker
ce0f0938ee Copter: make superclass handle command_ack packets 2018-03-28 09:28:23 +09:00
Michael du Breuil
291531e056 Copter: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Peter Barker
41960704b0 Copter: move handling of visual odometry messages up 2018-03-23 09:28:07 +09:00
Peter Barker
8f48b3187e Copter: use gps singleton for GCS function 2017-11-15 13:43:03 +00:00
Peter Barker
0afe1e7473 Copter: move handling of SET_GPS_GLOBAL_ORIGIN up 2017-09-19 15:44:23 +09:00
Peter Barker
3da70f19c1 Copter: handle param_request_list 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
aa06fc499c Copter: use GCS_MAVLINK subclasses to handle set_mode 2017-08-16 11:58:10 +10:00