dhood
24f39700c6
Implement rclcpp-specific logging macros [taking name not object] ( #389 )
2017-11-15 14:14:09 -08:00
G.A. vd. Hoorn
70d2b4b739
macros: fix two minor typos in doxygen. ( #386 )
2017-10-13 12:08:10 -07:00
Karsten Knese
022b2b1b80
sync parameter takes optional remote node name ( #380 )
2017-10-02 11:46:00 -07:00
Dirk Thomas
acd231abab
remove obsolete INDENT-OFF usage
2017-09-29 10:34:52 -07:00
Dirk Thomas
38c750b876
update style to match latest uncrustify
2017-09-28 15:38:40 -07:00
Shane Loretz
e1f4568bc7
Fix static assertion on xcode 9 ( #379 )
...
* Change allocator type to match map key
2017-09-27 19:09:20 -07:00
William Woodall
5813ba54db
use throw_from_rcl_error() for error state cleanup ( #376 )
2017-09-19 14:13:28 -07:00
William Woodall
ca5fb57126
Improvements to rclcpp::Time ( #375 )
...
* enable Time to be trivially constructible
This is required to use it in a Qt Signal/Slot.
* operator= should return T &
See: https://stackoverflow.com/questions/9072169/why-should-the-assignment-operator-return-a-reference-to-the-object
* add operator!=
2017-09-19 08:32:10 -07:00
dhood
4a2e9d8af9
Reset rcl errors ( #374 )
2017-09-14 11:03:24 -07:00
Dirk Thomas
ed26865b71
0.0.3
2017-09-13 15:07:07 -07:00
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
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
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
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
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
388a3ca5be
use rcl api for rclcpp time ( #348 )
...
* use rcl api for rclcpp time
* address comments
2017-08-03 20:33:32 -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
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
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
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
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
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
William Woodall
dbe674deb7
compare unsigned to unsigned ( #313 )
2017-03-22 00:42:37 -07:00