Import LinuxCNC source tree
This commit is contained in:
1
tests/t0/random-without-t0/checkresult
Symbolic link
1
tests/t0/random-without-t0/checkresult
Symbolic link
@@ -0,0 +1 @@
|
||||
../shared-checkresult
|
||||
455
tests/t0/random-without-t0/expected-gcode-output
Normal file
455
tests/t0/random-without-t0/expected-gcode-output
Normal file
@@ -0,0 +1,455 @@
|
||||
sequence number 0.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 1.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 2.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 3.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 4.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 5.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -0.100000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 6.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -0.100000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 7.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -0.100000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 8.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -0.100000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 9.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 10.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 11.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 11.500000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 12.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 5.000000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 13.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 14.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 0.300000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 15.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -4.200000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 16.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -4.200000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 17.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -4.200000
|
||||
toolno = -1.000000
|
||||
tlo_z = 0.000000
|
||||
|
||||
sequence number 100.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -4.200000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 101.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 102.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 103.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.100000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 104.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.100000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 105.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.100000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 106.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.100000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 107.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.300000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 108.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.300000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 109.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.300000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 110.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -1.300000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 111.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 112.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 113.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = 2.000000
|
||||
|
||||
sequence number 114.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 115.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 116.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 117.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 117.500000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 118.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 6.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 119.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 120.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 121.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 122.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 123.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 200.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.500000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 201.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 202.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 1.700000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 203.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 204.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 205.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 206.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 207.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.200000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 208.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.200000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 209.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.200000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 210.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.200000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 211.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 212.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 213.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 213.500000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 214.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 7.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 215.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 216.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = 2.400000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 217.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 218.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
sequence number 219.000000
|
||||
X = 0.000000
|
||||
Y = 0.000000
|
||||
Z = -2.000000
|
||||
toolno = 50.000000
|
||||
tlo_z = -1.700000
|
||||
|
||||
106
tests/t0/random-without-t0/sim.ini
Normal file
106
tests/t0/random-without-t0/sim.ini
Normal file
@@ -0,0 +1,106 @@
|
||||
[EMC]
|
||||
DEBUG = 0
|
||||
VERSION = 1.1
|
||||
#DEBUG = 0x7fffffff
|
||||
|
||||
[DISPLAY]
|
||||
DISPLAY = linuxcncrsh
|
||||
PROGRAM_PREFIX = ../subs
|
||||
|
||||
[TASK]
|
||||
TASK = milltask
|
||||
CYCLE_TIME = 0.001
|
||||
|
||||
[RS274NGC]
|
||||
PARAMETER_FILE = sim.var
|
||||
USER_M_PATH = ../subs
|
||||
SUBROUTINE_PATH = ../subs
|
||||
|
||||
[EMCMOT]
|
||||
EMCMOT = motmod
|
||||
COMM_TIMEOUT = 4.0
|
||||
BASE_PERIOD = 0
|
||||
SERVO_PERIOD = 1000000
|
||||
|
||||
[HAL]
|
||||
HALFILE = LIB:core_sim.hal
|
||||
|
||||
[TRAJ]
|
||||
AXES = 3
|
||||
COORDINATES = X Y Z
|
||||
HOME = 0 0 0
|
||||
LINEAR_UNITS = inch
|
||||
ANGULAR_UNITS = degree
|
||||
DEFAULT_LINEAR_VELOCITY = 1.2
|
||||
MAX_LINEAR_VELOCITY = 4
|
||||
NO_FORCE_HOMING = 1
|
||||
|
||||
[EMCIO]
|
||||
TOOL_TABLE = tool.tbl
|
||||
TOOL_CHANGE_QUILL_UP = 1
|
||||
RANDOM_TOOLCHANGER = 1
|
||||
|
||||
[AXIS_X]
|
||||
HOME = 0.000
|
||||
MIN_LIMIT = -40.0
|
||||
MAX_LIMIT = 40.0
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
|
||||
[AXIS_Y]
|
||||
HOME = 0.000
|
||||
MIN_LIMIT = -40.0
|
||||
MAX_LIMIT = 40.0
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
|
||||
[AXIS_Z]
|
||||
HOME = 0.0
|
||||
MIN_LIMIT = -4.0
|
||||
MAX_LIMIT = 4.0
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
|
||||
[KINS]
|
||||
KINEMATICS = trivkins
|
||||
JOINTS = 3
|
||||
|
||||
[JOINT_0]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.000
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
BACKLASH = 0.000
|
||||
INPUT_SCALE = 4000
|
||||
OUTPUT_SCALE = 1.000
|
||||
MIN_LIMIT = -40.0
|
||||
MAX_LIMIT = 40.0
|
||||
FERROR = 0.050
|
||||
MIN_FERROR = 0.010
|
||||
|
||||
[JOINT_1]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.000
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
BACKLASH = 0.000
|
||||
INPUT_SCALE = 4000
|
||||
OUTPUT_SCALE = 1.000
|
||||
MIN_LIMIT = -40.0
|
||||
MAX_LIMIT = 40.0
|
||||
FERROR = 0.050
|
||||
MIN_FERROR = 0.010
|
||||
|
||||
[JOINT_2]
|
||||
TYPE = LINEAR
|
||||
HOME = 0.0
|
||||
MAX_VELOCITY = 4
|
||||
MAX_ACCELERATION = 100.0
|
||||
BACKLASH = 0.000
|
||||
INPUT_SCALE = 4000
|
||||
OUTPUT_SCALE = 1.000
|
||||
MIN_LIMIT = -4.0
|
||||
MAX_LIMIT = 4.0
|
||||
FERROR = 0.050
|
||||
MIN_FERROR = 0.010
|
||||
|
||||
1
tests/t0/random-without-t0/test.sh
Symbolic link
1
tests/t0/random-without-t0/test.sh
Symbolic link
@@ -0,0 +1 @@
|
||||
../shared-test.sh
|
||||
3
tests/t0/random-without-t0/tool.tbl.original
Normal file
3
tests/t0/random-without-t0/tool.tbl.original
Normal file
@@ -0,0 +1,3 @@
|
||||
T1 P1 D0.125000 Z+1.000000 ;
|
||||
T7 P3 D0.500000 Z+3.000000 ;
|
||||
T50 P50 Z+2.000000 ;
|
||||
Reference in New Issue
Block a user