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

Implements error handling feature #28

Closed
wants to merge 32 commits into from
Closed

Implements error handling feature #28

wants to merge 32 commits into from

Conversation

norro
Copy link
Collaborator

@norro norro commented Jul 22, 2020

Implements first simple version of the error handling feature, #13

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

norro and others added 30 commits February 18, 2020 09:10
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Refactored state/mode pairs into struct

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
* 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>
find_package(Boost) may pass file paths for Boost libraries which are
not in the default search locations at link time.

Since FindBoost.cmake sets Boost_<C>_FOUND and Boost_<C>_LIBRARIES for
each requested component, we can let ament_target_dependencies discover
the component as if it were a standalone package.
* Added 'how to apply' section to doc

* Documents how to design system hierarchy
* Documents how to design (and how not to design) system modes

Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
Co-Authored-By: Ralph Lange <ralph-lange@users.noreply.github.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>
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>
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>
@norro norro linked an issue Jul 22, 2020 that may be closed by this pull request
Signed-off-by: Arne Nordmann <arne.nordmann@de.bosch.com>
@norro norro closed this Jul 22, 2020
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