gcode: Support parsing of "extended" gcode commands
Support human readable commands (eg, "help"). Add a "help" command to list these extended commands. Also, add support for declaring command aliases, command help, and command availability next to the handlers themselves. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -248,7 +248,7 @@ class ToolHead:
|
||||
self.move_queue.flush()
|
||||
self.commanded_pos[:] = newpos
|
||||
self.kin.set_position(newpos)
|
||||
def move(self, newpos, speed, sloppy=False):
|
||||
def move(self, newpos, speed):
|
||||
speed = min(speed, self.max_speed)
|
||||
move = Move(self, self.commanded_pos, newpos, speed, self.max_accel)
|
||||
if not move.move_d:
|
||||
|
Reference in New Issue
Block a user