201 Commits

Author SHA1 Message Date
Pavel Kirienko
0c1ecc0caa NetworkCompatibilityChecker: num_failed_nodes moved to NetworkCompatibilityCheckResult 2014-06-15 22:27:16 +04:00
Pavel Kirienko
518e105809 NetworkCompatChecker can tolerate no-response from CATS service. This allows nodes to not implement services at all while being UAVCAN compatible. 2014-06-14 12:38:50 +04:00
Pavel Kirienko
87402b9701 Sign compare fix 2014-05-06 02:28:42 +04:00
Pavel Kirienko
581ee43231 UAVCAN_IMPLEMENT_PLACEMENT_NEW 2014-05-05 19:28:28 +04:00
Pavel Kirienko
8c8732d051 Collateral fixes 2014-05-05 16:15:22 +04:00
Pavel Kirienko
08cea4aacd <limits> from STL is not required 2014-05-05 15:51:49 +04:00
Pavel Kirienko
7608e4ca08 Functions from <algorithm> reimplemented in libuavcan 2014-05-04 23:13:38 +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
4f544f28b7 Service caller: Server Node ID validation before call 2014-04-27 22:49:22 +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
f31d46ea6c Explicit void cast for unused return values 2014-04-19 17:45:03 +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
dfe3b4511e Most enums were replaced with constants, according to MISRA 2014-04-19 15:16:10 +04:00
Pavel Kirienko
707c3e3ed1 All literal suffixes are upper case (U, L, F) 2014-04-18 22:10:59 +04:00
Pavel Kirienko
c9ede31d56 U suffix for unsigned constants 2014-04-18 20:17:54 +04:00
Pavel Kirienko
fd71f55933 Control flow/braces fixes 2014-04-18 19:55:51 +04:00
Pavel Kirienko
1853f5c73c Explicit constructors 2014-04-18 19:37:08 +04:00
Pavel Kirienko
febc3ed870 Virtual call screwup fix 2014-04-18 18:57:54 +04:00
Pavel Kirienko
bfe1447426 Fixes suggested by static analyzer 2014-04-18 18:46:47 +04:00
Pavel Kirienko
03ff492bc4 More compliance fixes 2014-04-17 12:23:31 +04:00
Pavel Kirienko
b18daa070b UAVCAN_TINY does not support GTSM, NCC, TSP - saves ~900 bytes 2014-04-16 17:27:46 +04:00
Pavel Kirienko
a298ad9ba2 Transport CRC will not use table in UAVCAN_TINY builds 2014-04-16 17:19:05 +04:00
Pavel Kirienko
f8b10ab003 Shorter error strings - saves ~200 bytes 2014-04-16 16:59:58 +04:00
Pavel Kirienko
c2b878965e DataTypeSignatureCRC - methods moved to .cpp 2014-04-13 00:02:48 +04:00
Pavel Kirienko
dd5908dad8 Renaming: NodeInitializer --> NetworkCompatibilityChecker 2014-04-12 21:40:30 +04:00
Pavel Kirienko
d801f4a7f3 CAN TX queue quota - limiting max number of memory blocks per TX queue to avoid memory congestion if one iface is down 2014-04-12 18:11:30 +04:00
Pavel Kirienko
3e4234e049 Allocator fixes 2014-04-12 17:50:32 +04:00
Pavel Kirienko
4e7287358a Dynamic memory refactoring: Entire library now uses IPoolAllocator instead of IAllocator, which was removed completely. This change was needed to enable TX queue constraints, see the next commits. 2014-04-12 17:17:06 +04:00
Pavel Kirienko
5808bfc0c9 LimitedPoolAllocator (for TX queue) 2014-04-12 13:40:15 +04:00
Pavel Kirienko
9b56534506 Time sync master: paranoid check for loopback frame correctness 2014-04-11 16:13:23 +04:00
Pavel Kirienko
c634a676be Removed assert() in time sync master 2014-04-11 15:38:00 +04:00
Pavel Kirienko
c26c320dd9 Fixed GDTR singleton (http://stackoverflow.com/questions/22985570) 2014-04-10 15:05:55 +04:00
Pavel Kirienko
d0b541e22d Added config macro UAVCAN_TOSTRING 2014-04-10 13:32:35 +04:00
Pavel Kirienko
29138214dc Unused header 2014-04-10 12:52:01 +04:00
Pavel Kirienko
36192076b3 Removed sstream from uc_frame.cpp 2014-04-10 12:50:49 +04:00
Pavel Kirienko
f65aaa2ecd Removed sstream from data_type 2014-04-10 12:46:59 +04:00
Pavel Kirienko
b586897948 Removed sstream from can_io 2014-04-10 12:27:05 +04:00
Pavel Kirienko
9849a6ce22 Removed sstream from BitStream::toString() 2014-04-10 12:19:44 +04:00
Pavel Kirienko
266e95127b Removed sstream in OTR 2014-04-10 11:50:14 +04:00
Pavel Kirienko
f768378e2b Size optimized ServiceClient<> 2014-04-09 18:04:16 +04:00
Pavel Kirienko
33bb1be4a1 Space optimized GenericSubscriber 2014-04-09 17:19:31 +04:00
Pavel Kirienko
72425b712a Space optimized GenericPublisher 2014-04-09 16:38:49 +04:00
Pavel Kirienko
311ae8dca1 Refactored TransferListener - all logic moved into non-generic subclass and implemented in *.cpp 2014-04-09 15:06:27 +04:00