Commit Graph

223 Commits

Author SHA1 Message Date
Hwurzburg 8a6c09c39a ArduSub: make centideg metadata incr and range consistent 2021-05-25 10:10:18 +10:00
Randy Mackay dbecf363f3 Sub: HAL_PROXIMITY_ENABLED replaces PROXIMITY_ENABLED 2021-03-26 16:22:46 +09:00
Siddharth Purohit f95fe1d464 ArduSub: move underscore one layer down for GPS 2021-03-12 16:32:36 +09:00
Willian Galvani e448910ff0 Sub: don't override default RNGFND1_TYPE
This is causing side-effects in QGC 4.1, as it reports the Range-
finder to be in bad health, which causes qgc to show "not ready to
fly" instead of "ready to fly" which might confuse users
2021-02-11 10:43:50 -08:00
Tom Pittenger d45ff51bd1 Sub: extend Stream rates param count to match MAVLINK_COMM_NUM_BUFFER 2020-12-29 07:52:09 -07:00
Andrew Tridgell cd2f2f96eb rename barometer parameters to BARO prefix 2020-12-08 13:22:17 +11:00
Iampete1 d197ec4072 Sub: add airspeed sensors 2020-10-27 11:24:49 +11:00
Siddharth Purohit 5318175f70 Sub: move to using CANManager library 2020-08-19 17:31:09 +10:00
Andy Piper 07df203d19 Sub: make mount/gimbal inclusion configurable per-board 2020-08-04 09:18:14 +10:00
Rishabh 075ef40d95 Sub: Rename SYSID_SW_MREV to FORMAT_VERSION 2020-02-19 09:45:22 +09:00
Patrick José Pereira 885ebc41e3 Sub: Ignore MOT_THST_HOVER parameter
We should ignore this parameter since ROVs are neutral buoyancy

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-02-05 09:01:33 -05:00
Peter Barker 6092a415a5 Sub: allow NavEKFs to be compiled out 2020-01-21 11:53:18 +11:00
Peter Barker 4ecb602def Sub: EKF objects have moved into AP_AHRS_NavEKF 2020-01-21 11:53:18 +11:00
Andrew Tridgell 4a688e59b2 Sub: update for new SRV_Channels parameter conversion call 2020-01-14 14:23:11 +11:00
Andy Piper 1bd6adec23 Sub: create generic vehicle management and move runcam to it
add OSD and RCMapper to build
2019-12-30 13:02:04 +11:00
Randy Mackay b1ccf5b9d5 Sub: remove unused TERRAIN_FOLLOW parameter 2019-12-17 20:02:01 +09:00
Peter Barker dee1cfadfd Sub: adjust for renaming of RangeFinder files 2019-11-12 07:14:37 +08:00
Peter Barker db36ef3433 Sub: use enum-class for RangeFinder type 2019-11-09 08:01:53 +11:00
Peter Barker e1686db7bf Sub: correct compilation when avoidance enabled 2019-11-06 16:36:35 +11:00
Willian Galvani f86a712a14 Sub: default RNGFNDR1_TYPE to mavlink 2019-09-17 07:06:06 -07:00
Willian Galvani db6beb913d Sub: force cam pan and tilt inputs to channels 7 and 8 2019-09-16 13:31:32 -07:00
Peter Barker 45af50f8bd Sub: avoid allocate a GCS_MAVLINK per mavlink channel 2019-08-14 18:25:43 +10:00
Michael du Breuil c37398f6ff Sub: Convert ARMING_CHECK 2019-07-30 10:42:16 +10:00
Leonard Hall ad4b6fdeae Sub: param conversion for attitude control FF and FILT 2019-07-25 17:38:15 +09:00
Peter Barker 1f4a1cef70 Sub: correct LOIT parameter documentation prefix
Closes #11769
2019-07-16 16:15:39 +10:00
Michael du Breuil b2743a0eb6 Sub: Enable scripting parameters 2019-06-18 00:06:32 -07:00
Peter Barker 8b34852147 Sub: add param conversion from MAG_ENABLE to COMPASS_ENABLED 2019-04-02 10:24:49 +11:00
Peter Barker b1c4a5ade7 Sub: move enabled parameter into compass library 2019-04-02 10:24:49 +11:00
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