Commit Graph

49601 Commits

Author SHA1 Message Date
Josh Henderson f534a315ea AP_Proximity: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 51023fc846 AP_NMEA_Output: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 3006d50f97 AP_NavEKF3: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson d5f5a3024a AP_NavEKF2: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson f76f86c207 AP_InertialNav: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 06251335da AP_GPS: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 38ead58df2 AP_AHRS: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 996b3b8b1e AC_Sprayer: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson c0b18e4d52 AC_Avoid: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson a3e475822b AC_AttitudeControl: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson d6d9577f27 Sub: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 1da21c3b21 Quadplane: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Josh Henderson 46ec70f9fc Copter: use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
Hwurzburg 6dfbd9ce31 AP_HAL_ChibiOS: add batt mon defaults to Kakutef4 Mini 2021-09-14 10:14:20 +10:00
Willian Galvani 68cbb47d68 HAL_Linux: RCOutput_PCA9685: implement force_safety_on/off 2021-09-14 10:11:17 +10:00
Willian Galvani 38e8020e4b HAL_Linux: try to stop PWMs before shutting down due to SIGTERM 2021-09-14 10:11:17 +10:00
Rhys Mainwaring 6cb4e6b31d SITL: update simpleRover C++ JSON interface example
- Provide a cmake file for cross platform builds
- Modify the example to respond to throttle commands on RC channel 3 (default for Rover)
- Add more detail to readme

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
2021-09-14 09:54:39 +10:00
Iampete1 ec5d5b4471 Copter: check for takeoff before continuing after land 2021-09-14 08:24:02 +09:00
Iampete1 d9e30452ed AP_Mission: only continue after land if next waypoint is a takeoff 2021-09-14 08:24:02 +09:00
Iampete1 09b26e4d67 Tools: rebuild IO_Firmware 2021-09-14 09:23:02 +10:00
Iampete1 3dca9b4534 AR_Motors: stop setting safety limit 2021-09-14 09:23:02 +10:00
Iampete1 2abe120969 SRV_Channel: remove set_safety_limit 2021-09-14 09:23:02 +10:00
Iampete1 cc03b2975c AP_IOMCU: iofirmware: remove saftey PWM 2021-09-14 09:23:02 +10:00
Iampete1 c1a2379504 AP_IOMCU: remove safe PWM 2021-09-14 09:23:02 +10:00
Iampete1 53ee7d861d AP_HAL_ChibiOS: remove safe PWM 2021-09-14 09:23:02 +10:00
Iampete1 ed80d91d55 AP_HAL: remove set_safety_pwm 2021-09-14 09:23:02 +10:00
Willian Galvani fe72640955 AP_HAL: remove BATT_ settings, they belong in AP_BattMonitor_Analog.h 2021-09-14 09:21:42 +10:00
Willian Galvani 08b33954db AP_BattMonitor_Analog: add default PM definitions for the Navigator Board 2021-09-14 09:21:42 +10:00
Willian Galvani 2e5b689196 AP_BattMonitor_Analog: allow per-board setting of CURR_AMP_OFFSET 2021-09-14 09:21:42 +10:00
Andrew Tridgell cb307891e0 Plane: fixed bad yaw rate demands in tailsitter fixed wing modes
this prevents the pilot putting in crazy yaw rate demands due to the
use of rudder stick in fixed wing modes for tailsitters while still
allowing for FBWA flat turns if the user wants them.

It uses the existing RUDD_DT_GAIN parameter for a gain scaling of yaw
rate for copter tailsitters
2021-09-14 07:55:40 +10:00
arikrupnik 64ed31abc9 Add Santa Clara County Model Aircraft Skypark--a real field and a photo field in RF 2021-09-14 07:54:24 +10:00
Andrew Tridgell 88d77d0acd HAL_ChibiOS: change f303-PWM timers
fixes PWM on channels 3 and 4
2021-09-13 21:29:13 +10:00
Andrew Tridgell adbaccaa08 HAL_ChibiOS: fixed RTSCTS flow control issue
this fixes an issue reported on MatekH743, but also applies to other
boards. When not using DMA if there have been bytes written before the
auto flow control detection was enabled then these must be cleared
from _total_written so the flow control detection can work correctly
2021-09-13 21:28:08 +10:00
Iampete1 bc216b103c AP_Mission: remove support for MAV_CMD_DO_SET_MODE 2021-09-13 16:18:24 +10:00
Iampete1 01cbb897e3 AP_Mission: add missing strings 2021-09-13 16:18:24 +10:00
Iampete1 1a2ea893b6 AP_MotorsMatrix: correct octo I testing order 2021-09-13 13:39:03 +09:00
Iampete1 b2a871acb3 Tools: autotest: defualts: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Iampete1 8c37d08379 SITL: Examples: SilentWings: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Iampete1 b18da48f39 Plane: remove AUTO_FBW_STEER 2021-09-12 22:12:32 -05:00
Iampete1 66e1baa94c AP_IRLock_I2C: add comment on calibration equation 2021-09-13 10:56:00 +09:00
Andrew Tridgell d62346f8d0 SITL: use a thread to create sockets for RealFlight
this reduces the cost of the socket creation on each frame, resulting
in higher frame rates. Typical improvement is around 30%
2021-09-13 10:38:48 +10:00
Iampete1 febf843e6d AC_Loiter: protect against negative angle max 2021-09-13 07:55:34 +09:00
Iampete1 ffac134014 AC_PosControl: protect against negative angle max 2021-09-13 07:55:34 +09:00
Randy Mackay fe9d655cc2 Tools: improved tune for sitl copter y6 2021-09-13 07:51:56 +09:00
Randy Mackay e0dd294806 Copter: guided supports using wpnav to reach position targets 2021-09-13 07:49:16 +09:00
Randy Mackay 396ab6f50e Copter: remove unused set_desired_velocity_with_accel_and_fence_limits 2021-09-13 07:49:16 +09:00
Randy Mackay c7a38b2dff Copter: comment fixup for GUIDED_OPTIONS accessors 2021-09-13 07:49:16 +09:00
Randy Mackay 2597a5c0c2 Copter: GUID_OPTIONS descriptions includes spaces 2021-09-13 07:49:16 +09:00
mateksys 659286ee4f ChibiOS: add icm42605 as substitution for icm20602 2021-09-11 17:37:12 +10:00
Peter Barker 2da88263e6 Copter: tidy invocation of precland.update
Setting the altitude to home-relative is misleading/wasteful in this method as
the alt is unused in precland unless it is marked as "OK" with the
second parameter
2021-09-11 14:17:24 +10:00