Esteve Fernandez
1d5720f964
Merge pull request #131 from ros2/callback-unique-ptr
...
Unify create_subscription API
2015-10-15 14:35:40 -07:00
Esteve Fernandez
e2ade1f624
More expressive error messages
2015-10-15 13:56:59 -07:00
Esteve Fernandez
3061ec0ad5
Qualify template
2015-10-15 13:40:40 -07:00
Esteve Fernandez
07746c6834
Removed create_subscription_internal
2015-10-15 13:40:40 -07:00
Esteve Fernandez
b0a2b7610d
Replaced create_subscription_with_unique_ptr_callback with create_subscription
2015-10-15 13:40:40 -07:00
Esteve Fernandez
d0ebdb239c
Added check_argument_types to simplify checking for a functor's arity and the types of its arguments
2015-10-15 13:38:46 -07:00
Jackie Kay
4fa974d96f
Change doc block
2015-10-15 09:30:29 -07:00
Jackie Kay
d7ffcc681f
reduce redundant memory allocations in default memory strategy
2015-10-15 09:30:21 -07:00
William Woodall
a61e375436
Merge pull request #128 from ros2/create_subscription_with_queue_size
...
add version of create_subscription which just takes queue size and not a qos profile
2015-10-14 16:13:13 -07:00
William Woodall
09dc78eafa
add version of create_subscription which just takes queue size and not a qos profile
2015-10-14 13:53:18 -07:00
William Woodall
bdf2ac80c1
small changes to make the publish const reference api work
2015-10-14 13:29:31 -07:00
William Woodall
c78ff7f422
Merge pull request #125 from ros2/create_publisher_with_queue_size
...
add create_publisher signature which takes just a queue size
2015-10-14 13:18:19 -07:00
Jackie Kay
a30b9d5539
Add const to do_inter_process_publish
2015-10-14 11:41:24 -07:00
William Woodall
b3a88a9974
add create_publisher signature which takes just a queue size
2015-10-14 11:19:47 -07:00
Jackie Kay
743d9d0e76
add template parameter to publisher
2015-10-14 01:13:10 -07:00
Jackie Kay
581e5213f2
add publish specialization for shared_ptr<const MessageT>
2015-10-13 15:22:03 -07:00
Esteve Fernandez
ea9d3306d7
Update const callbacks
2015-10-13 11:57:05 -07:00
Esteve Fernandez
3294098602
Added comments about the SFINAE voodoo
2015-10-13 11:09:55 -07:00
Esteve Fernandez
c5455beceb
Update callback signature
2015-10-13 11:09:55 -07:00
Esteve Fernandez
9f65b9dd59
Added tests for rclcpp::function_traits and work around expression SFINAE
2015-10-13 11:09:55 -07:00
Jackie Kay
00daba2726
add any subscription callback types for const, remove references from unique_ptrs
2015-10-13 11:07:15 -07:00
Jackie Kay
383f7c863c
Use variadic macros
2015-10-09 16:33:33 -07:00
Jackie Kay
af9d64106b
Add vectors to memory strategy and reserve space
2015-10-07 14:37:35 -07:00
Tully Foote
b2e4b2abae
Add functions to dump ParameterVariants and std::vector<ParameterVariant> to json encoded strings.
2015-09-27 23:57:22 -07:00
William Woodall
3eb44ed6a0
remove redundant comparison; simplify logic
2015-09-16 15:51:24 -07:00
Jackie Kay
6f075175d2
Merge pull request #113 from ros2/spin_until_future_complete
...
Pass timeout to spin_until_future_complete
2015-09-16 09:34:49 -07:00
Jackie Kay
80658c19d7
Pass timeout to spin_until_future_complete
2015-09-15 17:02:52 -07:00
Esteve Fernandez
5f573661b3
Merge pull request #112 from ros2/fix-crash-windows
...
Remove references to shared pointers
2015-09-15 16:36:18 -07:00
Jackie Kay
70288cab46
Merge pull request #106 from ros2/rt_memory_strategy
...
StaticMemoryStrategy -> HeapPoolMemoryStrategy, create StackPoolMemoryStrategy
2015-09-15 13:52:28 -07:00
Jackie Kay
9265a198f6
Create StackPoolMemoryStrategy
2015-09-15 13:51:51 -07:00
Jackie Kay
7a69265700
Rename static_memory_strategy.hpp to heap_pool_memory_strategy
2015-09-15 12:20:04 -07:00
Esteve Fernandez
f94cb35e06
Remove references to shared pointers
2015-09-14 12:11:18 -07:00
Jackie Kay
2d840a5f3a
Return code for spin_until_future_complete
2015-09-14 10:22:08 -07:00
Dirk Thomas
789c11f89a
remove references on smart pointers
2015-08-28 14:02:30 -07:00
Brian Gerkey
1b631754e5
Merge branch 'master' into document_user_fns
...
Conflicts:
rclcpp/include/rclcpp/node.hpp
rclcpp/include/rclcpp/subscription.hpp
2015-08-28 13:50:31 -07:00
William Woodall
51ecd3f386
adding callbacks and publish for unique_ptrs
2015-08-28 12:26:06 -07:00
Dirk Thomas
351eb96e8c
declare dependency
2015-08-27 14:07:18 -07:00
Jackie Kay
9f0cda20af
Correct doxygen blocks
2015-08-27 10:10:14 -07:00
Jackie Kay
3ef83ec292
uncrustify
2015-08-26 17:37:49 -07:00
Jackie Kay
b0a196ee9f
Lots of comments
2015-08-26 17:37:49 -07:00
Jackie Kay
0a72cd7fcb
mark up all the functions to document
2015-08-26 17:37:49 -07:00
William Woodall
2d8796114b
use gid comparison to filter duplicate messages
2015-08-26 11:36:47 -07:00
Jackie Kay
677f4d47fe
Prevent malloc of size 0 in memory strategy
2015-08-25 13:50:12 -07:00
Jackie Kay
59dc29a3bf
check intra-process subscription handle before derefencing
2015-08-25 13:00:01 -07:00
William Woodall
12b939cf5a
fixes to address comments and CI failures
2015-08-20 17:14:20 -07:00
William Woodall
aedc494f8f
implement intra process comms
...
this involves changes in the executor, node,
publisher, and subscription classes
I'd like a more decoupled way to integrate this
into the executor and node but I was unable to
find a good way to do so.
2015-08-18 18:48:13 -07:00
William Woodall
fb4e836da0
changed default arguments for Node
...
changes how the default context is gotten and
adds an option for enabling/disabling intra
process comms
2015-08-18 18:46:51 -07:00
William Woodall
5568cc2326
allow storing arbitrary singletons in the Context
2015-08-18 18:43:05 -07:00
William Woodall
94bf5ffb8c
adding the intra process manager class
2015-08-18 18:42:00 -07:00
William Woodall
747a0191c2
added the mapped ring buffer class for intra-pc
2015-08-18 18:41:40 -07:00