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
#
5
# Please use EventState as parent class for new states because it extends all other parent classes.
6
# For a behavior, choose OperatableStateMachine as state machine.
7
# For each state machine in the background, choose SilentStateMachine or JumpableStateMachine (only do this if you know what you are doing).
8
#
9
10
from
.core
import
EventState
11
from
.core
import
OperatableStateMachine, JumpableStateMachine, SilentStateMachine, LockableStateMachine, ConcurrencyContainer, PriorityContainer
12
13
from
.behavior
import
Behavior
14
15
from
.behavior_library
import
BehaviorLibrary
16
17
from
.logger
import
Logger
18
19
20
class
Autonomy
:
21
"""
22
Provides constants for the available required Autonomy Levels.
23
"""
24
25
Inherit = 0
26
"""
27
Use this whenever you want to rely on an already defined level of autonomy
28
Typical situations: Outcomes of a contained state machine or behavior, outcome of the input request state
29
"""
30
31
Off = 0
32
"""
33
Use this when no level of autonomy is required, the Autonomy Level needs to be at least 'Off'.
34
Typical situations: Outcomes that report internal software errors or thrown exceptions.
35
"""
36
37
Low = 1
38
"""
39
Use this for reliable decisions that only need validation in the 'low' autonomy mode.
40
"""
41
42
High = 2
43
"""
44
Use this for more important or high level decisions that will only be executed autonomously 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
"""
52
53
54
55
56
57
58
59
60
61
62
63
64
65
flexbe_core.Autonomy
Definition:
__init__.py:20
flexbe_core
Author(s): Philipp Schillinger
autogenerated on Wed Jun 5 2019 21:51:59