Commit Graph
100 Commits
Author SHA1 Message Date
Pavel Kirienko 1454e2acba Libuavcan update: Reduces STM32 CAN IRQ overhead with new error handling logic 2016-02-01 08:16:11 +01:00
Pavel Kirienko 82b3ea2501 Removed an excessive template disambiguator in the virtual CAN driver class (fixes 3190) 2015-11-17 02:00:42 +03:00
Pavel Kirienko b95609834c Merge branch 'master' into uavcan_footprint_reduction 2015-11-12 14:49:02 +03:00
Pavel Kirienko 96a12a6027 UAVCAN extended status reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko e06c46da03 uavcan status output extended with CAN error reporting 2015-10-26 10:19:56 +01:00
Pavel Kirienko 635bfb6a7b CAN driver RX queue reduced to 21 frames per interface; poll() timeout set to 3 ms 2015-10-26 10:19:56 +01:00
Pavel Kirienko 72e651beda UAVCAN virtual iface: removed a useless class field 2015-10-26 10:19:56 +01:00
Pavel Kirienko 53ed0425da Libuavcan set to master 2015-10-26 10:19:56 +01:00
Pavel Kirienko 5b9fc2d9fa Proper termination of UAVACN server thread 2015-10-26 10:19:56 +01:00
Pavel Kirienko 9d86dbb6a1 Fixed memory leaks in the primary UAVCAN thread 2015-10-26 10:19:56 +01:00
Pavel Kirienko 6c4f09c0e4 Fixed memory leak in UAVCAN baro driver 2015-10-26 10:19:56 +01:00
Pavel Kirienko 109bee855b Node on leaked memory in UAVCAN driver 2015-10-26 10:19:56 +01:00
Pavel Kirienko ca4e55fec3 UAVCAN allocator as a dedicated type; reporting a warning if memory leak is deetcted upon destruction 2015-10-26 10:19:56 +01:00
Pavel Kirienko edfb19d9af Libuavcan update 2015-10-26 10:19:56 +01:00
Pavel Kirienko 1ace017cb8 Deallocating memory used by UAVCAN virtual iface on destruction 2015-10-26 10:19:56 +01:00
Pavel Kirienko a570d1de7d UAVCAN memory usage status and shrink 2015-10-26 10:19:56 +01:00
Pavel Kirienko e6182b8d2b Libuavcan update 2015-10-26 10:19:56 +01:00
Pavel Kirienko 407191d4ab UAVCAN driver transformed to use global memory pool 2015-10-26 10:19:56 +01:00
Pavel Kirienko 7373d99d72 UAVCAN CMakeLists - removed useless definitions 2015-10-26 10:19:56 +01:00
Pavel Kirienko e227f139a5 Libuavcan switched to footprint_reduction 2015-10-26 10:19:56 +01:00
Pavel Kirienko c62b9491ca Reverted 0e10638c7e 2015-10-03 13:50:07 +03:00
Pavel Kirienko e2b801a323 Fixes 2911 2015-09-27 12:25:15 +02:00
Pavel Kirienko 8d67483d18 UAVCAN: using only primary interface for servers 2015-08-23 21:28:47 +03:00
Pavel Kirienko f371ece43b UAVCAN_ENABLE defaults to 0 2015-08-22 13:54:57 +02:00
Pavel Kirienko 08fde4f505 UAVCAN startup delay fix 2015-08-22 13:54:57 +02:00
Pavel Kirienko 59fd94da3e Libuavcan synced with the version that has DSDL v1.0.0rc1 - no logical changes 2015-08-22 13:54:57 +02:00
Pavel Kirienko 281cf49586 Libuavcan update - fixed file IO loops 2015-08-22 13:54:57 +02:00
Pavel Kirienko 0e10638c7e Temporary fix to UAVCAN sensor prioritization issue, see #2081, #2715 2015-08-22 13:54:57 +02:00
Pavel Kirienko e1f33871ef UAVCAN enabled by default 2015-08-22 13:54:57 +02:00
Pavel Kirienko 6864779fa6 Multiple stages for UAVCAN_ENABLE 2015-08-22 13:54:56 +02:00
Pavel Kirienko 4296dac884 Libuavcan update 2015-08-22 13:54:56 +02:00
Pavel Kirienko 9b32a55b40 Libuavcan update 2015-08-22 13:54:56 +02:00
Pavel Kirienko 3860dbdc8c UAVCAN Barometer driver fix - reporting temperature in Celsius degrees, not in Kelvin 2015-08-22 13:54:56 +02:00
Pavel Kirienko 473d321af8 UAVCAN Magnetometer driver update - no logical changes 2015-08-22 13:54:56 +02:00
Pavel Kirienko 4ec16efe68 Libuavcan update 2015-08-22 13:54:56 +02:00
Pavel Kirienko 36f91d30eb Fixes pure virtual call exception in VirtualCanDriver<>::handleRxFrame()
Stack trace:
Thread [1] (Suspended: Breakpoint hit.)
        12 __cxa_pure_virtual() libxx_cxapurevirtual.cxx:66 0x0808ca42
        11 notifyRxFrameListener() uc_dispatcher.cpp:216 0x080787ce
        10 uavcan::Dispatcher::spinOnce() uc_dispatcher.cpp:276 0x080787ce
        9 uavcan::Scheduler::spinOnce() uc_scheduler.cpp:196 0x0807b4e0
        8 spinOnce() abstract_node.hpp:88 0x080659fc
        7 spinOnce() node.hpp:132 0x080659fc
        6 UavcanNode::node_spin_once() uavcan_main.cpp:428 0x080659fc
        5 UavcanNode::run() uavcan_main.cpp:542 0x08065e74
        4 operator() uavcan_main.cpp:343 0x0806626a
        3 UavcanNode::__lambda0::_FUN() uavcan_main.cpp:343 0x0806626a
        2 task_start() task_start.c:138 0x08087720
        1 <symbol is not available> 0x00000000
2015-08-15 09:53:13 +03:00
Pavel Kirienko aa412aaced UAVCAN servers: proper handling of startup failure, more verbose error reporting 2015-08-15 09:42:16 +03:00
Pavel Kirienko e278419e84 Libuavcan update 2015-08-14 05:12:46 +03:00
Pavel Kirienko 9fa87d1444 LIbuavcan update 2015-08-14 04:45:32 +03:00
Pavel Kirienko 05b6a48d1b Merge branch 'beta' into beta_uavacan 2015-08-13 22:06:26 +03:00
Pavel Kirienko e94bc7960c libuavcan submodule updated 2015-06-11 17:04:22 +02:00
Pavel Kirienko 67c1b230ca libuavcan submodule updated 2015-06-10 21:20:57 +03:00
Pavel Kirienko 2c61ec6819 UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294) 2015-06-07 00:10:53 +03:00
Pavel Kirienko 3f961bf3c6 UAVCAN driver silently ignores repeated start commands without error. This allows to avoid error messages when UAVCAN driver is started from extras script before default initialization sequence is executed. 2015-04-23 22:02:34 +03:00
Pavel Kirienko 2f7a9eaf65 Fix for a compilation failure 2015-01-29 16:33:53 +01:00
Pavel Kirienko ae0e2d7209 Removing extra UAVCAN perfcounters 2015-01-21 14:54:24 +01:00
Pavel Kirienko f6dc2af398 UAVCAN update 2015-01-21 14:54:24 +01:00
Pavel Kirienko 4baf4a032f Fixed: Passing this->_armed_sub to close, which cannot accept a negative number. 2015-01-21 14:54:24 +01:00
Pavel Kirienko 91362223ea Fixed uninitialized fields of UavcanNode 2015-01-21 14:54:24 +01:00
Pavel Kirienko f6786d0be9 Removing -ffixed-r10 when stack checks aren't enabled 2015-01-21 14:54:24 +01:00
Pavel Kirienko 2ebd7099de Globally configurable stack checks, R10 is always fixed 2015-01-21 14:54:24 +01:00
Pavel Kirienko c9eae96cf6 Frame size fix fix per Lorenz's suggestion 2015-01-21 14:54:24 +01:00
Pavel Kirienko ed27e583e0 UAVCAN update 2015-01-21 14:54:24 +01:00
Pavel Kirienko 4b1782174c INSTRUMENTATIONDEFINES assignment made non-optional 2015-01-21 14:54:24 +01:00
Pavel Kirienko 1d13edcf92 Stack checks made optional: ENABLE_STACK_CHECKS 2015-01-21 14:54:24 +01:00
Pavel Kirienko f49f183f74 UAVCAN module: -O3 instead of -Os; fixed instrumentation defines 2015-01-21 14:54:24 +01:00
Pavel Kirienko c2bc298409 Disable instrumentation for the uavcan module 2015-01-21 14:54:24 +01:00
Pavel Kirienko 885077a1c3 Profiler: folder fix - more special cases for operator<< and operator>> 2015-01-21 14:54:24 +01:00
Pavel Kirienko 569c3b7d37 Using -g3 flag instead of -g 2015-01-21 14:54:23 +01:00
Pavel Kirienko d87bb4dfcb Revert "Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history)"
This reverts commit 4c301d9dcf180e39186fa6753c7a3d3215b3cfa7.
2015-01-21 14:54:23 +01:00
Pavel Kirienko 6bbacc4271 Intrusive changes made for UAVCAN profiling. Will be reverted in the next commit (this one is needed to keep the changes in history) 2015-01-21 14:54:23 +01:00
Pavel Kirienko 543cb23128 Profiler: computing stack top distribution 2015-01-21 14:54:23 +01:00
Pavel Kirienko 647163d6fa Profiler - header comment fix 2015-01-21 14:54:23 +01:00
Pavel Kirienko f158c8270b Rich man's profiler - handling quotes 2015-01-21 14:54:23 +01:00
Pavel Kirienko d1abf9c133 Poor man's profiler - proper stack folder that handles generic C++ types 2015-01-21 14:54:23 +01:00
Pavel Kirienko 1898b51c74 Profiler: reporting function position in flame graphs 2015-01-21 14:54:23 +01:00
Pavel Kirienko ff7c33a4b0 Profiler: xdg-open work-around 2015-01-21 14:54:23 +01:00
Pavel Kirienko c0d71529bc Profiler fixes 2015-01-21 14:54:23 +01:00
Pavel Kirienko c0937ec8ca Profiler fixes 2015-01-21 14:54:23 +01:00
Pavel Kirienko 9293950cdb NuttX profiler improvements 2015-01-21 14:54:23 +01:00
Pavel Kirienko dd3fa2532e Poor man's sampling profiler for NuttX 2015-01-21 14:54:23 +01:00
Pavel Kirienko e41bf13ac5 Nuttx.py: 'show mybt' outputs in GDB-like format for ease of parsing 2015-01-21 14:54:23 +01:00
Pavel Kirienko 9215a8d8da Nuttx.py fixes: Python 2.7 support (required for gcc-arm-toolchain from Terry Guo), fixed int parsing, show mybt by name 2015-01-21 14:54:23 +01:00
Pavel Kirienko 0901d99992 UAVCAN update (speed optimizations) 2015-01-21 14:54:23 +01:00
Pavel Kirienko 7f0f4b3072 UavcanEscController broadcasting percounter 2015-01-21 14:54:22 +01:00
Pavel Kirienko eea3c801f4 UAVCAN perf counters 2015-01-21 14:54:22 +01:00
Pavel Kirienko c51b73c196 UAVCAN update - fixes https://github.com/UAVCAN/uavcan/issues/8 2015-01-10 10:25:05 +01:00
Pavel Kirienko 7fd3bd9af8 esc_status layout optimization 2014-10-15 14:01:17 +04:00
Pavel Kirienko f9856c6228 ESC status - supporting negative RPM 2014-10-15 13:48:55 +04:00
Pavel Kirienko ecd144b8b4 Publishing esc_setpoint_raw from the UAVCAN driver 2014-10-13 17:07:14 +04:00
Pavel Kirienko 1bf4270e3e Update ORB topic 'esc_status' 2014-10-13 17:01:34 +04:00
Pavel Kirienko e5a77a638a ESC status feedback 2014-10-12 20:56:45 +04:00
Pavel Kirienko ced75deebe ESC scaling fix 2014-10-12 15:34:28 +04:00
Pavel Kirienko 835bab9115 UAVCAN update 2014-10-12 15:20:22 +04:00
Pavel Kirienko af783d4d98 UAVCAN update 2014-10-08 20:52:38 +04:00
Pavel Kirienko 1d038eed04 UAVCAN: GNSS fix message update 2014-09-03 22:44:16 +04:00
Pavel Kirienko 580b726536 UAVCAN: missing declaration warning fix 2014-08-29 14:34:29 +04:00
Pavel Kirienko a87a264415 UAVCAN update (lots of warning fixes) 2014-08-29 14:29:41 +04:00
Pavel Kirienko eab701b896 Improved UAVCAN status reporting 2014-08-26 00:52:33 +04:00
Pavel Kirienko 04ccf5d8c9 UAVCAN update 2014-08-24 19:44:54 +04:00
Pavel Kirienko 1a582e8be0 UAVCAN update for #1306 2014-08-24 16:36:35 +04:00
Pavel Kirienko 2418969b87 UAVCAN update 2014-08-24 15:35:02 +04:00
Pavel Kirienko 3866b5a5fe Resource leak fix 2014-08-24 03:02:52 +04:00
Pavel Kirienko 1fa49aaea9 UAVCAN: clarification 2014-08-24 01:41:54 +04:00
Pavel Kirienko 701bd803ce UAVCAN status reporting and proper termination 2014-08-24 00:20:57 +04:00
Pavel Kirienko e9da830316 UAVCAN: initializing all bridges by default 2014-08-24 00:06:47 +04:00
Pavel Kirienko 0f124963d4 UAVCAN: Minor improvement of the GNSS bridge 2014-08-23 23:43:01 +04:00
Pavel Kirienko ce73be514e UAVCAN: Proper CDev initialization from sensor bridges 2014-08-23 23:30:49 +04:00
Pavel Kirienko 4e0d7c6b0e UAVCAN: redundant sensors support 2014-08-23 23:14:59 +04:00
Pavel Kirienko 6a8971e28f New UAVCAN initialization logic 2014-08-23 17:31:46 +04:00