670 Commits

Author SHA1 Message Date
Pavel Kirienko
08cea4aacd <limits> from STL is not required 2014-05-05 15:51:49 +04:00
Pavel Kirienko
1a9e1d8202 Fixed tests 2014-05-05 14:23:14 +04:00
Pavel Kirienko
ad3c0af324 Some headers moved to util/ (map, bitset, linked_list); compile_time.hpp renamed to templates.hpp 2014-05-05 14:17:04 +04:00
Pavel Kirienko
74a7ff6a82 Fixed possible ADL issue in the Array template 2014-05-04 23:15:14 +04:00
Pavel Kirienko
7608e4ca08 Functions from <algorithm> reimplemented in libuavcan 2014-05-04 23:13:38 +04:00
Pavel Kirienko
cf3d6e2c08 UAVCAN_EXPORT for BitSet<> 2014-05-04 21:28:27 +04:00
Pavel Kirienko
0db43b6489 Partially removed all references to STL's algorithm. <algorithm> is not included anywhere, though still used in several places which still alows the code to compile as <algorithm> is being pulled in from some other standard headers. 2014-05-04 21:22:18 +04:00
Pavel Kirienko
d0c2898def std::bitset<> replaced with BitSet<>; stdexcept is not included unless exceptions are enabled 2014-05-04 20:49:58 +04:00
Pavel Kirienko
9b465a0959 Renamed StartHilSimulation service 2014-05-04 18:17:46 +04:00
Pavel Kirienko
bedc6bbc8a DSDL messages in uavcan.equpment.* 2014-04-30 14:18:03 +04:00
Pavel Kirienko
ea19fea568 uavcan_linux::Node::makeBlockingServiceClient() 2014-04-29 13:59:11 +04:00
Pavel Kirienko
5d272ca410 Linux test: Hardpoint control from nodetool 2014-04-29 13:51:30 +04:00
Pavel Kirienko
6d39793855 STM32: IRQ definitions fix 2014-04-29 13:50:54 +04:00
Pavel Kirienko
d4689c1616 Hardpoint DSDL types 2014-04-28 23:36:07 +04:00
Pavel Kirienko
ae4acbcd12 Refactored nodetool 2014-04-28 14:26:56 +04:00
Pavel Kirienko
4a2df2975a Linux: New test util 2014-04-28 01:51:13 +04:00
Pavel Kirienko
ae26afdc9f Blocking service caller 2014-04-28 00:33:08 +04:00
Pavel Kirienko
4f544f28b7 Service caller: Server Node ID validation before call 2014-04-27 22:49:22 +04:00
Pavel Kirienko
0e93ea6940 STM32: Dramatically improved clock synchronization 2014-04-27 20:57:56 +04:00
Pavel Kirienko
6815e5c755 STM32: Removed debug code 2014-04-26 23:47:39 +04:00
Pavel Kirienko
4a761b44bb STM32 clock sync defaults 2014-04-26 19:40:36 +04:00
Pavel Kirienko
803222dcc3 STM32: New clock sync algorithm 2014-04-26 17:48:42 +04:00
Pavel Kirienko
430776469f STM32: Clock speed PPM limit 2014-04-25 15:23:22 +04:00
Pavel Kirienko
32671fe574 Somewhat improved clock sync stability (the algorithm still has to be reimplemented from scratch) 2014-04-25 10:45:39 +04:00
Pavel Kirienko
f28b00c5db Renamed clock::setMinJump() 2014-04-24 23:48:25 +04:00
Pavel Kirienko
5a01135970 STM32, LPC11C24: Default min jump set to 10 ms 2014-04-24 14:46:37 +04:00
Pavel Kirienko
95363908bf STM32: clock::setMinJump(..) 2014-04-24 14:14:47 +04:00
Pavel Kirienko
4defcde10b ComponentStatusManager<> 2014-04-23 13:38:56 +04:00
Pavel Kirienko
9597dc4ddb crdr_chibios followup 2014-04-20 23:40:53 +04:00
Pavel Kirienko
f155702008 Data type registrator went the same way - using plain statics instead of in-place allocation at first call. For code size critical applications, GCC flag -fno-threadsafe-statics should be used 2014-04-20 23:40:32 +04:00
Pavel Kirienko
7a02960401 Good old GDTR singleton re-implemented via static local again, because previous implementation could cause undefined behavior as GDTR could be initialized after static type registrators that use it 2014-04-20 23:14:02 +04:00
Pavel Kirienko
afc56cf87b GDTR list integrity check (debug builds only) 2014-04-20 21:36:01 +04:00
Pavel Kirienko
5cd0aff0d3 GDTR list integrity check (debug builds only) 2014-04-20 21:33:51 +04:00
Pavel Kirienko
b7b53630d1 Linux driver: verbose exception with error code 2014-04-20 20:45:26 +04:00
Pavel Kirienko
0fd24fd6b0 Braces in complex boolean condition to suppress false positive from the static analyzer 2014-04-19 22:55:57 +04:00
Pavel Kirienko
5fcfd7726b Removed unused constant ErrOk 2014-04-19 22:29:40 +04:00
Pavel Kirienko
0440aa844d DSDL signature in generated types is upper case 2014-04-19 22:15:26 +04:00
Pavel Kirienko
e3aa0d91c8 Minor style fixes in Linux tests 2014-04-19 19:27:17 +04:00
Pavel Kirienko
f8883e0bb2 Fixed memory leak in CanIOManager test 2014-04-19 19:13:52 +04:00
Pavel Kirienko
ddcedfd9d0 Fixed sizeof(ptr) in test (detected by clang static analyzer) 2014-04-19 19:05:34 +04:00
Pavel Kirienko
c1be9f1fef Explicit virtual keyword 2014-04-19 18:51:36 +04:00
Pavel Kirienko
f31d46ea6c Explicit void cast for unused return values 2014-04-19 17:45:03 +04:00
Pavel Kirienko
b2c021397d Linked list test fix 2014-04-19 17:18:51 +04:00
Pavel Kirienko
4e39fc61d9 LinkedListRoot<>::remove() does not return anything, as it was not used anyway 2014-04-19 17:13:44 +04:00
Pavel Kirienko
3eec1e18c3 Include order fix 2014-04-19 17:03:16 +04:00
Pavel Kirienko
4112c949fc strcmp() --> strncmp() 2014-04-19 16:50:43 +04:00
Pavel Kirienko
acff3d274c Null pointer checks 2014-04-19 16:47:14 +04:00
Pavel Kirienko
efb2251ef8 strcmp() --> strncmp() 2014-04-19 16:42:39 +04:00
Pavel Kirienko
799846de02 Scope hiding fixes 2014-04-19 16:32:42 +04:00
Pavel Kirienko
c4c77ea321 Fixed typedef reuse 2014-04-19 15:52:17 +04:00