Commit graph

277 commits

Author SHA1 Message Date
Jackie Kay
2418947a3e Merge pull request #66 from ros2/wait_timeout
Pass timeout duration to invocation of rmw_wait
2015-08-04 19:24:41 -07:00
Jackie Kay
3829c945e4 Refactor to pass std::chrono::duration to executor spin, wait_for_work 2015-08-04 19:21:25 -07:00
Dirk Thomas
69dcd0c566 throw exception if environment variable is not an integer (#78) 2015-08-04 18:15:26 -07:00
Dirk Thomas
780ddf4367 Merge pull request #78 from ros2/domain_id
add domain id to rmw_create_node
2015-08-04 17:13:35 -07:00
Tully Foote
93f68e4869 Merge pull request #79 from ros2/charstar_params
adding char * constructor for ParameterVarient
2015-08-04 16:43:50 -07:00
Tully Foote
442d1e5e0a adding char * constructor for ParameterVarient fixes #75 using delegated constructor 2015-08-04 16:26:12 -07:00
Dirk Thomas
4a3167b713 add domain id to rmw_create_node 2015-08-04 15:56:39 -07:00
Dirk Thomas
726ec916e7 callback group must only store weak ptrs 2015-08-04 09:39:29 -07:00
Dirk Thomas
4972f7a711 fix busy loop in spin_node_until_future_complete() 2015-07-29 09:26:05 -07:00
Dirk Thomas
4a21953c8e fix type conversion warnings 2015-07-27 17:47:51 -07:00
Jackie Kay
f5c3792f5c Workaround for windows build 2015-07-24 18:07:50 -07:00
Jackie Kay
74a216a65b Message memory pool strategy 2015-07-24 15:05:53 -07:00
Dirk Thomas
e3b6eee8c1 add explicit build type 2015-07-23 11:18:30 -07:00
Dirk Thomas
d98e3fe427 add missing checks for rmw return codes 2015-07-21 15:57:08 -07:00
Jackie Kay
3bc43653d1 Merge pull request #62 from ros2/fix_static_memory_strategy
Fix static memory strategy
2015-07-21 15:10:57 -07:00
Jackie Kay
12612eecda Fix static memory strategy 2015-07-21 15:07:15 -07:00
Jackie Kay
76963dd24d Merge pull request #60 from ros2/executor_inherit_constructor
Pass memory strategy to Executor constructor in child classes
2015-07-21 13:33:55 -07:00
Dirk Thomas
0fd8cbe6fb raise warning level 2015-07-20 17:42:10 -07:00
Jackie Kay
99c81ce617 Style 2015-07-20 10:45:48 -07:00
Jackie Kay
bc89a4c2f0 change executor impls. to pass memory strategy to parent constructor 2015-07-20 10:36:30 -07:00
Dirk Thomas
b8c11addff fix error handling in node constructor 2015-07-20 10:29:54 -07:00
Dirk Thomas
370cdcc733 style fix only 2015-07-17 14:35:40 -07:00
Dirk Thomas
d17ef2ca9c more const references 2015-07-16 22:45:20 -07:00
Dirk Thomas
b62ab6a8c4 Merge pull request #58 from ros2/fix_spin_once_and_some
fix executor spin_once and spin_some
2015-07-16 22:33:43 -07:00
Dirk Thomas
76c41bb048 pass strings as const reference 2015-07-16 22:30:16 -07:00
Dirk Thomas
60cb347807 fix executor spin_once and spin_some 2015-07-16 22:28:40 -07:00
Dirk Thomas
ba7663bb0b check return value of remaining rmw function calls 2015-07-16 14:49:23 -07:00
William Woodall
62fcb3781a Merge pull request #51 from ros2/memory_audit
Fixes to support proper lifecycle of the rmw objects and other tear down issues
2015-07-15 14:23:15 -07:00
William Woodall
edc1886173 incorporating changes from #53 2015-07-15 12:54:15 -07:00
William Woodall
9df50f5355 make all destructors virtual 2015-07-15 12:54:15 -07:00
William Woodall
16323b3f92 avoid streaming directly to std::cerr 2015-07-15 12:54:15 -07:00
William Woodall
2d5afac3a6 use new rmw_get_error_string_safe func 2015-07-15 12:54:15 -07:00
William Woodall
397cde7ee9 Fix some lifecycle issues in the TimerBase class. 2015-07-15 12:54:15 -07:00
Jackie Kay
e7515303c8 Dirk's feedback: use auto, use trailing underscore, reorder includes 2015-07-13 16:09:54 -07:00
Jackie Kay
d3f5614bc7 namespace tags 2015-07-13 15:42:36 -07:00
Jackie Kay
541385a5df William's suggetions 2015-07-13 15:39:41 -07:00
Jackie Kay
0557b115bc Uncrustified 2015-07-13 14:49:08 -07:00
Jackie Kay
41cc5324f4 get next executable instantiation, move any_executable to own file, remove dynamic_memory_strategy 2015-07-13 14:48:19 -07:00
Jackie Kay
ba91c8d342 First pass at dependency injection of memory strategy objects 2015-07-13 12:01:36 -07:00
William Woodall
e8d150e544 share ownership of the rmw node handle
This prevents the node handle from getting
deleted before things it created can be deleted.

I also added destructors where necessary.
2015-06-29 19:15:54 -07:00
Esteve Fernandez
2917aed993 Added on_parameter_event to SyncParametersClient 2015-06-26 10:28:48 -07:00
Esteve Fernandez
94ece105c2 Prevent promises from going out of scope prematurely 2015-06-25 15:28:42 -07:00
Esteve Fernandez
e39af181d0 Improve list_parameters logic 2015-06-25 15:28:39 -07:00
Esteve Fernandez
1b26cd2d3d Listen on the correct topic 2015-06-24 17:25:53 -07:00
William Woodall
d6aab84414 fixup styles 2015-06-24 16:21:46 -07:00
Dirk Thomas
8f75c60124 add flag to ignore local publications 2015-06-23 16:00:12 -07:00
Dirk Thomas
e3f5355d62 add spin_node_once() 2015-06-22 16:00:56 -07:00
Dirk Thomas
3a4f14739c fix style 2015-06-20 11:25:42 -07:00
Dirk Thomas
3b337fd980 use separate exceptions 2015-06-20 11:25:26 -07:00
William Woodall
cab273ccc0 Merge pull request #42 from ros2/refactor_examples_and_interfaces
added get_type_name and to_string to ParameterVariant
2015-06-18 18:36:02 -07:00