Commit Graph

27333 Commits

Author SHA1 Message Date
Andrew Tridgell
5dcfa95444 GCS_Mavlink: allow setting of AHRS_TRIM_Z 2021-09-17 14:07:14 +10:00
Andrew Tridgell
3715ce6d1a AP_AHRS: allow setting of AHRS_TRIM_Z 2021-09-17 14:07:14 +10:00
Andrew Tridgell
fd86cb0591 AP_Vehicle: moved accel cal update handling from vehicles 2021-09-17 14:07:14 +10:00
Andrew Tridgell
fefade783b AP_InertialSensor: allow accelcal with a rotation 2021-09-17 14:07:14 +10:00
Andrew Tridgell
3f043dd933 AP_AHRS: added get_view_rotation() 2021-09-17 14:07:14 +10:00
Andrew Tridgell
63fcb804b3 AP_UAVCAN: added CAN_Dn_UC_OPTION parameter
this allows for 2 ways of controlling conflicts in the UAVCAN DNA
database. The first is to set CAN_Dn_UC_OPTION to 1, which resets the
DNA database, thus clearing any node conflicts.

The second is to set CAN_Dn_UC_OPTION to 2, which ignores node
conflicts in the DNA database

These options are useful for vehicles with UAVCAN smart batteries
where the node ID is fixed but the hwid changes and you want to do
battery swapping (possibly without rebooting)
2021-09-17 12:32:59 +10:00
Andrew Tridgell
17f8b0b11a AP_Param: disable debug code by default
found on EU dev call
2021-09-16 21:05:48 +10:00
Andrew Tridgell
119df09c44 SITL: cope with a socket error in FlightAxis
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
2021-09-16 14:31:10 +10:00
yaapu
94aba33d10 AP_OSD: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
yaapu
9f0d9a5652 AP_MSP: added multi screen and stats support to DJI FPV OSD 2021-09-16 09:54:25 +10:00
Iampete1
934a4e26c9 AR_Motors: re-work omni output to scale evenly at saturation 2021-09-16 08:48:47 +09:00
Iampete1
7ec7b478f0 AC_WPNav: add getter for wp_radius_cm 2021-09-15 20:36:56 +10:00
Iampete1
0a41cdaa24 SRV_Channel: add ignore reversed flag to set_trim_to_min_for 2021-09-15 18:59:07 +09:00
Iampete1
950dcf9242 AP_MotorsUGV: ignore servo reverse when setting trim for brushed with relay 2021-09-15 18:59:07 +09:00
Iampete1
85e57a3bd8 AP_Avoidance: correct ADSB vertical velocity conversion 2021-09-15 17:55:50 +10:00
Peter Barker
16c11fc4fa AP_Airspeed: allow zero offset if we are skipping calibration 2021-09-15 17:52:34 +10:00
Iampete1
bf695e4eeb AP_HAL_ChibiOS: atof to strtof 2021-09-15 17:36:12 +10:00
Iampete1
34f5b800b6 AP_Generator: atof to strtof 2021-09-15 17:36:12 +10:00
Iampete1
17e8ea0136 AP_RangeFinder_Params: update PIN discription 2021-09-15 17:31:54 +10:00
yaapu
53ea385291 AP_MSP: removed unnecessary pure virtual methods 2021-09-15 17:28:56 +10:00
yaapu
e1b12fbee3 AP_MSP: use const structures and brace initialization where possible
saves ane extra 130bytes
2021-09-15 17:28:56 +10:00
yaapu
3bbf2c1f70 AP_MSP: removed unstructured writes to msp dst buffer 2021-09-15 17:28:56 +10:00
yaapu
a2b83d675f AP_Scripting: added a frsky battery example 2021-09-15 17:21:41 +10:00
Peter Barker
305a8ad48a AP_Scripting: add and use HAL_QUADPLANE_ENABLED 2021-09-14 11:23:18 +10:00
Josh Henderson
7a3425faca AP_ADSB: sagetech use vector.xy().length() instead of norm(x,y) 2021-09-14 10:43:46 +10:00
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
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
d9e30452ed AP_Mission: only continue after land if next waypoint is a takeoff 2021-09-14 08:24:02 +09: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
88d77d0acd HAL_ChibiOS: change f303-PWM timers
fixes PWM on channels 3 and 4
2021-09-13 21:29:13 +10:00