> $ python > ... > >>> import linuxcnc as l > >>> c=l.command() > >>> help(c.jog) > Help on built-in function jog: > > jog(...) > jog(JOG_CONTINUOUS, joint_flag, index, speed) > jog(JOG_INCREMENT, joint_flag, index, speed, increment) > jog(JOG_STOP, joint_flag, index) > > Start or stop a continuous or incremental jog of a joint or an axis. > > joint_flag: True to jog a joint, False to jog an axis > index: the index of the joint or axis to jog > speed: jog speed > increment: distance to jog
The 'joint_flag' indicates whether joint mode jogging or axis coordinate letter jogging is requested. (Note that teleop_mode must be enabled for axis coordinate letter jogging.) The 'index' parameter is identical to the joint number when in joint mode (e.g., NOT in teleop_mode). Teleop jogging works in Cartesian (xyzabcuvw) space and has NO knowledge of joints or kinematics so it (historically) references axis coordinate letters by their zero-based index for the known letters sequence (xyzabcuvw): x: index 0 y: index 1 z: index 2 etc. -- Dewey Garrett _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
