Commit Graph

34 Commits

Author SHA1 Message Date
Pavel Kirienko eff6a7b5d0 get_next_active_node_id() - starting from 0 2016-10-23 15:26:10 +02:00
Lorenz Meier 7d7e40f594 UAVCAN: Adjust stack size to platform 2016-09-11 20:07:30 +02:00
Pavel Kirienko 24e90e3c90 UAVCAN servers: fixed member initialization; removed dead stuff 2016-08-18 17:14:53 +02:00
Pavel Kirienko 2784c3c5f0 Improved uavcan activity indication 2016-08-18 17:14:53 +02:00
Pavel Kirienko 64d7946cdc Fixed beep duration 2016-08-18 17:14:53 +02:00
Pavel Kirienko 36efc8c83e Fixed beeping 2016-08-18 17:14:53 +02:00
Pavel Kirienko 61ffc6c432 Fixed implementation of the ESC auto-enumeration feature 2016-08-18 17:14:53 +02:00
Pavel Kirienko 42031ab572 Better beeping during ESC enumeration 2016-08-18 17:14:53 +02:00
Pavel Kirienko c08eec0a23 Fixed stack overflow in UAVCAN process (#4643)
* Increased uavcan stack size; the old value of 1800 was insufficient

* Removed a misleading warning message from uavcan servers initialization
2016-05-26 20:00:10 +02:00
Holger Steinhaus 8d66e1c0ef Renamed shadowed variable 2016-01-29 09:06:33 +01:00
David Sidrane 5d422f5c30 Updated comments 2015-12-04 12:25:51 -10:00
David Sidrane bc89f6faef todo:Added todo for using strcat 2015-12-04 12:25:51 -10:00
David Sidrane daccfc6c40 Fixed repeated output 2015-12-04 12:25:51 -10:00
David Sidrane 31241c9b49 Fixed off-by-one errors 2015-12-04 12:25:51 -10:00
David Sidrane 31a773e3ce Use _ prefix o uavcan files in ROMFS , simplify upgrade 2015-12-04 12:25:51 -10:00
Lorenz Meier 80439989a9 UAVCAN: Initialize thread attributes correctly 2015-12-03 14:28:17 +01:00
Lorenz Meier 9f89426d5e Merge pull request #3227 from thiemar/uavcan_param_save_fix
Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160]
2015-11-20 22:32:14 +01:00
Ben Dyer 442c0d47ef Fix off-by-one error in parameter count [resolves PX4/Firmware#3162] 2015-11-20 23:32:54 +11:00
Ben Dyer a27a6acb54 Don't call param_opcode unless there are dirty nodes [resolves PX4/Firmware#3160] 2015-11-20 22:29:40 +11:00
Pavel Kirienko 5b9fc2d9fa Proper termination of UAVACN server thread 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
Ben Dyer 7dacb835b9 Fixing build on targets without the UAVCAN module 2015-10-14 00:50:07 +11:00
Ben Dyer d071177dd6 Added ROMFS firmware update support 2015-10-13 21:50:23 +11:00
Ben Dyer bde79c80b2 Added parameter save/erase support 2015-10-13 21:50:23 +11:00
Ben Dyer 2a7e75043d Reduced logging verbosity; fixed stack size; fixed ESC indexes 2015-10-13 21:50:23 +11:00
Ben Dyer f200260618 Exit uavcan fw process when armed 2015-10-13 21:50:23 +11:00
Ben Dyer 250c912704 Added MAVLink/UAVCAN parameter bridge; implemented UAVCAN ESC enumeration 2015-10-13 21:50:23 +11:00
Lorenz Meier a3b863bdd9 UAVCAN: Receive commands from the GCS 2015-10-13 21:50:23 +11:00
Lorenz Meier d2fb49e5f3 UAVCAN: Give the firmware upgrade thread a human-readable name 2015-10-10 22:23:33 +02:00
David Sidrane 05a08252ff Bugfix:pthread_create retuns 0 on success and positive error on error without errono set 2015-09-23 08:19:23 -10:00
Pavel Kirienko 8d67483d18 UAVCAN: using only primary interface for servers 2015-08-23 21:28:47 +03: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
David Sidrane 22d46fa733 Merged master_uavcan_modular src/modules/uavcan/ 2015-07-09 11:22:35 -10:00