big rework to comply to current spec
- adapt to release(v2018-11-07) - remove duplicate errors.py - adapt tests Change-Id: I383bb571f9808c72b37c12fbe55042011c4c0084 Reviewed-on: https://forge.frm2.tum.de/review/19397 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Enrico Faulhaber <enrico.faulhaber@frm2.tum.de>
This commit is contained in:
@ -224,7 +224,8 @@ class Readable(Module):
|
||||
WARN = 200,
|
||||
UNSTABLE = 250,
|
||||
ERROR = 400,
|
||||
UNKNOWN = 900,
|
||||
DISABLED = 500,
|
||||
UNKNOWN = 0,
|
||||
)
|
||||
parameters = {
|
||||
'value': Parameter('current value of the Module', readonly=True,
|
||||
@ -312,7 +313,7 @@ class Drivable(Writable):
|
||||
commands = {
|
||||
'stop': Command(
|
||||
'cease driving, go to IDLE state',
|
||||
arguments=[],
|
||||
argument=None,
|
||||
result=None
|
||||
),
|
||||
}
|
||||
@ -360,7 +361,7 @@ class Communicator(Module):
|
||||
|
||||
commands = {
|
||||
"communicate": Command("provides the simplest mean to communication",
|
||||
arguments=[StringType()],
|
||||
argument=StringType(),
|
||||
result=StringType()
|
||||
),
|
||||
}
|
||||
|
Reference in New Issue
Block a user