Pullback change from Quokka 2014-09-09
This commit is contained in:
@ -989,6 +989,8 @@ proc sendCmd {tc_root nextState cmd {idx ""}} {
|
|||||||
set sensorValue $tc_root/sensor/sensorValue$whichSensor
|
set sensorValue $tc_root/sensor/sensorValue$whichSensor
|
||||||
if {$whichCtrlLoop <= 2} {
|
if {$whichCtrlLoop <= 2} {
|
||||||
set nodename $tc_root/sensor/setpoint$whichCtrlLoop
|
set nodename $tc_root/sensor/setpoint$whichCtrlLoop
|
||||||
|
hset $tc_root/control/tolerance1 1
|
||||||
|
hset $tc_root/control/tolerance2 1
|
||||||
hset $nodename [hval $sensorValue]
|
hset $nodename [hval $sensorValue]
|
||||||
hsetprop $nodename driving 0
|
hsetprop $nodename driving 0
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user