Skip to content

transition start and goal states can be null - #662

Merged
Karsten1987 merged 2 commits into
masterfrom
transition_lazy_init
May 27, 2020
Merged

Karsten1987 merged 2 commits into
masterfrom
transition_lazy_init

Conversation

@Karsten1987

Copy link
Copy Markdown
Contributor

The lifecycle transitions can be lazy initialized, meaning that the start and goal state can be null at the time of initialization: https://github.com/ros2/rclcpp/blob/87bb9f9758dce239d37256ae91d58ce6325f405b/rclcpp_lifecycle/src/transition.cpp#L155-L156

This should fix the regression stated in here; #649 (comment)

@Karsten1987 Karsten1987 self-assigned this May 27, 2020
@Karsten1987

Copy link
Copy Markdown
Contributor Author

CI: (building up to rclcpp_lifeycycle, testing rcl_lifecycle & rclcpp_lifecycle):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Signed-off-by: Karsten Knese <[email protected]>
@Karsten1987

Copy link
Copy Markdown
Contributor Author

didn't push the adaptions of the tests correctly. once more:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

@ivanpauno

ivanpauno commented May 27, 2020 •

Copy link
Copy Markdown
Member

rclcpp_lifecycle.TestDefaultStateMachine.check_parameters is still failing, the current changes LGTM

@Karsten1987

Copy link
Copy Markdown
Contributor Author

I believe these are related to ros2/rclcpp#1134 (comment)

I don't think they are related to the changes in rcl_lifecycle.

@ivanpauno

Copy link
Copy Markdown
Member

I believe these are related to ros2/rclcpp#1134 (comment)

I don't think they are related to the changes in rcl_lifecycle.

Lovely ❤️

@brawner brawner left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking care of this Karsten!

@Karsten1987
Karsten1987 merged commit 0de31d0 into master May 27, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the transition_lazy_init branch May 27, 2020 19:03
@ivanpauno

Copy link
Copy Markdown
Member

I believe these are related to ros2/rclcpp#1134 (comment)

I don't think they are related to the changes in rcl_lifecycle.

Proposed fix in ros2/rclcpp#1136.

Sign up for free to 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