Main Page
Namespaces
Classes
Files
File List
src
flexbe_core
__init__.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
#
4
# Please use EventState as parent class for new states because it extends all other parent classes.
5
# For a behavior, choose OperatableStateMachine as state machine.
6
#
7
8
from
.core
import
EventState
# noqa: F401
9
from
.core
import
OperatableStateMachine, ConcurrencyContainer, PriorityContainer
# noqa: F401
10
11
from
.behavior
import
Behavior
# noqa: F401
12
13
from
.behavior_library
import
BehaviorLibrary
# noqa: F401
14
15
from
.logger
import
Logger
# noqa: F401
16
from
.state_logger
import
StateLogger
# noqa: F401
17
18
19
class
Autonomy
:
20
"""
21
Provides constants for the available required Autonomy Levels.
22
"""
23
24
Inherit = 0
25
"""
26
Use this whenever you want to rely on an already defined level of autonomy
27
Typical situations: Outcomes of a contained state machine or behavior, outcome of the input request state
28
"""
29
30
Off = 0
31
"""
32
Use this when no level of autonomy is required, the Autonomy Level needs to be at least 'Off'.
33
Typical situations: Outcomes that report internal software errors or thrown exceptions.
34
"""
35
36
Low = 1
37
"""
38
Use this for reliable decisions that only need validation in the 'low' autonomy mode.
39
"""
40
41
High = 2
42
"""
43
Use this for more important or high level decisions that will only be executed autonomously
44
when in full autonomy and need validation in the 'high' autonomy mode.
45
"""
46
47
Full = 3
48
"""
49
Use this for outcomes that always need an operator input.
50
A use of this level is not recommended.
51
"""
flexbe_core.Autonomy
Definition:
__init__.py:19
flexbe_core
Author(s): Philipp Schillinger
autogenerated on Sun Dec 13 2020 04:01:39