-
Notifications
You must be signed in to change notification settings - Fork 9
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
Publish inferred transitions #46
Conversation
This is now closer to the according TransitionEvent of lifecycle_msgs, which includes the start_state and goal_state of a transition. Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
* Adds caching of latest reported states/modes of all systems * Adds infer_transitions method that compares currently inferred states/modes to cached ones and returns transitions, if detected #42 Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Mode manager is now publishing transitions that are inferred by the mode inference, i.e. state and mode transitions of systems, mode transitions of nodes. State transitions of nodes don't have to be published as lifecycle nodes do this on their own. #42 Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
@chcorbato do you want to have a look at this, before I merge it? |
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.
To clarify, the main change in this pull request is that inferred transitions are now published instead of offered via services @norro ?
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.
LGTM!
Publishes inferred transitions of node modes and system states+modes.
The main change of this PR is that
The effect is that
/{system name}/transition_event
and/{node or system name}/mode_event