Commit graph

277 commits

Author SHA1 Message Date
Esteve Fernandez
90ba163953 Added spin_node_until_future_complete 2015-04-28 10:11:35 -07:00
Esteve Fernandez
c3791fcab1 Indent 2015-04-22 12:28:30 -07:00
Esteve Fernandez
35b2c106a1 Fix code style 2015-04-20 15:45:58 -07:00
Esteve Fernandez
8abae8ac82 Added support for callbacks with and without accepting a request header 2015-04-20 15:45:01 -07:00
Esteve Fernandez
b938bd691a Pass request header to callbacks 2015-04-20 13:22:54 -07:00
Dirk Thomas
8054786c09 explicitly ignore remaining uncrustify issues 2015-04-07 15:30:49 -07:00
Dirk Thomas
c6b8fb2de0 update 2015-04-07 15:20:43 -07:00
Dirk Thomas
9a6b48e2fc update 2015-04-07 12:07:57 -07:00
Dirk Thomas
9e735e35a0 update 2015-04-07 11:55:55 -07:00
Dirk Thomas
b114db2213 update 2015-04-07 11:48:55 -07:00
Dirk Thomas
f80b89a687 code style only 2015-04-07 10:57:33 -07:00
Dirk Thomas
c84341197f add missing copyright / license information, update format of existing license information 2015-04-02 09:55:35 -07:00
Dirk Thomas
e720daf1a7 add rclcpp::shutdown() function 2015-03-27 12:18:19 -07:00
Esteve Fernandez
7bd8f9cf76 Use new type support infrastructure 2015-03-26 10:40:25 -07:00
William Woodall
30d7eb269e add a clarifying comment 2015-03-20 13:25:38 -07:00
William Woodall
fd208336d3 [style] replace tabs with spaces 2015-03-20 13:25:38 -07:00
William Woodall
81c4900e01 [windows] fix symbol exporting 2015-03-20 13:25:38 -07:00
William Woodall
22b53b991d [windows] workaround for compiler error in Windows
See: https://connect.microsoft.com/VisualStudio/feedback/details/1179590
2015-03-20 13:25:38 -07:00
William Woodall
1e5b98f167 [windows] fix compiler errors and warnings 2015-03-20 13:25:38 -07:00
William Woodall
5a03ec1d0e [windows] use macro to declare thread local storage 2015-03-20 13:25:38 -07:00
William Woodall
2a9b82bfba [windows] use unsigned long to fix warning 2015-03-20 13:25:38 -07:00
Esteve Fernandez
9f6ffc47cb Removed unused include 2015-03-19 19:12:44 -07:00
Esteve Fernandez
edbf7745db Use type support handle functions from the rmw implementation 2015-03-18 18:14:37 -07:00
Esteve Fernandez
3dae09f243 Merge pull request #11 from ros2/services-post-api-review
Add support for services in rclcpp
2015-03-09 12:01:30 -07:00
Dirk Thomas
c29b353c21 use ament_lint_auto 2015-03-07 01:24:52 +01:00
Esteve Fernandez
bb8cad74ee Fix order of parameters 2015-03-06 15:40:37 -08:00
Esteve Fernandez
9daec001e2 Added support for RTI Connext services. Update rmw_take* signatures 2015-03-06 12:11:22 -08:00
William Woodall
25c8c567b4 fixes to get services compiling 2015-03-04 21:15:04 -08:00
William Woodall
209a31c815 replacing ros_middleware with rmw 2015-03-04 16:32:51 -08:00
William Woodall
35cf3952e3 updated to use new C rmw api 2015-03-03 22:54:36 -08:00
Esteve Fernandez
9d63b20893 Removed unused response object 2015-01-16 17:16:41 -08:00
Esteve Fernandez
444b56c281 Extend async_request to take accept a callback as an argument 2015-01-15 18:24:45 -08:00
Esteve Fernandez
8332480c85 Added support for asynchronous clients 2015-01-13 18:32:14 -08:00
Esteve Fernandez
f26bed380d Pass response object as parameter 2015-01-12 14:36:42 -08:00
Esteve Fernandez
af3709f040 Removed timeouts 2015-01-09 17:42:25 -08:00
Esteve Fernandez
e91563640e Do not pass RequestId to the server callback. Use RequestId from rpc.h 2015-01-09 17:14:27 -08:00
Esteve Fernandez
3e0621a1ff Added support for timeouts 2015-01-08 14:49:47 -08:00
Esteve Fernandez
4b290d66e8 Refactored to split request messages 2015-01-08 10:58:51 -08:00
Esteve Fernandez
180c0f9016 Move request header to a separate structure 2015-01-07 14:15:46 -08:00
Esteve Fernandez
81040198e1 Added support for services 2014-12-16 18:21:00 -08:00
William Woodall
3e3d54815b update sigaction detection to support os x 2014-09-22 20:42:33 -07:00
William Woodall
ea889664ea added primitive support for component style nodes 2014-09-08 14:37:52 -07:00
William Woodall
860f478294 [style] fix indention 2014-09-03 20:08:32 -07:00
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