Regenerate the affected drivers

This commit is contained in:
Douglas Clowes
2014-10-22 16:03:22 +11:00
parent ff260fd737
commit d41e77cc79
20 changed files with 296 additions and 296 deletions

View File

@@ -327,10 +327,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/sensor_int 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/sensor_int simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/sensor_int simulated true
}
# Start of var: setpoint
@@ -364,10 +364,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/setpoint 1
${sct_controller} write ${scobj_hpath}/Loop1/setpoint
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/setpoint simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/setpoint simulated true
}
# Start of var: vMaxSP
@@ -386,10 +386,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/vMaxSP 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/vMaxSP simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/vMaxSP simulated true
}
# Start of var: vMinSP
@@ -408,10 +408,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/vMinSP 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/vMinSP simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/vMinSP simulated true
}
# Start of var: vTE
@@ -432,10 +432,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/vTE 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/vTE simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/vTE simulated true
}
# Start of var: vTmpActive
@@ -454,10 +454,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/vTmpActive 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/vTmpActive simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/vTmpActive simulated true
}
# Start of var: vTmpMode
@@ -476,10 +476,10 @@ proc ::scobj::huber_pilot::mkDriver { sct_controller name device_class simulatio
if {[string equal -nocase "${simulation_flag}" "false"]} {
${sct_controller} poll ${scobj_hpath}/Loop1/vTmpMode 1
hsetprop ${scobj_hpath}/%s simulated false
hsetprop ${scobj_hpath}/Loop1/vTmpMode simulated false
} else {
::scobj::huber_pilot::sics_log 9 "simulation_flag=${simulation_flag} => No poll/write for huber_pilot"
hsetprop ${scobj_hpath}/%s simulated true
hsetprop ${scobj_hpath}/Loop1/vTmpMode simulated true
}
hsetprop ${scobj_hpath}/Loop1 data "true"
hsetprop ${scobj_hpath}/Loop1 klass "@none"