axis.py: identity kins: no teleop until homed #224

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
This commit is contained in:
Dewey Garrett 2017-01-19 19:23:21 -07:00
parent 2d4f18f7c9
commit eda5d1617e

View file

@ -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: