Commit Graph

5977 Commits

Author SHA1 Message Date
Peter Barker 7c05364612 Copter: reindent mode init functions (NFC) 2019-03-01 13:43:20 +09:00
Peter Barker fab2d59a1c Copter: move check for position up 2019-03-01 13:43:20 +09:00
Peter Barker e744df585c Copter: avoid int32_t<->float conversions 2019-03-01 12:09:58 +11:00
Dr.-Ing. Amilcar Do Carmo Lucas f1e43979ab ArduCopter: NFC small renames and comment improvements 2019-03-01 09:15:24 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 08124faab4 Copter: replace location_offset() and get_distance() function calls with Location object member function calls
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Randy Mackay a90f94d5a7 Copter: 3.6.7-rc1 release notes 2019-02-28 09:15:44 +09:00
Randy Mackay 384bca9482 Copter: stop at waypoint depending upon next command 2019-02-27 13:30:40 +09:00
Randy Mackay a903c91c40 Copter: remove unused auto_spline_start declaration 2019-02-27 13:30:40 +09:00
IamPete1 ba3d1bc6c7 Copter: move E-stop state to SRV_Channel 2019-02-27 08:51:24 +09:00
Peter Barker 2c814e9de2 Copter: get_alt_above_ground to get_alt_above_ground_cm 2019-02-26 19:31:41 +09:00
Andrew Tridgell ef3306d408 Copter: fixed crash on mavlink send before pos_control is allocated 2019-02-26 16:18:26 +11:00
Peter Barker a48f461158 Copter: remove position-vector methods
Both were used in just one place
2019-02-26 14:09:21 +11:00
Arjun Vinod d02d897928 Copter: make LOITER_TIME send "Reached command" message to GCS 2019-02-26 10:19:37 +09:00
Arjun Vinod 8044d98382 Copter: do an early-return if the time hasn't been reached 2019-02-26 10:14:56 +09:00
murata 8644f4d76e Copter: Disable option code
Copter: Revert change

Copter: Change mistakes
2019-02-26 10:00:00 +09:00
Peter Barker 693873fd04 Copter: AHRS set_orientation renamed to update_orientation 2019-02-26 10:28:09 +11:00
Peter Barker 8e1b48ef1e Copter: use height-above-ground for landing gear deployment 2019-02-26 08:21:32 +09:00
Peter Barker 66416a5289 Copter: make toymode parameter descriptions consistent
Also correct "home button" -> "left (Mode button)"
2019-02-22 11:36:28 +09:00
Peter Barker 4187243e5c Copter: Rally no longer takes ahrs in constructor 2019-02-20 18:03:38 +11:00
Peter Barker c622645ff1 Copter: move update_sensor_flags to GCS_Copter.cpp 2019-02-20 11:57:00 +11:00
Peter Barker 5ff80e06d1 Copter: move update_sensor_status_flags into GCS subclasses 2019-02-19 14:09:59 +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 f64ad2f433 Copter: move visual odometry update function into AP_VisualOdom 2019-02-16 15:13:59 +11:00
Randy Mackay 6b0456e3ac Copter: 3.6.6 release notes 2019-02-16 08:47:18 +09:00
Peter Barker 0dce6172f2 Copter: use visual odometry singleton 2019-02-15 16:56:13 +11:00
Peter Barker 31f796f0c5 Copter: remove unused scaleLongDown member 2019-02-15 11:45:13 +09:00
Peter Barker 13db459f49 Copter: remove redundant home-setting sanity checks 2019-02-15 08:28:45 +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 8de7f4a520 Copter: devo telemetry no long requires singleton classes to be passed in 2019-02-13 19:24:07 +00:00
Peter Barker 228d7b676d Copter: move responsibility for parachute deployment up 2019-02-13 09:25:27 +09: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 a0189d6060 Copter: AP_Frsky_Telem uses singletons 2019-02-12 17:53:23 +00:00
Peter Barker 5f152378fd Copter: dataflash always emits rally points at startup 2019-02-12 11:48:55 +11:00
Peter Barker 3765bae5e0 Copter: remove checking for coordinate frames
This is very much NFC.  This change uncovers previous dead code in the
case that we are not ignoring yaw.
2019-02-12 09:07:50 +09:00
Peter Barker 243cf690da Copter: use altitude frame mapping function 2019-02-12 09:07:50 +09:00
Tom Pittenger b8ee535fb4 Copter: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Randy Mackay 1725c8f178 Copter: 3.6.6-rc2 release notes 2019-02-09 14:53:26 +09:00
Peter Barker 47a0796684 Copter: move handling of fence point handling up 2019-02-08 11:47:59 +09:00
Peter Barker 727d42be1c Copter: move handling of MAV_CMD_DO_SET_FENCE_ENABLED up
This has the effect of losing the statustext messages.  We should not be
sending statustext messages for things that complete successfully, and
this data is available in the fence_status mavlink message (and in
SYS_STATUS too)
2019-02-08 11:47:59 +09:00
Dr.-Ing. Amilcar do Carmo Lucas 937e05bb2a Copter: small precision landing improvements 2019-02-07 10:54:58 +09:00
Peter Barker f0ea4af514 Copter: rename get_velocity_xy to get_speed_xy 2019-02-07 09:03:17 +09:00
Randy Mackay ee6fd5ad8d Copter: Guided_NoGPS does not require GPS 2019-02-06 12:28:08 +09:00
Peter Barker 587e02e92e Copter: remove pv_ functions that duplicate Location functions 2019-02-06 11:02:50 +09:00
Andrew Tridgell 3f58461839 Copter: allow override of default frame type 2019-02-06 11:17:35 +11:00
Andrew Tridgell 36180faab5 Copter: added 3 more FRAME_TYPE values 2019-02-06 11:17:35 +11:00
Dr.-Ing. Amilcar do Carmo Lucas c31e24edcc Copter: Add OSD_ENABLED macro to APM_Config.h 2019-02-05 13:19:56 +09: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