Merge from Quokka sct_positmotor_common.tcl set driving false
This commit is contained in:
@ -19,12 +19,10 @@ if [ catch {
|
||||
}
|
||||
set path [sct]
|
||||
if {[hval $path/status] == "STOPPING"} {
|
||||
hset $path/driving "false"
|
||||
hset $path/status "IDLE"
|
||||
} elseif { ([hval $path/driving] == "false") && ([hval $path/status] == "BUSY") } {
|
||||
hset $path/driving "starting"
|
||||
} elseif { ([hval $path/driving] == "starting") && ([hval $path/status] == "BUSY") } {
|
||||
hset $path/driving "false"
|
||||
hset $path/status "IDLE"
|
||||
}
|
||||
return idle
|
||||
|
Reference in New Issue
Block a user