Vous avez re莽u un message "Your GitLab account has been locked ..." ? Pas d'inqui茅tude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 2cea4c2e authored by Alexis Brenon's avatar Alexis Brenon
Browse files

馃敡 Simulate a faulty ASR

parent 30404018
......@@ -290,7 +290,9 @@ class.SENSORS_GLOBAL = {
"fffe9da3a50a", "fffeb8a8ccbb", "fffe97678aad", "fffe3ce1bcaa",
"chan0rsb", "chan1rsb", "chan2rsb", "chan3rsb", "chan4rsb", "chan5rsb", "chan6rsb", "chan7rsb"
"chan0rsb", "chan1rsb", "chan2rsb", "chan3rsb", "chan4rsb", "chan5rsb", "chan6rsb", "chan7rsb",
"user1command",
}
class.USER_LOCATIONS_RESTRICTED = {
......
......@@ -27,8 +27,10 @@ function class:update(action_index)
end
self.state[sensor_id] = value
end
if self.sensors.user1command then
self.state.user1command = self.state.user1inferredcommand
end
-- Remove inferences
self.state.user1command = self.state.user1inferredcommand
self.state.user1inferredcommand = nil
self.state.user1inferredactivity = nil
self.state["user1inferredlocation_" ..
......
......@@ -33,7 +33,7 @@ local args = {
history_length = 3,
restricted = true,
faulty_sensors = {
'fffe9b5b62c8', 'fffe919b82b3'
'user1command'
},
},
},
......@@ -44,7 +44,7 @@ local args = {
history_length = 3,
restricted = true,
faulty_sensors = {
'fffe9b5b62c8', 'fffe919b82b3'
'user1command'
},
},
},
......
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