Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

7
tests/abs.0/expected Normal file
View File

@@ -0,0 +1,7 @@
0.000000 0.000000
0.250000 0.250000
-0.250000 0.250000
1.000000 1.000000
-1.000000 1.000000
64.000000 64.000000
-64.000000 64.000000

10
tests/abs.0/runstreamer Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/sh
halstreamer << EOF
0
0.25
-0.25
1
-1
64
-64
EOF

17
tests/abs.0/test.hal Normal file
View File

@@ -0,0 +1,17 @@
setexact_for_test_suite_only
loadrt sampler cfg=ff depth=350
loadrt streamer cfg=f depth=350
loadrt abs
loadrt threads name1=fast period1=100000
net in streamer.0.pin.0 => sampler.0.pin.0 abs.0.in
net out abs.0.out => sampler.0.pin.1
addf streamer.0 fast
addf abs.0 fast
addf sampler.0 fast
loadusr -w sh runstreamer
start
loadusr -w halsampler -n 7