Commit Graph

637 Commits

Author SHA1 Message Date
Jacob Walser c599ba8c97 Sub: Disable Camera object by default and rework guards
Camera object hasn't been tested on Sub yet
2017-04-14 13:26:37 -04:00
Jacob Walser 9a35b4d7a4 Sub: Dont include AC_Rally if it's not enabled 2017-04-14 13:26:37 -04:00
Jacob Walser 4fb5a90446 Sub: Remove unused AP_Airspeed library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser 6806989d86 Sub: Remove unused AP_ADC library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser 5110c9cb40 Sub: Remove unused Buffer library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser d3927e34e4 Sub: Remove unused InputManager library dependency 2017-04-14 13:26:37 -04:00
Jacob Walser af8514f1a3 Sub: Don't declare gripper functions if it's not enabled 2017-04-14 13:26:37 -04:00
Jacob Walser 854275459d Sub: Fix compile-time OPTFLOW enabling switch 2017-04-14 13:26:37 -04:00
Jacob Walser b3beb5e1c4 Sub: Remove undefined methods from Sub.h 2017-04-14 13:26:37 -04:00
Jacob Walser c16046aadf Sub: Remove unused motor emergency stop and interlock 2017-04-14 13:26:37 -04:00
Jacob Walser 2fac49a163 Sub: Remove unused pre_arm_check()
This is performed by AP_Arming now
2017-04-14 13:26:37 -04:00
Michael du Breuil 3a8994b2ce Sub: Send BATTERY_STATUS 2017-04-12 10:21:49 +09:00
Jacob Walser 1ee1c01e43 Sub: Remove two unused functions 2017-04-07 14:47:48 -04:00
Jacob Walser 563402c41d Sub: Don't wait for an XBee at boot 2017-04-07 14:47:48 -04:00
Jacob Walser 3e471e808a Sub: Refactor methods in navigation.cpp 2017-04-07 14:47:48 -04:00
Jacob Walser 23c18335a3 Sub: failsafe_xxx -> mainloop_failsafe_xxx 2017-04-06 17:58:26 -04:00
Jacob Walser 6a80fe3c22 Sub: Remove DISALLOW_GCS_MODE_CHANGE_DURING_RC_FAILSAFE 2017-04-06 17:48:39 -04:00
Jacob Walser 1bd6480a41 Sub: Gripper is disabled by default 2017-04-06 17:46:31 -04:00
Jacob Walser 875fb3946b Sub: Remove remaining references to simple mode 2017-04-06 17:31:40 -04:00
Jacob Walser d05454ec36 Sub: Remove ambiguous #define MAGNETOMETER 2017-04-06 17:28:58 -04:00
Jacob Walser c2556dfe2e Sub: Remove helicopter log message 2017-04-06 16:14:21 -04:00
Jacob Walser 88ef426e22 Sub: Remove some dead lines 2017-04-06 15:38:27 -04:00
Jacob Walser 61d77c72fb Sub: Clean up stream rate var_info 2017-04-06 15:11:43 -04:00
Jacob Walser ea8dbbf96c Sub: Remove HIL_MODE stuff 2017-04-06 14:11:12 -04:00
Jacob Walser fc9eb797be Sub: Fix redundant call 2017-04-06 14:11:12 -04:00
Jacob Walser 4349eaba32 Sub: Clean up radio.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser 1d3d6c064e Sub: Don't initialize ch5 mode switch
Missed this when phasing out ch5 mode switch
2017-04-06 14:11:12 -04:00
Jacob Walser 8634fb47ea Sub: re-arrange fast_loop for minimum latency
match Copter changes @72923277
2017-04-06 14:11:12 -04:00
Jacob Walser 3df1aa09e8 Sub: Remove dead save_trim() 2017-04-06 14:11:12 -04:00
Jacob Walser 3b1827ca21 Sub: Remove throttle-zero flag
Doesn't help us like in Copter
2017-04-06 14:11:12 -04:00
Jacob Walser d794bf88cb Sub: Remove old/unused motor test code and motor_test.cpp 2017-04-06 14:11:12 -04:00
Jacob Walser 6a837ca318 Sub: Correct mismatched log structure format 2017-04-05 13:29:06 -04:00
Jacob Walser f2d9f1585e Sub: Shift forward/lateral input channels up one to remove old ch5 gap 2017-04-05 13:29:06 -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 0e180f88ad Sub: Remove unused parameter enum values 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 e3d6d4bcbe Sub: Implement JSButton function to toggle between forward/lateral input
and roll/pitch input
2017-03-28 16:05:08 -04:00
Jacob Walser 5f82984d7e Sub: Implement servo min/max button functions 2017-03-28 14:54:23 -04:00
Jacob Walser 030af45b34 Sub: Implement servo control button functions 2017-03-28 14:54:23 -04:00
Andrew Tridgell 5d642f98f5 Sub: add available memory to PM message 2017-03-27 14:35:21 +09:00
Jacob Walser b32b552d1e Sub: Implement crash failsafe check/action 2017-03-24 16:31:09 -04:00
Jacob Walser 9d4b24c354 Sub: Move crash check logic under failsafe.cpp 2017-03-24 16:31:09 -04:00
Jacob Walser bc5d9b1a19 Sub: Remove unused lost_vehicle_check 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 4465d4ba69 Sub: Add some comments to describe failsafe functions 2017-03-24 16:31:09 -04:00
Jacob Walser 45328f220c Sub: set_leak_status() -> failsafe_leak_check() 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 6bd05e4bac Sub: failsafe_battery_event() -> failsafe_battery_check() 2017-03-24 16:31:09 -04:00
Jacob Walser 16fedbb9c9 Sub: Consolidate failsafe settings in defines.h 2017-03-24 16:31:09 -04:00
Jacob Walser bb2215bb9f Sub: Move failsafe functions into failsafe.cpp 2017-03-23 15:06:46 -04:00
Jacob Walser 0c4e426ddb Sub: Remove unused #defines from config.h 2017-03-23 14:59:17 -04:00
Jacob Walser 0b080c78d8 Sub: Remove unused gps_hdop_good parameter 2017-03-23 14:16:41 -04:00
Jacob Walser 65ad8ff7f1 Sub: Remove unused defines from old experiments 2017-03-23 14:16:40 -04:00
Jacob Walser 3934281b43 Sub: Remove esc calibration 2017-03-23 11:59:30 -04:00
Jacob Walser b0e5a93099 Sub: Remove VELHOLD mode
Obsolete since GUIDED implemented
2017-03-23 01:36:17 -04:00
Jacob Walser 5b4ec88f11 Sub: Remove one layer of abstraction for ServoRelayEvents.update_events
call
2017-03-23 01:36:17 -04:00
Jacob Walser cb38c66479 Sub: Move Notify update to ArduSub.cpp
No need for a separate file
2017-03-23 01:36:17 -04:00
Jacob Walser 2fa9d31787 Sub: Remove auto-trim
Sub vehicles usually have some static stability
2017-03-23 01:36:17 -04:00
Jacob Walser 15a117dfb4 Sub: Remove ch6 tuning 2017-03-23 01:36:17 -04:00
Jacob Walser 6886952438 Sub: Remove simple mode 2017-03-22 23:39:37 -04:00
Jacob Walser ea8b870067 Sub: Increase timeout for MANUAL_CONTROL failsafe 2017-03-22 16:02:16 -04:00
Jacob Walser 0ea0f0c941 Sub: Update POSHOLD mode 2017-03-22 16:02:00 -04:00
Jacob Walser 4233ebd005 Sub: Improve depth hold behavior 2017-03-22 15:53:38 -04:00
Jacob Walser fae6c084ac Sub: Add camera slew rate parameter 2017-03-22 15:53:38 -04:00
Jacob Walser 0966dcb665 Sub: Implement MAV_CMD_NAV_RETURN_TO_LAUNCH 2017-03-22 15:53:38 -04:00
Andrew Tridgell ed66190ca2 Sub: log home and origin on logging start 2017-03-14 10:51:15 +11: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 c1959952b3 Sub: Bug fix for camera_tilt_smooth() conflict with RC_CHANNELS_OVERRIDE 2017-03-10 15:46:30 +11:00
Jacob Walser 0ce2896e22 Sub: Remove rc receiver code 2017-03-10 15:46:30 +11:00
Jacob Walser 5acfc164df Sub: Implement crash check 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 9f5605ff57 Sub: Implement DO_NAV_LAND commands.
Auto return to surface in analagous manner to Copter's auto land.
2017-03-10 15:46:30 +11:00
Jacob Walser fb9499fc6d Sub: Clean out defines.h 2017-03-10 15:46:30 +11:00
Jacob Walser 40a27814e0 Sub: Remove unused flight modes 2017-03-10 15:46:30 +11:00
Jacob Walser 8dc09440d8 Sub: Implement guided mode 2017-03-08 15:58:28 -05:00
Jacob Walser 4a3917a349 Sub: Run rate controllers before AHRS/EKF update 2017-03-07 09:35:41 +11:00
Jacob Walser 8a24b074f7 Sub: Disable external baro check for SITL 2017-03-07 09:35:41 +11:00
Jacob Walser 15a7f7742f Sub: Implement circle mode 2017-03-07 09:35:41 +11:00
Jacob Walser 97396e65d1 Sub: Disable manual control failsafe for SITL 2017-03-07 09:35:41 +11:00
jaxxzer 1ec592a2c5 Sub: Implement NAV_CMD_LOITER_TURNS 2017-03-07 09:35:41 +11:00
Jacob Walser ca38a344f8 Sub: Remove unsupported autotune 2017-03-07 09:35:41 +11:00
Jacob Walser dacdd542b7 Sub: Remove unsupported compassmot 2017-03-07 09:35:41 +11:00
Jacob Walser 1bc1e3faeb Sub: Update Notify pre_arm_gps_flag 2017-03-02 15:12:31 -05:00
Jacob Walser 0803371956 Sub: Default mavlink message handling to GCS_Common 2017-03-01 22:32:33 -05:00
Jacob Walser e2a41c0a6c Sub: Implement reset all params via MAV_CMD_PREFLIGHT_STORAGE 2017-03-01 22:32:27 -05:00
Jacob Walser a62d728933 Sub: Move arming checks under AP_Arming_Sub 2017-03-01 10:57:27 -05:00
Jacob Walser d21cd513cd Sub: Add AP_Arming_Sub class 2017-03-01 10:57:27 -05:00
Jacob Walser 262f3213e7 Sub: Ditch relative include path 2017-02-28 16:55:00 -05:00
Jacob Walser 8afb7fc96a Sub: Remove call to set_esc_scaling
This is now performed in motors library
2017-02-28 13:24:49 -05:00
Randy Mackay 6798162a98 Sub: use only downward facing rangefinder 2017-02-27 15:18:34 +09:00
Jacob Walser 81935f6b7c Sub: Handle RC input for SITL autotest 2017-02-25 17:50:18 +11:00
Andrew Tridgell 053f0b4ce7 Sub: fixed AHRS_View update 2017-02-24 15:51:11 -05:00
Jacob Walser 83b75db6b0 Sub: Increase interval between failsafe warnings 2017-02-22 16:41:41 -05:00
Jacob Walser 8495384031 Sub: Don't send battery percent remaining estimate 2017-02-22 16:41:41 -05:00
Jacob Walser b4be9682df Sub: Add explicit cast to supress warnings 2017-02-22 11:25:18 -08:00
Jacob Walser 8c67c16664 Sub: Implement relay joystick button functions 2017-02-22 14:42:23 +00:00
Jacob Walser ec0b073fbc Sub: Check for BARO_TYPE_WATER before assigning depth sensor 2017-02-21 11:26:14 +11:00
Jacob Walser 84c3c0d234 Sub: Add support for AP_AHRS_View 2017-02-21 11:26:14 +11:00
Jacob Walser 68a7534f2c Sub: Use AHRS_VEHICLE_SUBMARINE as AHRS vehicle class 2017-02-21 11:26:14 +11:00
Jacob Walser 88b3e7e11d Sub: Use default StorageManager layout instead of copter layout 2017-02-21 11:26:14 +11: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 ee07a06fa2 Sub: support for a GCS singleton 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 65cd28cc6c Sub: Only save baro calibration parameters when user zeros 2017-02-21 11:26:14 +11:00
Jacob Walser 942d6450d2 Sub: AP_Baro library takes care of baro type 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 93e422ad53 Sub: Refactor MSG_RADIO_OUT to MSG_SERVO_OUTPUT_RAW 2017-02-21 11:26:14 +11:00
Jacob Walser 3031aab15b Sub: Remove reference to gps.crosstrack_error 2017-02-21 11:26:14 +11:00
Jacob Walser 2d29698df8 Sub: Use AP_Baro::baro_type_t 2017-02-21 11:26:14 +11:00
Jacob Walser cb0cf2035d Sub: Refactor to fence.get_safe_alt_min() and fence.get_safe_alt_max() 2017-02-21 11:26:14 +11:00
Jacob Walser 9c0ddf2808 Sub: Remove stale comments and devlist from ArduSub.cpp 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 8d60a34474 Sub: Switch to AC_PosControl_Sub 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 ea05804a94 Sub: fix frame report and -Wundef warning 2017-02-21 11:26:14 +11:00
Jacob Walser e0cd1d0679 Sub: Remove frame-specific waf targets 2017-02-21 11:26:14 +11:00
Jacob Walser 16d27c05ea Sub: add version.h (missed in rebase on ardupilot master) 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 3e97cc5b46 Sub: Log manual control failsafe occurances 2017-02-21 11:26:14 +11:00
Jacob Walser 852374ab4d Sub: Manual control failsafe 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 098a716d41 Sub: Add TSYS01 'celsius' object 2017-02-21 11:26:14 +11:00
Jacob Walser c54e464e8c Sub: Update release notes for v3.4 release 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 173ee85ac7 Sub: Send invalid PWM to servo rail before rebooting
This corrects a previous attempt at doing the same
2017-02-21 11:26:14 +11:00
Jacob Walser d237887d08 Sub: Require initial contact with GCS before entering failsafe. 2017-02-21 11:26:14 +11:00
Jacob Walser 48d5bf7cff Sub: Change default depth hold pids 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 bb3e32d391 Sub: Make checks stricter on flight mode init
Also return fail mode init for unimplemented modes
2017-02-21 11:26:14 +11:00
Jacob Walser 3ddb714e20 Sub: Change default depth control parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 21b5309e5d Sub: Configure default flight modes 2017-02-21 11:26:14 +11:00
Jacob Walser b7e419cf9c Sub: Configure default joystick buttons 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 e61bf46882 Sub: Implement mode_toggle joystick button function 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 2bb3286faa Sub: Return MAV_RESULT_UNSUPPORTED for compassmot calibration 2017-02-21 11:26:14 +11:00
Jacob Walser 7b1347da79 Sub: Initialize control mode to flightmode 1 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 4278ae8a64 Sub: Fix surface/bottom detector logic 2017-02-21 11:26:14 +11:00
Jacob Walser fdf9e5fde0 Sub: Fix unused variables in acro and stabilize 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 cfc94b65f5 Sub: add AP_Beacon to wscript 2017-02-21 11:26:14 +11:00
Jacob Walser 8d2203b437 Sub: Remove use of throttle-hover 2017-02-21 11:26:14 +11:00
Jacob Walser d83898db8c Sub: Change EEPROM format version to 1
This will cause eeprom to be wiped, and defaults loaded when flashing
firmware from earlier versions.
2017-02-21 11:26:14 +11:00
Jacob Walser 538e3f9c8f Sub: Reorganize parameters
Parameter enum indices reordered
Also removed unused input_manager
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 23e460d71d Sub: Disable Rally and Terrain by default 2017-02-21 11:26:14 +11:00
Jacob Walser bb762092e8 Sub: Disable optical flow by default 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 4571dbc57c Sub: Fix -Wundef compile warnings 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 eeadfa0d92 Sub: Disable TRANSECT parameters 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 a430f5a7ae Sub: Remove land/landed code 2017-02-21 11:26:14 +11:00
Jacob Walser b6d76912cf Sub: Remove takeoff code 2017-02-21 11:26:14 +11:00
Jacob Walser 41d892666b Sub: Remove Drift mode 2017-02-21 11:26:14 +11:00
Jacob Walser bc4084931f Sub: Remove Brake mode 2017-02-21 11:26:14 +11:00
Jacob Walser 2959ecc70f Sub: Remove Flip mode 2017-02-21 11:26:14 +11:00
Jacob Walser e2f75d2451 Sub: Remove old RC-style arm and disarm checks 2017-02-21 11:26:14 +11:00
Jacob Walser dd2d0711c0 Sub: Remove baro ground effect compensation 2017-02-21 11:26:14 +11:00
Jacob Walser 26fd201672 Sub: Let AC_PosControl handle z axis limiting at surface 2017-02-21 11:26:14 +11:00
Jacob Walser 6682e93bf3 Sub: Refactor delay()
We don't need a dedicated file only to define a delay function.
This will also provide a preventitive measure for people trying to use
delay() without an understanding of the implications
2017-02-21 11:26:14 +11:00
Jacob Walser cbddc7d814 Sub: Remove control_switch_state struct and reset_control_switch() 2017-02-21 11:26:14 +11:00
Jacob Walser 8367bb4626 Sub: Ditch control mode RC switch logic
Call set_mode() directly from joystick button handler
2017-02-21 11:26:14 +11:00
Jacob Walser eb9aa93486 Sub: Remove dead poshold function declarations 2017-02-21 11:26:14 +11:00
Jacob Walser b4250bac6f Sub: Fix parameter metadata 2017-02-21 11:26:14 +11:00
Jacob Walser e1065ff5d4 Sub: Change default arming check parameter to ARMING_CHECK_NONE 2017-02-21 11:26:14 +11:00
Jacob Walser 9ef9afd26d Sub: Constrain camera tilt goal to servo output limits 2017-02-21 11:26:14 +11:00
Jacob Walser 0faf2a1f8e Sub: Add cam tilt and lights step size parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 5cc1d3293d Sub: Add gain parameters 2017-02-21 11:26:14 +11:00
Jacob Walser 5eb50d5d21 Sub: Log leak failsafe events, and send statustext even when disarmed 2017-02-21 11:26:14 +11:00
Jacob Walser cd6ce2b208 Sub: elevate leak statustext message to MAV_SEVERITY_CRITICAL 2017-02-21 11:26:14 +11:00
Jacob Walser f9622f7205 Sub: Remove statustext messages for surface and bottom events 2017-02-21 11:26:14 +11:00
Jacob Walser 93022a8a5e Sub: Update to match recent upstream changes 2017-02-21 11:26:14 +11:00
Jacob Walser 974af85f42 Sub: Check if depth sensor is present for sensor reporting 2017-02-21 11:26:14 +11:00
Jacob Walser 456f5e2e93 Sub: Update Sub to match relevant Copter and Library developments 2017-02-21 11:26:14 +11:00
Jacob Walser 4704faf60d Sub: Revert to 29f8ce95, prior to deadzone PR 2017-02-21 11:26:14 +11:00
Jacob Walser e49f6fb8a6 Sub: initialize scale factor for dead zones correctly 2017-02-21 11:26:14 +11:00
Jacob Walser 330d31189e Sub: use get_throttle_control_dz in place of throttle->get_control_in
This handles special treatment of throttle rc_channel with type_range in
sub
2017-02-21 11:26:14 +11:00
Jacob Walser 5ea7d3443d Sub: force min/max/trim on inputs 1~7 2017-02-21 11:26:14 +11:00
Jacob Walser 0b0cda02cc Sub: add method to get throttle channel control_in, while applying
deadzone to center like angle type channels
2017-02-21 11:26:14 +11:00
Jacob Walser 7e7e53f517 Sub: Add method to uniformly scale the dead zones on all channels 2017-02-21 11:26:14 +11:00
Jacob Walser a3565c90b5 Sub: Apply deadzone by using norm_input_dz instead of norm_input 2017-02-21 11:26:14 +11:00
Rustom Jehangir 4cad8af600 Sub: Reenable rally to avoid errors. 2017-02-21 11:26:14 +11:00
Jacob Walser e8f9b044ef Sub: disable transect mode, and hide associated params 2017-02-21 11:26:14 +11:00
Jacob Walser 2cb2633764 Sub: initialize pwm input on control channels to 1500 instead of 0 2017-02-21 11:26:14 +11:00
Jacob Walser dcc96a5705 Sub: First attempts at AUTO mode 2017-02-21 11:26:14 +11:00
Jacob Walser 3da4dc7089 Sub: home altitude is always 0, referenced from water's surface 2017-02-21 11:26:14 +11:00
Jacob Walser ad60e8476f Sub: add method to translate wpnav roll/pitch output to forward/lateral 2017-02-21 11:26:14 +11:00
Jacob Walser 2c62158e20 Sub: turn counter improvements 2017-02-21 11:26:14 +11:00
Jacob Walser 0699acfcf0 Sub: Change LeakDetector parameter group name 2017-02-21 11:26:14 +11:00
Rustom Jehangir ffa491b805 Sub: Add placeholders for new button functions. 2017-02-21 11:26:14 +11:00
Jacob Walser 56207ac284 Sub: AP_WaterDetector -> AP_LeakDetector 2017-02-21 11:26:14 +11:00
Jacob Walser 88e234272f Sub: add params for internal pressure/temperature failsafe actions 2017-02-21 11:26:14 +11:00
Jacob Walser 70d58cd0bc Sub: only update surface/bottom status when armed.
This will prevent unexpected messages during bench testing and
accelerometer calibration.
2017-02-21 11:26:14 +11:00
Jacob Walser 579f58e9f2 Sub: hold absolute heading in depth hold and poshold 2017-02-21 11:26:14 +11:00
Jacob Walser 9426849b8d Sub: Change default ATC_ACCEL_Y_MAX to 110k cd/ss 2017-02-21 11:26:14 +11:00
Jacob Walser 1143f98fad Sub: Add GCS warnings for high internal pressure/temperature 2017-02-21 11:26:14 +11:00
Jacob Walser 8f6b3900a3 Sub: stop pwm output before reboot 2017-02-21 11:26:14 +11:00
Jacob Walser c62e882886 Sub: update control mode descriptions 2017-02-21 11:26:14 +11:00
Jacob Walser 0085cc8a27 Sub: rename modes loiter->velhold, sport->transect 2017-02-21 11:26:14 +11:00
Jacob Walser e844e28a77 Sub: Replace sport mode with transect mode 2017-02-21 11:26:14 +11:00
Jacob Walser 3997bbcd8c Sub: new poshold mode implementation 2017-02-21 11:26:14 +11:00
Jacob Walser 5911785455 Sub: Add leak and gcs failsafe actions 2017-02-21 11:26:14 +11:00
Jacob Walser e2a7ba5b0c Sub: replace land with surface mode 2017-02-21 11:26:14 +11:00
Jacob Walser e1bf217422 Sub: remove heading hold debug message from stabilize 2017-02-21 11:26:14 +11:00
Jacob Walser daccdec13c Sub: Hold absolute heading in stabilize mode 2017-02-21 11:26:14 +11:00
Jacob Walser f4ad42c276 Sub: Update Notify with leak status 2017-02-21 11:26:14 +11:00
Jacob Walser a217b4c684 Sub: lock out depth hold mode if no external sensor is present 2017-02-21 11:26:14 +11:00
Rustom Jehangir 4a1c6fc46c Sub: Fix waf build for water detector. 2017-02-21 11:26:14 +11:00
Jacob Walser b364d94c43 Sub: Warn for leak detection 2017-02-21 11:26:14 +11:00
Jacob Walser a811cfe7fb Sub: Add WaterDetector object and parameters 2017-02-21 11:26:14 +11:00
Jacob Walser bd2e37ae3f Sub: add WaterDetector to build 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5a99da106a Sub: Force ch 3 trim to 1100 to match hardcoded radio settings 2017-02-21 11:26:14 +11:00
Rustom Jehangir 967ead31db Sub: Hardcoded scalars for manual mode to match stabilize mode 2017-02-21 11:26:14 +11:00
Rustom Jehangir e1882d9596 Sub: Fix camera low pass filter and allow button holding. 2017-02-21 11:26:14 +11:00
Rustom Jehangir f6b0d47e8e Sub: Change info print for gain changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir f19442389e Sub: Add identify to speak gain and input hold messages. 2017-02-21 11:26:14 +11:00
Rustom Jehangir a6a1004ff9 Sub: Remove unnecessary failsafe from motor test. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 69cd30fd8e Sub: Revert "Sub: Remove gain control from joystick file."
This reverts commit 93cc3abab2.
2017-02-21 11:26:14 +11:00
Rustom Jehangir e9c2ad9192 Sub: Changes to match upstream Copter changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1633ffb4e4 Sub: Reduce flight mode parameter options. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 9534f41a53 Sub: Fix control_manual compile warnings. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 2b822d0c55 Sub: Change altHold to depthHold for parameter values 2017-02-21 11:26:14 +11:00
Rustom Jehangir 4a25ed2d95 Sub: Change available flight modes in parameter values. 2017-02-21 11:26:14 +11:00
jaxxzer 90580621de Sub: disable rate controller in manual mode 2017-02-21 11:26:14 +11:00
jaxxzer 6696119ec7 Sub: allow arming from manual mode 2017-02-21 11:26:14 +11:00
jaxxzer 38be177e47 Sub: Add manual mode functions 2017-02-21 11:26:14 +11:00
jaxxzer e016e906f5 Sub: Create new Vectored 90DEG (6DOF) class 2017-02-21 11:26:14 +11:00
Rustom Jehangir 0a6fc0cc43 Sub: Remove gain control from joystick file. 2017-02-21 11:26:14 +11:00
Rustom Jehangir f19c20b29e Sub: Add low pass filter to camera tilt input 2017-02-21 11:26:14 +11:00
Rustom Jehangir 5adcb2cbef Sub: Changes based on diff with Copter. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 814605c461 Sub: Make changes to match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir accbbce304 Sub: Turn counter (#23)
* Sub: Add turn counter to avoid tether tangling.

* Sub: Add turn counter.

* Sub: Bug fix in turn counter.
2017-02-21 11:26:14 +11:00
jaxxzer d3f5f59b8c Sub: fix surface bottom detection
output_min() to make sure throttle limits are false when disarmed
2017-02-21 11:26:14 +11:00
jaxxzer fa5af82d4c Sub: Update default params 2017-02-21 11:26:14 +11:00
Rustom Jehangir 2ca103bbda Sub: Set crash detection to off by default 2017-02-21 11:26:14 +11:00
Rustom Jehangir 7265351a0d Sub: Fix joystick scaling to 1100-1900 range 2017-02-21 11:26:14 +11:00
Rustom Jehangir 9198b8cb29 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 7e33957af2 Sub: Fix typo in defines.h 2017-02-21 11:26:14 +11:00
Rustom Jehangir 26d0a922c1 Sub: Changes to match recent Copter updates. 2017-02-21 11:26:14 +11:00
Rustom Jehangir e857f20784 Sub: Changes to match Copter 2017-02-21 11:26:14 +11:00
Rustom Jehangir cf8e5f1337 Sub: Improve joystick button debounce 2017-02-21 11:26:14 +11:00
Rustom Jehangir b97b6b8f8a Sub: Improve joystick button debounce and input hold 2017-02-21 11:26:14 +11:00
Rustom Jehangir 203b7fbaba Sub: Implement joystick button arm toggling 2017-02-21 11:26:14 +11:00
Rustom Jehangir ae0e5dcb4b Sub: Implement video switch feature on joystick button 2017-02-21 11:26:14 +11:00
Rustom Jehangir 1447ba4c20 Sub: Implement input hold joystick button function 2017-02-21 11:26:14 +11:00
Rustom Jehangir d628b0d022 Sub: Add 'SimpleROV' frame configuration for 3/4-dof ROVs 2017-02-21 11:26:14 +11:00
Jacob Walser c711fedc4c Sub: Add camera source toggle and input hold button options 2017-02-21 11:26:14 +11:00
Rustom Jehangir f26602ab6d Sub: Update param descriptions for better processing to QGC 2017-02-21 11:26:14 +11:00
Rustom Jehangir 80cb18335f Sub: Update default configuration options 2017-02-21 11:26:14 +11:00
Rustom Jehangir 4eb78aefdc Sub: Add missing terrain.cpp file 2017-02-21 11:26:14 +11:00
Rustom Jehangir 7ad2496f7b Sub: Update SURFACE_DEPTH param description 2017-02-21 11:26:14 +11:00
Rustom Jehangir 617b439d0e Sub: Match Copter changes 2017-02-21 11:26:14 +11:00
Rustom Jehangir 37118920ed Sub: Add upstream Copter changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 95a9108a72 Sub: Clean parameter meta data for QGC 2017-02-21 11:26:14 +11:00
Rustom Jehangir ca1ac03ecf Sub: Change to MAV_TYPE_SUBMARINE for GCS plugin 2017-02-21 11:26:14 +11:00
Rustom Jehangir c082bd3c33 Sub: Set mode to stabilize be default 2017-02-21 11:26:14 +11:00
Rustom Jehangir bf00aacc42 Sub: Add default deadband for lateral/forward 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3b679808f3 Sub: Match Copter changes. 2017-02-21 11:26:14 +11:00
Rustom Jehangir d0130136f0 Sub: Add pitch trim to joystick.cpp 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3670fc3547 Sub: Change default pilot gain to 50% and add 25% option. 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3c6b6ba8e9 Sub: Fix handling of SET_HOME_POSITION 2017-02-21 11:26:14 +11:00
Rustom Jehangir c1f05b9e25 Sub: Match copter mode change stuff 2017-02-21 11:26:14 +11:00
Rustom Jehangir 99ad33411b Sub: Add pilot gain control 2017-02-21 11:26:14 +11:00
Rustom Jehangir cc00feac29 Sub: Repair motor outputs for ROVs for +/-1.0 range 2017-02-21 11:26:14 +11:00
Rustom Jehangir 837f429bf0 Sub: Refactor 'strafe' to 'lateral' 2017-02-21 11:26:14 +11:00
Rustom Jehangir 3a942434e7 Sub: Change to cmath header. 2017-02-21 11:26:14 +11:00
Rustom Jehangir eb6734083d Sub: Remove readme.txt file. 2017-02-21 11:26:14 +11:00