axis.py: identity kins: no teleop until homed #224
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
This commit is contained in:
parent
2d4f18f7c9
commit
eda5d1617e
1 changed files with 2 additions and 1 deletions
|
|
@ -3004,7 +3004,8 @@ def jog(*args):
|
|||
|
||||
def get_jog_mode():
|
||||
s.poll()
|
||||
if s.kinematics_type == linuxcnc.KINEMATICS_IDENTITY:
|
||||
if ( (s.kinematics_type == linuxcnc.KINEMATICS_IDENTITY)
|
||||
and all_homed() ):
|
||||
teleop_mode = 1
|
||||
jjogmode = False
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue