Commit Graph

195 Commits

Author SHA1 Message Date
Michael du Breuil e8401671e3 Sub: Allow scripting to run 2019-03-05 08:45:54 +11:00
Peter Barker b47733142f GLOBAL: rename DataFlash_Class to AP_Logger 2019-01-18 18:08:20 +11:00
Michael du Breuil 58895b5a82 Sub: Reset all storage when format version is incorrect 2019-01-08 10:35:37 +11:00
Michael du Breuil 4540109513 Sub: Fix battery failsafe parameter conversion 2018-11-06 10:18:39 +09:00
Andrew Tridgell 660da5aaea Sub: fixed RC_Channels parameter docs 2018-08-04 12:28:38 +10:00
Patrick José Pereira dcd3f83539 Sub: Remove void as parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-07-02 11:25:03 -04:00
Patrick José Pereira 3701fc0937 Sub: Move from micros() to AP_HAL::micros()
AP_HAL::micros() is a more common style around the rest of the project

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-06-12 17:27:56 -04:00
Michael du Breuil 5a0a8a6705 Sub: Remove software type param 2018-06-05 09:14:12 +10:00
Randy Mackay defdeaed95 Sub: integrate AC_Loiter 2018-04-04 10:45:10 +09:00
Michael du Breuil 6ebe954d51 Sub: Support new battery failsafes 2018-03-27 22:12:21 +01:00
Randy Mackay da17034a3d Sub: replace smoothing gain with AC_AttitudeControl::set_input_tc 2018-03-16 13:50:57 +09:00
Dr.-Ing. Amilcar Do Carmo Lucas f63388cb07 Sub: Obey RANGEFINDER_ENABLED and AC_TERRAIN build macros 2018-03-15 15:03:22 +00:00
Randy Mackay 6a701b2412 Sub: move pos-control pids to pos-control library 2018-01-23 12:00:43 +09:00
Randy Mackay cef50d8a30 Sub: velocity pi moved to position control library 2018-01-23 12:00:43 +09:00
ChrisBird 0fb679b2b2 Sub: Separate max ascent and descent speeds
This is to match a change made to Copter.

It might be relevant to sub in that users may wish to have asymmetrical descent and ascent rates.

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).

Modes impacted:
ALT_HOLD
CIRCLE
POSHOLD

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.

The above behavior is less of a concern for Sub but to keep it consistent its been implemented it the same way.
2017-12-28 15:16:08 -05:00
Jacob Walser 1998cf93d2 Sub: JS_LIGHTS_STEP -> JS_LIGHTS_STEPS 2017-10-26 15:45:57 -04:00
Jacob Walser 15658f1526 Sub: rework camera tilt input and slew limiting 2017-10-26 10:44:23 -04:00
Jacob Walser 2959c270a6 Sub: bugfix/typo COMPASS_OFFS_MAX default override 2017-10-11 12:51:55 -04:00
Jacob Walser a2002180ee Sub: Set default external baro bus correctly for Pixhawk 2 2017-08-29 08:10:05 -04:00
Jacob Walser 7137d13817 Sub: Remove unnecessary checks from default pre-arm checks 2017-08-29 08:10:05 -04:00
Jacob Walser 9733350f5d Sub: Remove enumerations from SYSID_MYGCS parameter 2017-08-29 08:10:05 -04:00
Jacob Walser 19a5b38ff5 Sub: Default FS_PILOT_TIMEOUT to 3 seconds 2017-08-29 08:10:05 -04:00
Jacob Walser 3f51dd387c Sub: Add @Units metadata to SURFACE_DEPTH parameter 2017-08-29 08:10:05 -04:00
Jacob Walser d1ad33ca54 Sub: Default INS_GYR_CAL to Never (0) 2017-08-29 08:10:05 -04:00
Jacob Walser 1bea1d042b Sub: Add missing WP_YAW_BEHAVIOR option to metadata 2017-08-29 08:10:05 -04:00
Jacob Walser d25be07c8b Sub: Default COMPASS_OFS_MAX from 600 to 1000 2017-08-29 08:10:05 -04:00
Peter Barker fadff24674 Sub: create GCS subclass, use inheritted methods
This also adds a patch to set up gcs channel 0 early to make
BoardConfig happy
2017-07-07 16:18:37 +01:00
Eugene Shamaev 7314b515c0 ArduSub: move of CAN parameters into separate group 2017-07-03 11:44:32 +01:00
Dr.-Ing. Amilcar Do Carmo Lucas 47514e275d Sub: Improve the PWM parameters descriptions 2017-06-06 11:06:26 +10:00
Dr.-Ing. Amilcar Do Carmo Lucas b996bb4a5d Sub: 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
Jacob Walser 888cd8e31c Sub: Fix fs_pilot_timeout parameter metadata 2017-05-12 17:16:18 -04:00
Jacob Walser d58a056444 Sub: Fix ekf failsafe parameter metadata 2017-05-12 16:15:58 -04:00
Jacob Walser 7737c3445c Sub: Default CAM_SLEW_LIMIT to 30 deg per second 2017-04-16 21:24:55 -04:00
Jacob Walser 4c7f744863 Sub: Setup throttle channel default trim parameter value 2017-04-16 14:56:18 -04:00
Jacob Walser 3a501a42fb Sub: Set default param value instead of forcing at boot 2017-04-16 14:25:13 -04:00
Jacob Walser 785f774887 Sub: Rework pilot input failsafe, add enable and timeout params 2017-04-16 14:25:13 -04:00
Jacob Walser 8b3c414ca7 Sub: Remove cliSerial alias for hal.console 2017-04-14 13:26:37 -04:00
Jacob Walser d05454ec36 Sub: Remove ambiguous #define MAGNETOMETER 2017-04-06 17:28:58 -04:00
Jacob Walser d629d4ba9e Sub: Change mode button function implementation 2017-04-05 13:29:06 -04:00
Jacob Walser 69c9dbc286 Sub: Remove deprecated/unused CLI and AP_Menu 2017-04-05 13:29:06 -04:00
Jacob Walser fab139ecce Sub: Remove unused WP_NAVALT_MIN parameter 2017-04-05 13:29:06 -04:00
Jacob Walser b32b552d1e Sub: Implement crash failsafe check/action 2017-03-24 16:31:09 -04:00
Jacob Walser 1a68fce2d0 Sub: Remove auto_disarm_check
There isn't a good set of conditions to determine if we should
automatically disarm
2017-03-24 16:31:09 -04:00
Jacob Walser 7859f6426e Sub: Implement battery failsafe 2017-03-24 16:31:09 -04:00
Jacob Walser 0b080c78d8 Sub: Remove unused gps_hdop_good parameter 2017-03-23 14:16:41 -04:00
Jacob Walser 3934281b43 Sub: Remove esc calibration 2017-03-23 11:59:30 -04:00
Jacob Walser 15a117dfb4 Sub: Remove ch6 tuning 2017-03-23 01:36:17 -04:00
Jacob Walser fae6c084ac Sub: Add camera slew rate parameter 2017-03-22 15:53:38 -04:00
Jacob Walser 13b2b76cfe Sub: Enable circle nav parameters, and set default circle rate 2017-03-10 15:46:30 +11:00
Jacob Walser 7c552d3545 Sub: Remove unsused aux switch code 2017-03-10 15:46:30 +11:00
Jacob Walser 93c6f64a91 Sub: Clean out/remove references to old landing code 2017-03-10 15:46:30 +11:00
Jacob Walser ca38a344f8 Sub: Remove unsupported autotune 2017-03-07 09:35:41 +11:00
Jacob Walser d21cd513cd Sub: Add AP_Arming_Sub class 2017-03-01 10:57:27 -05:00
Jacob Walser 840521ac8c Sub: Remove transect mode
This experimental mode is no longer relevant
2017-02-21 11:26:14 +11:00
Jacob Walser 7b214a0088 Sub: Clean up parameter conversion code 2017-02-21 11:26:14 +11:00
Jacob Walser dcafb2c894 Sub: Default FS_LEAK_ENABLE to FS_LEAK_WARN_ONLY 2017-02-21 11:26:14 +11:00
Jacob Walser 36096550b8 Sub: Set frame type flag for AP_Param 2017-02-21 11:26:14 +11:00
Jacob Walser 279b11e392 Sub: Set GND_EXT_BUS to 1 by default 2017-02-21 11:26:14 +11:00
Peter Barker 6fb2a6814f Sub: rename gcs[] to gcs_chan[]
Wish to use gcs() to return the gcs singleton
2017-02-21 11:26:14 +11:00
Jacob Walser 1990aa7829 Sub: Update stale references to Copter 2017-02-21 11:26:14 +11:00
Jacob Walser fb8a61df22 Sub: Fix RC and SERVO parameter paths 2017-02-21 11:26:14 +11:00
Jacob Walser 3f38b99585 Sub: Set BRD_SAFETYENABLE to disabled by default 2017-02-21 11:26:14 +11:00
Jacob Walser 4112fd1316 Sub: Remove mode header 2017-02-21 11:26:14 +11:00
Jacob Walser 565afc23ad Sub: Switch to AC_AttitudeControl_Sub 2017-02-21 11:26:14 +11:00
Jacob Walser 5233b25910 Sub: Format all C++ with Tools/CodeStyle/astylerc 2017-02-21 11:26:14 +11:00
Jacob Walser ed87bd9e59 Sub: fixes from rebase on ArduPilot master 2017-02-21 11:26:14 +11:00
Jacob Walser 029cf3b388 Sub: Update to library changes 2017-02-21 11:26:14 +11:00
Jacob Walser 6bc84a0e9a Sub: Finalize frame definitions and frame config metadata 2017-02-21 11:26:14 +11:00
Jacob Walser 6b3610ea70 Sub: Set frame configuration with parameter instead of make target
Now only one firmware is required for ArduSub
2017-02-21 11:26:14 +11:00
Jacob Walser 7c849f1e52 Sub: Fixup parameter metadata 2017-02-21 11:26:14 +11:00
Jacob Walser 10ff379938 Sub: Change software type to 40 to identify as Sub instead of copter 2017-02-21 11:26:14 +11:00
Jacob Walser 9ec79ab654 Sub: Remove RC radio failsafe 2017-02-21 11:26:14 +11:00
Jacob Walser 23122f4b90 Sub: Add camera tilt servo center parameter 2017-02-21 11:26:14 +11:00
Jacob Walser 6562e14634 Sub: Change default GCS failsafe to disarm 2017-02-21 11:26:14 +11:00
Jacob Walser 5bd2af6b77 Sub: Add throttle channel gain scalar parameter 2017-02-21 11:26:14 +11:00
Jacob Walser b108620742 Sub: Change default pwm frequency to 200Hz 2017-02-21 11:26:14 +11:00
Jacob Walser 544ea2ecd4 Sub: Fix parameter metadata 2017-02-21 11:26:14 +11:00
Jacob Walser 45de3b1163 Sub: Disable Avoidance and Proximity by default 2017-02-21 11:26:14 +11:00
Jacob Walser d11b07bd4f Sub: Remove PILOT_THR_BEHAVIOR parameter and disable auto_disarm_check() 2017-02-21 11:26:14 +11:00
Jacob Walser e66ba2ad74 Sub: Hide Circle Nav parameters from user 2017-02-21 11:26:14 +11:00
Jacob Walser 0d575681de Sub: Remove RTL 2017-02-21 11:26:14 +11:00
Jacob Walser 3010114adb Sub: Disable CH6 Tuning 2017-02-21 11:26:14 +11:00
Jacob Walser 69d89c5871 Sub: Remove LAND parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 19afd7a3dd Sub: Remove simple mode parameters, and disable simple modes 2017-02-21 11:26:14 +11:00
Jacob Walser 9aa05e1195 Sub: Remove (unused) PHLD parameters 2017-02-21 11:26:14 +11:00
Jacob Walser ae4e53fc3f Sub: Hide Aux Switch parameters from user 2017-02-21 11:26:14 +11:00
Jacob Walser f10f1a0bae Sub: Remove throw mode 2017-02-21 11:26:14 +11:00
Jacob Walser cfaf08ad31 Sub: Remove frame_orientation parameter 2017-02-21 11:26:14 +11:00
Jacob Walser 6426ceec27 Sub: Disable RCMAP 2017-02-21 11:26:14 +11:00
Jacob Walser ee8670e73d Sub: Disable RPM 2017-02-21 11:26:14 +11:00
Jacob Walser 57013583ac Sub: Remove TELEM_DELAY parameter 2017-02-21 11:26:14 +11:00
Jacob Walser 4cb9ee947b Sub: Disable autotune parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 9c5b304626 Sub: Remove RSSI 2017-02-21 11:26:14 +11:00
Jacob Walser 7e1c63aba3 Sub: Remove sprayer 2017-02-21 11:26:14 +11:00
Jacob Walser 9503e8d140 Sub: Remove ADSB 2017-02-21 11:26:14 +11:00
Jacob Walser 8aebeac6d7 Sub: Remove precision landing 2017-02-21 11:26:14 +11:00
Jacob Walser db56bdf8b0 Sub: Remove landing gear 2017-02-21 11:26:14 +11:00
Jacob Walser 7b5d209aba Sub: Remove parachute 2017-02-21 11:26:14 +11:00
Jacob Walser d75919eadc Sub: Remove deprecated parameters 2017-02-21 11:26:14 +11:00
Jacob Walser b6d76912cf Sub: Remove takeoff code 2017-02-21 11:26:14 +11:00