Commit Graph

495 Commits

Author SHA1 Message Date
Willian Galvani 54bfd1f751 Sub: Remove rangefinder support of control loops
The rangefinder handling doesn't handle sonar glitches like
locking on to reflections very well. We will remove the
rangefinder as an input to the controllers until we can do a
more robust implementation.
2019-06-05 11:56:51 -04:00
Jacob Walser 3193ecc9af sub: update release notes for 3.5.4 2019-04-05 11:57:32 -04:00
Jacob Walser 05fed49b8e sub: version to 3.5.4 2019-04-01 17:57:32 -04:00
Jacob Walser 69caf2d918 Sub: bugfix fail condition in motor test initialization 2019-04-01 17:51:01 -04:00
Patrick José Pereira 28562871fd Sub: Use new reset_i in relax_alt_hold_controllers
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-01 17:51:01 -04:00
Patrick José Pereira 0e3d852150 Sub: Fix overshoot from joystick input
This approach waits for a zero derivative point and to set the new actual position
Such method is necessary since the inertia of the ROV will cause overshoot

Fix #9797

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2019-04-01 17:50:32 -04:00
Jacob Walser ad81760bfd Sub: Version to 3.5.3 2018-05-08 13:38:51 -04:00
Jacob Walser 6502649918 Sub: version to 3.5.3-beta 2018-04-29 17:07:35 -04:00
Jacob Walser 18d93a72ef Sub: Limit input demand rate of change on motor mixer in manual mode 2018-04-29 16:58:49 -04:00
Patrick José Pereira f04a861c58 Sub: Add RC_SLEW_RATE parameter
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Co-authored-by: Jacob Walser <jwalser90@gmail.com>
2018-04-29 16:58:49 -04:00
Jacob Walser ee36509cb8 Sub: bugfixup motor test 2018-04-29 16:58:49 -04:00
Jacob Walser 4d6e49fd8c Sub: fix double promotion warnings 2018-04-23 15:00:45 -04:00
Jacob Walser f50bd3863a Sub: fix unused variable 2018-04-23 14:47:39 -04:00
Jacob Walser abf1a09909 Sub: add armed check to preflight baro calibration 2018-04-22 11:51:45 -04:00
Jacob Walser 00bc528729 Sub: better check and text message for baro calibration failure 2018-04-22 11:45:29 -04:00
Jacob Walser dce3b615b5 Sub: reduce default ACRO_YAW_P by 25% to 3.375 2018-04-22 01:03:38 -04:00
Patrick José Pereira 2de6632255 Sub: Add camera pan functionality
Fix bluerobotics/ardusub#134

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-22 00:57:44 -04:00
Patrick José Pereira 9949c2ca7a Sub: Correct joystick transform_manual_control_to_rc_override
Correct override channel number

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-22 00:57:33 -04:00
Jacob Walser 6c12eacd6a Sub: disarm motors if failsafe action fails 2018-04-21 00:35:03 -04:00
Jacob Walser 6c9e5e9830 Sub: remove arbitrary scalars from manual mode inputs
fix bluerobotics/ardusub#150
2018-04-20 16:45:03 -04:00
Jacob Walser 7e9d1908ea Sub: add motor test implementation 2018-04-20 16:34:30 -04:00
Jacob Walser 4e3c75b4c0 Sub: Do not report altitude in GLOBAL_POSITION_INT if there is no depth
sensor connected

Fix bluerobotics/ardusub#145
2018-04-19 14:53:40 -04:00
Patrick José Pereira e2bef65ef9 Sub: Send a clear message if depth sensor is not connected
Fix bluerobotics/ardusub#151

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 13:45:32 -04:00
Patrick José Pereira db6bb3de4f Sub: Use HAL system_time_was_set
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Jacob Walser 7f0e5f66fb Sub: apply yaw input scaling in manual mode
Close bluerobotics/ardusub#68
2018-04-11 15:08:05 -04:00
dheideman a75a5c5a0b Sub: Add maneuver/attitude stick mode indicator msg 2018-02-14 13:52:25 -05:00
dheideman dbffed0024 Sub: Add servo toggle button function 2018-01-27 19:16:21 -05:00
dheideman e629c0e73b Sub: Add momentary servo button function 2018-01-27 19:15:47 -05:00
Daniel Heideman 6a4aaea927 Sub: Add momentary relay button function 2018-01-27 19:15:09 -05:00
Jacob Walser 07f2d5ac79 Sub: Version to 3.5.2 2017-10-31 12:39:11 -04:00
dheideman f34ab3301c Sub: Set neutral controls when switching to manual/acro mode 2017-10-31 11:42:40 -04:00
Jacob Walser f5648a8259 Sub: clear roll/pitch trim when setting neutral controls 2017-10-31 11:42:40 -04:00
dheideman 0351874c01 Sub: Adjust roll/pitch joystick button logic 2017-10-31 11:42:40 -04:00
dheideman 5bfd486b4e Sub: Add joystick button functions for relays 3 & 4 2017-10-31 11:42:40 -04:00
Jacob Walser 9448e110b9 Sub: cleanup unused variable 2017-10-31 11:42:39 -04:00
Jacob Walser 29d3369c51 Sub: JS_LIGHTS_STEP -> JS_LIGHTS_STEPS 2017-10-31 11:42:39 -04:00
Jacob Walser 0f55a930db Sub: always neutralize inputs during pilot input failsafe 2017-10-31 11:42:39 -04:00
Jacob Walser 6ab5524fb4 Sub: use configured rc input range for lights input instead of hard coded values 2017-10-31 11:42:39 -04:00
dheideman c671011b6f Sub: Ignore input hold button if disarmed 2017-10-31 11:42:39 -04:00
dheideman 6105f8984f Sub: Disable input hold on disarm 2017-10-31 11:42:39 -04:00
Jacob Walser 5f8d9eb0b9 Sub: rework camera tilt input and slew limiting 2017-10-31 11:42:39 -04:00
Jacob Walser 98e0ac1aee Sub: remove manual control button debounce timer
This was a really long time for a debounce, and
this code belongs to the program actually polling for input.
2017-10-31 11:42:39 -04:00
Jacob Walser b514fd29eb Sub: force GND_EXT_BUS at boot for Pixhawk 1 and 2 2017-10-31 11:42:39 -04:00
dheideman d4c34323f3 Sub: Change input hold announcements for enable/disable 2017-10-31 11:42:39 -04:00
Jacob Walser d25dd1d944 Sub: Increase threshold for input hold engaged flag
Also clear input hold offsets when they are below this threshold
2017-10-31 11:42:39 -04:00
Jacob Walser 14c593babf Sub: Don't emit tether turn status via STATUSTEXT
We have NAMED_VALUE_FLOAT do that now
2017-10-31 11:42:39 -04:00
Jacob Walser 5426cf59eb Sub: bugfix/typo COMPASS_OFFS_MAX default override 2017-10-31 11:42:39 -04:00
Jacob Walser 4afb0a8903 Sub: Fix AP_Notify leak flag logic 2017-10-31 11:42:39 -04:00
Jacob Walser 28fdbf6532 Sub: Version to 3.5.1 2017-09-12 12:13:48 -04:00
Jacob Walser f4ae6459d3 Sub: Version to 3.5.1beta1 2017-08-29 09:55:13 -04:00