Make sure that a posit motor transitions back to IDLE if the motor it depends on has been first driven directly.
This commit is contained in:
@@ -84,6 +84,7 @@ proc mkPosit {sct_controller name type motor klass table} {
|
||||
hset /sics/$name/driving "false"
|
||||
|
||||
proc ${ns}::${motor}_MOTEND {} [subst -nocommands {
|
||||
hset /sics/$name/driving "false"
|
||||
if { [hval /sics/$name/status] == "BUSY"} {
|
||||
hset /sics/$name/status "STOPPING"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user