Commit Graph

48668 Commits

Author SHA1 Message Date
Pavel Kirienko d5e30f643c Renaming: MonotonicDeadlineHandler --> DeadlineHandler 2014-03-11 14:49:43 +04:00
Pavel Kirienko 65a4dcc2cf Superrefactoring - all time values were replaced with new safer classes from uavcan/time.hpp; generated types were moved away from anonymous namespaces because this makes it impossible to use a type from different compilation units. Some less vital fixes are to follow - see the next few commits 2014-03-11 14:41:48 +04:00
Julian Oes 2f06f15240 fw_att_control: whitespace only 2014-03-11 11:09:49 +01:00
Julian Oes 2cd29b7c8c fw_att_control: proper struct initialization 2014-03-11 11:07:48 +01:00
Julian Oes 2db140bcab fw_att_control: delete the unused flag 2014-03-11 10:59:11 +01:00
Lorenz Meier b7662537df Fix code style of laser rangefinder 2014-03-11 10:54:48 +01:00
Lorenz Meier 7851472ae9 Laser range finder ready to roll, logging tested 2014-03-11 10:52:53 +01:00
Lorenz Meier 290b07920c Fixed missing reset of poll rate after test exit in ultrasound driver 2014-03-11 10:52:26 +01:00
Thomas Gubler e8efbc7f3f navigator: RTL: set normal waypoint instead of takeoff waypoint in RTL_STATE_CLIMB 2014-03-11 10:46:18 +01:00
Thomas Gubler 40394c6744 navigator: RTL: set loiter wp instead of normal waypoint in RTL_STATE_DESCEND 2014-03-11 10:46:08 +01:00
Anton Babushkin b3839afbbc mavlink: channel ID allocation fixed 2014-03-11 11:12:39 +04:00
Thomas Gubler 313b546c4d fw pos ctrl: add wrapper function for tecs 2014-03-10 23:37:26 +01:00
julianoes b6a087e921 Merge pull request #718 from thomasgubler/fw_posctrl_warning
fw posctrl: change 2 functions that return nothing from int to void
2014-03-10 22:50:14 +01:00
Thomas Gubler e0cf0e3f41 fw posctrl: change 2 functions that return nothing from int to void 2014-03-10 22:47:22 +01:00
Anton Babushkin ddb94ceba8 attitude_estimator_ekf: hotfix, do mag declination rotation matrix initialization 2014-03-10 23:39:31 +04:00
Lorenz Meier a6d9b7e864 Merged stack size changes 2014-03-10 19:06:54 +01:00
Lorenz Meier 368c2390cf Merge pull request #673 from PX4/romfs_prune
ROMFS: ignore comments and newlines in startup files, text in mixer files
2014-03-10 19:01:23 +01:00
Lorenz Meier b4cec8593e Merge pull request #707 from thomasgubler/fwtrim
Add simple control offset parameter for fw attitude (master)
2014-03-10 19:00:14 +01:00
Lorenz Meier 36843b55c4 Merge pull request #715 from thomasgubler/geofence
Geofence: make better use of Block class for updating parameters
2014-03-10 18:59:57 +01:00
Lorenz Meier 100ad89079 Merge pull request #714 from thomasgubler/launchdetection_cleanup
launchdetection: better integration of Block class
2014-03-10 18:59:34 +01:00
Lorenz Meier 30a57421f8 Dropped default gains 2014-03-10 18:48:07 +01:00
Lorenz Meier 3f3abebf68 Add range finder to logging 2014-03-10 18:47:31 +01:00
Lorenz Meier 1c488a95da Added laser range finder logging, needs testing 2014-03-10 18:46:22 +01:00
Pavel Kirienko 633fa9d8bd Bitarray copy algorithm was moved to C++ source file, thus C compiler is no longer required 2014-03-10 19:33:06 +04:00
Pavel Kirienko b86ea67563 Reorganized directory structure for tests and src 2014-03-10 19:25:28 +04:00
Pavel Kirienko 21fda96978 Type safe time classes with tests, to replace uint64_t for time values 2014-03-10 19:00:59 +04:00
Pavel Kirienko aa7a74bd1e Scheduler test moved into the appropriate directory 2014-03-10 17:25:25 +04:00
Thomas Gubler 8719c12e9a Merge pull request #708 from PX4/stack_reduce
Reduce excessive stack sizes on main OS stacks.
2014-03-10 12:52:34 +01:00
Pavel Kirienko 1f2b8bf006 Checking the max transfer payload length for generated types 2014-03-10 15:51:59 +04:00
Pavel Kirienko ee7a847ce0 dsdlc template renamed to *.tmpl to enable proper syntax highlighting and avoid confusion with C++ headers 2014-03-10 15:48:27 +04:00
Pavel Kirienko d834edbf62 Forgotten explicit keyword for timer forwarder constructor 2014-03-10 14:08:30 +04:00
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