Alejandro Hernández Cordero
4dbf20d447
Merge pull request #577 from ros2/ahcorde/package/rcl_action_depend
...
[rcl_action] changed build_depend and build_depend_export dependencies to depend
2020-02-28 18:21:51 +01:00
Miaofei Mei
b6977cc226
Enable TestInfoByTopicFixture unit tests for other rmw_implementations ( #583 )
...
Signed-off-by: Miaofei <miaofei@amazon.com>
2020-02-27 14:29:23 -03:00
y-okumura-isp
25f39c3a48
Fix memory leak in test_subscription_nominal ( #469 ) ( #562 )
...
Narrow scope of subscription to prevent leak and separate nominal test from init/fini test.
Signed-off-by: y-okumura-isp <y-okumura@isp.co.jp>
2020-02-24 17:42:49 +01:00
Ivan Santiago Paunovic
2563332dc3
Update rmw_topic_endpoint_info_array usage ( #576 )
...
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
2020-02-20 14:11:05 -03:00
ahcorde
4cd2df005e
changed build_depend and build_depend_export dependencies to depend
...
Signed-off-by: ahcorde <ahcorde@gmail.com>
2020-02-18 11:38:01 +01:00
Miaofei Mei
87167e3ce1
add rcl versions of rmw_topic_endpoint_info* types ( #558 )
...
Signed-off-by: Miaofei <miaofei@amazon.com>
2020-02-14 13:35:57 -08:00
Dennis Potman
c601464fca
Enable test for rcl_get_subscriptions_info_by_topic / rcl_get_publishers_info_by_topic for Cyclone ( #572 )
...
Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
2020-02-10 14:59:21 -03:00
Dennis Potman
41f4fba966
Test_rcl_get_publishers_subscription_info_by_topic: fixed missing initialization and fixed qos checking ( #571 )
...
Signed-off-by: Dennis Potman <dennis.potman@adlinktech.com>
2020-02-10 11:16:49 -03:00
y-okumura-isp
19d53bc9e5
Fix test_count_matched memory leaks reported by asan #567 ( #568 )
...
* Fix memory leak in test_count_matched, fini subscription (#469 )
Signed-off-by: y-okumura-isp <y-okumura@isp.co.jp>
* Fix leak in test_count_matched, fini init_option (#469 )
Signed-off-by: y-okumura-isp <y-okumura@isp.co.jp>
2020-02-07 09:44:06 -08:00
Dirk Thomas
4b9c0a30be
code style only: wrap after open parenthesis if not in one line ( #565 )
...
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2020-02-03 09:06:35 -08:00
William Woodall
7537f83044
Fix return type of rcl_publisher_get_subscription_count() ( #559 )
...
* fix return type of rcl_publisher_get_subscription_count
* fix it in c file too
2020-01-22 12:29:52 -08:00
Miaofei Mei
76b0d5dc34
Fix doc strings ( #557 )
...
Signed-off-by: Miaofei <miaofei@amazon.com>
2020-01-20 16:25:55 -03:00
Jaison Titus
2221d6374e
Implement functions to get publisher and subcription informations like QoS policies from topic name ( #511 )
...
Signed-off-by: Jaison Titus <jaisontj92@gmail.com>
Signed-off-by: Miaofei <miaofei@amazon.com>
2020-01-14 14:38:02 -03:00
Ivan Santiago Paunovic
024c3ee50d
Use absolute topic name for rosout
( #549 )
...
Signed-off-by: Ivan Santiago Paunovic <ivanpauno@ekumenlabs.com>
2019-12-06 09:29:03 -03:00
Jacob Perron
73d2c4caec
Set allocator before goto fail ( #546 )
...
Signed-off-by: Borja Outerelo <borjaouterelo@gmail.com>
2019-12-05 13:30:32 -08:00
Jacob Perron
3a5c3a3419
Add public facing API for validating rcl_wait_set_t ( #538 )
...
I've exposed the existing function as public API and added documentation and unit tests.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-12-02 00:31:39 -08:00
tomoya
80340c8b5a
should also check if action status publisher is ready. ( #541 )
...
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
2019-11-29 10:12:31 -03:00
Barry Xu
8cf33b3ad0
Add flag to enable/disable rosout logging in each node individually. ( #532 )
...
* Add flag to enable/disable rosout logging in each node individually.
Signed-off-by: Barry Xu <Barry.Xu@sony.com>
2019-11-29 10:11:47 -03:00
Víctor Mayoral Vilches
fbe299af7f
free valid_transitions for all states ( #537 )
...
* free valid_transitions for all states
transition_map->states[i].valid_transitions wasn't being release which was
leaking about 800 bytes per instantiation.
See https://github.com/aliasrobotics/RVD/issues/333
Signed-off-by: Víctor Mayoral Vilches <v.mayoralv@gmail.com>
* Fixups.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-11-25 07:50:11 -05:00
P. J. Reed
8af6f174e3
Treat __name the same as __node ( #494 )
...
* Treat __name the same as __node
This modifies the lexer so that it will accept __name and treat it
exactly the same as __node. __node still works in order to preserve
backwards compatibility.
Fixes #258
Distribution Statement A; OPSEC #2893
Signed-off-by: P. J. Reed <preed@swri.org>
* Update dot graph for lexer
Distribution Statement A; OPSEC #2893
Signed-off-by: P. J. Reed <preed@swri.org>
2019-11-22 10:23:51 -03:00
Shane Loretz
9034c406c2
0.8.3
...
Signed-off-by: Shane Loretz <sloretz@openrobotics.org>
2019-11-08 11:26:28 -08:00
Michel Hidalgo
513a185d1b
Support CLI parameter overrides using dots instead of slashes. ( #530 )
...
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2019-10-24 13:02:46 -03:00
Shane Loretz
3d3b77c1fd
0.8.2
...
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
2019-10-23 17:35:56 -07:00
Dan Rose
c1739354b1
Specify test working directory ( #529 )
...
Avert breakage from https://github.com/ament/ament_cmake/pull/206
Signed-off-by: Dan Rose <dan@digilabs.io>
2019-10-23 13:40:43 -07:00
Chris Lalancette
53e88d89c2
Remove the prototype from rcl_impl_getenv. ( #525 )
...
The implementation was removed in 3e0efcef34
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-22 17:04:03 -04:00
Karsten Knese
68c93c8c6d
use return_loaned_message_from ( #523 )
...
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
2019-10-21 22:47:12 -05:00
Chris Lalancette
cdf1b4d17d
Remove the maximum string size. ( #524 )
...
It wasn't preventing any allocations from happening, so it
doesn't seem to serve much purpose. Also remove the tests
for the maximum string size.
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-21 18:21:38 -04:00
Peter Baughman
7859398e97
ready_fn and self.proc_info will be removed in future ( #522 )
...
Signed-off-by: Pete Baughman <pete.baughman@apex.ai>
2019-10-18 17:14:22 -07:00
Brian Marchi
a073507182
Add localhost option to node creation ( #520 )
...
* Add localhost option to node creation
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
* Bring localhost function from rmw
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
* Satisfy uncrustify and address pr comments
Signed-off-by: Brian Ezequiel Marchi <brian.marchi65@gmail.com>
2019-10-18 19:30:22 -03:00
Ingo Lütkebohle
60bdbd26dc
Add initial instrumentation ( #473 )
...
Signed-off-by: Christophe Bedard <fixed-term.christophe.bourquebedard@de.bosch.com>
2019-10-18 19:28:02 -03:00
Karsten Knese
f4554f9a9d
Zero copy api ( #506 )
...
* allocate loaned message
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* can_loan_messages for subscription
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* first draft of loaned message sequence
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* take loaned message
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* borrow/return & take/release
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* introduce rmw_publish_loaned_message
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* const correct publish
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
* fix typo
Signed-off-by: Knese Karsten <karsten@openrobotics.org>
* address review
Signed-off-by: Karsten Knese <karsten@openrobotics.org>
2019-10-18 14:51:13 -07:00
tomoya
f92e52a2bb
Not creating rosout publisher instance unless required. ( #514 )
...
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
2019-10-17 10:30:08 -03:00
Michel Hidalgo
1a840d1219
Handle zero non-ROS specific args properly in rcl_remove_ros_arguments ( #518 )
...
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2019-10-15 18:20:14 -03:00
Jacob Perron
5fb711cd0b
Update rcl_node_init docstring ( #517 )
...
Include rcl_context_t in the example usage.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-10-14 08:56:24 -07:00
Jacob Perron
b7610d9392
[rcl_action] Correct action server documentation ( #519 )
...
rcl_action_process_cancel_request() will never return RCL_RET_ACTION_SERVER_TAKE_FAILED.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-10-11 13:51:29 -07:00
Jacob Perron
d9e4c2e4e9
Remove vestigial references to rcl_ok() ( #516 )
...
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
2019-10-11 13:34:41 -07:00
William Woodall
e673988415
add mechanism to pass rmw impl specific payloads during pub/sub creation ( #513 )
...
* add optional rmw payload to rcl options for pub and sub
Signed-off-by: William Woodall <william@osrfoundation.org>
* move ignore_local_publications into rmw options structure for subs
Signed-off-by: William Woodall <william@osrfoundation.org>
2019-10-08 15:40:33 -07:00
Chris Lalancette
0198ffef71
0.8.1
2019-10-08 12:09:24 +00:00
Chris Lalancette
e261e5c1a8
Changelog.
...
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-08 12:09:10 +00:00
Chris Lalancette
a251a84e5a
Fix cpplint/uncrustify failure.
...
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-08 08:05:41 -04:00
Chris Lalancette
205170449c
Print out a much more useful error message on failure.
...
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-08 08:05:41 -04:00
Chris Lalancette
d330c929f1
Switch the default logging implementation to spdlog.
...
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-10-08 08:05:41 -04:00
Chris Lalancette
d655147310
0.8.0
2019-09-26 18:45:43 +00:00
Chris Lalancette
6b865af1d5
Changelog.
...
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
2019-09-26 18:45:33 +00:00
ivanpauno
3e0efcef34
Delete rcl_impl_getenv, replaced by rcutils_get_env ( #502 )
...
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
2019-09-25 15:53:30 -03:00
Michel Hidalgo
9196cb81b4
Parse CLI parameters and YAML files ( #508 )
...
* Enable incremental parameter yaml file parsing.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
* Parse CLI parameter files and overrides in rcl.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
* Address peer review comments.
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2019-09-25 14:57:57 -03:00
Michel Hidalgo
78f8652ee4
Enable incremental parameter yaml file parsing. ( #507 )
...
Signed-off-by: Michel Hidalgo <michel@ekumenlabs.com>
2019-09-24 11:20:23 -03:00
ivanpauno
4eeaecf969
Fix rcl_action test_graph ( #504 )
...
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
2019-09-20 14:22:38 -03:00
Dirk Thomas
a9af082d9e
reset error message before setting a new one, embed the original one ( #501 )
...
* reset error message before setting a new one, embed the original one
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
* fix max line length
Signed-off-by: Dirk Thomas <dirk-thomas@users.noreply.github.com>
2019-09-17 08:54:33 -07:00
ivanpauno
fa20448730
Add specific return code for non existent node ( #492 )
...
Signed-off-by: ivanpauno <ivanpauno@ekumenlabs.com>
2019-09-17 10:27:01 -03:00