Commit f983d171 authored by Nicolas Seydoux's avatar Nicolas Seydoux
Browse files

Added missing sensors and fixed some parameters

parent f75adffc
......@@ -100,7 +100,7 @@ ex:IIoTR2ApplicableShape
$this lmu:hasDownstreamNode ?presenceProvider, ?luminosityProvider, ?stateProvider.
?presenceProvider edr:producesDataOn adr:Presence.
?luminosityProvider edr:producesDataOn adr:Luminosity.
?stateProvider edr:producesDataOn adr:ConveyorState.
?stateProvider edr:producesDataOn adr:ConveyorState.
FILTER NOT EXISTS {
ex:IIoTR2CoreRule edr:isRuleActive "true"^^xsd:boolean.
}
......
......@@ -6,7 +6,7 @@
"count":1,
"conveyors":[{
"type":"conveyor",
"sensors":["conveyor_state", "presence", "conveyor_speed"],
"sensors":["conveyor_state", "presence", "conveyor_speed", "supervisor_presence"],
"count":1,
"machines":[{
"type":"spark_machine",
......@@ -19,7 +19,7 @@
}]
},{
"type":"conveyor",
"sensors":["conveyor_state", "conveyor_speed"],
"sensors":["conveyor_state", "conveyor_speed", "supervisor_presence"],
"count":1,
"machines":[{
"type":"spark_machine",
......
......@@ -6,7 +6,7 @@
"count":2,
"conveyors":[{
"type":"conveyor",
"sensors":["conveyor_state", "presence", "conveyor_speed"],
"sensors":["conveyor_state", "presence", "conveyor_speed", "supervisor_presence"],
"count":1,
"machines":[{
"type":"spark_machine",
......@@ -19,7 +19,7 @@
}]
},{
"type":"conveyor",
"sensors":["conveyor_state", "conveyor_speed"],
"sensors":["conveyor_state", "conveyor_speed", "supervisor_presence"],
"count":1,
"machines":[{
"type":"spark_machine",
......
......@@ -79,7 +79,7 @@ def parametrize_sensor(node):
node["rate"] = 0.5
elif node["measures"] == "supervisor_presence":
node["measureType"] = "boolean"
node["rate"] = 0.5
node["rate"] = 0.8
elif node["measures"] == 'openness':
node["measureType"] = "float"
node["lowerBound"] = 0.0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment