Commit Graph

4969 Commits

Author SHA1 Message Date
Jacob Walser 868be023ee Copter: Refactor fence.get_safe_alt() to fence.get_safe_alt_max() 2017-02-21 11:26:14 +11:00
Andrew Tridgell f1917dddd0 Copter: changes for AC_WPNav 2017-02-18 17:26:43 +11:00
Andrew Tridgell 92fdef5b97 Copter: changed for AP_AHRS_View on AC_AttitudeControl 2017-02-18 17:26:43 +11:00
Andrew Tridgell aad412eaef Copter: support tailsitter frame class 2017-02-18 17:26:43 +11:00
Andrew Tridgell 3cb88d0a23 Copter: added tailsitter frame support 2017-02-18 17:26:43 +11:00
Andrew Tridgell 7efca1881c Copter: fixed a problem with initial parameter fetch
if the GCS connects before the motors have been allocated then it will
get an incorrect parameter count from the MAVLink param protocol. We
need to prevent the PARAM_REQUEST_LIST message from being replied to
until motors are allocated which is done as part of init_ardupilot
2017-02-15 17:16:30 +10:00
Andrew Tridgell 6b6d03eb8d Copter: fixed upgrade of parameters
now that we dynamically allocate many key objects in copter we need to
move the parameter upgrade code to after when the objects are allocated
2017-02-15 15:02:06 +10:00
Andrew Tridgell d8972d5344 Copter: setup frame type parameter flags 2017-02-14 19:50:01 +11:00
Peter Barker 65a182a068 Copter: not in log download upon log erase
erase is a synchronous operation
2017-02-13 11:36:16 +11:00
Peter Barker 029aeeb4fd Copter: support for a GCS singleton 2017-02-13 09:32:01 +11:00
Peter Barker f49f153da0 Copter: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +11:00
Randy Mackay d2cc340587 Copter: 3.4.5 release notes 2017-02-11 15:15:42 +09:00
Clément 3aa17d17eb Copter : set land_complete to false during guided takeoff (same fix as for auto takeoff bug) 2017-02-07 20:19:17 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas 4161c34e61 Copter: rename MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW to better describe what it is 2017-02-07 11:41:12 +11:00
Peter Barker b7f982d7ce Copter: support for arming and disarming using an auxsw 2017-02-06 16:48:50 +09:00
Andrew Tridgell 00711f5a98 Copter: fixed typo in param generation 2017-02-06 15:36:52 +11:00
Andrew Tridgell 79b23dff0e Copter: fixed parameter path 2017-02-06 15:12:32 +11:00
Michael Day 49e3ce8e75 Copter: Now recognizes DO_FENCE_ENABLE mission command. 2017-02-05 00:10:14 +00:00
Pierre Kancir 1455f8c513 Copter: correct advance failsafe 2017-01-31 11:22:54 +09:00
Randy Mackay d3d6099540 Copter: update 3.5-rc1 release notes 2017-01-28 23:01:10 +09:00
Randy Mackay 4f5ca37df4 Copter: 3.5-rc1 release notes 2017-01-28 17:08:03 +09:00
murata 8f926bd177 Copter: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
Peter Barker 4aaeb4bfed Copter: get mav heartbeats out when board detection fails 2017-01-27 13:48:23 +09:00
Randy Mackay 6726d94537 Copter: update notify during ESC calibration
The notify devices including the RGB were not being updated meaning the main LED was normally frozen or off during calibration.  The desired behaviour is that it flashes red, blue, yellow.
2017-01-27 12:14:56 +09:00
Randy Mackay a25f51c893 Copter: delay up to 2sec for first radio pulse
Pixracer boards can take 1 second (or possibly longer) to start reading RC input.  This ensure we see the user's high throttle to indicate the user wants to perform the ESC calibration
2017-01-27 12:14:56 +09:00
Michael du Breuil 0fec4af54b Copter: Support the SYS_STATUS_SENSOR_BATTERY bit 2017-01-25 09:26:19 +09:00
Randy Mackay 26919b4ab6 Copter: send flight mode string to Notify 2017-01-23 15:07:20 -08:00
Randy Mackay af514eb101 Copter: remove some comments 2017-01-23 15:07:20 -08:00
Dmitry Prokhorov 3e993f955e ArduCopter: Support for OLED display by Alexey Kozin 2017-01-23 15:07:20 -08:00
Peter Barker 01b1916de5 Copter: ensure logging is working as part of prearm 2017-01-20 17:03:45 +09:00
Peter Barker e7d3219a58 Copter: check all channels have been configured, not just throttle 2017-01-20 13:02:53 +09:00
Peter Barker ab13b3beaf Copter: make rc checks verbose on failure 2017-01-20 13:02:53 +09:00
Peter Barker 078866046a Copter: correct rc-arming checks concerning trims
Trims should always be between min and max
2017-01-20 13:02:53 +09:00
Andrew Tridgell 332820aa88 Copter: fixed load of var_info for attitude_control and motors
we need to pass the var_info for the specific class we are using, not
the parent class.

Fixes issue #5585

thanks to Julien for noticing!
2017-01-20 12:05:09 +11:00
Randy Mackay cb1f7ba4bb Copter: remove setting position control's altitude max
AC_Avoid now takes responsibility for enforcing the alt limit and accesses inertial nav's limit directly
2017-01-18 09:35:47 +09:00
Randy Mackay 62a4867cd4 Copter: use avoidance adjusted climb rate in all modes 2017-01-18 09:35:47 +09:00
Randy Mackay b15d341850 Copter: add avoidance adjusted climb rate 2017-01-18 09:35:47 +09:00
Randy Mackay ebbfa9391d Copter: remove comments from package place 2017-01-18 09:35:47 +09:00
Peter Barker cc86011d20 Copter: use abs() on integers; Location alts are in integer cm 2017-01-17 09:41:37 -08:00
Peter Barker 96d73affae Copter: fix float warning; get_velocity_z() returns float 2017-01-17 09:41:37 -08:00
Leonard Hall 36b6218e31 Copter: integrate attitude control's set-throttle-mix-manual 2017-01-17 14:19:16 +09:00
Randy Mackay becc56da0b Copter: AP_Arming internal references start with underscore 2017-01-17 11:45:08 +09:00
Randy Mackay f476c706f6 Copter: add override to AP_Arming_Copter::pre_arm_checks 2017-01-17 11:45:08 +09:00
Randy Mackay cc217550c0 Copter: rename arming_checks to AP_Arming 2017-01-17 11:45:08 +09:00
Randy Mackay a52db9f29d Copter: fix motors_checks to AP_Arming 2017-01-17 11:45:08 +09:00
Randy Mackay ee9588c674 Copter: fix proximity arming checks 2017-01-17 11:45:08 +09:00
Randy Mackay b89d3564c7 Copter: move set_pre_arm_check to arming_checks 2017-01-17 11:45:08 +09:00
Peter Barker 4ea6cf4ce3 Copter: transfer old ARMING_CHECK value to new location 2017-01-17 11:45:08 +09:00
Peter Barker ac980fdd47 Copter: use compass_checks from AP_Arming
User-visible changes:
 - checks will fail if calibration is in progress
 - PX4FMU_V1 will now have COMPASS_OFFSETS_MAX of 600, not 500
 - if the primary compass is not set to be used then compass checks will always pass
2017-01-17 11:45:08 +09:00
Peter Barker f3a31b988a Copter: use ins_checks from AP_Arming
Functionality changes:
 - gyros and accels only have to be consistent in last 10 seconds to pass
 - ins.use_accel() is honoured when checking for consistency
 - ins.use_gyro() is honoured when checking for consistency
 - threshold is trippled rather than doubled for accel cal checks
 - checks are reordered
2017-01-17 11:45:08 +09:00