Andrew Tridgell
258b8b71ea
AP_IOMCU: use more efficient read API for rcin
2020-01-31 11:09:07 +11:00
Andrew Tridgell
8e67c3459a
AP_RCProtocol: added multi-channel read() API
...
and use pulse_input_enable() to disable pulse input when not needed
2020-01-31 11:09:07 +11:00
Andrew Tridgell
3105c6a050
AP_HAL: added pulse_input_enable() API
...
this allows disabling pulse input at runtime to lower CPU load on
IOMCU when decoding via a UART
2020-01-31 11:09:07 +11:00
Andrew Tridgell
ae9e8c3dbc
HAL_SITL: fixed bitmask error on storage erase
2020-01-31 11:06:29 +11:00
Andrew Tridgell
cbbf61af93
HAL_Linux: fixed bitmask error on storage erase
2020-01-31 11:06:29 +11:00
Andrew Tridgell
27c114828b
HAL_ChibiOS: fixed bitmask error on storage erase
2020-01-31 11:06:29 +11:00
Peter Barker
bff97eb150
AP_HAL_ChibiOS: assert that storage size is an even number of storage-lines
2020-01-30 19:53:02 +11:00
Peter Barker
c4ed6d0e96
AP_Motors: ensure _pwm_min and _pwm_max are not equal
...
AP_Motors: adjust check_mot_pwm_params for clarity
2020-01-30 14:49:16 +09:00
Peter Barker
346471258b
autotest: add test for mot_pwm validation
2020-01-30 14:49:16 +09:00
Randy Mackay
74e3ca75a7
Copter: check_mot_pwm_params arming check returns true on success
2020-01-30 10:13:21 +09:00
Randy Mackay
bff978570f
AP_MotorsMulticopter: fixup check_mot_pwm_params
...
fix _pwm_max is positive check
returns true if params are valid
constify method
2020-01-30 10:01:54 +09:00
Randy Mackay
f00bf77af7
AP_MotorsMulticopter: minor formatting fix
2020-01-30 08:33:00 +09:00
ashvath
aecc10fdc3
Copter: Pre-arm check for mot_pwm
2020-01-30 08:29:56 +09:00
ashvath
d97fdcac31
Copter: function for mot_pwm checks
2020-01-30 08:29:56 +09:00
Andrew Tridgell
8854f382bd
waf: fixed cygwin build issue
2020-01-30 07:43:53 +11:00
Rishabh
5e08d503ea
Autotest: support new motor orders
2020-01-29 16:57:23 +09:00
Rishabh
ded7c422f7
HAL_SITL: support new motor orders
2020-01-29 16:57:23 +09:00
Rishabh
dc662a56b2
SITL: Added DJI Hexa and Octa for SITL
2020-01-29 16:57:23 +09:00
Rishabh
38533b2f09
AP_Motors: Added DJI_X motor setup for hexacopter and octacopter
2020-01-29 16:57:23 +09:00
Randy Mackay
84e6c59fdd
AC_AttitudeControlHeli: fix update_althold_lean_angle_max use of throttle_in
2020-01-29 10:59:28 +09:00
Randy Mackay
3c8aa955d5
AC_AttitudeControlSub: fix update_althold_lean_angle_max use of throttle_in
2020-01-29 10:59:27 +09:00
Leonardo Felipe L. S. dos Santos
07f45e1ef9
AC_AttitudeControlMulti: fix update_althold_lean_angle_max use of
...
throttle_in
2020-01-29 10:58:56 +09:00
Peter Barker
623c84ae74
AP_HAL_SITL: implement trap method
2020-01-29 10:27:01 +11:00
Peter Barker
1344827c07
AP_HAL: add empty overridable trap method
2020-01-29 10:27:01 +11:00
Peter Barker
441f43103a
autotest: add send_debug_trap to send a mavlink trap to the autopilot
2020-01-29 10:27:01 +11:00
Peter Barker
1650979a2b
GCS_MAVLink: add support for MAV_CMD_DEBUG_TRAP
2020-01-29 10:27:01 +11:00
Andrew Tridgell
56044b8b04
Plane: fix for updated mavlink extensions
2020-01-29 08:17:13 +11:00
Andrew Tridgell
0e7ddebd15
GCS_MAVLink: fix for updated mavlink extensions
2020-01-29 08:16:59 +11:00
Andrew Tridgell
0a9a1c5314
AP_EFI: fix for updated mavlink extensions
2020-01-29 08:16:59 +11:00
Andrew Tridgell
1baf8d736b
mavlink: update to mavlink master
2020-01-29 08:16:42 +11:00
Peter Barker
1d8c0c4960
mavlink: reference new statustext extensions
2020-01-28 19:56:38 +11:00
Peter Barker
e248bdfb16
GCS_MAVLink: split statustexts into 50-byte chunks using mav2 extensions
2020-01-28 19:56:38 +11:00
Peter Barker
a1f0452940
AP_Hott_Telem: avoid 1-byte overwrite in prearm check string
...
In file included from /usr/include/string.h:494:0,
from ../../libraries/AP_HAL/AP_HAL_Namespace.h:3,
from ../../libraries/AP_HAL/AP_HAL.h:5,
from ../../libraries/AP_Hott_Telem/AP_Hott_Telem.h:17,
from ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:23:
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void AP_Hott_Telem::send_Vario()’ at ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:366:20:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:71: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’: specified bound 8 exceeds the size 7 of the destination [-Wstringop-overflow=]
return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
^
In function ‘char* strncpy(char*, const char*, size_t)’,
inlined from ‘void AP_Hott_Telem::send_Vario()’ at ../../libraries/AP_Hott_Telem/AP_Hott_Telem.cpp:368:20:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:71: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’: specified bound 8 exceeds the size 7 of the destination [-Wstringop-overflow=]
return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
2020-01-28 17:06:29 +11:00
Andrew Tridgell
b47181a86f
AP_OpticalFlow: probe all I2C buses for px4flow on Hex Cubes
2020-01-28 14:54:30 +09:00
Peter Barker
53ce463a90
autotest: add test for statustext coming through via frsky passthrough
2020-01-28 15:16:58 +11:00
Peter Barker
bde97596eb
Tools: adjust Replay for new AP_Vehicle requirements
2020-01-28 11:34:51 +11:00
Peter Barker
2401afd496
AP_Periph: fix up firmware version includes
2020-01-28 11:34:51 +11:00
Peter Barker
e7e1cdcc45
ArduSub: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
a5a75e61da
ArduPlane: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
9e8af48cce
ArduCopter: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
692d7abf1c
APMrover2: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
de2689bddd
AntennaTracker: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
07c7a98269
AP_Vehicle: move some common init_ardupilot code up to AP_Vehicle
2020-01-28 11:34:51 +11:00
Peter Barker
1211ea88b5
AP_Vehicle: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
87b84ec196
Sub: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
a45abc7762
Plane: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
debedd9d34
Copter: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
dfc274e547
Tracker: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
0728514f74
Rover: move setup method up to AP_Vehicle base class
2020-01-28 11:34:51 +11:00
Peter Barker
de423a945f
Plane: move rssi initialisation into init_ardupilot
...
This makes it the same as Rover and Copter.
2020-01-28 11:34:51 +11:00