Skip to content
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

Simple prototype of error handling rules #29

Merged
merged 23 commits into from
Oct 19, 2020
Merged

Simple prototype of error handling rules #29

merged 23 commits into from
Oct 19, 2020

Conversation

norro
Copy link
Collaborator

@norro norro commented Jul 22, 2020

Simple prototype of error handling rules, see #13

See https://github.com/micro-ROS/system_modes/blob/feature/rules/system_modes_examples/README.md#system-recovery for a simple example

* Mode inference now capable of detecting deviation between intended and
targeted system state/mode (needs minor fixes)
* Mode manager checking for system deviation after each change
(transition, mode change, parameter change)

#13

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
* Prototypical rules in example modes file
* Adds mode handling class

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
* Mode handling uses yaml parser to parse mode rules from SMH file

#13

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
* Mode handling successfully parses rules from SMH file
* In case of deviations, mode manager finds the correct rules

#13

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
#13

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
#13

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann (CR/AEA2) <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
@norro norro linked an issue Jul 22, 2020 that may be closed by this pull request
@norro
Copy link
Collaborator Author

norro commented Jul 22, 2020

@ralph-lange please have a look at the example

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
@norro
Copy link
Collaborator Author

norro commented Oct 16, 2020

I start to think about actually merging it into dev, since it seems to be used in MROS now (#24 (comment)) and is tested and reported to be working (#48 (comment)).
@ralph-lange what are your thoughts on this?

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
@norro norro merged commit 761dcda into dev Oct 19, 2020
@norro norro deleted the feature/rules branch February 9, 2021 10:49
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.

Rules to deal with state (transition) failures
2 participants