-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create service context in main #224
Conversation
Signed-off-by: Nordmann Arne (CR/ADT3) <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #224 +/- ##
==========================================
- Coverage 63.49% 63.42% -0.07%
==========================================
Files 16 16
Lines 2153 2149 -4
Branches 643 641 -2
==========================================
- Hits 1367 1363 -4
- Misses 471 472 +1
+ Partials 315 314 -1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine for me, but I don't see why this fixes the problem, as the lifecycle_node was also created in main function
rclc_lifecycle_node_t lifecycle_node; |
Error on buid farm: |
Signed-off-by: Nordmann Arne (CR/ADT3) <[email protected]>
no backport to Galactic, Foxy possible due to API break in |
@norro could you add a note in the header file for Galactic and Foxy and in rclc_examples, that lifecycle with context does not work for Galactic and Foxy but that the the issue was fixed in Rolling? |
Yes, I will do. |
Context passed to the lifecycle services needs to be created in main.
Fixes #223
Signed-off-by: Nordmann Arne (CR/ADT3) [email protected]