dhood
a8aa556df0
Check for the client error code, not server ( #373 )
2017-09-12 08:59:13 -07:00
Mikael Arguedas
b68b761462
restore . as parameter separator ( #372 )
2017-09-12 08:43:42 -07:00
Karsten Knese
1c42a75f43
parameter client takes node interfaces ( #368 )
...
* parameter client takes node interfaces
* correct wrong copy paste
* correctly fetch node name
* use node_topics_interface for creating parameter event
* fix typos
2017-09-05 15:04:36 -07:00
Karsten Knese
2c5ab49e7c
change parameter separator to forward slash ( #367 )
...
* change parameter separator to forward slash
* add separator to prefix
* const char separator
2017-09-05 11:46:31 -07:00
Dirk Thomas
a5f94ac412
Merge pull request #369 from csukuangfj/fix-test-typo
...
fix a typo.
2017-09-04 08:22:42 -07:00
KUANG Fangjun
de14d54322
fix a typo.
2017-09-04 16:10:45 +02:00
Karsten Knese
b1ed15ebc7
use forward slashes instead of double underscores ( #364 )
...
* use forward slashes instead of double underscores
* define parameter service suffixes in commonly shared header
* style
* forgot list_parameters
* correct license year
2017-09-01 10:00:29 -07:00
Dirk Thomas
f175726b0e
Merge pull request #366 from ros2/reset_error_code_init_failed
...
reset error code before throwing in rclcpp::utilities::init
2017-08-31 16:44:01 -07:00
Dirk Thomas
b28648c61d
reset error code before throwing in rclcpp::utilities::init
2017-08-31 16:41:05 -07:00
Karsten Knese
8e2e64e82a
freeing Time members in destructor, adding copy constructor / assignment operator ( #362 )
...
* copy constructor for fixing windows debug
* remove debug prints
* style
* correctly free resources in destructor
* correct copy and assignment operators
* explicit call to copy constructor
2017-08-24 15:21:01 -07:00
Dirk Thomas
6f3020ce23
Merge pull request #361 from ros2/demo_nodes_cpp_native
...
expose rcl handles
2017-08-24 09:41:13 -07:00
Dirk Thomas
688c83a44c
expose rcl handles
2017-08-23 14:29:37 -07:00
dhood
124500511b
Add wait_for_service and service_is_ready for SyncParametersClient ( #356 )
2017-08-16 22:28:53 -07:00
Mikael Arguedas
98dded0ba5
add issue template
2017-08-14 18:04:51 -07:00
dhood
89c43e78c8
Merge pull request #353 from ros2/restore_old_signal_handler
...
Restore old signal handler after shutdown
2017-08-11 14:02:54 -07:00
dhood
d7b7d7491f
Factor out guard condition triggering
2017-08-11 10:31:40 -07:00
dhood
be985a652b
Restore old signal handler on shutdown
2017-08-11 10:31:40 -07:00
dhood
c15db0b675
Factor out signal handler swapping
2017-08-11 10:31:40 -07:00
Chris Lalancette
cd839663b4
Fix memory leaks in rclcpp ( #354 )
...
* Make sure to delete service_handle when in the Service() destructor.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Make sure to delete the allocated rcl_node on error paths.
This all happens *before* we setup the shared_ptr destructor,
so we have to hand delete in the error paths.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
* Move delete rcl_node up.
It turns out that we are always going to throw in that block,
and we never access rcl_node, so just delete it very early
on.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2017-08-11 05:45:25 -07:00
Dirk Thomas
5e7aa50af6
Merge pull request #355 from ros2/fix_race_condition
...
lock around taking the buffer and deciding to get a copy of the message or popping it
2017-08-10 17:28:49 -07:00
Dirk Thomas
48b19af04a
lock around taking the buffer and deciding to get a copy of the message or popping it
2017-08-10 14:51:17 -07:00
Mikael Arguedas
2c3336510d
typo
2017-08-08 15:27:32 -07:00
Karsten Knese
def973e3dd
time operators ( #351 )
...
* time operators
* explicitely cast to uint64_t and prevent overflow
* check for negative seconds .. again
* split into hpp/cpp
* export symbols
* change test macro
* fix unsigned comparison
* address comments
* test for specific exception
* Fix typo
2017-08-08 15:18:17 -07:00
Karsten Knese
d090ddc358
fix return value when calling lifecycle service ( #350 )
2017-08-04 12:57:12 -07:00
Karsten Knese
388a3ca5be
use rcl api for rclcpp time ( #348 )
...
* use rcl api for rclcpp time
* address comments
2017-08-03 20:33:32 -07:00
Karsten Knese
9281e32f82
rename RCL_LIFECYCLE_RET_T to lifecycle_msgs::msgs::Transition::TRANSITION_CALLBACK_* ( #345 )
2017-08-02 14:04:34 -07:00
Esteve Fernandez
a41245e6bf
Added support to function_traits for std::bind in GCC >= 7.1 ( #346 )
...
* Added support to function_traits for std::bind in GCC >= 7.1
* linter fixup
2017-08-01 16:16:39 -04:00
Karsten Knese
0c26dd99b6
expose error handling for state changes ( #344 )
...
* remove fprintf, use logging
* expose lifecycle error code
* address comments
2017-07-27 07:55:15 -07:00
Dirk Thomas
40b09b5b14
added wait method to AsyncParametersClient ( #342 )
...
* added wait and ready methods to AsyncParametersClient
* style only
* style only
* remove RCLCPP_PUBLIC from template methods
* style
2017-07-10 10:22:08 -07:00
Dirk Thomas
9dd3d4c3c5
0.0.2
2017-06-30 15:11:46 -07:00
William Woodall
9c008267ef
add rcutils tag file reference ( #341 )
2017-06-27 12:02:41 -07:00
Chris Lalancette
b8d72d682a
Remove a constructor that we can't test. ( #340 )
...
There are currently no paths that lead to it, and it has
a bug anyway; if a large enough value is passed into sec,
then we will overflow sec on the multiply. Just remove it
since we can't reach the code anyway.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2017-06-21 09:24:01 -04:00
William Woodall
5a99bbdc6e
refactor to support multiple types and no_demangle ( #339 )
...
* refactor to support multiple types and no_demangle
* add get_service_names_and_types
2017-06-16 18:03:16 -07:00
Karsten Knese
99441d8494
comply with rcl allocator ( #336 )
...
* comply with rcl allocator
* do not throw exception in destructor
2017-06-16 14:44:25 -07:00
Mikael Arguedas
756ef6886d
use CMAKE_X_STANDARD and check compiler rather than platform
2017-06-16 13:24:30 -07:00
Karsten Knese
f396ff2bac
string array takes allocator ( #338 )
2017-06-14 11:39:22 -07:00
Karsten Knese
2847e4aefd
expose explicit transition calls ( #334 )
2017-06-05 18:24:12 -07:00
Mikael Arguedas
a4f00dc574
include rcutils/time ( #333 )
...
* include rcutils/time
* include rcl/time for time source enum
2017-06-05 14:42:36 -07:00
Dirk Thomas
c0a78bac37
Merge pull request #332 from ros2/move_time
...
use time from rcutils
2017-06-01 22:11:15 -07:00
Dirk Thomas
bfa09fb78c
use steady and system time from rcutils
2017-06-01 21:01:38 -07:00
Karsten Knese
454d38776c
Topic names ( #331 )
...
* expand topic name before invoking count pub/sub
* convenience function for get_namespace()
* uncrustify
* typo
* add get_namespace() test
* add get_namespace() for lifecycle
2017-06-01 14:01:18 -07:00
William Woodall
b90676871d
Use namespaces ( #328 )
...
* add expand_topic_or_service_name()
* use namespace in intra process
(actual change to topic names in next commit)
* catch and report name issues
for node names, namespaces, and topic/service names
* address comment
2017-05-30 18:25:11 -07:00
Karsten Knese
708903e5df
Warn unused ( #327 )
...
* comply with unused warnings
* fix flakiness and add test for transitions
* mark flaky test
* duplicate const char * in State constructor
* linters
* correct year in license
* mark flaky test
2017-05-25 19:52:50 -07:00
William Woodall
5777bbee79
add method to reset a timer in TimerBase ( #326 )
2017-05-10 00:34:52 -07:00
gerkey
100417a98d
fix race conditions in guard condition handling ( #325 )
2017-04-27 18:47:13 -07:00
dhood
675ad04c76
Update spin error message to match function name ( #323 )
2017-04-25 09:56:01 -07:00
William Woodall
3e6a6d2781
rename {c_}utilities to rcutils ( #322 )
2017-04-20 11:15:10 -07:00
William Woodall
d2112b294b
refactor to pass allocator to some functions in rcl ( #321 )
2017-04-19 12:37:55 -07:00
Karsten Knese
81b8255e61
use string_array_t from c_utilities package ( #320 )
...
* use c_utilities package
* compare return value to utilities_ret_ok
* fix error handling
* better error handling
2017-04-14 16:18:43 -07:00
William Woodall
e6e1848b97
expose node namespace in API and pass to rcl ( #316 )
...
* expose node namespace in API and pass to rcl
* name_space -> namespace_
2017-04-08 02:04:41 -07:00