You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[System Hierarchy and Modes](#system-hierarchy-and-modes)
11
+
-[Mode manager](#mode-manager)
12
+
-[Roadmap](#roadmap)
13
+
-[Related Work](#related-work)
14
+
-[AADL](#aadl)
15
+
-[Acknowledgments](#acknowledgments)
14
16
15
17
TODO CHECK FUNCTIONING OF THE LINKS ABOVE (AND THE GENERATED IDS FOR THE SECTION HEADERS).
16
18
17
19
## Introduction and Goal
18
20
19
-
Modern robotic software architectures follow a layered approach. The layer with the core algorithms for SLAM, vision-based object recognition, motion planning, etc. is often referred to as *skill layer* or *functional layer*. To perform a complex task, these skills are orchestrated by one or more upper layers named *executive layer and planning layer*. Other common names are *task layer and mission layer* or *deliberation layer(s)*. In the following, we used the last term.
21
+
Modern robotic software architectures often follow a layered approach. The layer with the core algorithms for SLAM, vision-based object recognition, motion planning, etc. is often referred to as *skill layer* or *functional layer*. To perform a complex task, these skills are orchestrated by one or more upper layers named *executive layer and planning layer*. Other common names are *task and mission layer* or *deliberation layer(s)*. In the following, we used the latter term.
20
22
21
23
We observed three different but closely interwoven aspects to be handled on the deliberation layer:
22
24
23
-
1.**Task Handling**: Orchestration of the actual task, the *straight-forward*, *error-free* flow
25
+
1.**Task Handling**: Orchestration of the actual task, the *straight-forward*, *error-free* flow.
24
26
2.**Contingency Handling**: Handling of task-specific contingencies, e.g., expectable retries and failure attempts, obstacles, low battery.
25
27
3.**System Error Handling**: Handling of exceptions, e.g., sensor/actuator failures.
26
28
27
-
The mechanisms being used to orchestrate the skills are service and action calls, re-parameterizations, set values, activating/deactivating of components, etc. We distinguish between *function-oriented calls* to a running skill component (e.g., set values, action queries) and *system-oriented calls* to individual or multiple components (e.g., switching between component modes, restart, shutdown).
29
+
The mechanisms being used to orchestrate the skills are service and action calls, re-parameterizations, set values, activating/deactivating of components, etc. We distinguish between *function-oriented calls* to a running skill component (set values, action queries, etc.) and *system-oriented calls* to individual or multiple components (switching between component modes, restart, shutdown, etc.).
28
30
29
31

30
32
31
33
Analogously, we distinguish between *function-oriented notifications* from the skill layer in form a feedback on long-running service calls, messages on relevant events in the environment, etc. and *system-oriented notifications* about component failures, hardware errors, etc.
32
34
33
-
Our observation is that interweaving of task, contingency and system error handling generally leads to a high complexity of the control flow on the deliberation layer. Yet, we hypothesize that this complexity can be reduced by introducing abstractions for system-oriented calls and notifications.
35
+
Our observation is that interweaving of task handling, contingency handling, and system error handling generally leads to a high complexity of the control flow on the deliberation layer. Yet, we hypothesize that this complexity can be reduced by introducing appropriate abstractions for system-oriented calls and notifications.
34
36
35
37
Therefore, our **goal** within this work is to provide suitable abstractions and framework functions for (1.) system runtime configuration and (2.) system error and contingency diagnosis, to reduce the effort for the application developer of designing and implementing the task, contingency and error handling.
36
38
@@ -40,12 +42,11 @@ This goal is illustrated in the following high-level architecture:
40
42
41
43
The envisioned key elements to achieve this goal are:
42
44
43
-
1. Extensible concept to specify the runtime states of components (i.e ROS nodes).
45
+
1. Extensible concept to specify the runtime states of components, i.e ROS 2 nodes.
44
46
2. Modeling approach for specifying system modes based on these component states.
45
47
3. Diagnosis module for deriving relevant information from the operating systems, the hardware and the functional components.
46
48
4. Mode manager module for system runtime configuration.
47
49
48
-
49
50
## Requirements
50
51
51
52
The list of requirements is maintained in the doc folder of the micro-ROS system modes repository at **TODO INSERT LINK**.
@@ -57,43 +58,46 @@ Our approach is based on the ROS 2 Lifecycle. The primary goal of the ROS 2 life
57
58
58
59
The description of the concept can be found at [http://design.ros2.org/articles/node_lifecycle.html](http://design.ros2.org/articles/node_lifecycle.html). The implementation is described at [https://index.ros.org/doc/ros2/Managed-Nodes/](https://index.ros.org/doc/ros2/Managed-Nodes/).
59
60
60
-
61
-
62
61
## Main Features
63
62
64
63
### Extended Lifecycle
65
64
66
-
In micro-ROS, we extended the ROS 2 lifecycle by allowing to specify specific modes (i.e. substates) for the ACTIVE state based on the standard parameters mechanism. We implemented this concept in rcl and rclcpp for ROS 2 and micro-ROS.
65
+
In micro-ROS, we extended the ROS 2 lifecycle by allowing to specify modes, i.e. substates, specializing the *active**state based on the standard ROS 2 parameters mechanism. We implemented this concept in rcl and rclcpp for ROS 2 and micro-ROS.
67
66
68
-
The documentation and code can be found at TODO INSERT LINK.
We provide a modeling concept for specifying the hierarchical composition of systems recursively from nodes and for specifying the states and modes of systems and subsystems with the extended lifecycle, analogously to nodes. This system hierarchy and modes model also includes an application-specific the mapping of the states and modes along the system hierarchy down to nodes.
73
+
We provide a modeling concept for specifying the hierarchical composition of systems recursively from nodes and for specifying the states and modes of systems and subsystems with the extended lifecycle, analogously to nodes. This system modes and hierarchy (SMH) model also includes an application-specific the mapping of the states and modes along the system hierarchy down to nodes.
74
74
75
-
The description of this model can be found at TODO INSERT LINK.
The mode manager allows for runtime system adaptation based on such a system hierarchy and modes model. It parses the model and provides all services and topics to request state and mode changes and to monitor these changes.
81
82
82
-
The documentation and code can be found at TODO INSERT LINK. A small demo is provided at TODO INSERT LINK.
*Designed extended lifecycle concept and implemented this concept in rcl and rclcpp for ROS 2 and micro-ROS.
89
-
*Designed modeling concept to specify system hierarchy as well as to model states and modes of system and subsystems and their mapping along the system hierarchy down to nodes.
90
-
*Implemented mode manager in C++ for ROS 2.
92
+
*Extended lifecycle concept and implementation for ROS 2 and micro-ROS.
93
+
*Modeling concept to specify system hierarchy as well as system modes of systems, subsystems, and their mapping along the system hierarchy down to nodes.
94
+
*Mode inference and mode manager in C++ for ROS 2.
91
95
92
96
**2019**
93
97
* Specific implementation of mode manager for micro-ROS as may be necessary.
94
98
* Diagnostics framework for micro-ROS, interoperating with ROS 2 diagnostics.
95
-
* MCU-specific diagnostics functions for resource usage on RTOS layer, latencies, statistics from middleware, ...
96
-
* Integration of mode manager with real-time executor.
99
+
* MCU-specific diagnostics functions for resource usage on RTOS layer, latencies, statistics from middleware, etc.
100
+
* Integration of mode manager with real-time executor and/or roslaunch.
97
101
98
102
**2020**
99
103
* Lightweight concept for specifying error propagations between nodes and subsystems.
0 commit comments