Commit Graph

26242 Commits

Author SHA1 Message Date
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
36f3cae535 SITL: Add support for Sub 2017-02-21 11:26:14 +11:00
Peter Barker
aec7091faa autotest: Add support for Sub in sim_vehicle.py 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
96303c3092 AC_WPNav: Add accessor for origin, and make get_bearing_cd() public 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
d3442ae16b AP_RangeFinder: Bugfix for mavlink rangefinders to include out of range low/high 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
f3fa8403f8 AP_Notify: Add tone and light pattern for leak detection 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
Jacob Walser
9c8fca02d9 AP_LeakDetector: New library and analog/digital sensor drivers 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