Commit Graph

293 Commits

Author SHA1 Message Date
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