Pierre Kancir
85fde70f07
Global: add .flake8
7 years ago
Peter Barker
6e7e24ac91
Tools: autotest: raise exception, don't return it
...
Spotted by @khancyr
7 years ago
Pierre Kancir
579d471e98
Tools: use set_parameter instead of mavproxy directly
7 years ago
Alexander Malishev
05099b8b8b
HAL_ChibiOS: restore default dataflash buffer size
...
This fix log corruption in copter
7 years ago
Andrew Tridgell
71988b49a4
AP_RSSI: allow override of RSSI pin
7 years ago
Andrew Tridgell
c3cf8f5435
AP_Math: fixed a bug in segment_intersection()
...
we could get an intercept point beyond the end of the segment
7 years ago
Peter Barker
626467db14
AP_Math: add tests for line intersection
7 years ago
Francisco Ferreira
1b46104a98
AP_HAL_ChibiOS: fix warning when STDOUT is defined
...
../../libraries/AP_HAL_ChibiOS/UARTDriver.cpp:118:12: warning: 'int hal_console_vprintf(const char*, va_list)' defined but not used [-Wunused-function]
static int hal_console_vprintf(const char *fmt, va_list arg)
^
7 years ago
Francisco Ferreira
62a4f08e12
AP_Arming: fix system check
7 years ago
mirkix
c33b692f53
AP_HAL_ChibiOS: fix CubeYellow build
7 years ago
Lucas De Marchi
5068f2e8fd
AP_HAL_Linux: fix log after tonealarm thread removal
...
../../libraries/AP_HAL_Linux/Scheduler.cpp: In member function ‘void Linux::Scheduler::_debug_stack()’:
../../libraries/AP_HAL_Linux/Scheduler.cpp:127:47: warning: format ‘%zu’ expects a matching ‘size_t’ argument [-Wformat=]
_uart_thread.get_stack_usage());
^
7 years ago
Peter Barker
bf6e137c87
Copter: bump version on master to 3.7.0
7 years ago
Francisco Ferreira
a53c8487c7
uavcan: allow CAN2 to be initialized without CAN1
7 years ago
Francisco Ferreira
f69638f24f
AP_UAVCAN: add configuration of hardware filters
7 years ago
Francisco Ferreira
3cb8421aa6
AP_UAVCAN: reorganize header and code
...
Also a bit more cleanup
7 years ago
Francisco Ferreira
ee8e2923ae
AP_UAVCAN: cleanup code
7 years ago
Francisco Ferreira
8c382b6904
AP_UAVCAN: adapt to new CANProtocol interface
...
This includes creating own thread
Also adapts example
7 years ago
Francisco Ferreira
126f1379d3
AP_UAVCAN: fix bug introduced in #7863
7 years ago
Francisco Ferreira
7e8abc92fe
AP_UAVCAN: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
861e1a0a54
SRV_Channel: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
3b61a31bb4
AP_Notify: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
f468602baf
AP_Notify: revert wrong commit 228058e089
...
Also change the order of logical OR so that led_write in UAVCAN_RGB_LED is called for all UAVCAN instances and not only first one
7 years ago
Francisco Ferreira
b29369eb82
AP_GPS: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
317e8e0296
AP_Compass: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
31b8a051cc
AP_BattMonitor: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
8e6692744f
AP_BattMonitor: fix warning in UAVCAN driver
...
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp: In member function ‘virtual void AP_BattMonitor_UAVCAN::init()’:
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:15:123: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘AP_Int32 {aka AP_ParamT<int, (ap_var_type)3u>}’ [-Wformat=]
#define debug_bm_uavcan(level, fmt, args...) do { if ((level) <= AP_BoardConfig_CAN::get_can_debug()) { printf(fmt, ##args); }} while (0)
^
../../libraries/AP_BattMonitor/AP_BattMonitor_UAVCAN.cpp:36:33: note: in expansion of macro ‘debug_bm_uavcan’
debug_bm_uavcan(2, "UAVCAN BattMonitor BatteryInfo registered id: %d\n\r", _params._serial_number);
7 years ago
Francisco Ferreira
9489ec9e7c
AP_Baro: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
5efde5fa8b
AP_HAL_VRBRAIN: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
9766ca44d4
AP_HAL_PX4: adapt to changes in AP_BoardConfig_CAN
7 years ago
Francisco Ferreira
b7a3e1ae77
AP_BoardConfig_CAN: put debug code behind compile-time flag
...
And disable it by default
7 years ago
Francisco Ferreira
4b4ba66987
AP_BoardConfig_CAN: add singleton and do naming cleanup
...
Also added more getter methods
7 years ago
Francisco Ferreira
1cfb38b4ee
AP_BoardConfig_CAN: adapt to new CANProtocol interface
7 years ago
Francisco Ferreira
350d03800f
AP_HAL_SITL: remove unused CAN header
7 years ago
Francisco Ferreira
9204ca898b
AP_HAL_VRBRAIN: remove CAN thread management
7 years ago
Francisco Ferreira
68ada13f28
AP_HAL_PX4: remove CAN thread management
7 years ago
Francisco Ferreira
1d7f3e48a4
AP_HAL_Linux: remove CAN thread management
...
Also fix comment
7 years ago
Francisco Ferreira
7278af05e0
AP_HAL_ChibiOS: remove CAN thread management
7 years ago
Francisco Ferreira
0645a5b11a
AP_HAL: introduce a CANProtocol interface and remove HAL CAN thread management
7 years ago
Francisco Ferreira
e1bf89f32d
AP_HAL_ChibiOS: fix CAN manager initialization
7 years ago
Francisco Ferreira
458b7ea0b8
uavcan: fix ChibiOS CAN driver
7 years ago
Randy Mackay
011776bff2
Rover: restore param description for CH7_OPTION
7 years ago
Randy Mackay
b5f045dc5f
Rover: mode description in lower case
...
Follow was in upper case
INITIAL_MODE was missing SmartRTL
7 years ago
Randy Mackay
31bfedafa2
Tools: add arduroller balance bot parameter defaults
7 years ago
Randy Mackay
c028aa8dad
Rover: fix compiler warning in RC_Channel
7 years ago
Peter Barker
5ad1dee284
AP_Notify: make LED blink at constant rate in Rover
7 years ago
Michael du Breuil
83d01c8b7d
GCS_MAVLink: Use ARRAY_SIZE to avoid a magic value
7 years ago
Michael du Breuil
6469a985d7
DataFlash: Fix allocating extra values for RC logging
7 years ago
Michael du Breuil
c8cb5b9e0f
Plane: Log target airspeed to NTUN messages
7 years ago
Michael du Breuil
e7ebea55d2
RC_Channel: Fix possible user induced out of bounds write
...
CID 308348
7 years ago
ChristopherOlson
cbe68b4a91
Tools:TradHeli - update Copter3.6 setup params and add param files for QGC
...
add new Copter3.5 to 3.6 upgrade params to set the PSC, LOIT
and NAV controllers for New Loiter and new Position Controller
7 years ago