Commit 265326eb authored by Sebastien Petitdemange's avatar Sebastien Petitdemange Committed by Emmanuel Papillon
Browse files

taco maxe: fixed bug when stop motion

parent a0f1659e
......@@ -220,15 +220,13 @@ class TacoMaxe(Controller):
def stop(self, axis):
"""Stops an axis motion"""
tacomaxe_info("stop() called for axis \"%s\"" % axis.name)
self.device.DevAbortCommand(axis.channel)
def stop_all(self, *motion_list):
"""Stops all the moving axis given"""
tacomaxe_info("stop_all() called for axis \"%s\"" % axis.name)
for motion in motion_list:
self.stop(motion)
self.stop(motion.axis)
@object_method(types_info=("None", "float"))
def custom_read_firststeprate(self,axis):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment