Skip to content

Sync with upstream dashing branch - #48

Merged
jacobperron merged 6 commits into
galactic-develfrom
jacob/from_upstream
Nov 10, 2020
Merged

Sync with upstream dashing branch#48
jacobperron merged 6 commits into
galactic-develfrom
jacob/from_upstream

Conversation

@jacobperron

@jacobperronjacobperron commented Nov 9, 2020

Copy link
Copy Markdown

This PR cherry-picks applicable changes from upstream's dashing branch:

CI depends on #50

@jacobperron
jacobperronforce-pushed the jacob/from_upstream branch 3 times, most recently from 44903be to deeef60CompareNovember 10, 2020 02:54
@jacobperron

Copy link
Copy Markdown
Author

In addition to the ports from Dashing, I had to allow undeclared parameters in some of the tests (deeef60). These new tests uncovered a couple bugs related to parameter descriptors. I've opened a separate PR to fix these bugs (#50).

jacobperronand others added 6 commits November 10, 2020 09:18
…85)
* Re-enable tests related to services
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Add Client methods for checking and waiting for service availability
These methods are very useful for allowing a client to wait for a service to be available before making requests.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Refactor ClientTest to avoid repeatedly sending requests
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Generate action code for:
* `<goal_name>_SendGoal_Request`
* `<goal_name>_SendGoal_Response`
* `<goal_name>_GetResult_Request`
* `<goal_name>_GetResult_Response`
* clear node/context handle on RclJava.cleanup()
* clear publishers, subscriptions, clients, services and timers on Node.dispose()
* Remove redundant code generation
The request and response messages are already generated as part of the
srv template.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Strip action service suffixes from C include prefix
The generated C headers for actions are included in a single header named after the action.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Generate Java code for SendGoal and GetResult service definitions
Though not strictly necessary, it is nice to have definitions for these action-specific services for the purpose of writing unit tests.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
* Compile generated service definitions for actions
Previously, though we were generated service definitions for actions we were not compiling them.
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
Signed-off-by: Jacob Perron <jacob@openrobotics.org>
@jacobperron

Copy link
Copy Markdown
Author

Rebased now that #50 is merged.

@jacobperron
jacobperron merged commit 3feb0d9 into galactic-develNov 10, 2020
@jacobperron
jacobperron deleted the jacob/from_upstream branch November 10, 2020 17:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@jacobperron@ivanpauno@nielstiben@sung-goo-kim