dhood
86cc8fdb3a
Output rcl error message when yaml parsing fails ( #557 )
2018-09-13 17:46:56 -07:00
dhood
80595f37d1
Link to ticket re rcl_yaml_param_parser avoiding circular dependency
2018-09-13 17:10:39 -07:00
Shane Loretz
b1af28047c
Make sure timer is fini'd before clock ( #553 )
...
* Make sure timer is fini'd before clock
2018-09-07 17:28:10 -07:00
Michael Carroll
8c6f38a0fa
Get node names and namespaces ( #545 )
...
* Rework to account for new get_node_names signiture.
* cpplint.
* Address reviewer feedback.
2018-09-06 08:02:44 -05:00
William Woodall
198c6daf49
Doc fixups ( #546 )
...
* add missing docs for number_of_threads parameter
* add missing docs for start_parameter_services parameter
* add missing docs for parameters, rename short variable name
* doc fixups
2018-08-31 18:32:20 -07:00
Shane Loretz
a55e320e6e
Use rcl_clock_t jump callbacks ( #543 )
...
* Use rcl_clock_t jump callbacks
Relieves rclcpp::TimeSource responsibility of calling jump callbacks.
2018-08-28 10:12:12 -07:00
Shane Loretz
4653bfcce6
Rcl consolidate wait set functions ( #540 )
...
* Use consolidated rcl_wait_set_clear()
* Use consolidated rcl_wait_set_resize()
2018-08-27 11:55:04 -07:00
Sagnik Basu
18ad26e654
Add TIME_MAX and DURATION_MAX functions ( #538 )
...
* Add TIME_MAX and DURATION_MAX functions
* Fix Linting Errors
* change funtion name as per coding style
* change function name as per coding style
* Update duration.cpp
* Update time.cpp
* Update test_duration.cpp
* Update time.hpp
* remove extra empty line
2018-08-27 11:44:25 -07:00
Karsten Knese
354d933870
publish shared_ptr of rcl_serialized_message ( #541 )
...
* publish shared_ptr of rcl_serialized_message
* const parameter
2018-08-24 14:34:51 -05:00
Dirk Thomas
25a9b4e339
add Time::is_zero and Duration::seconds ( #536 )
...
add Duration::seconds
2018-08-20 08:58:32 -07:00
Karsten Knese
45d74ba4dc
log error message instead of throwing exception in destructor ( #535 )
2018-08-17 10:17:37 -07:00
dhood
e409e44413
Relax tolerance of now test because timing affected by OS scheduling ( #533 )
2018-08-17 10:03:45 -07:00
Shane Loretz
6b34bcc94c
Remove incorrect exception on sec < 0 ( #527 )
...
* Remove incorrect exception on sec < 0
2018-08-09 09:23:33 -07:00
Shane Loretz
ea047655d8
Add rclcpp::Time::seconds() ( #526 )
...
* Get seconds since epoch as double
2018-08-08 16:04:35 -07:00
Dirk Thomas
4ddb76f466
construct TimerBase/GenericTimer with Clock ( #523 )
...
* construct TimerBase/GenericTimer with Clock
* pass rcl_time_point_value_t to rcl_clock_get_now
* update docblocks
2018-07-27 18:27:25 -07:00
chapulina
fba891c0df
Implement rclcpp::is_initialized() ( #522 )
...
* Implement rclcpp::is_initialized()
* linter
2018-07-26 13:17:33 -07:00
dhood
8f2052d65a
Support jump handlers with only pre- or post-jump callback ( #517 )
...
* Add failing tests for partial jump handlers
* Code deduplication
* Check callbacks before calling them
2018-07-18 07:11:35 +10:00
Mikael Arguedas
3067a72a2a
nothing uses std_msgs anymore ( #513 )
2018-07-17 13:24:04 -07:00
Dirk Thomas
0ad17575a2
remove use of uninitialized CMake var ( #512 )
2018-07-11 14:08:09 -07:00
Mikael Arguedas
ae6f8e3e9a
Uncrustify 0.67 ( #510 )
...
* fix indentation to comply with uncrusity 0.67
* fix spacing before opening brackets
* space between reference and variable name in signature
* questionable space between pointer marker and variable name
2018-07-11 08:31:11 -07:00
Dirk Thomas
d36910d2d7
remove use of uninitialized CMake var ( #511 )
2018-07-10 16:51:09 -07:00
Sriram Raghunathan
93e2945802
Expose get_node_names API from node. ( #508 )
...
* Exposing get_node_names from node handle
Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com>
* Exposing get_node_names from node handle for lifecycle_nodes
Signed-off-by: Sriram Raghunathan <rsriram7@visteon.com>
* Fix stray demangle type
2018-07-05 17:45:09 -07:00
Mikael Arguedas
4507d7a40b
Fix rosidl dependencies ( #507 )
...
* [rclcpp_lifecycle] remove rosidl deps as this package doesnt generate any messages
* depend on rosidl_typesupport_cpp
2018-07-05 13:01:23 -07:00
Dirk Thomas
1869b84a0c
0.5.1
2018-06-28 16:34:33 -07:00
William Woodall
a49281cff3
keep shared pointer reference to rcl_node handle for subscription fini ( #505 )
2018-06-27 13:37:49 -07:00
William Woodall
4d67a8671b
0.5.0
2018-06-25 16:31:01 -07:00
William Woodall
f5c3854585
changelogs
2018-06-25 16:30:51 -07:00
William Woodall
39c22c8508
typo ( #502 )
2018-06-19 12:43:06 -07:00
Michael Carroll
bf89dc0797
Further expand test tolerance to address flakiness. ( #501 )
...
* Further expand test tolerance to address flakiness.
* Remove newline.
2018-06-19 13:06:30 -05:00
William Woodall
62c8c5b762
executor could take more than once incorrectly ( #383 )
...
* Baseline test and force threads to yield.
* Add timer tracking for executor.
* Add locking and test happy-path exit conditions.
* Move logic to multi_threaded_executor
* Address reviewer feedback by reducing scope of set.
* Expand tolerance on testing.
* comment fixup
Otherwise it seemed to me like it would yield twice.
2018-06-18 22:46:28 -05:00
Karsten Knese
d33a46c3b6
comply to new subscription template ( #500 )
2018-06-19 00:20:55 +02:00
William Woodall
bfbb263f3c
fix tests due to changes in rcutils ( #452 )
2018-06-16 13:48:01 -07:00
Karsten Knese
ec17d68b41
*_raw function ( #388 )
...
* publish_raw function
* subscription traits
* listener raw
* rebased
* cleanup and linters
* explicit test for deleter in unique_ptr
* add missing copyright
* cleanup
* add rmw_serialize functions
* linters
* explicit differentiation between take and take_raw
* cleanup debug messages
* rename to rmw_message_init`
* address comments
* address review comments
* raw->serialized
* use size_t (#497 )
2018-06-16 10:36:00 +02:00
William Woodall
1556b6edf4
always get service name from rcl to account for remapping ( #498 )
2018-06-14 21:42:00 -07:00
Mikael Arguedas
1b87970d8e
add missing set_parameters_atomically client ( #494 )
2018-06-12 01:53:40 +02:00
Shane Loretz
4886b2485c
Initialize params via yaml from command line ( #488 )
...
* Initialize params from yaml files
2018-06-08 17:24:29 -07:00
Shane Loretz
9b294ec720
Get parameters that aren't set ( #493 )
...
* Document get_parameters()
* Return NOT_SET params in get params service
2018-06-06 10:23:42 -07:00
Shane Loretz
84c8d58612
Pass initial parameter values to node constructor ( #486 )
...
* Pass parameter values to node constructor
2018-06-05 15:29:20 -07:00
Shane Loretz
8f793fdb4a
Convert rcl_params_t to ParameterMap ( #485 )
...
Convert from rcl_params_t to map of node parameters
Adds rclcpp::parameter_map_from(const rcl_params_t * const)
Adds rclcpp::parameter_value_from(const rcl_variant_t * const)
Adds dependency on rcl_yaml_param_parser
2018-06-05 10:54:08 -07:00
Dirk Thomas
5ab6bde1db
fully delete parameters ( #489 )
...
* allow ParameterValue class to be copy constructed with type not-set
* actually remove deleted parameters from the map
2018-06-04 15:06:01 -07:00
dhood
2a17232ad0
Subscription tests using bind in member callback ( #480 )
...
* Add tests for member callbacks
* Add tests for member callback in Test class (not working with gcc7)
* Uncomment test that was failing
* Linter fixup
2018-06-04 12:48:02 -07:00
Shane Loretz
d298fa4445
Split ParameterVariant into Parameter and ParameterValue ( #481 )
...
* Split ParametrVariant into Parameter and ParameterValue
* Test expects ParameterTypeException
* get_parameter_value() -> get_value_message()
* Make to_parameter() const and rename to to_parameter_msg()
2018-06-01 11:48:56 -07:00
Esteve Fernandez
97575fd59b
Relax template matching rules for std::bind and GNU C++ >= 7.1 ( #484 )
...
* Relax template matching rules for std::bind and GNU C++ >= 7.1
* Document reason test was added
2018-06-01 13:28:45 -04:00
Ernesto Corbellini
d6057270f2
Use rosgraph_msgs/Clock for /clock topic. ( #474 )
...
* Use rosgraph_msgs/Clock for /clock topic.
* Update the test cases.
2018-05-31 01:32:08 +02:00
Shane Loretz
4efcd330fe
Spin before checking if clock changed ( #483 )
2018-05-30 15:09:30 -07:00
Shane Loretz
d82ce9666c
Autostart parameter services ( #478 )
...
* Autostart parameter services
* Add bool start_parameter_services
2018-05-25 13:07:59 -07:00
dhood
f9a78df9fe
Workaround for wait_for_service lasting the full timeout with connext ( #476 )
...
* Limit wait_for_graph_change timeout as alternative workaround for connext
* Increase max wait time to 100ms
2018-05-22 21:01:47 -04:00
Tom Moore
15d505ec1f
Adding parameter array support ( #443 )
...
* Adding parameter array support
* PR feedback
* Matching changes in upstream branch
* EXPECT_EQ takes expected value a first argument and actual as second
2018-05-10 16:05:52 -07:00
Michael Carroll
1be4d2d914
Fix bug when mixing shared_ptr and bind. ( #470 )
2018-05-04 13:10:47 -05:00
Shane Loretz
7cd8429534
Fini arguments passed to rcl_node_init() ( #468 )
...
* Fix memory leak in node_base
* Always free arguments
2018-05-01 12:59:15 -07:00