144 Commits

Author SHA1 Message Date
Pavel Kirienko
a19dfd56dc Linux makeNode() helper overload 2016-06-13 00:46:13 +03:00
Pavel Kirienko
b7515646bb New field in dynamic allocator app for Linux: 'All allocated' 2016-02-19 11:52:51 +03:00
Pavel Kirienko
30059d8239 SLCAN helper script: using default baudrate 921600 because it is more common than 3M for serial adapters 2016-01-28 02:28:49 +03:00
Pavel Kirienko
f86a4b98d1 SocketCAN: Setting correct errno when throwing AllIfacesDownException 2016-01-28 01:06:29 +03:00
Pavel Kirienko
3d0186c547 SocketCAN doc comments 2016-01-28 00:54:22 +03:00
Pavel Kirienko
597e0b4356 SocketCAN: Proper error reporting from openSocket() 2016-01-28 00:50:28 +03:00
Pavel Kirienko
587088bb18 Refactored SocketCAN select() call; fixes #83
Features:
- The driver will throw if it's fed a non-existing or malfunctioning interface during initialization
- When an interface becomes down/disconnected while the node is running, the driver will silently
  exclude it from the IO loop and continue to run on the remaining interfaces.
- When all interfaces become down/disconnected, the driver will throw AllIfacesDownException() from
  SocketCanDriver::select().
2016-01-28 00:12:27 +03:00
Pavel Kirienko
cbd36a4a5b Linux SocketCAN: Fixed hasReadyTx() - now checking whether the driver will be ready to release further frames from the queue 2016-01-27 14:31:05 +03:00
Pavel Kirienko
f9a10b1a81 Linux SocketCAN: Fixed handling of outgoing frames. The old logic was handling writes incorrectly, losing frames if the socket was not writable. 2016-01-27 13:56:43 +03:00
Pavel Kirienko
ff13fa866f Linux driver copyright update 2015-12-27 20:01:22 +03:00
Pavel Kirienko
288478fa4a Linux driver: Avoiding use of cstdint from global scope, using proper loops 2015-12-27 19:41:12 +03:00
Ilia
7236370409 checkHWFilters arg by reference.
loopback checked first
2015-12-27 14:38:00 +00:00
Ilia
73f0a9074d uncrustify applied 2015-12-21 00:34:38 +00:00
Ilia
292b06c2d8 pull request corrections 2015-12-20 22:53:19 +00:00
Ilia
a2ed997cb4 socketcan HW filters moved to userspace 2015-12-14 00:20:35 +00:00
Pavel Kirienko
426f349e36 Reworked the script uavcan_add_slcan 2015-12-08 02:49:37 +03:00
Pavel Kirienko
c152f28a62 Linux: Installing vcan/slcan init scripts 2015-11-05 12:22:13 +03:00
Pavel Kirienko
180f56ad2f SocketCAN slcan_init script 2015-11-05 12:07:49 +03:00
Pavel Kirienko
50ce241ba0 SocketCAN: default max_frames_in_socket_tx_queue reduced to 2 2015-11-05 12:01:29 +03:00
Pavel Kirienko
660e84e17f Allocator interface: getNumBlocks() --> getBlockCapacity() 2015-10-16 14:31:42 +03:00
Pavel Kirienko
fbab130b2e Removed a redundant assertion check in Linux test app 2015-09-30 17:53:21 +03:00
Pavel Kirienko
62e89b3399 BasicFileServerBackend typo fix 2015-09-25 23:01:57 +03:00
Pavel Kirienko
531433a326 Fixed makeApplicationID() (rookie mistake) 2015-09-25 01:47:39 +03:00
Pavel Kirienko
335cd6622a uavcan_linux::makeApplicationID() - instance_id made optional 2015-09-25 00:38:55 +03:00
Pavel Kirienko
0f53a76b50 Changed API of DynamicNodeIDClient: start() accepts UniqueID instead of HardwareVersion 2015-09-25 00:02:58 +03:00
Pavel Kirienko
f3931f7fc5 EnumerationRequest removed 2015-08-14 21:55:34 +03:00
Pavel Kirienko
1e749b687c Linux nodetool: YAML parameter output 2015-07-25 20:04:29 +03:00
Pavel Kirienko
f94649f1cc SocketCAN driver: Fixed frame reordering 2015-07-13 15:44:03 +03:00
Pavel Kirienko
e6aeb036e8 Refactored unions 2015-07-11 11:35:26 +03:00
Pavel Kirienko
35e65135c3 Nodetool update; build is fixed now 2015-07-11 07:46:42 +03:00
Pavel Kirienko
9c2a61e0fd uavcan_monitor update 2015-07-09 01:45:42 +03:00
Pavel Kirienko
1a5bd6c906 Node monitor update 2015-07-09 01:03:58 +03:00
Pavel Kirienko
6b811faccd Linux app compilation fixes 2015-07-09 00:54:21 +03:00
Pavel Kirienko
7125eeb5c2 Blah blah 2015-07-08 23:39:50 +03:00
Pavel Kirienko
88cf10d5a1 Tests fixes, the library should compile now 2015-07-08 23:33:41 +03:00
Pavel Kirienko
0d251cdb38 Nodetool warning fix 2015-07-05 18:48:34 +03:00
Pavel Kirienko
8d923fee4c Modified CAN driver API: Passing the next pending TX frames into the select() call to facilitate proper prioritization in the driver 2015-07-05 18:46:21 +03:00
Pavel Kirienko
36a7c7e7a9 CATS and network compatibility checker removed 2015-07-05 07:07:59 +03:00
Pavel Kirienko
d8f354ff1f VirtualCanIface: fixes #47 for Linux/POSIX 2015-07-03 21:58:24 +03:00
Pavel Kirienko
8a2e22046e All unit tests compile, but crash. This is the most horrifying commit I've ever made. 2015-07-01 14:55:24 +03:00
Pavel Kirienko
e5b7a2c158 Warning fix in a Linux app 2015-06-10 14:12:11 +03:00
Pavel Kirienko
a1cf761917 Coverity 1304857 1304856 1304855 2015-06-10 13:17:40 +03:00
Pavel Kirienko
4d9e3b1131 Coverity 1304853 2015-06-10 13:15:31 +03:00
Pavel Kirienko
b98aee7250 Coverity 1304851 2015-06-10 13:04:52 +03:00
Pavel Kirienko
7b44bf8822 Safer virtual methods; this breaks compatibility with GCC 4.6 2015-06-09 23:05:49 +03:00
Pavel Kirienko
9ac2813cea Cleaner type definitions in Linux driver 2015-06-09 22:58:00 +03:00
Pavel Kirienko
44b84ea5cb Using -std=c++11 compiler flag 2015-06-09 22:48:19 +03:00
Pavel Kirienko
6f22745e55 Multithreading test for Linux 2015-06-09 19:49:16 +03:00
Pavel Kirienko
c793ab4177 Linux driver fix 2015-06-09 19:01:54 +03:00
Pavel Kirienko
2b8517905d Linux driver: Refactored node instantiation helpers 2015-06-08 21:30:48 +03:00