Pullback change from Quokka 2014-09-09

This commit is contained in:
Douglas Clowes
2014-09-09 16:56:29 +10:00
parent d0d2b38177
commit b127f49b33

View File

@ -989,6 +989,8 @@ proc sendCmd {tc_root nextState cmd {idx ""}} {
set sensorValue $tc_root/sensor/sensorValue$whichSensor
if {$whichCtrlLoop <= 2} {
set nodename $tc_root/sensor/setpoint$whichCtrlLoop
hset $tc_root/control/tolerance1 1
hset $tc_root/control/tolerance2 1
hset $nodename [hval $sensorValue]
hsetprop $nodename driving 0
}