William Woodall
7d8e60dd61
changed signal handling to consider sigaction
...
Specifically we must always use sa_sigaction and
then when chaining to the original signal handler
we must determine if it is a sa_sigaction or a
sa_handler type function and call it accordingly.
2014-09-03 17:49:13 -07:00
William Woodall
7820b5380b
fix compiler warning
2014-09-03 17:47:57 -07:00
William Woodall
d474d0e3b4
add sigint singal handler chaining, err checking
2014-09-02 18:30:10 -07:00
William Woodall
f77e6d7d56
executors: refactor spin_node_some
...
This allowed me to unify populate_all_handles and
populate_all_handles_with_node into a single
function wait_for_work. This means that
spin_node_some now adds, then removes a node
to the executor for calling wait_for_work. That
implies I also added the remove_node function and
while I was at it I put some more robust checking
and wait interruption into add_node.
2014-09-02 15:29:43 -07:00
William Woodall
0f9351ac21
executor: correctly mark some functions virtual
2014-09-02 15:26:24 -07:00
William Woodall
35b51c5b61
add some TODO's in the code to track known issues
2014-09-02 14:46:51 -07:00
William Woodall
cba6ee2589
executor: make destructor virtual
2014-09-02 11:45:54 -07:00
William Woodall
6f0e49d3f8
MTE: store number of threads and provide accessor
2014-09-02 10:45:20 -07:00
William Woodall
e4dc5369fa
STE: remove vestigial overlaid storage for nodes
2014-09-02 10:45:20 -07:00
Dirk Thomas
d39ca12be4
spelling
2014-09-02 10:36:55 -07:00
William Woodall
7b8b318e6e
refactor timers to use rates
2014-08-29 17:52:22 -07:00
William Woodall
55487d4782
added global rclcpp::sleep_for function
...
It differs from this_thread::sleep_for because
it will exit on SIGINT (ctrl-c).
2014-08-29 17:52:00 -07:00
William Woodall
680e536f10
modify rates to allow ctrl-c to interrupt sleep
2014-08-29 17:50:47 -07:00
William Woodall
b78164e4fe
modify factories in node to use groups
...
also check to make sure given groups are in node
2014-08-29 17:50:17 -07:00
William Woodall
f4c97ecc62
added convenience debugging macro
2014-08-29 17:49:35 -07:00
William Woodall
b91dd6ef00
refactor of executors for mutually exclusive cb's
2014-08-29 17:49:23 -07:00
William Woodall
b5b845153f
add access control to groups using atomic_bool
2014-08-29 17:48:03 -07:00
William Woodall
029008bb0a
remove vestigial SingleThreadedExecutor header
2014-08-29 17:47:30 -07:00
William Woodall
222a0535b6
WIP changes to support multithreaded executor and timers
2014-08-27 00:54:00 -07:00
William Woodall
b6e1a2687a
major refactor of rclcpp to support executors
2014-08-25 15:40:40 -07:00
Dirk Thomas
5b5db8914a
add non-blocking flag to wait
2014-08-25 11:55:33 -07:00
Dirk Thomas
45ee2dd2e1
extract decision of used middleware implementation into separate package
2014-08-14 15:05:25 -07:00
William Woodall
0559fafcd0
added callback to subscriber signature
2014-08-13 14:44:15 -07:00
Dirk Thomas
c6d98ecb2a
allocate / deallocate ros message
2014-08-13 12:13:33 -07:00
Dirk Thomas
b1bce0aa4e
remove wrong const
2014-08-13 11:58:25 -07:00
Dirk Thomas
1ae1dd2f2f
add message when actually received data
2014-08-13 10:57:23 -07:00
William Woodall
a1b0a33098
updated subscriber interface
2014-08-12 21:46:41 -07:00
William Woodall
2b8e19c88d
subscriber: added implementation using ros_middleware_interface
2014-08-12 19:22:20 -07:00
Dirk Thomas
c6c04749ca
choose default middleware implementation from available ones
2014-08-08 16:57:41 -07:00
Dirk Thomas
9607869ef2
support multiple type supports
2014-08-08 15:47:23 -07:00
Dirk Thomas
9c2149e5ef
refactoring
2014-08-07 16:08:42 -07:00
Dirk Thomas
02cb3ebc5f
remove packages which have been moved to other repos
2014-08-07 14:54:56 -07:00
Dirk Thomas
a0757ed0b4
hide static typesupport headers
2014-08-07 14:38:38 -07:00
Dirk Thomas
17ef4a3de2
preallocate a single DynamicData instance
2014-08-04 12:18:38 -07:00
Dirk Thomas
277d676aa2
measure time static vs. dynamic
2014-08-04 12:09:47 -07:00
Dirk Thomas
97322affd2
remove local paths
2014-08-01 17:03:47 -07:00
Dirk Thomas
666a4b51c9
add ros_dds_connext_static
2014-08-01 16:59:55 -07:00
Dirk Thomas
6b07c8f928
add ros_dds_cpp_dynamic_typesupport
2014-08-01 13:30:19 -07:00
Dirk Thomas
bcecf00928
first prototype of templated rcl, using non-templated middleware interface, implemented by connext using dynamic data
2014-07-30 17:57:21 -07:00
Dirk Thomas
a226aecd96
add license
2014-07-30 17:54:12 -07:00