Commit Graph

46487 Commits

Author SHA1 Message Date
Pavel Kirienko 89e5cf60e0 Added top-level CMake script 2014-03-29 15:18:36 +04:00
Julian Oes d422d443ee bottle_drop: started rewrite in C++ 2014-03-29 12:14:57 +01:00
Pavel Kirienko 18e4d919c1 uavcan_dsdlc renamed to libuavcan_dsdlc 2014-03-29 14:54:26 +04:00
Pavel Kirienko e212c6a9d5 Rewritten CMake installation directives, added setup.py for libuavcan_dsdl_compiler. uavcan_dsdlc should be lifted from libuavcan to a separate subproject in order to add support for other programming languages 2014-03-29 14:31:27 +04:00
Julian Oes 33d65eae97 Merge remote-tracking branch 'px4/master' into bottle_drop 2014-03-29 11:16:15 +01:00
Pavel Kirienko 77d46cb91f pyuavcan setup.py 2014-03-29 12:35:52 +04:00
Pavel Kirienko fc543fafe6 Rewritten CMakeLists.txt; now it should work with any compiler (not only GCC). By default it compiles just libuavcan itself and nothing else. In case of GCC or Clang it is possible to select C++ standard (03/11, the latter is default) 2014-03-29 00:35:36 +04:00
Pavel Kirienko 0e2965e6fb Reorganized CMake script; unit tests and cppcheck will be used only if CMAKE_BUILD_TYPE=Debug, otherwise they are not required 2014-03-28 22:36:55 +04:00
Pavel Kirienko b25efbb996 Fixed uninitialized variable in Array<> 2014-03-28 21:40:43 +04:00
Pavel Kirienko eead3f55ec libuavcan installation rules 2014-03-28 20:25:02 +04:00
Pavel Kirienko 4b1c4014c1 dsdlc fix - now works correctly under root 2014-03-28 20:13:34 +04:00
Pavel Kirienko 162a066575 Updated magic number for uavcan.protocol.StartHilSimulation 2014-03-28 20:03:26 +04:00
Pavel Kirienko c6df3833d3 Subscriber and Server register their internal errors in the global transport perf counter object 2014-03-28 19:31:02 +04:00
Pavel Kirienko 0d9be57d92 handleFatalError() moved to error.hpp 2014-03-28 19:26:25 +04:00
Pavel Kirienko ae63ad5db5 Meaningful error codes instead of plain -1 2014-03-28 19:21:08 +04:00
Pavel Kirienko 4886e2194f Proper data alignment for allocator and lazy constructor 2014-03-28 13:47:21 +04:00
Pavel Kirienko c54b3314e4 Superheader <uavcan/uavcan.hpp> 2014-03-28 13:33:44 +04:00
Pavel Kirienko 6b733dde49 Main Node class 2014-03-28 13:21:56 +04:00
Pavel Kirienko b85fdc886b Added method Logger::init() (optional) 2014-03-28 11:53:07 +04:00
Anton Babushkin a991ebd8ca Merge branch 'master' into mpc_local_pos 2014-03-28 10:44:28 +04:00
Pavel Kirienko 062170c995 Using std::function<> for callbacks with C++11 2014-03-28 02:17:00 +04:00
Pavel Kirienko c769626eef Fixed timings for tests in order to reduce probability of test failure on a non-realtime system 2014-03-28 02:04:22 +04:00
Thomas Gubler 3e9dfcb6f7 mtecs: first rough version of takeoff mode 2014-03-27 22:57:29 +01:00
Pavel Kirienko 86269c32ff Fix for the previous commit 2014-03-28 01:39:43 +04:00
Thomas Gubler d3ca12f136 mtecs: BlockPDLimited: make sure dt > 0 2014-03-27 22:34:23 +01:00
Pavel Kirienko 7616c214b3 Auto ptr checks in tests 2014-03-28 01:32:58 +04:00
Thomas Gubler d102afba8b mtecs: make sure dt is calculated before any control calculations 2014-03-27 22:12:01 +01:00
Thomas Gubler 0d526bddca fw_pos_control: whitespace in module.mk 2014-03-27 21:47:34 +01:00
Pavel Kirienko c7cc8c8758 Removed duplicated code of Timer 2014-03-28 00:27:14 +04:00
Thomas Gubler 4824484497 mtecs: add FPA D gain 2014-03-27 21:22:22 +01:00
Pavel Kirienko 96aa295615 NodeInitializer - performs network checks during intialization: NodeID collisions, incompatible data types 2014-03-28 00:15:19 +04:00
Don Gagne f97263f5a0 Added comprehensive arming_state_transition unit test
Also converted full to C++ style. Also converted to new unit test code.
2014-03-27 13:07:27 -07:00
Don Gagne dcc11b8cab Update to convert to C++ style 2014-03-27 13:06:09 -07:00
Don Gagne b9a56fbeb9 Fixed bug with transition from in air restore to armed
Also added better debug output for invalid transitions
2014-03-27 13:05:51 -07:00
Don Gagne d5a7e7c52b Rewrote to provide better feedback
Also allows variables as well as static text for assert text in
ut_assert
2014-03-27 13:05:03 -07:00
Pavel Kirienko 49eb6fa463 Forgotten #pragma once 2014-03-27 22:50:30 +04:00
Pavel Kirienko 701f2a07e1 ServiceClient incapsulation fix 2014-03-27 22:24:13 +04:00
Thomas Gubler 54e1f2b2ce Merge branch 'paul_mtecs_hil' into paul_mtecs 2014-03-27 18:29:37 +01:00
Thomas Gubler fa336e4a97 Merge remote-tracking branch 'upstream/master' into paul_mtecs 2014-03-27 18:19:57 +01:00
Thomas Gubler 9b1de5004c Merge pull request #780 from PX4/hotfix_hil_rc_loss
commander: workaround to prevent RC loss in HIL
2014-03-27 18:07:39 +01:00
Julian Oes 66527eea02 commander: workaround to prevent RC loss in HIL 2014-03-27 17:54:29 +01:00
Pavel Kirienko 159fda99db Some constructors made explicit 2014-03-27 14:09:22 +04:00
Pavel Kirienko f30b071fcf Preventing recursive calls of Scheduler::spin() 2014-03-27 14:03:05 +04:00
Pavel Kirienko 5157f9182e C++11 Timer API 2014-03-27 13:52:41 +04:00
Pavel Kirienko c4e0404d02 Added test with -O3, removed noexcept tests, the library compiles in two versions: C++11 (default) and C++03 (with suffix '_cpp03') 2014-03-27 13:51:16 +04:00
Pavel Kirienko 9476dfbdad Renaming: Timer --> TimerBase, see the next commit 2014-03-27 11:59:02 +04:00
Pavel Kirienko 0dff5b36e4 TransportStatsProvider 2014-03-27 03:13:25 +04:00
Pavel Kirienko 851e984e35 Renaming TransportPerfCounter --> TransferPerfCounter 2014-03-27 02:51:06 +04:00
Pavel Kirienko da357f5992 TransportPerfCounter - counting transfers and transport errors 2014-03-27 02:19:27 +04:00
Don Gagne 521539897e Simpler state transition code
Also fixed ARMING_STATE_ARMED_ERROR->ARMING_STATE_STANDBY_ERROR
transition.
2014-03-26 14:51:57 -07:00