Commit Graph

189 Commits

Author SHA1 Message Date
Dr.-Ing. Amilcar Do Carmo Lucas def098bd8a Copter: obey ADSB_ENABLED == DISABLED 2018-02-21 22:11:34 +09:00
Andrew Tridgell 7938bd08bb Copter: make flowhold mode conditional
reduces build size on px4-v2 by 4k
2018-02-12 13:34:47 +09:00
murata c31c2a4cf1 Copter: optionalize the winch 2018-02-12 12:16:57 +09:00
Andrew Tridgell 0ed75052f8 Copter: enable parameters inside mode objects
this adds FHLD_* parameters for FlowHold mode. It is a large patch as
it needs to disentagle the mode class to enable it to be used in
Parameters.h
2018-02-08 17:36:33 +11:00
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 15166eff2e Copter: enable temperature calibration library 2018-02-08 17:36:33 +11:00
Randy Mackay 0f6762bbd2 Copter: PSC_ACCZ param name shortened 2018-01-31 08:48:21 +09:00
Andrew Tridgell 89674482a7 Copter: added FLTMODE_CH parameter
this allows for the flight mode to be on any RC channel, or no channel
at all to disable RC flight modes
2018-01-27 12:01:35 +09:00
Pierre Kancir cfc69214e6 Copter: add LAND_ALT_LOW parameter 2018-01-24 21:14:35 +09:00
Randy Mackay 8d6f8e4d9c Copter: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Randy Mackay 6546ccbb3f Copter: velocity pi moved to position control library 2018-01-23 12:00:43 +09:00
Dylan Herman 20fe5bb98f Copter: add SmartRTL failsafe action
Adds SmartRTL or RTL and SmartRTL or Land failsafe options for batt, throttle, and GCS failsafes
2018-01-22 10:54:28 +09:00
Randy Mackay 0ac708b5a0 Copter: remove ability to disable PosHold flight mode
This flight mode is stable and regularly used so it is unlikely that we ever want to disable it
2017-12-12 10:39:26 +09:00
Andrew Tridgell 311d7c11e4 Copter: added LOITER option in THROW_NEXTMODE 2017-11-27 14:14:06 +09:00
ChrisBird caaeae3d0a Copter: Separate max ascent and descent speeds
Added equivalent parameters to WPNAV_SPEED_UP and WPNAV_SPEED_DN

New parameters named:
PILOT_SPEED_UP (technically renamed PILOT_VELZ_MAX)
PILOT_SPEED_DN

Removed parameter PILOT_VELZ_MAX (technically renamed to PILOT_SPEED_UP).

Flight Modes impacted:
ALTHOLD
AUTOTUNE
CIRCLE
LOITER
POSHOLD
SPORT
TAKEOFF

Update a section in GUIDED mode but I don't think it is ever used but update just in case.

It will use the PILOT_SPEED_UP for ascending max velocity.  For down it will check if
it is 0, if so then it will PILOT_SPEED_UP instead, if non zero it will use PILOT_SPEED_DN.
This retains current behavior and gives the flexibility to change it if desired.
2017-11-09 09:03:54 +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 e2f710523e Copter: added inverted flight to switch docs 2017-10-03 10:16:41 +11:00
Randy Mackay 44a436642b Copter: complete rename to SmartRTL
Also fix parameter description for CH7_OPT
2017-09-15 08:58:14 +09:00
squilter 4b57a4a231 Copter: rename SafeRTL to SmartRTL 2017-09-09 14:05:41 +09:00
squilter ba0e08552f Copter: add SafeRTL flight mode 2017-09-09 14:05:41 +09:00
squilter 00ace08b54 Copter: minor formatting fixes 2017-08-30 20:07:11 +09:00
Peter Barker 0b6de644fb Copter: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Peter Barker c6b9c84d1f Copter: remove CLI 2017-08-14 10:23:50 +09:00
Andrew Tridgell 7473471f38 Copter: reverse IDs in g2 for TCAL and tx_type
as discussed with Randy
2017-07-10 17:07:57 +10:00
Peter Barker d9b45cc202 Copter: create GCS subclass, use inheritted methods 2017-07-07 16:18:37 +01:00
Eugene Shamaev 24c390ade0 ArduCopter: move of CAN parameters into separate group 2017-07-03 11:44:32 +01:00
Randy Mackay 41752eef8b Copter:default RC_FEEL to 50 2017-07-03 09:34:07 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas f8aa91681e Copter: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Leonard Hall c61d0a7373 Copter: reduce RC_FEEL default to 25 2017-06-01 10:06:20 +09:00
murata 1a76c28655 Copter: add dodeca-hexa 2017-05-27 14:21:13 +09:00
Randy Mackay 70ed572476 Copter: minor formatting fix
This is mostly just to trigger compilation of the latest beta
2017-05-25 17:53:20 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas f366095113 Copter: Use SI units conventions in parameter units
Follow the rules from:
http://physics.nist.gov/cuu/Units/units.html
http://physics.nist.gov/cuu/Units/outside.html
and
http://physics.nist.gov/cuu/Units/checklist.html
one further constrain is that only printable (7bit) ASCII characters are allowed
2017-05-17 18:07:25 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas 60aeade0f4 Copter: Add missing @RebootRequired: True 2017-05-15 21:51:16 +09:00
Randy Mackay 1a246851fc Copter: enable radio failsafe by default 2017-04-24 17:07:42 +09:00
Randy Mackay 713c08672f Copter: integrate AP_VisualOdom 2017-04-19 11:04:40 +09:00
Randy Mackay 7478ae9eb4 Copter: TUNE parameter description fixes 2017-04-08 15:35:05 +09:00
Andrew Tridgell 6bb5c16fb8 Copter: allow for HELI_DUAL configurations 2017-03-25 16:22:10 +11:00
Jacob Walser 353202e03c Copter: Fix parameter metadata 2017-03-22 16:16:26 -07:00
Randy Mackay e8c5612587 Copter: fix reference to PosControl param descriptions
No functional change
2017-03-01 14:59:44 +09:00
Randy Mackay 627e3faf41 Copter: fix SYSID_ENFORCE parameter description 2017-02-28 15:06:51 +09:00
Randy Mackay 34726208b2 Copter: clarify CHX_OPT avoidance and adsb-avoidance 2017-02-27 15:18:23 +09: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 f49f153da0 Copter: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-13 09:32:01 +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
murata 8f926bd177 Copter: Unify from print or println to printf. 2017-01-27 18:20:22 +11:00
Peter Barker 4ea6cf4ce3 Copter: transfer old ARMING_CHECK value to new location 2017-01-17 11:45:08 +09:00
Peter Barker bd6ffc025e Copter: start conversion to AP_Arming_Copter 2017-01-17 11:45:08 +09:00