Commit graph

477 commits

Author SHA1 Message Date
William Woodall
5bd71c1f80 refactor executor::cancel to use a spinning state 2015-11-12 17:39:10 -08:00
Jackie Kay
0a478e5233 Implement cancel 2015-11-12 16:29:17 -08:00
Jackie Kay
fabea6b4b6 Merge pull request #151 from ros2/qos_services
Expose QoS profile in create_service and create_client
2015-11-12 09:38:18 -08:00
Jackie Kay
2b8d38d012 Expose QoS profile in create_service and create_client 2015-11-11 18:41:09 -08:00
Jackie Kay
24f9df6102 Merge pull request #149 from ros2/executor_spin_future
Add spin_once and spin_until_future_complete to Executor
2015-11-06 16:21:09 -08:00
Jackie Kay
660d762072 Add spin_once and spin_until_future_complete to Executor 2015-11-06 16:20:17 -08:00
Esteve Fernandez
f4a094afc8 Merge pull request #147 from ros2/perfect-forwarding
Pass callbacks as universal references
2015-11-06 12:04:28 -08:00
Esteve Fernandez
e42d7d7044 Merge pull request #148 from ros2/cpplint
Fix cpplint warnings
2015-11-06 10:12:46 -08:00
Esteve Fernandez
39b66fa0b5 Fix cpplint warnings 2015-11-06 10:03:39 -08:00
Esteve Fernandez
8c47f6151b Pass callbacks as universal references 2015-11-06 09:49:31 -08:00
Jackie Kay
361faf650d Merge pull request #146 from ros2/fix_timer
Change behavior of timer on construction
2015-11-06 09:29:06 -08:00
Jackie Kay
dcd5117f89 Change timer beginning behavior 2015-11-06 09:28:10 -08:00
William Woodall
ca64af3145 Merge pull request #140 from ros2/rclcpp_library
Make rclcpp in to a library
2015-11-05 21:01:13 -08:00
William Woodall
36cd6e3cdd [style] uncrustify 2015-11-05 19:01:14 -08:00
William Woodall
3dd193efbb fixes for Windows 2015-11-05 18:55:53 -08:00
William Woodall
ef89f5a5ab remove unnecessary header 2015-11-05 18:55:52 -08:00
William Woodall
51695d1b24 [style] cpplint/uncrustify 2015-11-05 18:55:52 -08:00
William Woodall
0bbe9b2099 update code after splitting into headers and cpp files 2015-11-05 18:55:52 -08:00
William Woodall
f531b02928 split headers into cpp files 2015-11-05 18:55:51 -08:00
William Woodall
f0faa1fefe prepare splitting headers into cpp files 2015-11-05 18:55:47 -08:00
Jackie Kay
26aab4fceb Merge pull request #144 from ros2/fix_sleep_for_windows
account for spurious wake ups from std::condition_variable::wait_for
2015-11-03 16:39:36 -08:00
Dirk Thomas
91e78406ce Merge pull request #145 from ros2/fix_warning
fix warning about ignored return value
2015-11-03 16:00:35 -08:00
Dirk Thomas
4bd359f8f0 fix warning about ignored return value 2015-11-03 14:47:34 -08:00
Jackie Kay
426b77bcd9 fix deleted invocation of copy constructor on Linux 2015-11-03 14:28:28 -08:00
William Woodall
dd6aeb2582 add interrupted bool, to account for spurious wake ups from std::condition_variable::wait_for 2015-11-03 13:40:59 -08:00
Esteve Fernandez
2320765ee3 Merge pull request #143 from ros2/support-lambdas
Remove reference so that lambdas are supported
2015-11-03 12:00:36 -08:00
Esteve Fernandez
69662b58b3 Remove reference so that lambdas are supported 2015-11-03 11:41:45 -08:00
Esteve Fernandez
973e38301d Merge pull request #142 from ros2/pass-vector-references
Pass const references to parameters client API
2015-11-02 12:20:53 -08:00
Esteve Fernandez
421f6b8b5e Pass const references to parameters client API 2015-11-02 11:04:47 -08:00
Jackie Kay
010fa3d078 Merge pull request #137 from ros2/allocator_template
Allocator template for publish/subscribe pipeline
2015-10-29 17:14:58 -07:00
William Woodall
142c9abbaa Fix windows vector issue 2015-10-29 17:14:25 -07:00
Jackie Kay
24fb204192 Cpplint and cleanup 2015-10-29 17:14:21 -07:00
Jackie Kay
fc48cf5fa2 remove pool memory strategies 2015-10-28 18:04:28 -07:00
Jackie Kay
0e78ea0512 static factory method 2015-10-28 18:04:28 -07:00
Jackie Kay
06818ee78c move a lot to memory strategy 2015-10-28 18:04:25 -07:00
Jackie Kay
c663d892a4 templatize IPM state 2015-10-28 18:04:25 -07:00
Jackie Kay
4138e6be1d Use allocate_shared 2015-10-28 18:04:25 -07:00
Jackie Kay
ea21d9263a rebind allocator in mapped_ring_buffer 2015-10-28 18:04:21 -07:00
Jackie Kay
0cd13608f7 Add allocator memory strategy 2015-10-28 18:04:18 -07:00
Jackie Kay
788be0009d template subscriber, using rebind semantics 2015-10-28 18:04:12 -07:00
Jackie Kay
444e4fdae3 templated stl structures exposed in Node 2015-10-28 18:04:12 -07:00
Jackie Kay
2e68bd5438 publisher template on allocator 2015-10-28 18:03:59 -07:00
Esteve Fernandez
c76d3afbd3 Merge pull request #139 from ros2/cpplint-int
Replace unsigned long with uint32_t
2015-10-28 15:10:53 -07:00
Esteve Fernandez
1b2e171261 Replace unsigned long with uint32_t 2015-10-28 14:09:12 -07:00
Jackie Kay
dbe0f9e501 Merge pull request #138 from ros2/remove_friends
Remove declaration of friendship for Executor
2015-10-26 17:02:45 -07:00
Jackie Kay
0e5094693e Remove declaration of friendship for Executor in callback_group, client, node, service, subscription, timer 2015-10-26 17:02:14 -07:00
Esteve Fernandez
f50d8c4525 Merge pull request #135 from ros2/function-traits-cleanup
Clean up function_traits
2015-10-23 16:42:50 -07:00
Esteve Fernandez
cadf67e5cc Merge pull request #136 from ros2/weak-ptr-node
Pass weak pointer to callback
2015-10-23 11:59:09 -07:00
Esteve Fernandez
808d54c613 Pass weak pointer to callback 2015-10-21 13:12:09 -07:00
Esteve Fernandez
e67f3205d4 Clean up function_traits 2015-10-21 09:48:26 -07:00