add LifecycleNode::get_transition_graph along with service.#1472
Merged
brawner merged 2 commits intoros2:masterfrom Dec 2, 2020
Merged
add LifecycleNode::get_transition_graph along with service.#1472brawner merged 2 commits intoros2:masterfrom
brawner merged 2 commits intoros2:masterfrom
Conversation
Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
brawner
reviewed
Nov 22, 2020
Contributor
brawner
left a comment
There was a problem hiding this comment.
I think it looks pretty good. Thanks for taking care of this. I just had a few comments.
…ry state. Signed-off-by: Tomoya.Fujita <Tomoya.Fujita@sony.com>
Collaborator
Author
|
requesting review one more time, thanks in advance! |
brawner
approved these changes
Nov 24, 2020
Contributor
Contributor
|
Benchmark results seem reasonable to me: |
Contributor
|
The ci jobs all passed here. The warnings on aarch64 are the expected for benchmarks, and the ones on windows have been resolved. @wjwwood did you have any more comments or do you think this is good to merge? |
wjwwood
reviewed
Dec 2, 2020
| std::vector<Transition> transitions; | ||
| transitions.reserve(state_machine_.current_state->valid_transition_size); | ||
|
|
||
| for (unsigned int i = 0; i < state_machine_.current_state->valid_transition_size; ++i) { |
Member
There was a problem hiding this comment.
I know this is because the data structure in C uses unsigned int, but really we should be using size_t here and there. Nothing to do for now, just a comment...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
address #1460
Signed-off-by: Tomoya.Fujita Tomoya.Fujita@sony.com