Andrew Tridgell
a26e534654
GCS_MAVLink: use WITH_SEMAPHORE()
...
this is a suggestion from Peter, will need some discussion
7 years ago
Andrew Tridgell
6f058e8c0d
AP_Common: added WithSemaphore class
7 years ago
Andrew Tridgell
048a52ebc0
GCS_MAVLink: make mavlink send from multiple threads safe
...
this takes a lock to prevent interleaving of mavlink msgs from
multiple threads
7 years ago
Andrew Tridgell
5de49aa5aa
GCS_MAVLink: flush parameters on reboot
7 years ago
Andrew Tridgell
f1e10b0a8f
HAL_Linux: make uart writes thread safe
7 years ago
Andrew Tridgell
b2b56c3e46
HAL_VRBRAIN: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
5d3b17db6b
HAL_SITL: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
fe93113240
HAL_PX4: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
f005e60066
HAL_Linux: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
dabdb969f6
HAL_ChibiOS: added support for HAL_Semaphore type
7 years ago
Andrew Tridgell
0a73c3492d
AP_HAL: support HAL_Semaphore type
7 years ago
Andrew Tridgell
4d662a913a
AP_Param: use background parameter save
...
this moves both the storage scan and the save code out of the main
thread and into the IO thread. It means that if we have more than 30
parameters saves in very rapid succession while armed that we can lose
parameter changes, but that is extremely unlikely.
This fixes an issue where parameter saves in flight can cause
considerable scheduling problems, sometimes several milliseconds
7 years ago
Hwurzburg
7c79175309
AP_OSD: add flytime item
7 years ago
Andrew Tridgell
a0ce604721
AP_Stats: make singleton and add flighttime accessor
7 years ago
Hwurzburg
5f72c9040e
AP_OSD: Adding flight distance and summary panels for OSD
7 years ago
Alexander Malishev
001948d40c
Plane: publish navigation info to OSD
7 years ago
Alexander Malishev
f5c540a127
Copter: publish navigation info to OSD
7 years ago
Alexander Malishev
eec34fc47d
AP_OSD: add waypoint and xtrack_error items
7 years ago
vierfuffzig
aae1054a94
AP_OSD: add hdop display
7 years ago
Pierre Kancir
303e40f578
Tools: arducopter.py: add tolerance to takeoff alt
7 years ago
Pierre Kancir
2f9f793ccf
Tools: add arm and disarm tests
7 years ago
Peter Barker
fa7ba7ddbc
DataFlash: force messagewriters to completion
...
Setting a dataflash-file buffer size of less than or equal to 2kiB would
cause the startup-messagewriter to never push any messages other than
FMT out to the logs.
This is a combination of the return values of
critical_message_reserved_space and
non_messagewriter_message_reserved_space
This patch forces the startup messages out to the logs by ignoring the
space constraints every 100ms
7 years ago
Peter Barker
fa5757f618
AP_Math: fix float-equals warnings
7 years ago
Peter Barker
aa36d20aa1
Tools: autotest: add steps to autotest to build and run unit tests
...
This is Linux-specific ATM
7 years ago
Peter Barker
8e3b69bca0
Tools: autotest: add flaps test
7 years ago
Pierre Kancir
a8ea84a729
Tools: autotest: clean function arguments
7 years ago
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