Commit Graph

27146 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 e6e0a2f0a5 AC_PosControl_Sub: Add new relax_alt_hold_controllers
When changing from manual to alt hold controller it's necessary to hold the I term
since this will help to fix the altitude with vehicles that are not neutral buoyancy

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
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
Jacob Walser 99cd11494e AP_Motors: Add limit_demand_slew_rate 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 5bfea69c48 AC_AttitudeControl: fixup Allow zero gains for Sub 2018-04-29 16:58:49 -04:00
Patrick José Pereira 0f5724a87e AP_GPS: Do not restart driver if type is defined as MAV
Fix bluerobotics/ardusub#104

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>

Conflicts:
	libraries/AP_GPS/AP_GPS.cpp
2018-04-23 15:38:44 -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 ab76a7683c AP_Motors: add set_motor api for motor testing 2018-04-20 16:34:30 -04:00
Jacob Walser c6e3b56bd9 mavlink: submodule update 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 038b8d6791 GCS_MAVLINK: Add SYSTEM_TIME handle
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07: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
Patrick José Pereira 72234031c0 P_HAL_VRBRAIN: Add system_time_was_set to set system_time once
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Patrick José Pereira 1ea08c6396 AP_HAL_PX4: Add system_time_was_set to set system_time once
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Patrick José Pereira 3a74ad9105 AP_HAL_Linux: Add system_time_was_set to set system_time once
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Patrick José Pereira a5c7303cd3 AP_HAL: Add system_time_was_set
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Patrick José Pereira 17a0f6c3be GCS_MAVLink: Use get_system_clock_us in mavlink_msg_system_time_send
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Patrick José Pereira 3102846b8b AP_HAL: Add get_system_clock_us in utils
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-04-19 09:53:47 -07:00
Jacob Walser f6c0639120 AC_AttitudeControl: Allow zero gains for Sub
Close bluerobotics/ardusub#70
2018-04-11 19:47:19 -04:00
Jacob Walser d49b7337cb AP_Arming: Clarify/bring commonality to RC Channels check description 2018-04-11 18:16:15 -04:00
Jacob Walser a48bb23a5c AP_Arming: correct parameter description 2018-04-11 18:08:34 -04:00
Peter Barker 355c1c3a23 Tools: param_parse.py: allow whitespace between vehicles
Also add sanity check that the vehicles you're limitting to we know
about
2018-04-11 17:20:53 -04:00
Peter Barker 205b32b57c Tools: param_parse.py: replace comments with debug statements 2018-04-11 17:20:53 -04:00
Peter Barker 629465bed5 Tools: param_parse.py: make comment consistent 2018-04-11 17:20:53 -04:00
Peter Barker 629622b6c7 Tools: param_parse.py: add a map for vehicle name to a true-name to be used in code
Where true-name is something like "Rover" and the normal name remains
the directory name (e.g. "APMrover2")
2018-04-11 17:20:53 -04:00
Peter Barker f65c2c7d07 Tools: param_parse.py: use single regex for params everywhere 2018-04-11 17:20:53 -04:00
Peter Barker b9e68034eb Tools: param_parse.py: correct example comment 2018-04-11 17:20:53 -04:00
Peter Barker b04c22dd93 AP_Arming: remove airspeed arming check bits from non-plane vehicles 2018-04-11 17:20:50 -04:00
Peter Barker 73dfc557ec Tools: do not build combined parameters as part of build_autotest 2018-04-11 17:14:23 -04:00
Peter Barker ceb611a056 Tools: autotest builds each vehicle parameters individually 2018-04-11 17:14:23 -04:00
Peter Barker bff2b3986d Tools: param_parse.py: understand tagging of parameters for specific vehicles 2018-04-11 17:14:22 -04:00