Commit Graph

46487 Commits

Author SHA1 Message Date
Pavel Kirienko 3d8285b123 Common naming conventions for event handling methods: handleFooBar() instead of onFooBar() 2014-03-10 14:03:46 +04:00
Pavel Kirienko 393641b5b6 Conforming style for TimerEventForwarder<> 2014-03-10 14:00:51 +04:00
Pavel Kirienko 4b92497aee Refactoring - Scheduler, GenericPublisher, GenericSubscruber moved into /uavcan/internal/node/* 2014-03-10 13:53:10 +04:00
Pavel Kirienko 6573d79fd1 Style fix in Map<> 2014-03-10 11:18:04 +04:00
Pavel Kirienko 224a072120 try_implicit_cast<>() supports non default constructible target types 2014-03-10 11:12:57 +04:00
Pavel Kirienko 38e43e58ad Nicer TimerEventForwarder<> 2014-03-10 11:01:43 +04:00
Pavel Kirienko 2aa9d8cdb5 Subscriber properly handles types that do not require buffering (i.e. types that do not require MFT transport). Ugly test added. 2014-03-10 01:50:42 +04:00
Anton Babushkin 1a795f2671 Merge branch 'master' into sdlog2_opt 2014-03-09 22:12:03 +04:00
Anton Babushkin 7de6513950 Merge branch 'master' into beta_mavlink2 2014-03-09 22:10:46 +04:00
Anton Babushkin 647142764f position_estimator_inav: hotfix, change lower dt limit from 5 ms to 2 ms 2014-03-09 22:08:28 +04:00
Pavel Kirienko 30aa1bdecc StaticIf<> renamed to much more appropriate and widely known name - Select<> 2014-03-09 21:50:58 +04:00
Pavel Kirienko ce618f6436 Utils moved to uavcan/util/* 2014-03-09 21:46:21 +04:00
Pavel Kirienko 0aa76d71e3 Comparison operators for generated types 2014-03-09 21:28:46 +04:00
Pavel Kirienko ee1de9ab2e Streaming operator for generated types was moved into the type's namespace 2014-03-09 21:13:37 +04:00
Pavel Kirienko 3dc5183317 Centralized fatal error handling via handleFatalError(msg) 2014-03-09 20:48:06 +04:00
Pavel Kirienko 1b7efa45f5 Subscriber: proper destruction, tests for that, tests for getFailureCount() 2014-03-09 19:37:07 +04:00
Julian Oes 8267bdf4a5 fw_att_control: airspeed is now used correctly 2014-03-09 15:50:41 +01:00
Pavel Kirienko 31e169db4a Added checks for the subscriber test 2014-03-09 18:02:28 +04:00
Pavel Kirienko 2c2d7605a7 Subscriber with simple test 2014-03-09 17:58:32 +04:00
Pavel Kirienko 5fa5962f6f Tests: areTimestampsClose() moved to common.hpp 2014-03-09 17:58:17 +04:00
Pavel Kirienko acca96f5a0 Quick fix for test execution order problems (yes, singletones are hard to unittest) 2014-03-09 17:03:39 +04:00
Pavel Kirienko c7351c4bbb Improved MethodBinder 2014-03-09 16:53:32 +04:00
Pavel Kirienko c1a8f818f8 GDTR tracing 2014-03-09 16:49:59 +04:00
Lorenz Meier d2905b8d8e SF02/F operational, but not cleaned up / optimized - good enough for first logging 2014-03-09 11:18:02 +01:00
Pavel Kirienko 326f7082d5 Syntax fix 2014-03-09 14:07:51 +04:00
Pavel Kirienko 6a2eb3b852 Tests for try_implicit_cast<>() 2014-03-09 14:04:11 +04:00
Pavel Kirienko 1659b5c476 Added try_implicit_cast<>() to check callbacks validness at run time 2014-03-09 13:47:07 +04:00
Pavel Kirienko 0afb7f4eea Minor optimization for publisher 2014-03-09 11:24:13 +04:00
Pavel Kirienko 8bd1dd01e9 Test fix 2014-03-09 11:17:34 +04:00
Pavel Kirienko 081f1f9733 Publisher got simplified - no blocking deadline, default tx_timeout = 2.5 ms 2014-03-09 11:14:31 +04:00
Lorenz Meier d69d895f02 Add missing CDev init step 2014-03-09 00:46:13 +01:00
Pavel Kirienko baed1d17c5 IncomingTransfer implements ITransferBuffer, which is necessary for message codec 2014-03-09 00:47:01 +04:00
Lorenz Meier 171af566f7 Allow to set the UART via start argument, cleanups 2014-03-08 21:45:22 +01:00
Pavel Kirienko 31e47daf84 Fixed fatal error handing (exceptions); MethodBinder moved into a separate file 2014-03-09 00:12:07 +04:00
Lorenz Meier 7cc33b9ca6 Complete output parsing, pending testing 2014-03-08 21:06:29 +01:00
Pavel Kirienko d9474388b0 Compile time BitLenToByteLen computation; marshal type util tests 2014-03-08 23:24:20 +04:00
Pavel Kirienko fb329a2f0a Typo 2014-03-08 23:08:30 +04:00
Pavel Kirienko 395710b781 getScheduler() for Publisher 2014-03-08 23:04:05 +04:00
Pavel Kirienko 77184fc062 Writing top-level logic - publisher 2014-03-08 23:01:05 +04:00
Lorenz Meier 008efff42e Added support for driver rangefinder 2014-03-08 20:00:06 +01:00
Anton Babushkin b165e6ba20 Merge branch 'master' into acro2 2014-03-08 22:19:18 +04:00
Thomas Gubler be140eab59 geofence: make better use of Block class for updating parameters 2014-03-08 19:15:45 +01:00
Anton Babushkin 7749ed1d83 Merge branch 'master' into gpio_led_fmuv2 2014-03-08 22:06:32 +04:00
Pavel Kirienko 35db1858c8 Latest fixes to GDTR made such thing as name collisions completely impossible, so tests were fixed accordingly 2014-03-08 22:03:58 +04:00
Anton Babushkin 544de3c9f0 Merge branch 'getopt_fixes' into sdlog2_opt 2014-03-08 22:03:25 +04:00
Pavel Kirienko 7e17e852d1 Static analyzer warning fix; I'm not sure there is any point in such initialization though, so it might need to be removed later 2014-03-08 22:02:51 +04:00
Thomas Gubler 935362b7a3 launchdetection: better integration of Blocks class 2014-03-08 19:00:49 +01:00
Pavel Kirienko 5a92b58e3e Safer LazyConstructor - now requires to specify constructor parameter types manually 2014-03-08 21:50:28 +04:00
Lorenz Meier 5c86eb6dd0 Fix code style of mb12xx driver, no functional changes 2014-03-08 18:48:24 +01:00
Anton Babushkin cb8bd1a3ad dumpfile command and fetch_log.py tool implemented to fetch logs via nsh console on USB 2014-03-08 21:05:13 +04:00