Andrew Tridgell
05f095f338
HAL_ChibiOS: fixed build
5 years ago
Andrew Tridgell
3fe3c8ecdc
HAL_ChibiOS: implement pulse_input_enable()
...
and cleanup use of mutexes in RC input
5 years ago
Andrew Tridgell
9c0cf0871b
HAL_ChibiOS: added disable() API for pulse input
5 years ago
Andrew Tridgell
258b8b71ea
AP_IOMCU: use more efficient read API for rcin
5 years ago
Andrew Tridgell
8e67c3459a
AP_RCProtocol: added multi-channel read() API
...
and use pulse_input_enable() to disable pulse input when not needed
5 years ago
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
5 years ago
Andrew Tridgell
ae9e8c3dbc
HAL_SITL: fixed bitmask error on storage erase
5 years ago
Andrew Tridgell
cbbf61af93
HAL_Linux: fixed bitmask error on storage erase
5 years ago
Andrew Tridgell
27c114828b
HAL_ChibiOS: fixed bitmask error on storage erase
5 years ago
Peter Barker
bff97eb150
AP_HAL_ChibiOS: assert that storage size is an even number of storage-lines
5 years ago
Peter Barker
c4ed6d0e96
AP_Motors: ensure _pwm_min and _pwm_max are not equal
...
AP_Motors: adjust check_mot_pwm_params for clarity
5 years ago
Randy Mackay
bff978570f
AP_MotorsMulticopter: fixup check_mot_pwm_params
...
fix _pwm_max is positive check
returns true if params are valid
constify method
5 years ago
Randy Mackay
f00bf77af7
AP_MotorsMulticopter: minor formatting fix
5 years ago
ashvath
d97fdcac31
Copter: function for mot_pwm checks
5 years ago
Rishabh
ded7c422f7
HAL_SITL: support new motor orders
5 years ago
Rishabh
dc662a56b2
SITL: Added DJI Hexa and Octa for SITL
5 years ago
Rishabh
38533b2f09
AP_Motors: Added DJI_X motor setup for hexacopter and octacopter
5 years ago
Randy Mackay
84e6c59fdd
AC_AttitudeControlHeli: fix update_althold_lean_angle_max use of throttle_in
5 years ago
Randy Mackay
3c8aa955d5
AC_AttitudeControlSub: fix update_althold_lean_angle_max use of throttle_in
5 years ago
Leonardo Felipe L. S. dos Santos
07f45e1ef9
AC_AttitudeControlMulti: fix update_althold_lean_angle_max use of
...
throttle_in
5 years ago
Peter Barker
623c84ae74
AP_HAL_SITL: implement trap method
5 years ago
Peter Barker
1344827c07
AP_HAL: add empty overridable trap method
5 years ago
Peter Barker
1650979a2b
GCS_MAVLink: add support for MAV_CMD_DEBUG_TRAP
5 years ago
Andrew Tridgell
0e7ddebd15
GCS_MAVLink: fix for updated mavlink extensions
5 years ago
Andrew Tridgell
0a9a1c5314
AP_EFI: fix for updated mavlink extensions
5 years ago
Peter Barker
e248bdfb16
GCS_MAVLink: split statustexts into 50-byte chunks using mav2 extensions
5 years ago
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));
5 years ago
Andrew Tridgell
b47181a86f
AP_OpticalFlow: probe all I2C buses for px4flow on Hex Cubes
5 years ago
Peter Barker
07c7a98269
AP_Vehicle: move some common init_ardupilot code up to AP_Vehicle
5 years ago
Peter Barker
1211ea88b5
AP_Vehicle: move setup method up to AP_Vehicle base class
5 years ago
Peter Barker
4647c6ef62
StorageManager: use pragmas to set storage layout rather than call
...
We don't need the flexibility to reset this, it's a waste of bytes and
something that could go wrong. AP_Periph led the way with using
pragmas here.
5 years ago
Michael du Breuil
7bc1f4ff9b
AP_RangeFinder: a to close reading is not the minimum distance
5 years ago
Peter Barker
8b20c82a18
AP_Camera: send mavlink camera feedback message even if no logger
5 years ago
Peter Hall
de684530f1
SRV_Channel: add wing sail elevator output
5 years ago
Rob Ratcliff
5c388507d4
RC_Channel: fix handling of rc_override_time of -1
5 years ago
Andrew Tridgell
dd1426cf73
HAL_SITL: allow for separate position for 2nd GPS
...
makes for better simulation of moving baseline
5 years ago
Andrew Tridgell
fb3496b63b
SITL: added SIM_GPS2_POS
...
and re-arrange two sets of GPS parameters to be arrays
5 years ago
Jaaaky
e8df08a4d3
AP_Terrain: Avoid update() IO operations when not enabled
5 years ago
Andrew Tridgell
a7b6887f44
HAL_ChibiOS: added a f303-Universal build target
5 years ago
Andrew Tridgell
2fa6f534ab
AP_RangeFinder: added get_type() API
5 years ago
Andrew Tridgell
7efd5248ee
AP_GPS: added get_type() API
5 years ago
Andrew Tridgell
7a812a5516
HAL_ChibiOS: use cortex m7 instructions on F7/H7
5 years ago
murata
b0af48745e
AP_RangeFinder: VL53L1X LONG can be specified
...
AP_RangeFinder: VL53L1X LONG can be specified
AP_RangeFinder: Add VL53L1X to device number 16
AP_RangeFinder: Add VL53L1X to device number 16
5 years ago
Andrew Tridgell
e59f32074d
AP_GPS: fixed yaw error when one GPS has zero position
...
the M_PI correction was only valid for one zero side. Much simpler to
always calculate difference
5 years ago
Randy Mackay
141099078c
AP_RangeFinder: increase leddarvu8 timeout to 0.5sec
5 years ago
Randy Mackay
f269004610
AP_RangeFinder: fix detect for LeddarVu8
...
Co-Authored-By: Peter Barker <pb-gh@barker.dropbear.id.au>
5 years ago
Randy Mackay
b068f15932
AP_RangeFinder: LeddarVu8 driver
5 years ago
Randy Mackay
e5c3a7f7b5
AP_RangeFinder: typo fix for LeddarOne
5 years ago
Randy Mackay
266a908b83
AP_RangeFinder: serial backend get_reading returns false
5 years ago
Randy Mackay
9ac10c3af9
AP_RangeFinder: remove virtual from _get_mav_distance_sensor_type
5 years ago