Skip to content

Commit 9b390cd

Browse files
committed
Merge remote-tracking branch 'origin/master' into jepler/master/halcmd-cplusplus
2 parents ac4308e + 2c302c2 commit 9b390cd

463 files changed

Lines changed: 699871 additions & 177795 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# po4a Version 0.57 in ubuntu 20 do not write translated adoc as
2-
# UTF-8. Need at least version 0.62 to fix it. Using version 0.66 to
3-
# also get fix for empty asciidoc table cells.
2+
# UTF-8. Need at least version 0.62 to fix it.
3+
# Motivations to update:
4+
# 0.66 to also get fix for empty asciidoc table cells.
5+
# 0.67 for hard newlines ( +\n) in paragraphs
46
name: Build CI
57

68
on:
@@ -28,8 +30,8 @@ jobs:
2830
run: |
2931
./scripts/travis-install-build-deps.sh
3032
sudo apt-get install -y eatmydata
31-
curl -O http://snapshot.debian.org/archive/debian/20220102T084145Z/pool/main/p/po4a/po4a_0.66-1_all.deb
32-
sudo dpkg -i po4a_0.66-1_all.deb
33+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
34+
sudo apt install ./po4a_0.67-2_all.deb
3335
cd src
3436
eatmydata ./autogen.sh
3537
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
@@ -53,8 +55,8 @@ jobs:
5355
run: |
5456
./scripts/travis-install-build-deps.sh
5557
sudo apt-get install -y eatmydata
56-
curl -O http://snapshot.debian.org/archive/debian/20220102T084145Z/pool/main/p/po4a/po4a_0.66-1_all.deb
57-
sudo dpkg -i po4a_0.66-1_all.deb
58+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
59+
sudo apt install ./po4a_0.67-2_all.deb
5860
cd src
5961
eatmydata ./autogen.sh
6062
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
@@ -80,12 +82,26 @@ jobs:
8082
git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
8183
./scripts/travis-install-build-deps.sh
8284
sudo apt-get install -y eatmydata
83-
curl -O http://snapshot.debian.org/archive/debian/20220102T084145Z/pool/main/p/po4a/po4a_0.66-1_all.deb
84-
sudo dpkg -i po4a_0.66-1_all.deb
85+
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
86+
sudo apt install ./po4a_0.67-2_all.deb
8587
codename=$(lsb_release -cs)
8688
dch --maintmaint --distribution $codename "GitHub test package."
8789
eatmydata debian/configure
8890
eatmydata debuild -us -uc
8991
sudo apt-get install ../*.deb
90-
eatmydata ./scripts/runtests -p tests/
91-
eatmydata lintian --info --display-info --pedantic --display-experimental ../*.deb
92+
./scripts/runtests -p tests/
93+
eatmydata lintian --info --display-info --pedantic --display-experimental ../linuxcnc*.changes
94+
mkdir built-debs
95+
cp ../linuxcnc*_* built-debs/
96+
- name: Archive generated PDF files
97+
uses: actions/upload-artifact@v3
98+
with:
99+
name: PDFs
100+
retention-days: 7
101+
path: docs/*.pdf
102+
- name: Archive generated Debian packages
103+
uses: actions/upload-artifact@v3
104+
with:
105+
name: debs
106+
retention-days: 7
107+
path: built-debs/*

TODO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ TODO for the joints_axes branch
22

33
* clean up joints/axes throughout the whole code (lots of parts already done)
44
* define a unified jogging way (both for joints and axes)
5-
* implement joint-limits for carthesian moves (requires simulating the speed in userspace)
5+
* implement joint-limits for cartesian moves (requires simulating the speed in userspace)
66
* update configs
77
(and many other probably..)
88

configs/attic/demo_mazak/demo_mazak.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ MAX_LINEAR_ACCELERATION = 20.0
103103

104104
[EMCIO]
105105
# change tools in the upper left corner of the table
106-
# to avoid hitting the vise or workpiece with the tool
106+
# to avoid hitting the vice or workpiece with the tool
107107
TOOL_CHANGE_POSITION = -13.75 7.5 -0.022
108108
# Name of IO controller program, e.g., io
109109
EMCIO = io

configs/by_machine/qtplasmac/machine.tcl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ loadrt hypot names=sim:hyp_xy,sim:hyp_xyz
1919
# ---THREAD LINKS---
2020
addf motion-command-handler servo-thread
2121
addf motion-controller servo-thread
22-
addf plasmac servo-thread
22+
# don't add the plasmac component if it already exists
23+
if {[hal list pin plasmac.mode] == {}} {
24+
addf plasmac servo-thread
25+
}
2326
for {set jnum 0} {$jnum < $numJoints} {incr jnum} {
2427
addf sim:${jnum}_pid.do-pid-calcs servo-thread
2528
addf sim:${jnum}_mux servo-thread

configs/by_machine/qtplasmac/sim_no_stepgen.tcl

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,9 @@ net sim:tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepa
6868

6969
# ---ESTOP HANDLING---
7070
loadrt or2 names=estop_or
71-
loadrt not names=estop_not
72-
addf estop_or servo-thread
73-
addf estop_not servo-thread
74-
net sim:estop-raw estop_or.out estop_not.in
75-
net sim:estop-out estop_not.out iocontrol.0.emc-enable-in
76-
if {$::QTPLASMAC(ESTOP_TYPE) == 2} {
77-
loadrt not names=estop_not_1
78-
addf estop_not_1 servo-thread
79-
net sim:estop-1-raw iocontrol.0.user-enable-out => estop_not_1.in
80-
net sim:estop-1-in estop_not_1.out => estop_or.in1
81-
}
71+
loadrt not names=estop_not,estop_not_1
72+
addf estop_or servo-thread
73+
addf estop_not servo-thread
74+
addf estop_not_1 servo-thread
75+
net sim:estop-raw estop_or.out => estop_not.in
76+
net sim:estop-out estop_not.out => iocontrol.0.emc-enable-in

configs/by_machine/qtplasmac/sim_stepgen.tcl

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,18 @@ addf db_breakaway servo-thread
5050
addf db_arc-ok servo-thread
5151

5252
# ---Z JOINT CONNECTION---
53-
net plasmac:axis-position joint.${z-axis}.pos-fb => plasmac.axis-z-position
53+
net plasmac:axis-position joint.${z-axis}.pos-fb => plasmac.axis-z-position
5454

5555
# ---TOOL CHANGE PASSTHROUGH
5656
net sim:tool-number <= iocontrol.0.tool-prep-number
57-
net sim:tool-change-loopback iocontrol.0.tool-change => iocontrol.0.tool-changed
57+
net sim:tool-change-loopback iocontrol.0.tool-change => iocontrol.0.tool-changed
5858
net sim:tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
5959

6060
# ---ESTOP HANDLING---
6161
loadrt or2 names=estop_or
62-
loadrt not names=estop_not
63-
addf estop_or servo-thread
64-
addf estop_not servo-thread
62+
loadrt not names=estop_not,estop_not_1
63+
addf estop_or servo-thread
64+
addf estop_not servo-thread
65+
addf estop_not_1 servo-thread
6566
net sim:estop-raw estop_or.out => estop_not.in
6667
net sim:estop-out estop_not.out => iocontrol.0.emc-enable-in
67-
if {$::QTPLASMAC(ESTOP_TYPE) == 2} {
68-
loadrt not names=estop_not_1
69-
addf estop_not_1 servo-thread
70-
net sim:estop-1-raw iocontrol.0.user-enable-out => estop_not_1.in
71-
net sim:estop-1-in estop_not_1.out => estop_or.in1
72-
}

configs/sim/axis/moveoff/moveoff_display_7.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version='1.0' encoding='UTF-8'?>
22
<!-- this is an example, the values are not
3-
likelly to be suitable for a real machine
3+
likely to be suitable for a real machine
44
-->
55
<pyvcp>
66
<vbox>

configs/sim/axis/orphans/iocontrol-removed/python/customtask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ def emcToolSetOffset(self,pocket,toolno,offset,diameter,frontangle,backangle,ori
296296
self.io.tool.toolTable[pocket].backangle = backangle
297297
self.io.tool.toolTable[pocket].offset = offset
298298

299-
if debug(): print("new tool enttry: ",str(self.io.tool.toolTable[pocket]))
299+
if debug(): print("new tool entry: ",str(self.io.tool.toolTable[pocket]))
300300

301301
if self.io.tool.toolInSpindle == toolno:
302302
self.io.tool.toolTable[0] = self.io.tool.toolTable[pocket]

configs/sim/axis/orphans/pysubs/customtask.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ def emcToolSetOffset(self,pocket,toolno,offset,diameter,frontangle,backangle,ori
290290
self.io.tool.toolTable[pocket].backangle = backangle
291291
self.io.tool.toolTable[pocket].offset = offset
292292

293-
if debug(): print("new tool enttry: ",str(self.io.tool.toolTable[pocket]))
293+
if debug(): print("new tool entry: ",str(self.io.tool.toolTable[pocket]))
294294

295295
if self.io.tool.toolInSpindle == toolno:
296296
self.io.tool.toolTable[0] = self.io.tool.toolTable[pocket]

configs/sim/axis/vismach/5axis/bridgemill/5axis.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ TOOL_TABLE = 5axis.tbl
7272
[KINS]
7373
# Note: Supported coordinates are XYZBCW but the W coordinate
7474
# motion is incorporated into the X,Y,Z axes.
75-
# Use of the W coordinate requies a joint (5)
75+
# Use of the W coordinate requires a joint (5)
7676
# in order to allow display of W values.
7777
# Use immediate homing for this joint (JOINT_5)
7878
# Note: 5axiskins is misnomer

0 commit comments

Comments
 (0)