Compare commits

...

11014 commits

Author SHA1 Message Date
1b88280c30
Revert "kmod+rtai: don't unload rtai modules after initial load"
This reverts commit dc52ac2227.
2022-10-15 17:50:16 -05:00
806dce4ae7
presence of rtai modules does not indicate realtime is running 2022-10-15 15:49:22 -05:00
Greg Carl
0b61588c13
Merge pull request #2086 from jb0/gcode-lexer
gcode_editor new lexer and qss updates
2022-10-15 15:00:55 -04:00
jb0
63f7637c87 update comment command regex to be more more accurate with comma syntax for commands. 2022-10-15 14:55:21 -03:00
Hans Unzner
a00af64fa3
Merge pull request #2056 from smoe/docs_misc_9
docs: plasma: Weblate-ready tables and improved optics (docs_misc_9)
2022-10-15 19:01:43 +02:00
Steffen Moeller
782eaa43af docs/plasma: white space, tables, candy
The long paragraph are more laborious to work with in git,
shortening emerged via sentence-wise conflict checks during rebase.

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

docs: Smallish changes while chasing build error

docs/qtplasma: eliminated erroneous merge redundancy

Fixes and semantic line breaks.
2022-10-15 16:34:43 +02:00
jb0
53d9964dbb gcodelexer - added highlighting for comment commands
highlights commands in comments listed in the
https://linuxcnc.org/docs/html/gcode/overview.html using
color[5] (used by "Other" group in lexer). Only highlights the
last comment command on the line as requested by Greg Carl.
2022-10-15 10:36:21 -03:00
Hans Unzner
16dba237c5 docs: add info about valid boolean values 2022-10-15 13:45:19 +02:00
Hans Unzner
638b857caa gmoccapy: ensure square shape of notification close button 2022-10-15 12:43:11 +02:00
Hans Unzner
e980595f66 gmoccapy: fix unit in pyngcgui sample 2022-10-15 12:42:26 +02:00
Peter Wallace
d61497b38e Merge branch 'master' of ssh://github.com/linuxcnc/linuxcnc 2022-10-14 08:19:08 -07:00
Peter Wallace
e955ac7837 Fix typos and minor addition to hostmot2 oneshot man page section 2022-10-14 08:17:37 -07:00
andypugh
04f4fb3f06 carousel.comp: Fix fall-through bug #2025
Control was falling-through the switch statement to a state that should
only be active on certain configurations.


Signed-off-by: andypugh <andy@bodgesoc.org>
2022-10-14 08:50:07 +01:00
Phillip Carter
40ac32bd2c allow editing of user buttons 2022-10-14 14:23:16 +11:00
Phillip Carter
80efaa462d change pmx stats visibility 2022-10-14 14:23:16 +11:00
Greg Carl
b7f86c2022 rs274: only allow a line starting with ";py," to go to convert_comment
Semicolon to indicate everything following ";" is to be ignored and
treated as a comment until the end of the line was added via commit
2ea4151e97 15 years ago.

11 years ago commit 38abee6a9a allowed
comments following a semicolon to be passed to convert_comment
(interp_convert.cc) no matter where the semicolon appeared in the line.
Per the commit notes:
"rationale: enable ;py,<some executable Python command>"

This causes unexpected behavior if more than one comment of each type
(semicolon, and text appearing between "()") appeared on a
line and they both had one of the allowable commands in the
convert_comment function. Per the RS274 standard: "If more than one
comment appears on a line, only the last one will be used; each of the
other comments will be read and its format will be checked, but it will
be ignored thereafter.".

This commit brings the code back in line with the original intents of
the aforementioned commits; ignore anything after a ";", and allow
lines starting with ";py," to execute python code. It also more closely
aligns to the RS274 standard.
2022-10-13 20:35:27 -04:00
Greg Carl
d473941801 docs: add man9/anglejog.9 to gitignore 2022-10-13 16:34:00 -04:00
Peter Wallace
a94eb24a4b Merge branch 'master' of ssh://github.com/linuxcnc/linuxcnc 2022-10-12 20:05:06 -07:00
Peter Wallace
0af2f08371 Add Oneshot module 2022-10-12 20:03:58 -07:00
CMorley
464c0c3293 qtvcp -docs: small edit for qtvcp vismach panels
qtvcp vismach can be embedded.
2022-10-12 19:54:19 -07:00
CMorley
b7c9614bcc qtvcp -round_gauge: a fix for newer pyqt libraries.
old library would accept floats for ints with QSize
New ones require ints
2022-10-12 19:54:18 -07:00
Hans Unzner
348b0d196d
Merge pull request #2001 from smoe/docs_affecting_src
src: s/ini/INI/ (smoe:docs_affecting_src)
2022-10-11 20:08:27 +02:00
Steffen Moeller
2dc8a0d348 src: s/ini/INI/
s/ini/INI/ - smallish correction

Update lib/python/gladevcp/hal_gremlin.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/gremlin_view.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/adjustment_bar.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/hal/user_comps/vfs11_vfd/vfs11_vfd.c

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/adjustment_bar.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

More 'ini' -> 'INI' in src

ini -> INI to sync tests

Update lib/python/gremlin_view.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update lib/python/qtvcp/widgets/offset_tool_button.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

s/modbus/Modbus/

Update lib/python/qtvcp/widgets/offset_tool_button.py

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update scripts/linuxcnc.in

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/emc/rs274ngc/interp_namedparams.cc

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

Update src/emc/usr_intf/emcsh.cc

Co-authored-by: Jérémie Tarot <silopolis@gmail.com>

docs: inifile -> INI file, etc
2022-10-11 19:04:38 +02:00
Dewey Garrett
123f69ef80 anglejog.comp, anglejog.ini (new hal component) 12
hal component to jog two axes (or joints) at an angle.

sim config:  configs/sim/axis/anglejog/anglejog.ini
video:       https://www.youtube.com/watch?v=rwrAfz62lq0
man page:    $ man anglejog
2022-10-10 19:47:06 -07:00
Greg Carl
212e5712d0 qtplasmac: rename QFrame label 2022-10-10 17:15:26 -04:00
andypugh
ed35f66c99
Fix download link in Gmoccapy docs 2022-10-10 13:23:58 +01:00
Phillip Carter
dd372170c9 qtplasmac: allow python scripts from user buttons 2022-10-10 12:42:55 +11:00
jb0
041ba71b08 gcodelexer - move IJK from Axes to Other 2022-10-09 16:35:00 -03:00
Hans Unzner
259a1807d9
Merge pull request #2088 from smoe/docs_misc_12
docs: misc smallish changes (smoe:docs_misc_12)
2022-10-09 19:05:19 +02:00
Steffen Moeller
6ab55fee10 docs: misc smallish changes 2022-10-09 17:33:05 +02:00
Petter Reinholdtsen
f8363acb21 Updated POT and PO files with latest changes in the source. 2022-10-09 16:17:06 +02:00
Petter Reinholdtsen
903041076d Add toggle(9) and toggle2nist(9) man pages to po4a setup.
The files now have a format understood by po4a.
2022-10-09 16:15:20 +02:00
petterreinholdtsen
1ce477ddc0
Merge pull request #2082 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-10-09 15:49:48 +02:00
petterreinholdtsen
cf92597806
Merge pull request #2087 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-10-09 13:51:15 +02:00
Hosted Weblate
8824cdbce6
Translated using Weblate (Portuguese)
Currently translated at 0.1% (9 of 31904 strings)
Author: ssantos <ssantos@web.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ssantos <ssantos@web.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/pt/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-09 12:54:35 +02:00
Hosted Weblate
12f374fc0c
Translated using Weblate (German)
Currently translated at 65.0% (20757 of 31904 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 64.9% (20717 of 31904 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 63.5% (20283 of 31904 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 61.7% (19685 of 31904 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-09 12:54:35 +02:00
Hosted Weblate
99f21549f1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.1% (694 of 31904 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-09 12:54:34 +02:00
Jan Mrázek
f9b4b1f950
Translated using Weblate (Czech)
Currently translated at 13.6% (514 of 3778 strings)

Co-authored-by: Jan Mrázek <email@honzamrazek.cz>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/cs/
Translation: LinuxCNC/LinuxCNC
2022-10-09 12:53:26 +02:00
Juraj Adamkovic
0b864715ca
Translated using Weblate (Slovak)
Currently translated at 21.9% (830 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-10-09 12:53:26 +02:00
Hans Unzner
c66ae6dfa5
Merge pull request #2084 from hansu/man-ascii-images
docs: use ASCII art for images in man pages
2022-10-08 22:52:59 +02:00
jb0
1da8361a3d gcode_editor new lexer and qss updates
gcode_editor.py changes
	Rewrite GcodeLexer using token based parsing with regex
	Refactored some of the get/set function to make it more dynamic and versatile when changing colors or switching/disabling lexers
	Added qproperty-styleSyntaxHighlightEnabled to optionally disable the lexer/syntax highlighting from stylesheet. (Defaults to True)
	Add callback to dynamically resize the line number margin based on number of lines in the editor

qtdragon & qtdragon_hd qss changes
	Update Editor Colors and fonts for new lexer in argentinium.qss, dark_grey.qss, qtdragon_dark_grey.qss
	Disable alternite row coloring in dark_grey.qss, qtdragon_dark_grey.qss
	Remove QComboBox::item font setting, was causing issues in stylesheet editor window using dropdown selection
	Add styling missing for QToolButon in qtdragon_hd dark.qss, dark_grey.qss & metal.qss
2022-10-08 16:46:17 -03:00
Hans Unzner
d11c6f2824 docs: use ASCII art for images in man pages 2022-10-08 21:43:02 +02:00
CMorley
af0e21830c gcode: update qtvcp's lathe macro files 2022-10-08 12:17:38 -07:00
CMorley
b23a50f91e qtvcp -macro_widget: use new touchEntry widget for entry
Might need some tweaks we will see what people think
2022-10-08 12:07:51 -07:00
CMorley
2edf48adbe qtvcp -touchEntry: add new widget for numeric touch entry
For quick numeric entry with a touch screen
2022-10-08 12:05:31 -07:00
c-morley
1424bd2ed3
Merge pull request #2083 from jb0/qtdragon-hd-handler
qtdragon_hd_handler small update for better python compatibility
2022-10-08 09:29:52 -07:00
jb0
0d53bee621 math.dist isn't from distutils, it's part of the standard math module, but only starting at python3.8. I updated the function to use sqrt instead which should be more backwards compatible 2022-10-07 16:59:38 -03:00
Hans Unzner
a8d1428b93
Merge pull request #2080 from hansu/tooledit
Tooledit: Correct data type and validate input for orientation + warn if out of range
2022-10-07 11:40:56 +02:00
Hans Unzner
cad3a1bea4 tooledit: corrected data type for column 'orient' to int, add error message when loading invalid value 2022-10-07 10:30:36 +02:00
Hans Unzner
b81c602107 tooledit: fix navigating with cursor keys 2022-10-07 10:30:36 +02:00
Hans Unzner
88016f2744 tooledit: replaced some deprecated widgets 2022-10-07 10:30:36 +02:00
Petter Reinholdtsen
41357df543 Updated POT and PO files with latest changes in the source. 2022-10-05 07:59:14 +02:00
petterreinholdtsen
26073e98e2
Merge pull request #2079 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-10-05 07:52:43 +02:00
Hosted Weblate
f1ea5629d4
Translated using Weblate (German)
Currently translated at 62.3% (19887 of 31871 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-05 07:38:20 +02:00
Hosted Weblate
11e79c7393
Translated using Weblate (Czech)
Currently translated at 0.1% (2 of 31871 strings)
Author: Jan Mrázek <email@honzamrazek.cz>

Co-authored-by: Jan Mrázek <email@honzamrazek.cz>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/cs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-05 07:38:20 +02:00
petterreinholdtsen
d5fc7875d3
Merge pull request #2063 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-10-05 07:38:13 +02:00
Hans Unzner
d7631d6322
Translated using Weblate (German)
Currently translated at 97.6% (3688 of 3778 strings)

Co-authored-by: Hans Unzner <hansunzner@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
Translation: LinuxCNC/LinuxCNC
2022-10-05 02:41:39 +02:00
Jan Mrázek
2cefbdc8f4
Translated using Weblate (Czech)
Currently translated at 10.5% (399 of 3778 strings)

Translated using Weblate (Czech)

Currently translated at 83.2% (329 of 395 strings)

Translated using Weblate (Czech)

Currently translated at 7.0% (268 of 3778 strings)

Co-authored-by: Jan Mrázek <email@honzamrazek.cz>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/cs/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/cs/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-10-05 02:41:39 +02:00
Petter Reinholdtsen
47e4766cf1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 33.2% (1258 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-10-05 02:41:39 +02:00
Csa söl
28e8090a60
Translated using Weblate (Hungarian)
Currently translated at 85.3% (337 of 395 strings)

Co-authored-by: Csa söl <endolomit@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-10-05 02:41:39 +02:00
Juraj Adamkovic
4038828e29
Translated using Weblate (Czech)
Currently translated at 83.2% (329 of 395 strings)

Translated using Weblate (Slovak)

Currently translated at 100.0% (395 of 395 strings)

Translated using Weblate (Slovak)

Currently translated at 21.9% (831 of 3778 strings)

Translated using Weblate (Slovak)

Currently translated at 84.8% (335 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/cs/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-10-05 02:41:39 +02:00
Ulices
5f505b3103
Translated using Weblate (Spanish)
Currently translated at 97.0% (3668 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 96.7% (3656 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 96.7% (3655 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 96.6% (3653 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 95.6% (3614 of 3778 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
2022-10-05 02:41:39 +02:00
Sebastian Kuzminsky
494a2090e0
Merge pull request #2081 from LinuxCNC/minor-fixes
Minor fixes
2022-10-04 18:41:30 -06:00
andypugh
518348c2a4
Update checksums 2022-10-04 23:01:52 +01:00
Sebastian Kuzminsky
1abc0ac7ce rtapi_app: fix a harmless but confusing whitespace error 2022-10-04 21:06:08 +00:00
Sebastian Kuzminsky
cd56a8c001 timedelta comp: add a current-error pin
This is the scheduling error (i.e., time of thread invocation minus
expected time of invocation).

Unlike `current-jitter` this pin does *not* have the absolute value,
so it's useful for catching "under-sleep" conditions.
2022-10-04 21:06:08 +00:00
Sebastian Kuzminsky
ff30083b11 timedelta comp: add a current-jitter pin
This pin has the scheduling error of the current invocation.

This is useful for inspecting the run-to-run scheduling variability,
e.g. using halsampler.
2022-10-04 21:06:08 +00:00
Sebastian Kuzminsky
ec19b70662 timedelta comp: document the pins 2022-10-04 21:06:08 +00:00
Sebastian Kuzminsky
e67e6784ee threads comp: fix a copy/paste error in a doc string 2022-10-04 21:06:08 +00:00
Hans Unzner
c576733358 docs: small fix in tool table 2022-10-04 19:57:51 +02:00
Hans Unzner
b08ac11f1d
Merge pull request #2068 from hansu/sample-configs-gmoccapy
Gmoccapy sample configs
2022-10-04 18:31:15 +02:00
Hans Unzner
d408f2c188 config selector: removed duplicated gmoccapy configs 2022-10-04 17:24:06 +02:00
Hans Unzner
a93a00038e config selector: started adding descriptions for gmoccapy configs 2022-10-04 17:24:06 +02:00
Hans Unzner
d26b40ac49 config selector: add gmoccapy config with embedded Pyngcgui 2022-10-04 17:24:06 +02:00
Hans Unzner
0b8c7a3e76 docs: structure in spindle example 2022-10-04 17:22:59 +02:00
Hans Unzner
1963af5d72
Merge pull request #2070 from smoe/docs_misc_10
docs: misc (smoe:docs_misc_10)
2022-10-04 11:32:30 +02:00
Steffen Möller
6b516303fc docs: no quotes for File menu 2022-10-04 10:42:12 +02:00
CMorley
65d909b034 qtvcp -versa probe: connect set X,Y,Z, and Angle buttons signals
reported on github issues.
2022-10-03 18:24:57 -07:00
CMorley
0445f75b13 Revert "Removed the option of manually inserting the parallel port"
This reverts commit 06a34258f8.
In some systems, we still need to specify the port address,
as it's not detected automatically
2022-10-03 18:19:20 -07:00
Steffen Möller
a347ab71c9 docs: Fixed separation of enumeration 2022-10-04 01:24:32 +02:00
Steffen Moeller
960d6d5a81 docs: misc changes on tables 2022-10-04 01:18:29 +02:00
Steffen Moeller
1bb4a2c6ed docs: misc 2022-10-04 01:18:24 +02:00
Hans Unzner
4490cf6369
Merge pull request #2074 from smoe/docs_misc_6
Docs misc 6
2022-10-04 00:27:59 +02:00
Steffen Möller
764bf1ebd5
Merge branch 'master' into docs_misc_6 2022-10-03 23:11:18 +02:00
Hans Unzner
7d421e74fb
Merge pull request #1978 from smoe/reformatting_descriptions
Reduced complexity of .adoc with increased beauty (smoe:reformatting_descriptions)
2022-10-03 19:57:27 +02:00
Hans Unzner
321fb7fa37
Merge pull request #1989 from smoe/docs_qtdragon2
Maybe for the style guide again - Docs qtdragon2
2022-10-03 19:27:47 +02:00
Hans Unzner
aab8a95e6e
Merge pull request #1992 from smoe/docs_misc
docs: misc as weblate made me look this up (smoe:docs_misc)
2022-10-03 19:24:25 +02:00
Steffen Moeller
f5c1e8fe5e docs: fixing wrong use of 'i.e.' 2022-10-03 17:35:19 +02:00
Steffen Moeller
c241604fa9 Reduced complexity of .adoc with increased beauty
The adoc basically mimicked descriptions with manual bold face and line breaks.
2022-10-03 17:31:01 +02:00
Steffen Möller
3ebf4c5510 docs: Preparing tables more weblate. Small bits. 2022-10-03 17:07:13 +02:00
Steffen Moeller
e7c7d7179b docs: QtDragon - not have two linebreaks 2022-10-03 17:03:25 +02:00
Steffen Moeller
4b71ccc520 docs: gui/pyvcp-examples smallish changes while translating 2022-10-03 17:02:43 +02:00
Steffen Moeller
e86b4439a3 docs index.tmpl spelling 2022-10-03 16:56:09 +02:00
Steffen Moeller
30b39ab6bd docs: misc as weblate made me look this up
docs: Misc. smallish fixes.

docs: misc
2022-10-03 16:56:09 +02:00
petterreinholdtsen
600ba1a084
Merge pull request #2071 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-10-03 07:44:24 +02:00
Hosted Weblate
1cbdf7ed93
Translated using Weblate (German)
Currently translated at 62.3% (19873 of 31871 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 61.8% (19706 of 31871 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 61.7% (19685 of 31871 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 61.6% (19654 of 31871 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-02 22:45:46 +02:00
Hosted Weblate
b7d50f743e
Translated using Weblate (Spanish)
Currently translated at 0.1% (36 of 31871 strings)
Author: Ulices <dev.n47os@aleeas.com>

Translated using Weblate (Spanish)

Currently translated at 0.1% (26 of 31871 strings)
Author: Ulices <dev.n47os@aleeas.com>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
Translation: LinuxCNC/LinuxCNC Documentation
2022-10-02 22:45:46 +02:00
Sebastian Kuzminsky
79945e712d
Merge pull request #2077 from LinuxCNC/fix-github-ci-pere
Add workaround for broken lsb_release in current Debian Sid/Bookworm
2022-10-02 14:45:02 -06:00
Petter Reinholdtsen
0b31e31661 Add workaround for broken lsb_release in current Debian Sid/Bookworm
No longer add linuxcnc.org APT repo for unstable and bookworm builds
and add override to debian/configure and update-dch-from-git to get
sid/bookworms building until <URL: https://bugs.debian.org/1008735 > is
fixed.
2022-10-02 14:26:26 +02:00
CMorley
2937ce4c4c qtdragon -docs: add missing versaprobe image 2022-10-01 17:30:24 -07:00
jb0
668a7f2f99 qtvcp audio_player.py fix segfault on exit
espeak library used by qtvcp audio_player.py was causing a segfault on
exit when attempting to clear the callback function. (Issue #1379)
2022-10-01 13:07:01 -07:00
CMorley
1226af2c19 qtvcp -versaprobe docs: add a rotation image 2022-10-01 13:07:01 -07:00
CMorley
b0c8dc0c77 qtdragon -switch basic dragon sample to use versaprobe
to demostrate it and for ease of testing.
2022-10-01 13:07:01 -07:00
CMorley
8a3034c9f7 qtvcp -sim: add formatting to abort message 2022-10-01 13:07:01 -07:00
c-morley
f268f61796
Merge pull request #2073 from phillc54/phillc54/pyvcp
Allow one or more embedded pyvcp tabs in axis
2022-10-01 12:54:13 -07:00
Dewey Garrett
ebeb7d07d2 db_demo include a periodic_task
periodic_task() updates the time (minutes) accumulated for
loaded tool on a regular interval and operates concurrently
with the main interface task and worker tasks.

also: rename p0tool -> spindle_tool
2022-10-01 06:12:38 -07:00
CMorley
5e2ab110b6 qtdragon -update docs 2022-09-30 21:23:58 -07:00
CMorley
b8f6c5ba3d docs: filter programs; add a link 2022-09-30 21:21:20 -07:00
CMorley
7060ead913 qtvcp -versa probe help: add info on rotation 2022-09-30 21:16:24 -07:00
CMorley
ec2a506cc1 qtdragon_hd: add a message for an math.dist import failure 2022-09-30 21:03:15 -07:00
CMorley
f690e5a245 qtdragon/hd: add test LED and test button launch buttons 2022-09-30 21:02:12 -07:00
Phillip Carter
a343b06d52 Allow one or more embedded pyvcp tabs in axis
This is an extension of some work by forum user "nkp"
2022-09-30 14:38:58 +10:00
CMorley
fdda9b21a9 qtvcp -basic/versa probe: make sure error polling is reset when finished
other wise errors are reported late.
2022-09-27 21:47:56 -07:00
CMorley
deef4fb03c qtdragon -cosmetic updates to setup and settings tabs
Thanks to MarkoPolo from the forum
2022-09-27 20:09:01 -07:00
CMorley
0beb1ffbff qtvcp -file_manager:fix button sizes to auto adjust
Thanks to MarkoPolo from the forum for the updates
2022-09-27 20:09:01 -07:00
Petter Reinholdtsen
7d042f5135 Stop uploading debs and PDFs are CI artifacts, as it tend to fail
The error from the CI run often look like this:

  Error: Unexpected response. Unable to upload chunk to
  https://pipelines.actions.githubusercontent.com/6HFjJw6TOQMbFXejq4N2A23YIPH3V5KpoRi1gRrwgzu6uIGnXP/_apis/resources/Containers/21487281?itemPath=PDFs%2FLinuxCNC_Documentation.pdf

I believe the cause is that the artifacts are too big to reliably be uploaded to the
github artifact repository.

This reverts 24921d174c.
2022-09-27 07:08:01 +02:00
Greg Carl
54f765206c qtvcp: machine-log formatting changes 2022-09-26 21:01:07 -04:00
Hans Unzner
603d3e26bc gmoccapy: remember position of hbox2 (GtkPaned)
When the width of vbx_jog (G-code view etc.) was changed and edit mode was left, the G-code width wasn't correct resized.
2022-09-25 16:22:59 +02:00
Hans Unzner
3ef61f2dce
Merge pull request #2067 from luzpaz/SVG-typo
Fix typo in visible text within SVG doc
2022-09-25 15:45:05 +02:00
luz paz
4a526d50eb Fix typo in visible text within SVG doc
initital->initial
2022-09-25 08:46:29 -04:00
Hans Unzner
18050cc77e
Merge pull request #2066 from luzpaz/typos
Typos in configs/
2022-09-25 10:48:06 +02:00
luz paz
235c1b9972 Typos 2022-09-24 22:42:13 -04:00
CMorley
439bed9bca qtvcp -indicatedPushButton: fix python command calling 2022-09-24 19:21:11 -07:00
Hans Unzner
cbd381af03 docs: syntax highlighting in o-code.adoc 2022-09-24 18:35:01 +02:00
Petter Reinholdtsen
d048df5c54 Updated docs POT and PO files using po4a version 0.67. 2022-09-24 17:25:24 +02:00
petterreinholdtsen
40b042bda2
Merge pull request #2065 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-09-24 17:15:34 +02:00
Hosted Weblate
df7cc4b874
Translated using Weblate (German)
Currently translated at 66.1% (20263 of 30642 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-24 15:49:31 +02:00
Hosted Weblate
cbd229e88d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (697 of 30642 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-24 15:49:31 +02:00
Hosted Weblate
907b973382
Translated using Weblate (Spanish)
Currently translated at 0.1% (11 of 30642 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-24 15:49:30 +02:00
Petter Reinholdtsen
da99e19495 Correct use of bold in hostmot2(9). 2022-09-23 15:33:36 +02:00
Hans Unzner
01fae044e8
Merge pull request #2064 from petterreinholdtsen/man-xref-format
Changed to regular format for man page cross references.
2022-09-23 10:01:17 +02:00
Petter Reinholdtsen
ed7bade7b2 Changed to regular format for man page cross references.
Man page viewers like khelp are able to convert hostmot2(9) into a link
to the hostmot2 manual page, while they do not understand 'man hostmot2'
or similar notation.  Thus, converted references to the regular fomat used
in manual pages.
2022-09-23 08:54:00 +02:00
Hans Unzner
0f988d4c03
Merge pull request #2049 from hansu/doc-hostmot
docs: improve docs regarding SSERIAL
2022-09-22 21:46:08 +02:00
Hans Unzner
8626a00df1 docs: improve docs regarding SSERIAL 2022-09-22 21:44:51 +02:00
Hans Unzner
ed5f5249fd docs: small formatting fixes in Hardware Examples 2022-09-22 20:49:15 +02:00
Hans Unzner
0a10ac54c4
Merge pull request #2038 from smoe/docs_misc_4
Review of qtvcp-widgets
2022-09-22 20:45:15 +02:00
Steffen Moeller
d3e91fb41f docs: More smallish changes 2022-09-22 19:23:15 +02:00
Steffen Moeller
f0936a5ac6 docs: review of qtview-widgets 2022-09-22 19:20:56 +02:00
Hans Unzner
23b5841eb9
Merge pull request #2059 from luzpaz/typo/docs
docs: fix typos
2022-09-22 09:47:51 +02:00
Petter Reinholdtsen
062670b0f4 Renamed at_pid to pid in all configs using the obsolete component. 2022-09-22 08:51:50 +02:00
petterreinholdtsen
b20a69b5ee
Merge pull request #2028 from smoe/docs_misc_2
docs: Series of smallish changes to improve optics.
2022-09-22 08:46:11 +02:00
Phillip Carter
f6ec3184f9 rework void sensing 2022-09-22 16:19:45 +10:00
luz paz
1cf418cdc0 docs: fix typos 2022-09-21 22:03:57 -04:00
Steffen Moeller
bd859d5149 docs: Series of smallish changes to improve optics.
docs: typos, automated translation could not deal with double indentiation

docs: accumulated changes while translating

docs: Iterating through weblate 'marked for edit's

docs: Reacted to feedback from hansu and c-morley
2022-09-22 01:34:01 +02:00
Hans Unzner
b4615c13fc
Merge pull request #1742 from silopolis/docs/formating_fixes
docs: qtvcp-* reformatting
2022-09-21 17:22:28 +02:00
Jérémie Tarot
b73e2ecc18 docs: qtvcp* review changes
qtvcp-vismach.adoc review changes
qtvcp-vcp-panels.adoc review changes
qtvcp-widgets.adoc sub-sections titles readability: add a dash between keyword and description for hopefully better readability of ToC.
qtvcp-vismach.adoc add title anchors
Fix remaining Qt Designer capitalization issues
Fix anchor bug
2022-09-21 10:01:24 +02:00
Jérémie Tarot
0c86d19061 docs: qtvcp-vismach.adoc reformatting 2022-09-21 10:01:24 +02:00
Jérémie Tarot
8350c6e1c7 docs qtvcp-*.adoc "fix" to 'n-Axis' spelling 2022-09-21 10:01:24 +02:00
Jérémie Tarot
53f15f539d docs: qtvcp-custom-widgets.adoc reformatting 2022-09-21 10:01:23 +02:00
Jérémie Tarot
ef74a872f9 docs: qtvcp-development.adoc reformatting 2022-09-21 10:01:23 +02:00
Jérémie Tarot
5714ccbc63 docs: more qtvcp.adoc reformatting and chapters anchors fixes 2022-09-21 10:01:23 +02:00
Jérémie Tarot
3ccabce507 docs: qtvcp-vcp-panels.adoc reformatting
As mentioned in added FIXME, VCP panels section should be removed
from qtvcp.adoc as it is a lower quality duplicate from qtvcp-vcp-panels.adoc
2022-09-21 10:01:23 +02:00
Jérémie Tarot
a7a02b6001 docs: qtvcp-code-snippets.adoc reformatting 2022-09-21 10:01:23 +02:00
Jérémie Tarot
ff4b50b9b6 docs: qtvcp-libraries.adoc refomatting 2022-09-21 10:01:23 +02:00
Jérémie Tarot
bfec52f06b docs: qtvcp-widgets.adoc reformatting
docs: qtvcp-widgets.adoc fix CSS syntax highlighting build error
2022-09-21 10:01:23 +02:00
Jérémie Tarot
9651a4195a docs: qtvcp.adoc reformatting
Big reformatting
Add a test_panel screen capture.
Add Qt Designer install TODOs

docs: qtvcp.adoc fix CSS syntax highlighting build error
2022-09-21 10:01:23 +02:00
petterreinholdtsen
15792c4216
Merge pull request #2053 from smoe/docs_man
docs: misc in man
2022-09-21 07:57:47 +02:00
Dewey Garrett
65385227ee db_demo mutual exclusion for main, worker threads
1) Implement single mutex to guard main and worker threads
   access to data.
2) don't nonran_restore_pocket if redundant spindle load
3) minor layout changes
2022-09-20 18:53:41 -07:00
12a57f974b
Merge pull request #2050 from hansu/build-mesa_uart
build mesa_uart on uspace
2022-09-20 10:25:40 -04:00
Petter Reinholdtsen
23ed894e98 Corrected typo in debian/upstream/metadata and improved reference list. 2022-09-20 15:29:56 +02:00
Petter Reinholdtsen
68dea15474 Corrected autopkgtest script rs274-test. 2022-09-20 15:29:33 +02:00
Petter Reinholdtsen
d367b0b232 Drop flaky flag from autopkgtest script linuxcnc-test, as it is working. 2022-09-20 15:29:11 +02:00
Petter Reinholdtsen
070ae58920 Fixed formatting typos in two man pages. Thanks lintian. 2022-09-20 15:28:21 +02:00
Steffen Moeller
7b390d5f9d docs: misc in man 2022-09-20 15:23:36 +02:00
Phillip Carter
d1ac03bdd7 docs: fix broken links in qtplasmac 2022-09-20 14:26:22 +10:00
CMorley
23f037f887 qtvcp -test dial panel: make always on top by default 2022-09-19 20:37:22 -07:00
CMorley
2f0fb36797 qtdragon/hd: add spindle-is-at-speed pin
pin that follows the spindle-at-speed led state.
2022-09-19 20:37:22 -07:00
CMorley
6152295e40 qtvcp -mdiline: add new loadable program commands
TESTLED, TESTBUTTON and TESTDIAL for qtvcp's test panels
2022-09-19 20:37:22 -07:00
CMorley
ded43a0676 qtvcp aux_program_loader: add qtvcp's led, button and dial test panels 2022-09-19 20:37:22 -07:00
CMorley
efa5954eb7 qtvcp -fix selection of output PIN name, spindle near percent 2022-09-19 20:37:22 -07:00
Hans Unzner
abcf03b6de
Merge pull request #2046 from smoe/docs_misc_5
docs: iterating through weblate edits
2022-09-19 19:17:31 +02:00
Steffen Möller
199fe12c77
Merge branch 'master' into docs_misc_5 2022-09-19 17:58:44 +02:00
Hans Unzner
3586162d56 mesa_uart: build on uspace 2022-09-19 17:55:05 +02:00
Hans Unzner
67d1c7e865
Merge pull request #2009 from smoe/docs_stepper
docs: Weblate punctuation checks
2022-09-19 17:50:45 +02:00
Steffen Moeller
6ba60b1613 docs: table optics (l| -> m|) 2022-09-19 17:21:40 +02:00
Steffen Moeller
4e07391313 docs: Weblate punctuation checks 2022-09-19 16:57:43 +02:00
Steffen Moeller
acbc007d70 docs: checked all tables for asciidoc correctness
po4a omits terminal letters if interpreted as a field operator.
2022-09-19 01:52:00 +02:00
Greg Carl
24d086d952 qtplasmac: prevent rare file_clear crash
Bumped into this by calling a subroutine via user button that contained 
an error. The subroutine file loaded in an unintended way, leaving 
ACTION.prefilter_path as None.  This caused a crash upon clicking File 
Clear.
2022-09-18 19:05:36 -04:00
Steffen Moeller
d30b592abc docs: More on optics to prep for weblate 2022-09-19 00:47:55 +02:00
Steffen Moeller
961f78595d docs: iterating through weblate edits 2022-09-19 00:47:54 +02:00
Hans Unzner
69f4a45ddc
Merge pull request #2047 from smoe/docs_po4a_fixing_tables
docs: po4a-fixed tables in hal/components
2022-09-18 20:16:53 +02:00
Steffen Moeller
f2d53d745b docs: po4a-fixed tables in hal/components 2022-09-18 15:23:14 +02:00
Greg Carl
706a467d82 qtplasmac: allow multi-line Exit warning text 2022-09-18 08:43:29 -04:00
Greg Carl
069092c592 qtplasmac: change pushbutton type for buttons 7 and 8 in 9x16 gui
prevents buttons 7 and 8 from showing as enabled when they are not used
2022-09-18 08:07:48 -04:00
Petter Reinholdtsen
b6ed1fcdd7 Updated POT and PO files with latest changes in the source. 2022-09-18 08:09:11 +02:00
Petter Reinholdtsen
017014ebbc Add language code to pt doc translation. 2022-09-18 08:09:00 +02:00
Petter Reinholdtsen
719b5bbce6 Added pt to po4a.cfg. 2022-09-18 08:08:14 +02:00
petterreinholdtsen
e4fde51d24
Merge pull request #2032 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-09-18 07:55:44 +02:00
Hosted Weblate
fcf20f17e3
Added translation using Weblate (Portuguese)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Páulo Magrini <pmagrini@gmail.com>
2022-09-18 07:54:51 +02:00
Hosted Weblate
4c59fa68eb
Translated using Weblate (German)
Currently translated at 64.3% (19582 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 64.1% (19524 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 62.4% (19002 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 62.2% (18963 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 62.1% (18920 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 60.9% (18556 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 59.9% (18244 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 59.9% (18243 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 58.8% (17913 of 30449 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-18 07:54:51 +02:00
Hosted Weblate
2b2f6b0828
Translated using Weblate (Spanish)
Currently translated at 0.1% (9 of 30449 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Translated using Weblate (Spanish)

Currently translated at 0.1% (9 of 30449 strings)
Author: Ulices <dev.n47os@aleeas.com>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-18 07:54:50 +02:00
Hosted Weblate
7cf5201ec2
Translated using Weblate (Chinese (Simplified))
Currently translated at 0.1% (11 of 30449 strings)
Author: panming <1042253456@qq.com>

Translated using Weblate (Chinese (Simplified))

Currently translated at 0.1% (10 of 30449 strings)
Author: panming <1042253456@qq.com>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: panming <1042253456@qq.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/zh_Hans/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-18 07:54:50 +02:00
petterreinholdtsen
4342e46caf
Merge pull request #2044 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-09-18 07:54:44 +02:00
Petter Reinholdtsen
1df37b024e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 33.1% (1251 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-09-18 05:03:06 +02:00
CMorley
be733a5f25 qtvcp -fix copy dialog panel: buton name change on filemanager 2022-09-17 19:56:05 -07:00
CMorley
43f2e85a21 qtvcp -fix newer vesion of qt's property error: float vrs int 2022-09-17 18:08:51 -07:00
Greg Carl
4cdd6f5560 qtplasmac: more small GUI format changes 2022-09-17 15:16:31 -04:00
Hans Unzner
0a11e0f328 Merge branch '2.8' into 'master' 2022-09-16 21:23:00 +02:00
Hans Unzner
668a3cebd7 calculatorwidget: increased buttons to be more touch-friendly 2022-09-16 21:15:10 +02:00
Hans Unzner
9347290879 gmoccapy: Fix jogging with max velocity (SHIFT + jog key)
Before, jogging with Shift-down was reduced by the halui.max-velocity setting
2022-09-16 21:15:09 +02:00
Hans Unzner
c714a407fd
Merge pull request #1874 from zz912/patch-7
Gmoccapy - add czech translation
2022-09-16 20:22:54 +02:00
Hans Unzner
a7fbd54732
Merge pull request #1646 from hansu/doc-component-list
docs: HAL Component List - generate unlisted components automatically
2022-09-16 20:13:20 +02:00
Hans Unzner
23db1d652a
Merge pull request #2023 from hansu/halshow-add-buttons-for-signals
Halshow: add buttons for signals
2022-09-16 20:09:37 +02:00
Hans Unzner
941cbaecb7 halshow: different colors for pins / parameters / signals 2022-09-16 20:05:57 +02:00
Hans Unzner
c0b5666b09 halshow: add buttons for signals 2022-09-16 20:03:55 +02:00
1374b76680
Merge pull request #2031 from sundtek/patch-1
Update hm2_eth.c
2022-09-15 22:20:21 -04:00
petterreinholdtsen
9621868588
Merge pull request #2027 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-09-15 08:02:49 +02:00
Ulices
f214145c5c
Translated using Weblate (Spanish)
Currently translated at 95.1% (3595 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 95.1% (3593 of 3778 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
2022-09-15 03:35:12 +02:00
Andreas Christoffersen
16d44e4364
Translated using Weblate (Danish)
Currently translated at 4.1% (155 of 3778 strings)

Translated using Weblate (Danish)

Currently translated at 3.2% (121 of 3778 strings)

Co-authored-by: Andreas Christoffersen <andreas@proto-design.dk>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/da/
Translation: LinuxCNC/LinuxCNC
2022-09-15 03:35:12 +02:00
Petter Reinholdtsen
0c0042189b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 33.0% (1250 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 32.9% (1243 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-09-15 03:35:12 +02:00
cnc
6854b4b8b0 gcode_editor/qtdragon: add styleColorMarkerBackground in qtvcp gcode_editor
-to set current line marker bg color.
-Updated argentinium.qss and dark_grey.qss in qtdragon_hd to use this style for better readability
coded by jb0 on github

cleanup
2022-09-14 18:34:30 -07:00
c-morley
984bbf643d
Merge pull request #2039 from jb0/gcode_utility_facing
Add logic for default values in facing.py
2022-09-14 18:02:32 -07:00
cnc
344ce38822 Add Detection for Metric or Imperial and adjust default values and get Default spindle speed from INI if it exist. 2022-09-14 11:22:03 -03:00
Phillip Carter
e54f5a9e02 qtplasmac: rework material errors in gcode filter 2022-09-14 18:58:25 +10:00
Phillip Carter
a1fce5b1fd
Update install_script
fix message for rip installations
2022-09-14 17:23:06 +10:00
c-morley
e6135e8f11
Merge pull request #2036 from jb0/qtdragon
qtdragon_hd changes
2022-09-13 20:12:49 -07:00
cnc
08161aec22 Update retract_dist_units & z_safe_travel_units labels to proper units.
Remove unecessary unit conversion in btn_goto_location_clicked
Fix string format for touchplate popup message with correct units instead of hardcoded to mm
Add function to calculate time to travel to distance in mdi commands used for the "Go To" Buttons. On large machines or with slow rapids, 10 second timeout results in error if not done traveling.
2022-09-13 22:34:27 -03:00
Hans Unzner
b7196b08b3 docs: add components_gen.adoc to po4a.cfg 2022-09-13 21:28:49 +02:00
Hans Unzner
04ef844a64 docs: fix generation of HAL component list
Checking of existing items failed because '../docs/html/hal' has not yet been created at this stage.
Also added correct dependencies and removed a useless target.
Thanks to @jepler for figuring this out.
2022-09-13 21:28:49 +02:00
Hans Unzner
9b9aa6faa2 docs: fix references and anchors in HAL component list 2022-09-13 21:28:49 +02:00
Hans Unzner
8512402eaf docs: apply changes by @smoe on HAL component list
commit 3a6bb1fd33
and 6f7cb9978b
2022-09-13 21:28:49 +02:00
Hans Unzner
fa69ad9595 docs: dropped separation between man1 and man9 in HAL component list 2022-09-13 21:28:49 +02:00
Hans Unzner
0a3d5d2c3f docs: started adding missing HAL components 2022-09-13 21:28:49 +02:00
Hans Unzner
8f92bb30f2 docs: extract description from man pages for generated list 2022-09-13 21:28:49 +02:00
Hans Unzner
7ca47822d2 docs: add links also for missing components 2022-09-13 21:28:49 +02:00
Hans Unzner
a328a91420 docs: add links to component list + generate links by script 2022-09-13 21:28:49 +02:00
Hans Unzner
5d091b7312 docs: generate list of missing components 2022-09-13 21:28:49 +02:00
Hans Unzner
4385731a73 docs: improve categories of some components 2022-09-13 21:28:49 +02:00
Hans Unzner
82fd5eee3f docs: format hal component list as table 2022-09-13 21:28:49 +02:00
Hans Unzner
750a46e460
Merge pull request #1977 from smoe/docs_gstate
docs: intensive reformatting of gstate.adoc
2022-09-13 21:19:09 +02:00
petterreinholdtsen
2d01d1dc9a
Merge pull request #2033 from smoe/docs_misc_4
docs: Fixing QT -> Qt in index.tmpl
2022-09-13 16:46:26 +02:00
Steffen Moeller
26af1fba17 docs: Need to check Gcode Ripper -> G-code Ripper, still. 2022-09-13 16:26:43 +02:00
Steffen Moeller
c7a36ea270 docs: Fixing QT -> Qt in index.tmpl 2022-09-13 15:44:21 +02:00
zz912
cac7e2988b
Update cs.po 2022-09-13 12:39:46 +02:00
zz912
2417581b61
Update cs.po 2022-09-13 12:10:01 +02:00
zz912
09f52b17c1
Create cs.po 2022-09-13 12:08:53 +02:00
petterreinholdtsen
2daea3c76d
Merge pull request #2010 from LinuxCNC/ci-more-dists
CI more dists
2022-09-13 08:15:15 +02:00
Sebastian Kuzminsky
0808e8b9bf packaging: always Build-Dep on docbook-xsl
docbook-xsl is needed to build the halstreamer manpage on Buster.
2022-09-12 19:40:39 -06:00
Sebastian Kuzminsky
b08327895d github workflow: name supported dists explicitly (testing->bookworm, unstable->sid)
We'll have to update this list when new dists come along (i.e. when
bookworm becomes stable, or sid becomes metastable or whatever), and
when we drop support for old dists.
2022-09-12 19:40:39 -06:00
Sebastian Kuzminsky
c31be14610 github workflow: run "package & test" jobs on buster and bullseye too 2022-09-12 19:40:39 -06:00
Sebastian Kuzminsky
2e2e779972 github workflow: add linuxcnc.org deb archive in package jobs (arch & indep) 2022-09-12 19:40:37 -06:00
Sebastian Kuzminsky
2c2fc79234 gpg: add linuxcnc.org deb archive signing pubkey
This adds the public part of the key used for signing the debian package
archive at linuxcnc.org to the keyring in our repo.

Fingerprint: EEDD0D29F81DCAA0D258661F3CB9FD148F374FEF
2022-09-12 19:38:45 -06:00
andypugh
29fa119877 carousel: add pin to unhome
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-09-13 00:47:06 +01:00
andypugh
9471c059d1 encoder: Fix divide-by-zero in missing-index handler
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-09-13 00:45:39 +01:00
sundtek
b5e3148d5c
Update hm2_eth.c
close socket when executing close_board(), shutdown is not enough.
2022-09-13 06:45:08 +08:00
Petter Reinholdtsen
913cbc9b45 Use normalized spelling of name. 2022-09-12 19:41:39 +02:00
Sebastian Kuzminsky
813da03146 github workflow: add a comment to configure vim 2022-09-12 10:46:59 -06:00
Sebastian Kuzminsky
0630f42312
Merge pull request #2029 from petterreinholdtsen/comp-authors
Added author information to all HAL components where it was missing
2022-09-12 10:32:06 -06:00
petterreinholdtsen
9b0a166ba5
Merge pull request #2003 from smoe/docs_weblate_petter
docs: fixed two weblate warnings
2022-09-12 18:20:05 +02:00
Steffen Möller
7945f51b87 docs: fixed two weblate warnings 2022-09-12 17:51:53 +02:00
Petter Reinholdtsen
1d92f1f9a4 Add da and pt_BR directories to docs .gitignore. 2022-09-12 16:36:27 +02:00
Petter Reinholdtsen
491a7864e2 Added author information to all HAL components where it was missing
Also consolidated identical names into the consistent capitalisation.

The component author was found either using git history or copyright header
in the file.  I only used the name, not email addresses, because I do not
know if people want to have their email address exposed in the LinuxCNC
manual pages, nor if any email address I could find is up to date and still
relevant.
2022-09-12 16:31:59 +02:00
Steffen Moeller
cd58aa2f99 docs: intensive reformatting of gstate.adoc 2022-09-12 15:26:41 +02:00
Andreas Christoffersen
9ad653fb16 Translated using Weblate (Danish)
Currently translated at 1.1% (45 of 3776 strings)

Co-authored-by: Andreas Christoffersen <andreas@proto-design.dk>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/da/
Translation: LinuxCNC/LinuxCNC
2022-09-12 08:46:07 +02:00
Petter Reinholdtsen
a75597c801 Updated POT and PO files with latest changes in the source. 2022-09-12 08:28:54 +02:00
Petter Reinholdtsen
1a7f871aef Added danish to po4a.cfg to validate it during weblate pulls. 2022-09-12 08:23:40 +02:00
Hosted Weblate
ab9aafe04d
Added translation using Weblate (Danish)
Co-authored-by: Andreas Christoffersen <andreas@proto-design.dk>
2022-09-12 06:28:45 +02:00
Hosted Weblate
8c2f206ca6
Translated using Weblate (German)
Currently translated at 58.6% (17820 of 30378 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 58.3% (17723 of 30378 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 57.8% (17561 of 30378 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 57.6% (17514 of 30378 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 55.9% (17006 of 30378 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-12 06:28:45 +02:00
CMorley
da866565ed qtvcp -doc: fix typo, missing space 2022-09-11 21:15:30 -07:00
CMorley
f22c39af04 qtvcp -docs: add info on new test_button panel 2022-09-11 21:11:21 -07:00
CMorley
ff34393c28 qtvcp -test_led/test_button - add/update test panels
test_button: An indicated  HAL button for testing with many options
test_led:  add ability to load a test button
2022-09-11 20:18:51 -07:00
CMorley
42c2918479 qtvcp -pushbutton/indicatedPushButton: add dis/connect functions
A new test panel wants to be able to set checkable at runtime.
We have to disconnect/reconnect signals, as momentary and checkable
buttons use different signals
2022-09-11 19:34:58 -07:00
CMorley
f30ea65ce1 qtdragon_hd -docs: add info on workpiece height probing 2022-09-11 13:07:53 -07:00
Petter Reinholdtsen
8713f25e11
Added translation using Weblate (Danish)
Added translation using Weblate (Danish)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
2022-09-11 19:31:16 +02:00
Sebastian Kuzminsky
a5c2aab5cf
Merge pull request #1995 from smoe/docs_hal_vscode
docs: translation-motivated changes
2022-09-11 11:00:21 -06:00
Sebastian Kuzminsky
5b8dfb36c5
Merge pull request #2004 from smoe/docs_misc_smallish
docs: remap+source: ini->INI and language editing
2022-09-11 10:57:44 -06:00
Sebastian Kuzminsky
43106f2526
Merge pull request #2005 from smoe/docs_man_asccidoc
docs: man asciidoc - series of small changes
2022-09-11 10:56:26 -06:00
f1dbc08403
Merge pull request #2021 from LinuxCNC/fix-armhf-build
autoconf: new ax_boost_base from autoconf-archive
2022-09-11 11:55:58 -05:00
Sebastian Kuzminsky
95a74128ce
Merge pull request #2006 from smoe/docs_remap_button_numbering
docs: smallish improvements to qtplasma.adoc
2022-09-11 10:54:23 -06:00
Greg Carl
92847712d1 qtplasmac: refine keyboard shortcuts 2022-09-11 12:11:19 -04:00
Greg Carl
20ffaa9123 qtvcp: file_editor make QBoxLayouts accessible from handlers 2022-09-11 12:01:14 -04:00
Greg Carl
4120874377 qtplasmac: move powermax port option 2022-09-11 09:33:51 -04:00
Hans Unzner
d95d6a64c5 halshow: performance optimizing
- reduced events for saving preferences file
- re-arrange buttons on resize only after mouse release
  if more than 20 elements in watchlist
2022-09-11 14:05:53 +02:00
Hans Unzner
b68b3287fc halshow: save watchlist backup when loading new watchlist 2022-09-11 11:37:11 +02:00
Hans Unzner
965fffe06d halshow: add "--noprefs" option 2022-09-11 10:41:48 +02:00
petterreinholdtsen
3a1e19c4ea
Merge pull request #2019 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-09-11 07:48:13 +02:00
Sebastian Kuzminsky
40affff076 autoconf: new ax_boost_base from autoconf-archive
This commit updates src/m4/ax_boost_base.m4 to the version in
autoconf-archive v2022.09.03.  This fixes a bug with boost library path
detection on armhf.
2022-09-10 22:02:28 -06:00
Ulices
cebf098a1b
Translated using Weblate (Spanish)
Currently translated at 94.6% (3573 of 3776 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
2022-09-11 03:08:41 +02:00
Phillip Carter
066a182176 qtplasmac: add kerf-width pin for portability 2022-09-11 11:07:53 +10:00
CMorley
c7bda7be87 qtdragon_hd -docs: add detail about Z level compensation 2022-09-10 13:59:57 -07:00
CMorley
429f7d28ea qtvcp -switch gcode ripper to python2 due to bugs
Aparently between python 2.6 - 3.7, python 're' behaivour changed.
I tried 3.8 still errored. original author has beed advided.
2022-09-10 13:59:57 -07:00
Greg Carl
44cbb48ca7 qtvcp: origin_offsetview.py - use status for current offset vs var file
Thanks to Chris for the leg work on this.
Previously, the widget may not have always shown the most up to date 
info for the current offset until the var file was updated.  This fixes 
that.
2022-09-10 15:19:31 -04:00
Greg Carl
2394460cba qtvcp: notify.py - remove debug print 2022-09-10 14:11:01 -04:00
Greg Carl
5b1dbcc7a2 docs/man/.gitignore: add man9/scaled_s32_sums.9 2022-09-10 14:09:45 -04:00
Hans Unzner
1f0af1f214
Merge pull request #2018 from smoe/docs_misc_2
docs: worked over weblate inconsistencies
2022-09-10 19:36:01 +02:00
Steffen Moeller
c87d647d3a docs: worked over weblate inconsistencies 2022-09-10 17:49:52 +02:00
Hans Unzner
e157614569
Merge pull request #1896 from zz912/patch-9
Duplicate Strings gmoccapy.pot and linuxcnc.pot
2022-09-10 12:14:15 +02:00
Phillip Carter
bfd9a84898 qtplasmac: gcode filter check for incorrect m190 commmand 2022-09-10 11:48:58 +10:00
Hans Unzner
2c4ed42904
Merge pull request #2016 from petterreinholdtsen/comp-sum-xref
Added man page cross reference between scaled_s32_sums(9), sum2(9) and weighted_sum(9).
2022-09-09 20:39:34 +02:00
451354262c
Merge pull request #2012 from jepler/fix-kmod-rtai-build
Fix kmod rtai build
2022-09-09 12:36:10 -05:00
Hans Unzner
ec94589bd9
Merge pull request #2014 from silopolis/docs/bl_bw_includes
docs: Master_Developer.adoc blank lines b/w includes
2022-09-09 16:25:37 +02:00
Petter Reinholdtsen
e2614830b4 Corrected typo in INSTALL.adoc (configure.in->configure.ac. 2022-09-09 15:29:00 +02:00
Petter Reinholdtsen
970b103eb1 Updated docs POT and PO files using po4a version 0.67. 2022-09-09 15:17:27 +02:00
Petter Reinholdtsen
859e3b8b7b Use pt_BR lang code where it is needed. 2022-09-09 15:12:51 +02:00
Hosted Weblate
e052417b51
Translated using Weblate (Portuguese (Brazil))
Currently translated at 0.1% (5 of 30317 strings)
Author: Durvas <durvalhenke@gmail.com>

Added translation using Weblate (Portuguese (Brazil))

Co-authored-by: Durvas <durvalhenke@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/pt_BR/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-09 15:06:56 +02:00
Hosted Weblate
3ce9d38009
Translated using Weblate (German)
Currently translated at 55.6% (16863 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 55.4% (16802 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 55.1% (16709 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 55.0% (16687 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 54.9% (16674 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 54.5% (16525 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 54.2% (16458 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 53.8% (16329 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 53.4% (16218 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 52.6% (15958 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 52.2% (15851 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 51.8% (15723 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 51.4% (15610 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 50.2% (15230 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 50.0% (15188 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 50.0% (15184 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 50.0% (15169 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 49.0% (14880 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 48.4% (14693 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 48.2% (14621 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 48.1% (14605 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 47.6% (14442 of 30317 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-09 15:06:56 +02:00
Hosted Weblate
559bfd61df
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (674 of 30317 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.2% (672 of 30317 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-09-09 15:06:56 +02:00
petterreinholdtsen
d777ffac92
Merge pull request #2015 from silopolis/ignore_vscode_settings
gitignore: add VSCode settings
2022-09-09 15:06:23 +02:00
Petter Reinholdtsen
8cc90ab06c Added man page cross reference between scaled_s32_sums(9), sum2(9) and weighted_sum(9). 2022-09-09 15:02:18 +02:00
Jérémie Tarot
79bc022e54 gitignore: add VSCode settings 2022-09-09 14:56:39 +02:00
Jérémie Tarot
841fe1f45e docs: Master_Developer.adoc blank lines b/w includes 2022-09-09 14:46:53 +02:00
Hans Unzner
d17942047f
Merge pull request #1972 from LinuxCNC/1914-reorder-documentation
Reorder documentation index
2022-09-09 14:38:07 +02:00
Hans Unzner
32d99f6a09 docs: added gladevcp-libraries.adoc to po4a config 2022-09-09 13:55:16 +02:00
Hans Unzner
f8cd88a498 docs: reorder PDF sections according to HTML index 2022-09-09 13:55:16 +02:00
Hans Unzner
b53f4403d3 docs: reorder sections in index + add subheadings 2022-09-09 13:55:16 +02:00
CMorley
73d28e35b9 qtvcp -versa_probe: catch HAL error if linuxcnc isn't running
don't pop error dialog
2022-09-08 22:02:53 -07:00
CMorley
4af3525c1c qtdragon_hd: adapt to e-offset on spindle and Z level
we use a sum component to add the offsets together.
2022-09-08 22:02:53 -07:00
CMorley
481e48da44 HAL -add a scaled sum component
adds upto four S32 inputs, each scaled by it's own float.
outputs a S32 and a float.
2022-09-08 22:02:53 -07:00
CMorley
90740a64c6 qtvcp simple_widgets: add auto_pause_sensittive property
widget will be enabled when linuxcnc is paused.
2022-09-08 22:02:08 -07:00
CMorley
5c2e17ad3c qtvcp -state_led: add ability to follow an abitrary HAL pin
show state of most any pin
2022-09-08 22:01:39 -07:00
a383175093
don't build tpcomp for kmod-rtai builds 2022-09-08 12:35:42 -05:00
0fb5b8796a
remove unused strsep implementation 2022-09-08 12:34:38 -05:00
Hans Unzner
cada49367a gmoccapy: fix attribute error in tooltip text 2022-09-08 12:09:24 +02:00
Greg Carl
bbfbdc5739 qtplasmac: small GUI format changes 2022-09-07 20:17:58 -04:00
Greg Carl
b44eb51951 qtvcp: make filemanager windowLayout accessible from handlers 2022-09-07 20:07:29 -04:00
Steffen Moeller
d1aadf7c88 More inifile -> INI file 2022-09-08 01:46:01 +02:00
Steffen Moeller
2c0a78efbc docs: screeing man pages prior to translations 2022-09-08 00:07:41 +02:00
Petter Reinholdtsen
74974b0ee0 Correct typo in d/copyright (.c -> .cc). 2022-09-07 21:52:55 +02:00
Steffen Moeller
110fdb8c50 docs: more smallish changes to man pages 2022-09-07 19:08:40 +02:00
Steffen Moeller
ef2fd09758 docs: man asciidoc - series of small changes 2022-09-07 19:08:40 +02:00
Petter Reinholdtsen
40958f5769 Drop arch:all from autpkgtest test dependencies to avoid failing test.
This avoid a test failure on architectures with no binary built or
packages.
2022-09-07 16:22:36 +02:00
Hans Unzner
5d16eaa0b2
Merge pull request #2008 from smoe/docs_small3
GStat linuxcnc->LinuxCNC and other smaller bits.
2022-09-07 10:07:28 +02:00
Petter Reinholdtsen
a5e65f36e5 Updated d/changelog based on latest upload to Debian. 2022-09-07 08:58:45 +02:00
Petter Reinholdtsen
269a7901bd Make sure autopkgtest script rs274-test print output on failure. 2022-09-07 08:56:22 +02:00
Phillip Carter
08a9111996 pncconf: fix 7i96s_dpl encoders 2022-09-07 10:45:44 +10:00
Sebastian Kuzminsky
02744cdef6
Merge pull request #2007 from LinuxCNC/ci-harder
CI harder
2022-09-06 15:36:15 -06:00
Steffen Moeller
404f1fde9f linuxcnc->LinuxCNC and other smaller bits. 2022-09-06 23:19:52 +02:00
Sebastian Kuzminsky
f2ff418ff1 fix an RPC linking bug on Debian Unstable
Debian Unstable has glibc 2.34, which removed Sun RPC:

    https://sources.debian.org/src/glibc/2.34-7/debian/debhelper.in/libc-dev.NEWS/

This change exposed a bug in our build system; libnml was not getting
linked correctly.

We're slightly misusing our `LDFLAGS` variable, it currently contains
both linker flags (which *do* belong in `LDFLAGS`) and libraries (which
belong in `LDLIBS` instead):

    https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html

Conventional wisdom (and the behavior of GNU make's implicit rules)
is to list the libraries to link against *after* the object files we're
linking them to, but libnml had it in the wrong order, so it failed to
link libtirpc to libnml.

This was fine in the pre-2.43 glibc world, because glibc would provide
the parts of RPC that libnml needed.  But it broke in Debian Unstable,
where that is no lnoger true.

This commit fixes the libnml rule in the makefile so that the libraries
come last on the command line, which fixes linking in my tests on Debian
Unstable, and doesn't break it on Debian Bullseye.
2022-09-06 14:51:08 -06:00
Sebastian Kuzminsky
28e6a0c3c8 github workflow: build arch and indep debs separately
This mimicks how debian's build infrastructure builds the debs, and
verifies that the arch and indep Build-Depends are both correct.
2022-09-06 14:51:08 -06:00
Sebastian Kuzminsky
c80b3c92ea github workflow: package & test on multiple distros (in docker)
Build debs, install them, and run the tests.  This happens in docker
containers (Debian unstable and testing for now, more later).

Misc minor changes to deal with building & testing in the slightly
different environment of a clean docker container vs whatever github's
"ubuntu-20.04" environment was.
2022-09-06 14:51:08 -06:00
Sebastian Kuzminsky
a631976a8f github workflow: clean up git checkout
We don't use submodules.

Comment why we need a full repo, not just the most recent commit.
2022-09-06 14:50:30 -06:00
Sebastian Kuzminsky
6a73f08f21 github workflow: clean up whitespace 2022-09-06 10:44:43 -06:00
Sebastian Kuzminsky
e8c77f6451 github workflow: remove out-of-place comments 2022-09-06 10:44:43 -06:00
Hans Unzner
92367443a7
Merge pull request #1993 from smoe/docs_halui
docs: triggered by translations
2022-09-06 15:56:52 +02:00
Hans Unzner
c1ca384069 docs: improve referencing of halui example 2022-09-06 14:19:57 +02:00
Steffen Moeller
5cdc0ba720 docs: smallish improvements to qtplasma.adoc 2022-09-06 14:10:48 +02:00
Steffen Möller
55e6260b47 docs: remap+source: ini->INI and language editing 2022-09-06 12:48:44 +02:00
Greg Carl
71d183989d qtvcp keybindings: add ability to remove keybindings 2022-09-05 21:16:22 -04:00
Steffen Möller
63f7662b18 docs: build problem with grid and frame table arguments 2022-09-06 00:45:45 +02:00
Steffen Möller
b61175bcdf docs: translation-motivated changes 2022-09-06 00:45:45 +02:00
Petter Reinholdtsen
9e2785801e Adjusted autopkgtest scripts to run from debian/tests/
The scripts failed to find files it needed.  Also add more error
detection and reporting code to the scripts.
2022-09-05 23:32:29 +02:00
Hans Unzner
b2e28a88c3
Merge pull request #2002 from luzpaz/typos/hal
hal: fix typo in variable name
2022-09-05 18:05:13 +02:00
luz paz
83e3ba9112 hal: fix typo in variable name
substitute 'threshold' for 'threshhold'
2022-09-05 09:45:46 -04:00
Steffen Möller
199fd6eff0
docs: Incorporating feedback by hansu 2022-09-05 12:21:01 +02:00
Steffen Möller
7a164a1426
Update docs/src/gui/halui.adoc
Co-authored-by: Hans Unzner <hansunzner@gmail.com>
2022-09-05 12:17:06 +02:00
Hans Unzner
b066a691fb
Merge pull request #1994 from smoe/docs_user
docs: user: Just quick manual inspection
2022-09-05 08:48:56 +02:00
Hans Unzner
4159e1455c docs: wording according to help output 2022-09-05 08:45:38 +02:00
CMorley
7313e7c78d qtvcp -qt5_graphics: quiet an annoying warning 2022-09-04 18:11:42 -07:00
CMorley
8b8a7c88a4 qtdragon/hd: update sims for abort protection when probing 2022-09-04 18:11:42 -07:00
CMorley
e8e5b99629 qtvcp -versa/basic probe: improve aborting of routines.
WE poll the error channel rather then read standard error.
to do this we block the main screens eror polling and let the sub_program
read it until it is finished. linuxcnc can only have one program read the
error channel at a time. this allso requites tha abort send a message thru
the error change. currently tha requires having an on_abort.ngc subroutine
and an INI entry, as per remap docs.
2022-09-04 17:01:40 -07:00
CMorley
a8b7277cd3 qtvcp -z_lebel_compensation: fix method enums/change component name.
make the component name same as the component file - more standard and
 descriptive.
method enums didn't actually works - new class to me.
2022-09-04 17:01:40 -07:00
CMorley
fcf9913a4f qtvcp -screen_option: add some commented out debug code
Will be handy again.
2022-09-04 17:01:40 -07:00
CMorley
f454961286 qtvcp -istat: remove debug print statement 2022-09-04 17:01:40 -07:00
CMorley
b4db0f6db7 qtvcp -core: add ability to trace status poll un/block commands
for debugging subroutines
2022-09-04 17:01:40 -07:00
Hans Unzner
89b0b3cb08
Merge pull request #1990 from smoe/docs_remap
docs: first look at remap.adoc
2022-09-04 21:17:20 +02:00
Hans Unzner
ec793a908f gmoccapy: refactoring of "on_spc_spindle_value_changed()" 2022-09-04 15:35:54 +02:00
Hans Unzner
65f047e08e Merge branch '2.8' into 'master' 2022-09-04 15:32:06 +02:00
Hans Unzner
a42959fc29 gmoccapy: fix "spindle speed override wasn't applied in reverse direction" 2022-09-04 15:24:54 +02:00
Petter Reinholdtsen
3f9f575e87 Removed bogus file docs/po/es.po1dftdasu. 2022-09-04 07:34:34 +02:00
petterreinholdtsen
6bca12eda0
Merge pull request #1988 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-09-04 07:08:37 +02:00
Ulices
70496bebb8
Translated using Weblate (Spanish)
Currently translated at 94.4% (3567 of 3776 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
2022-09-03 22:24:39 +02:00
Greg Carl
3b21586eae qtplasmac: fix startup crash caused by commit 0f8e0ab 2022-09-03 16:24:26 -04:00
CMorley
fc83ccc4f6 qtvcp -hole_circle: more fixes for newer pyqt versions 2022-09-03 13:06:11 -07:00
Sebastian Kuzminsky
c8c4c539b1 don't include .github in git archive tarball 2022-09-03 11:56:47 -06:00
Steffen Moeller
78653d1bc3 docs: Just quick manual inspection 2022-09-03 13:30:09 +02:00
Steffen Moeller
44b74d6f30 docs: triggered by translations 2022-09-03 13:02:08 +02:00
Steffen Moeller
64a40e7f56 docs/remap: escaping task and iocontrol 2022-09-02 23:37:48 +02:00
CMorley
9f9bd1fa45 qtvcp -istat: quiet some annoying warnings
not useful on files not using the INI
2022-09-02 12:03:10 -07:00
CMorley
ce33c9df0d qtvcp -pstat: fix error from having no handler
panels don't always use handlers - don't cause an error when
looking fir the handler directory
2022-09-02 12:03:10 -07:00
CMorley
0f8e0abad3 qtvcp -fileManager: add delete jump button, load button
Authur: Jim 'Persei'
Having to delete 'jump to' file paths from the preference file was
annoying. add a button to do it. add a loadfile button and expose
the copy file features with a checkbox
2022-09-02 12:03:10 -07:00
Hans Unzner
dbaa1cec11
Merge pull request #1981 from smoe/docs_HAL_TWOPASS
Docs HAL twopass
2022-09-02 18:39:49 +02:00
Steffen Moeller
b802d6f6ef docs - ladder - Coils - improved wording 2022-09-02 17:02:08 +02:00
Dewey Garrett
12769732ce db_demo sim updates for db.py
update_tool() ('p' command): fix nonran offset update
when tool loaded and at app disconnect

consolidate multiple pocket restores with one function
change local 'msg" to 'txt' (avoid existing global name)
was: restore_pocket, is: from_pocket
rm some unused code
misc cleanups to stderr prints
2022-09-02 07:29:28 -07:00
Steffen Moeller
d48f025187 docs: first look at remap.adoc 2022-09-02 14:31:56 +02:00
Hans Unzner
a2649d1723
Merge pull request #1984 from smoe/docs_touchy
Translation-motivated changes on touchy.adoc
2022-09-02 14:13:29 +02:00
Steffen Moeller
5326ace599 docs: translation-motivated changes on touchy.adoc
docs/touchy: N -> _N_
2022-09-02 12:46:25 +02:00
Phillip Carter
9cbe6ed284 add optional automatic thc activation 2022-09-02 10:47:52 +10:00
Hans Unzner
d74b2dc598
Merge pull request #1986 from smoe/docs_hal
docs: translation-triggered small changes in src/hal
2022-09-01 18:41:19 +02:00
Hans Unzner
dbd8f693ad
Merge pull request #1985 from smoe/docs_vismach
docs: translation-motivated changes on vismach.adoc
2022-09-01 18:40:23 +02:00
Hans Unzner
ba005412db
Merge pull request #1982 from smoe/docs_gui_qtdragon
First iteration over QtDragon.
2022-09-01 18:39:41 +02:00
Petter Reinholdtsen
fbf0cff2ab Added X-AppStream-Ignore=true to documentation .desktop files.
There is no point in these showing up in the appstream information as long
as the programs are listed.
2022-09-01 17:21:41 +02:00
Petter Reinholdtsen
4d064ed56d Flag autopkgtest scripts as flaky until then have worked at least once. 2022-09-01 16:59:04 +02:00
Steffen Moeller
6a85a4c444 docs: translation-triggered small changes in src/hal 2022-09-01 14:36:06 +02:00
Steffen Moeller
ddbcb75bb1 docs: translation-motivated changes on vismach.adoc 2022-09-01 13:49:23 +02:00
Hans Unzner
71cf8948c4 docs: fix references and indentation in ini-config.adoc 2022-09-01 13:22:04 +02:00
Steffen Moeller
f9b21a7552 First iteration over QtDragon.
And two lines of axis -> axes in qtvcp.adoc.
2022-08-31 22:14:01 +02:00
Steffen Moeller
6c55634144 docs: hal/twopass 2022-08-31 21:47:21 +02:00
Steffen Moeller
49d620182e docs: classic-ladder Typos 2022-08-31 21:47:21 +02:00
Hans Unzner
ba977ef69d
Merge pull request #1979 from smoe/VSCode_on_Mac_with_smallish_changes
docs: More improvements on gmoccapy.adoc
2022-08-31 07:27:23 +02:00
CMorley
d59930c9d0 gladevcp -docs: add details about programming libraries 2022-08-30 21:41:59 -07:00
CMorley
d9afe1ecc0 qtvcp -add a check for running in auto mode to MDI calls
can't call MDI when running in auto mode.
2022-08-30 21:41:59 -07:00
Petter Reinholdtsen
61a20cb525 Updated Debian Standards-Version from 4.6.0 to 4.6.1. No changes needed. 2022-08-30 23:10:02 +02:00
Petter Reinholdtsen
ac13a4fa9d Flagged doc deps as Multi-Arch: foreign.
The documentation packages can safely provide a dependency across
any architecture, as it is architecture neutral.
2022-08-30 23:08:21 +02:00
Steffen Moeller
e33256a2ec docs: More improvements on gmoccapy.adoc 2022-08-30 20:32:55 +02:00
Petter Reinholdtsen
e62854c69a Updated POT and PO files with latest changes in the source. 2022-08-30 07:26:45 +02:00
Petter Reinholdtsen
a10c55ab5a Tell git to ignore generated cs/* files. 2022-08-30 07:22:37 +02:00
Petter Reinholdtsen
0d5588658d Add/correct language code used in adoc files. 2022-08-30 07:21:30 +02:00
Hosted Weblate
b7dfdd22f2
Translated using Weblate (German)
Currently translated at 46.0% (13911 of 30232 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 45.8% (13862 of 30232 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)

Currently translated at 45.4% (13741 of 30232 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-30 06:56:00 +02:00
Hosted Weblate
1859489b2b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (673 of 30232 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-30 06:56:00 +02:00
petterreinholdtsen
024bf2b2c9
Merge pull request #1975 from petterreinholdtsen/debian-tests
Replace Debian autopkgtest setup
2022-08-30 06:55:30 +02:00
Petter Reinholdtsen
12d88bb9ef Replace Debian autopkgtest setup
The original runtests script failed because the source code is not
configured when it is running, and scripts/runtests do not exist.

Instad, replace it with two tests, one testing the rs274 program, and
another testing the linuxcnc program.  The latter is a copy of the
tests/single-step/ self test with its files renamed to avoid any
name conflicts with the rs274 and future tests.
2022-08-30 04:56:36 +02:00
CMorley
885c2597ec linuxcnc.install: add z_level_compensation component 2022-08-29 19:29:44 -07:00
Hans Unzner
9eebe3a06d
Merge pull request #1973 from smoe/VSCode_on_Mac_with_smallish_changes
docs: Translation-triggered changes.
2022-08-29 20:33:29 +02:00
c-morley
18f6b3c952
qtvcp -pstat: fix syntax error
Fix copy paste error?
2022-08-29 10:31:21 -07:00
Petter Reinholdtsen
0a8a5a2e19 Add Homepage URL to debian/control. 2022-08-29 17:52:54 +02:00
Steffen Möller
4766475bf7 Update docs/src/gui/gscreen.adoc
Co-authored-by: Hans Unzner <hansunzner@gmail.com>
2022-08-29 16:13:22 +02:00
Steffen Moeller
727684feb2 docs: More translation-triggered changes 2022-08-29 16:13:22 +02:00
Steffen Moeller
08b05583a9 docs: Translation-triggered changes. 2022-08-29 16:13:22 +02:00
Petter Reinholdtsen
cbd09cba87 Correct Chinese language code (zn_CN -> zh_CN).
This fixes incorrect icon name.  Thank you AppStream checker
for detecting the typo.
2022-08-29 16:06:37 +02:00
Petter Reinholdtsen
68b29e2dd2 Use reverse DNS name as ID in appstream metadata. 2022-08-29 16:05:57 +02:00
Petter Reinholdtsen
ca84d6cd89 Avoid duplicate path patterns in debian/copyright.
Thanks Lintian for noticing.
2022-08-29 06:22:53 +02:00
Petter Reinholdtsen
c51ed92007 Switched qtvcp/lib/ripper/gcode_ripper.py shebang to python3.
Thanks lintian for noticing.
2022-08-29 05:16:26 +02:00
CMorley
03bc7cb234 qtvcp -libraries/widgets- update docs
add enable/disable properties to inducated Push Buttons
moove InducatedPushButton to separate heading
fill in some import only widgets

Add new paths and document helper function
2022-08-28 17:22:03 -07:00
CMorley
86ba807467 qtvcp -pstat: add handler/ui directory variables 2022-08-28 17:20:58 -07:00
CMorley
2f7941c2c5 qtvcp -simple_widges: fix missed update required by newer PyQT libraries
requires ints rather the accepting floats
2022-08-28 14:26:51 -07:00
CMorley
17b48fb901 qtvcp -update woodpecker screen
From forum personality Hottabich's vision
2022-08-28 13:51:47 -07:00
Hans Unzner
f597e2ac77
Merge pull request #1822 from petterreinholdtsen/man-classicladder-loadusr
Mention in classicladder(9) how to specify file name used.
2022-08-28 21:58:19 +02:00
CMorley
760767bb19 qtvcp -update drawing code for pyqt in Debian 12
pyqt used to accept floats but now only ints
2022-08-28 12:07:19 -07:00
Petter Reinholdtsen
e08002a7b2 Extend classicladder(9) to mention non-realtime part and options 2022-08-28 20:40:31 +02:00
CMorley
5a55bd6bc9 qtvcp touchoff_subprogram: add more error checking
When aborting this should catch errors sooner.
2022-08-28 10:52:45 -07:00
CMorley
d25bb3a99b qtvcp -update qtdragon_hd- auto probe level 2022-08-28 10:52:45 -07:00
CMorley
bef5e32468 qtvcp -add auto height probe code 2022-08-28 10:52:45 -07:00
CMorley
a08b7a90b4 qtvcp -aux_program_loader: add gcode_ripper loader 2022-08-28 10:52:45 -07:00
CMorley
9aa4ee9e77 qtvcp -add gcode ripper and z_level_compensation component for auto probe leveling 2022-08-28 10:52:45 -07:00
CMorley
a290fa86bd qtvcp -indicated_PushButtons: add polishing state and enabled states
polish on homed state
enabled/disabled on states of all-homed,machine-on,idle,running,manual,mdi,auto
2022-08-28 10:52:45 -07:00
Hans Unzner
54d6b79ac5
Merge pull request #1970 from smoe/wurzel_docs_small_changes
Wurzel docs small changes
2022-08-28 17:32:17 +02:00
Petter Reinholdtsen
7a46e976c7 Adjsted lintian overrides to use x-www-browser too. 2022-08-28 17:15:37 +02:00
Greg Carl
68877336dc axis: fix issues caused by commit 2272bfd 2022-08-28 10:38:05 -04:00
Steffen Moeller
2ee4606983 docs: More translation-triggered changes 2022-08-28 15:19:56 +02:00
Steffen Moeller
8f22dd9817 More translation-triggered changes 2022-08-28 15:17:12 +02:00
Petter Reinholdtsen
6b8575cbd2 Switch HTML XDG menu entries to use x-www-browser instead of xdg-open.
This avoid xdg-open trying to pass the HTML pages to calibre-viewer or
other tools unfit for showing a simple HTML page.
2022-08-28 15:03:54 +02:00
Hans Unzner
a0c750b1c6 docs: work on gmoccapy docs, part one
Up to line 481 ("HAL Pins") + section "User Created Message HAL Pins"
Todo: update images
2022-08-28 13:18:12 +02:00
Petter Reinholdtsen
7b337b3d90 Adjusted build rules to build man pages also in the no-docs setting
The manual pages are part of the linuxcnc-uspace package and need to
be built and installed even when not building doc packages.

Fixes #1941.
2022-08-28 10:25:28 +02:00
Hans Unzner
38852b4048
Merge pull request #1962 from smoe/wurzel_docs_small_changes
Series of smallish changes - triggered by translations.
2022-08-28 10:23:17 +02:00
Hans Unzner
01a8e4fd40 docs: GScreen --> gscreen 2022-08-28 09:04:30 +02:00
Steffen Moeller
cf6e90d6e9 docs: improve capitalization and punctuation
docs: Optics - glade -> Glade

docs: More translation-triggered changes.

docs: Better integration of instruction on return values

docs: Translation-induced changes

docs: {python} -> python

More changes, many python -> Python

Update docs/src/gui/gladevcp.adoc

Update docs/src/gui/gladevcp.adoc

Update docs/src/gui/qtvcp-widgets.adoc

Update docs/src/gui/qtvcp-widgets.adoc

Update docs/src/gui/qtvcp-widgets.adoc

docs: fixes upon Hansu's peer review

Removed another overlooked conflict

docs: removed further conflict

More gobject -> GObject

docs: Eliminated more overseen conflicts

Mostly more on a unified spelling on G-code, LinuxCNC, etc.
2022-08-28 08:59:30 +02:00
petterreinholdtsen
a7fc80b3a8
Merge pull request #1969 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-28 00:15:34 +02:00
Petter Reinholdtsen
cab425afc5 Add new translation cs to po4a.cfg. 2022-08-28 00:09:04 +02:00
Hosted Weblate
d897a040e2 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-28 00:04:00 +02:00
Hosted Weblate
ecbd1ebe38
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-28 00:00:33 +02:00
Hosted Weblate
9aaf2c0133
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-27 23:59:55 +02:00
Petter Reinholdtsen
ce38246f42 Updated docs POT and PO files. 2022-08-27 23:58:52 +02:00
Petter Reinholdtsen
40ed71cb40 Updated docs POT and PO files using po4a version 0.67. 2022-08-27 23:58:40 +02:00
Petter Reinholdtsen
901a23797a Fixed build breaking typos in de.po and fr.po. 2022-08-27 23:51:02 +02:00
Hosted Weblate
702a2fb18c
Translated using Weblate (German)
Currently translated at 44.7% (13509 of 30219 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-27 23:37:21 +02:00
Hosted Weblate
b96d320382
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (674 of 30219 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-27 23:37:21 +02:00
Hosted Weblate
d00e14726c
Translated using Weblate (French)
Currently translated at 0.3% (117 of 30219 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-27 23:37:21 +02:00
petterreinholdtsen
e4a16278c4
Merge pull request #1967 from smoe/gcode_to_Gcode
gcode -> G-code also in src
2022-08-27 23:31:09 +02:00
Petter Reinholdtsen
8e45352069 Switch XDG menu entires for G-code reference to category X-CNC-REF. 2022-08-27 23:26:22 +02:00
Steffen Moeller
2272bfd60a gcode -> G-code also in src
Most prominently, AXIS used "gcode" in the File menu.
2022-08-27 21:12:33 +02:00
Greg Carl
c3bd4206ca qtplasmac: revert removal of closeEvent hijack line
Seems it was not necessary for VM, but it is necessary for BM.  Restores 
QtPlasmac's custom shutdown dialog.
2022-08-27 13:40:10 -04:00
petterreinholdtsen
f7d1c37ffd
Merge pull request #1966 from smoe/eliminate_few_lintian_errors
Easy lintian errors to address
2022-08-27 17:38:13 +02:00
Steffen Moeller
859b174420 Easy lintian errors to address 2022-08-27 17:25:22 +02:00
Greg Carl
0c665304f9 qtvcp: clean up unused code/modules, whitespace, variable assignments 2022-08-27 08:05:59 -04:00
Hans Unzner
3abeade12a
Merge pull request #1926 from smoe/atom-edited-changes-during-translations
Atom edited changes during translations
2022-08-27 11:55:14 +02:00
CMorley
a025f70127 qtvcp -qtdragon/HD: update to probing, add autoheight to HD
improve error catching for probe routines.
Autoheight probing helps with tool auto probe setup.
2022-08-26 20:18:22 -07:00
petterreinholdtsen
36525d8bd8
Merge pull request #1959 from dwrobel/Fix-use-after-free-in-sendkeys.c
Fix use-after-free in sendkeys.c
2022-08-25 21:32:09 +02:00
petterreinholdtsen
94a41ae0f2
Merge pull request #1964 from LinuxCNC/fix-lintian
Fix lintian
2022-08-25 21:30:51 +02:00
Sebastian Kuzminsky
6ffd6a9257 packaging: remove unused lintian override
linuxcnc-uspace.deb no longer has gcode quick ref in it, so it doesn't
have the menu entries to open them, so it doesn't need the lintian
overrides for those menu entries.
2022-08-25 11:18:30 -06:00
Sebastian Kuzminsky
e007550c47 linuxcnc-uspace deb: update lintian overrides for debian unstable 2022-08-25 11:18:30 -06:00
Sebastian Kuzminsky
51596df4ee at_pid manpage: fix a typo 2022-08-25 11:18:30 -06:00
Sebastian Kuzminsky
da0c1a2273 doc debs: adjust lintian overrides for debian unstable 2022-08-25 11:18:30 -06:00
Steffen Möller
ee66a87892 Found conflicts that had not been addressed. 2022-08-25 18:50:59 +02:00
Steffen Möller
f48f55128d More translation-triggered changes. 2022-08-25 17:41:32 +02:00
4328a5d32d
Merge pull request #1909 from ZincBoy/patch-3
Clarify argspec parameter behavior
2022-08-25 08:57:14 -05:00
Steffen Möller
b17868fe54 And yet more translation-triggered changes.
More translation-triggered changes.

Fixed surprising asciidoc syntax error and more.

Following Hans' suggestion, eye candies.

More translation-triggered changes. A lot on gmoccapy.

More changes triggered while translating.
2022-08-25 15:21:07 +02:00
Phillip Carter
117a5c34bb qtplasmac sim: add material thickness hal pin 2022-08-25 10:11:09 +10:00
zz912
ce7294a24b
Delete lines
Lines was fully deleted, not just commented out.
2022-08-24 19:18:14 +02:00
5e978a1a94
Merge pull request #1955 from smoe/docs_stupid_simple_stuff
Misc smallish changes for better optics
2022-08-24 08:38:30 -06:00
82c5328ea9
Merge pull request #1956 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-24 08:37:35 -06:00
d3d11e23c4
Merge pull request #1957 from dwrobel/Fix-python-shebang-amibiguities-for-craftsman
Fix python shebang amibiguities for 'craftsman'
2022-08-24 08:37:08 -06:00
ded48de3ed
Merge pull request #1932 from jepler/rtai-no-unload
rtai: don't unload rtai kernel modules
2022-08-24 08:20:38 -06:00
CMorley
be2f84e37d pncconf -fix used an un-used imports
Thanks Greg for doing the checks that found these!
2022-08-23 18:48:15 -07:00
CMorley
ea3723a540 pncconf -fix warning dialog that was still gtk2 2022-08-23 18:48:15 -07:00
CMorley
411d8629bc pncconf -fix recording of touchy preferences
refactoring code error
2022-08-23 18:48:15 -07:00
Greg Carl
6068ac0033 qtplasmac: remove unused modules, variables 2022-08-23 19:52:46 -04:00
Greg Carl
1d4dde94e1 qtplasmac: add missing globals to gcode filter 2022-08-23 19:14:55 -04:00
a21d3006b7
Merge pull request #1958 from dwrobel/Switch-to-python3-for-fanuc_200f.py
Switch to python3 for fanuc_200f.py
2022-08-23 09:18:06 -06:00
Damian Wrobel
0d71f48154 Fix use-after-free in sendkeys.c
Fixes the following warnings reported by gcc 12.1.1:

 hal/user_comps/sendkeys.c: In function ‘init’:
 hal/user_comps/sendkeys.c:110:25: warning: pointer ‘codes’ may be used after ‘realloc’ [-Wuse-after-free]
   110 |                         free(codes);
       |                         ^~~~~~~~~~~
 hal/user_comps/sendkeys.c:107:26: note: call to ‘realloc’ here
   107 |                     v1 = realloc(codes, (index + 1) * sizeof(int));
       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 hal/user_comps/sendkeys.c:111:25: warning: pointer ‘pins’ may be used after ‘realloc’ [-Wuse-after-free]
   111 |                         free(pins);
       |                         ^~~~~~~~~~
  hal/user_comps/sendkeys.c:108:26: note: call to ‘realloc’ here
   108 |                     v2 = realloc(pins, (index + 1) * sizeof(int));
       |                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-08-23 17:15:11 +02:00
Damian Wrobel
25f05dc6c0 Switch to python3 for fanuc_200f.py
Also adds executable bit.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-08-22 22:44:57 +02:00
Damian Wrobel
7b24a34005 Fix python shebang amibiguities for 'craftsman'
Fixes the following WARNING/ERRORs:

  *** ERROR: ambiguous python shebang in
  /usr/share/doc/linuxcnc/examples/sample-configs/sim/craftsman/craftsman_toolchange:
  #!/usr/bin/python. Change it to python3 (or python2) explicitly.

  *** ERROR: ambiguous python shebang in
  /usr/share/doc/linuxcnc/examples/sample-configs/sim/craftsman/craftsmancnc:
  #!/usr/bin/env python. Change it to python3 (or python2) explicitly.

  *** WARNING: ./usr/share/doc/linuxcnc/examples/sample-configs/sim/craftsman/easygui.py
  is executable but has no shebang, removing executable bit

  *** ERROR: ambiguous python shebang in
  /usr/share/doc/linuxcnc/examples/sample-configs/sim/craftsman/vfd_spindle:
  #!/usr/bin/python. Change it to python3 (or python2) explicitly.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-08-22 22:31:50 +02:00
Petter Reinholdtsen
8daf3c4a71 Updated docs POT and PO files using po4a version 0.67. 2022-08-22 22:14:53 +02:00
Juraj Adamkovic
b1bf76f50e Translated using Weblate (Slovak)
Currently translated at 41.0% (162 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-22 22:08:53 +02:00
Hosted Weblate
b0973c96a9 Translated using Weblate (German)
Currently translated at 39.2% (11866 of 30206 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 39.1% (11820 of 30206 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-22 22:08:43 +02:00
Juraj Adamkovic
46c7aa9539
Translated using Weblate (Slovak)
Currently translated at 41.0% (162 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-22 22:03:16 +02:00
Steffen Moeller
e657aeedbd Misc smallish changes for better optics 2022-08-22 18:43:17 +02:00
Sebastian Kuzminsky
1fde659330
Merge pull request #1951 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-08-22 10:20:48 -06:00
Sebastian Kuzminsky
9780f34c35
Merge pull request #1942 from LinuxCNC/fix-deb-build-again
Fix deb build again
2022-08-22 10:19:20 -06:00
Dewey Garrett
0e118957c9 db_demo sim db.py updates
1) Incorporate threads and demonstrate concurrent tasks:
    a) multiple modifications of a tool parameter
    b) multiple adds/removals of  tool numbers
 2) Implement synchronization of LinuxCNC tooldata with
    the sim database for toolno additions/removals and
    parameter changes
 3) handle disallowed toolno additions if:
       interp not idle
 4) handle disallowed toolno removals if:
       interp not idle
       toolno in spindle
 5) handle disallowed toolno modifications if:
       toolno in spindle
 6) Incorporate history logging to db file
 7) handle SIGINT (ctrl-c) for standalone testing
 8) handle SIGUSR[12] for starting tasks outside of application
 9) Add detection/message for:
      unsupported letters in params
      unknown toolnos in commands
10) adapt base.inc to allow all coordinates
1l) misc code cleanups and notes

Notes:
1) no api changes
2) When a db application adds or removes tool numbers
   (after initialization), a call to tooldb_tools() must be
   submitted with an updated user_tools list.   The application
   can then synchronize LinuxCNC using the load_tool_command.
2022-08-21 19:31:20 -07:00
Dewey Garrett
0b8c3acc4c tooldb.py: include traceback for nak_reply()
Provides additional debugging information for
negative acknowledgment.

Note: empty_line is special case with no traceback reqd
2022-08-21 19:31:20 -07:00
Dewey Garrett
17be6679ab db_demo sim: add pins to pyvcp panel
halui.tool.diameter
iocontrol.0.tool-from-pocket
2022-08-21 19:31:20 -07:00
Dewey Garrett
3fd555bf28 ioControl.cc new pin iocontrol.0.tool-from-pocket
tldr: pocket number for nonrandom toolchangers does not
have to be fixed (unchangeable).

For configs using [EMCIO]RANDOM_TOOLCHANGER=0 (default), an
external application (or a [EMCIO]DB_PROGRAM) can alter the
pocket number for a tool while LinuxnCNC is running.
LinuxCNC can read such updated tooldata using
python:linuxcnc.command().load_tool_table() from a gui or
with G10L0 gcode.   The pin iocontrol.0.tool-from-pocket can
be used to return a tool to the appropriate pocket when such
updates are employed.

update linuxcnc.stat, docs, runtests
2022-08-21 19:31:20 -07:00
Hosted Weblate
d755099d70
Translated using Weblate (German)
Currently translated at 38.9% (11753 of 30206 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 38.8% (11723 of 30206 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-22 00:15:49 +02:00
Hosted Weblate
33862d1bf2
Added translation using Weblate (Czech)
Co-authored-by: Zdenek Z <zz912@seznam.cz>
2022-08-22 00:15:49 +02:00
Greg Carl
13da660136 pmx485-test: actually remove module this time
2nd time's a charm
2022-08-21 18:15:32 -04:00
Greg Carl
5861e59cd0 pmx485-test: remove unused module, fix dialog icon 2022-08-21 18:12:05 -04:00
d1c104248b
Merge pull request #1278 from LinuxCNC/jepler/warnings-fixes
Fix (and silence) a bunch of build-time diagnostics ("warnings")
2022-08-21 14:55:25 -06:00
Petter Reinholdtsen
0238ea72b7 Make sure all clean targets are executed. 2022-08-21 17:55:13 +02:00
ac623080f4
Explain why these items are silenced ("tag - you're it!") 2022-08-21 10:48:51 -05:00
e489bc2c04
These diagnostics have all been fixed! 2022-08-21 10:40:35 -05:00
Petter Reinholdtsen
467f67876a Adjust XDG menu files and related lintian overrides. 2022-08-21 17:40:30 +02:00
6a098a0c79
use error_buf_size 2022-08-21 10:40:00 -05:00
185e9ae8f4
inivar: get rid of LINELEN-sized buffers where unneeded 2022-08-21 10:39:59 -05:00
5d66f94e90
Size error buffers the same
.. it quiets some stringop-truncation diagnostics
2022-08-21 10:39:59 -05:00
89e8237f21
Fix the one format-truncation diagnostic & re-enable it 2022-08-21 10:39:58 -05:00
07e1e991df
Don't build tpcomp, it's only useful out-of-tree
.. the manpage is still generated.

This is done simply to get rid of the diagnostic message when it's built
in-tree.

I considered the alternative of providing a TOPDIR value during build,
but as I would only be able to test it during a uspace build I decided
not to do so. I'd be happy to see it done as a substitute, though, as
otherwise the component is likely to bitrot.
2022-08-21 10:39:58 -05:00
64d87d2ef2
emcTaskStateRestore: return a useful(?) result
.. it's ignored in the caller, but this should be the return value.
It quiets a diagnostic about res being assigned but not used.
2022-08-21 10:39:58 -05:00
73ea930b7f
this rule is for rip-builds
.. so rename it. I don't know if anyone is using the rule, but if so
they have to adjust their manual process

This also fixes the build-time diagnostic
```
Makefile:865: warning: overriding recipe for target 'install-menu'
Makefile:648: warning: ignoring old recipe for target 'install-menu'
```
2022-08-21 10:39:57 -05:00
062939c5f7
Fix snprintf sizeof() to match argument exactly
4/5 based on a review comment by seb, 1 more caught by grep
2022-08-21 10:39:57 -05:00
178e0ff47b
Remove unused variable 2022-08-21 10:39:57 -05:00
b9f16620b0
Fix more warnings from boost 2022-08-21 10:39:56 -05:00
27bd83918c
halcmd: fix string diagnostics in backslash handling 2022-08-21 10:39:56 -05:00
04690b3ab5
miscgtk: don't implement strdup 2022-08-21 10:39:56 -05:00
35a5f93611
halrmt: fix some compiler diagnostics 2022-08-21 10:39:55 -05:00
b7320c315f
classicladder: Don't tell us about deprecated (gtk2) types 2022-08-21 10:39:55 -05:00
ba637baf80
emclcd etc: fix overwriting errors into truncating ones 2022-08-21 10:39:54 -05:00
667e27df8a
Turn off deprecated header messages
These occur internally to boost::python headers.
2022-08-21 10:39:54 -05:00
acbb92665c
build: Silence format-truncation and stringop-truncation
We deliberately use truncating formats and string operations, this
is not something the compiler should warn us about.
2022-08-21 10:39:54 -05:00
c3cd5a5897
Add a test of halcmd with backslash continuations 2022-08-21 10:39:53 -05:00
Greg Carl
353bf37e99 qtplasmac: fix translation issues 2022-08-21 10:24:01 -04:00
Petter Reinholdtsen
3af80f37a1 Switch menu icon for English man page PDF to match the other english PDF entries. 2022-08-21 14:59:22 +02:00
Petter Reinholdtsen
c4b9d9019d Drop another empty HISTORY section from linuxcnc(1) man page. 2022-08-21 14:56:56 +02:00
Petter Reinholdtsen
bece5d38a9 Clean up Linux XDG menu entry information
Make sure all doc entries use category X-CNC-DOC and not category Utility.
Make sure all entries use Keywords and ensure all entries use the same
value ordering.

Removed obsolete menu entries and ensure es, fr and zh_CN have the same
set of documentation related menu entries.

Fixes #1930.
2022-08-21 14:56:11 +02:00
Phillip Carter
cabbdc25e6 qtplasmac: fix probe test error if ihs-skip is active 2022-08-21 15:24:16 +10:00
Petter Reinholdtsen
3c145a7159 Ignore more generated translations. 2022-08-21 05:29:39 +02:00
Sebastian Kuzminsky
56102451b9 delete the translated pdfs that we don't have debs for yet 2022-08-20 18:54:57 -06:00
Sebastian Kuzminsky
ca8510d9a4 add linuxcnc-uspace manpage build deps to control.top.in
The manpages go in linuxcnc-uspace.deb (not in linuxcnc-doc-en), so they
are built with the architecture-dependent ("binary") debs.

Since some manpages are written in asciidoc rather than roff, these
build dependencies are needed in Build-Depends (which is satisfied for
both architecture-dependent and architecture-independent builds), not
just in Build-Depends-Indep.
2022-08-20 18:54:57 -06:00
Sebastian Kuzminsky
bc844eeccc Debian Unstable now needs fonts-dejavu for building docs
This deb is available on Buster too, so I just added it unconditionally
to the build deps, no debian/configure trickery needed.
2022-08-20 18:54:57 -06:00
5e9221dda4
Merge pull request #1621 from smoe/better_clean
Better clean of auto-generated files
2022-08-20 15:25:40 -06:00
Greg Carl
bb1ba63132 qtvcp project: fix various issues
missing modules, copy/paste, undefined variables, whitespace, etc.
2022-08-20 15:20:49 -04:00
CMorley
4591036421 qtvcp -nurbs_editor: remove unused function call
copied over from example code, but never utilized
2022-08-20 12:07:03 -07:00
CMorley
045a6381d1 qtvcp -fix embedding into AXIS gui.
code for embedding qtvcp into qtvcp screens,
was run on qtvcp panels being embedded in AXIS.

Now we decide which tyoe it is by looking for 'loadusr'
That is only used for embedding into AXIS (so far)
2022-08-20 11:56:55 -07:00
Greg Carl
a821a6e550 qtplasmac: fix undefined variables and translation issues 2022-08-20 13:31:36 -04:00
Greg Carl
da41cb7794 pmx485: fix print statement
removes unused variable from copy/paste error
2022-08-20 13:23:16 -04:00
Petter Reinholdtsen
56a8554b0f Remove empty HISTORY, BUGS, EXAMPLES and SEE ALSO man page sections. 2022-08-20 16:43:09 +02:00
8c6b6ffef5
Merge pull request #1939 from petterreinholdtsen/delete-correct-type
Make sure C++ delete is operating on correct class
2022-08-20 08:36:23 -06:00
9db41bcf23
Merge pull request #1945 from petterreinholdtsen/xhc-buttons-initializer
Dropped unneeded {} around initializer list
2022-08-20 08:09:23 -06:00
petterreinholdtsen
066fb270e7
Merge pull request #1948 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-08-20 15:40:47 +02:00
Hosted Weblate
9187ea8956
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (669 of 30206 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-20 15:40:08 +02:00
Hosted Weblate
4c5d5d2ab8
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-20 15:40:07 +02:00
petterreinholdtsen
6a3fd5eb4a
Merge pull request #1946 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-20 15:40:03 +02:00
Petter Reinholdtsen
12ad850e2f Correct typo in docs/po4a.cfg path. 2022-08-20 14:58:57 +02:00
Petter Reinholdtsen
318506a729 Add new language code to po4a.cfg. 2022-08-20 14:58:22 +02:00
Petter Reinholdtsen
9521f2945c Added missing colon in kins(9) manual page. 2022-08-20 11:26:04 +02:00
Petter Reinholdtsen
26a751d915 Updated docs POT and PO files using po4a version 0.67. 2022-08-20 11:00:35 +02:00
Juraj Adamkovic
f1f0f2028c Translated using Weblate (Slovak)
Currently translated at 12.9% (51 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-20 10:58:53 +02:00
Hosted Weblate
f6fb8f938c
Translated using Weblate (German)
Currently translated at 39.0% (11803 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-20 10:49:00 +02:00
Juraj Adamkovic
8e82cddd34
Translated using Weblate (Slovak)
Currently translated at 12.9% (51 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-20 10:48:53 +02:00
Petter Reinholdtsen
4d7adfb8ca Make sure C++ delete is operating on correct NML class
Change type of breq->_nml to NML*, to ensure the compiler can know
the correct type, and to ensure delete know which type it is
deleting.

Discovered by building with clang.
2022-08-20 10:29:56 +02:00
Hans Unzner
92cfdf7195 gmoccapy: updated changelog 2022-08-20 09:24:19 +02:00
Petter Reinholdtsen
e712bad0e3 Dropped unneeded {} around initializer list
Discovered while building with clang.
2022-08-20 06:05:29 +02:00
6afae2571e
Merge pull request #1940 from petterreinholdtsen/drop-depricated-axes
Remove deprecated axis and deprecated_axes fields
2022-08-19 17:30:03 -06:00
Petter Reinholdtsen
ffe664c042 Removed deprecated axis and deprecated_axes fields
These were flagged as deprecated in 2015, and 7 years seem like long
enough time for people to prepare for its removal.  Also adjusted
tests to no longer expect the field, and update documentation to mention that
the field was removed in version 2.9.
2022-08-19 22:25:46 +02:00
fd3ff8898c
Merge pull request #1937 from petterreinholdtsen/hal-module-unsigned-to-python
Made sure 'to_python(unsigned u)' only compare with LONG_MAX when needed
2022-08-19 13:22:19 -06:00
Petter Reinholdtsen
5115abe02e Skip useless compare to LONG_MAX in to_python(unsigned u)
As LONG_MAX is larger than any value representable by unsigned (int)
on most platforms, the test in the method do not make sense on these.
And 'unsigned long' can represent any value of unsigned int, so drop
the test.

Get rid of warning discovered with clang.
2022-08-19 20:10:04 +02:00
Phillip Carter
c8dd11e89e qtplasmac: fix errors in v1.229.229 2022-08-19 21:17:19 +10:00
Phillip Carter
415d725e53 qtplasmac: fix updates for v154 and v170 2022-08-19 13:59:20 +10:00
e016dc0527
Merge pull request #98 from LinuxCNC/jepler/master/halcmd-cplusplus
Improve the 'halcmd loadusr' message when component is failing to load
2022-08-18 17:54:22 -06:00
9b390cdcab
Merge remote-tracking branch 'origin/master' into jepler/master/halcmd-cplusplus 2022-08-18 17:41:21 -05:00
2c302c2492
Merge pull request #1936 from petterreinholdtsen/hal-fields-def-typo
Make sure HAL_FIELDS in halui.cc is complete
2022-08-18 16:36:49 -06:00
a0f26c541e
Merge pull request #1938 from petterreinholdtsen/real-get-speed-override
Make sure get_speed_override() return value
2022-08-18 16:29:43 -06:00
Hans Unzner
18088c547c halcmd: update docs + command line help 2022-08-19 00:01:00 +02:00
Hans Unzner
1adc710224 docs: fix syntax highlighting in haltcl.adoc 2022-08-18 23:59:22 +02:00
Hans Unzner
2182796104 docs: extend hal.lang for syntax highlighting 2022-08-18 23:57:55 +02:00
abca77e49d
retry to reduce raciness in rtapi_shmem_new 2022-08-18 16:36:01 -05:00
e6fcc38ef0
comment on why change the owner of the ipc segment 2022-08-18 16:33:18 -05:00
626fa91a0a
this rule was for installing desktop files for RIP builds 2022-08-18 16:28:39 -05:00
Petter Reinholdtsen
615d9aa7eb Make sure get_speed_override() return value
The method do not return the override value, but always true.  It
need information on which spindle to return value for, similar
to set_speed_override, to give a sensible value.

Fixes this warning from building with clang:

emc/rs274ngc/interpmodule.cc:310:26: warning: address of array 'interp._setup.speed_override' will always evaluate to 'true' [-Wpointer-bool-conversion]
    return interp._setup.speed_override;
    ~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~~~
2022-08-18 20:48:55 +02:00
Petter Reinholdtsen
ecffaaed56 Make sure HAL_FIELDS in halui.cc is complete
A trailing space after a backslash make all parts following
ro_reset fail to be part of the define.

Discovered by compiling with clang.
2022-08-18 20:32:39 +02:00
Steffen Moeller
db9db639e6 d/rules.in clean: Invoking with -C src 2022-08-18 12:01:31 +02:00
Steffen Moeller
a1fe693674 Supporting interrupted builds
This allows for repeated builds with git/dpkg-buildpackage without the need
to manually remove files or ignore files that appear added to the source tree.
2022-08-18 11:58:08 +02:00
Petter Reinholdtsen
f2b30aced1 Mention new po4a requirement in docs/README.adoc. 2022-08-18 08:08:39 +02:00
Greg Carl
6c25f7eecf qtplasmac: more housekeeping
missed a spot...
2022-08-17 17:36:50 -04:00
Hans Unzner
68680aa820 docs: add note to obsolete property 'FEATURES' 2022-08-17 20:47:34 +02:00
Hans Unzner
7c6da13870 docs: remove redundant words in subheadings 2022-08-17 20:38:06 +02:00
Sebastian Kuzminsky
7851483210
Merge pull request #1891 from smoe/po4aUpdate
Update po4a -> 0.67
2022-08-17 08:35:22 -06:00
Sebastian Kuzminsky
3753675640
Merge pull request #1920 from petterreinholdtsen/github-ci-deb-pdf-artifacts
Save generated deb and pdf artifacts in github CI run.
2022-08-17 08:32:04 -06:00
Sebastian Kuzminsky
36b83c60d8
Merge pull request #1887 from LinuxCNC/dh_install
Update debian packaging
2022-08-17 08:30:10 -06:00
Jeff Epler
dc52ac2227
kmod+rtai: don't unload rtai modules after initial load
I couldn't determine why, but calling rt_free_timers made the
2nd and successive runs fail.  The effect of rt_free_timers should be
"undone" by rt_start_timers calling rt_request_timers, from what I could
see. But it wasn't.
2022-08-17 09:02:40 -05:00
Jeff Epler
c9d9a810d5
uspace+rtai: don't unload rtai modules
This causes a low-probability crash at runtime, due to an apparent
rtai bug.

Initially introduce this only in the path of the rarely-used
uspace+rtai configuration. However, ultimately, either we could
move towards uspace+rtai as the default configuration for rtai
kernels, or we could apply the same workaround for kmod+rtai
mode.

This also makes it necessary for Load to not error if a module
is already loaded; this can be checked very easily under the modest
assumption that /sys is mounted.
2022-08-17 09:02:40 -05:00
Jeff Epler
32afd0c585
This confuses some naive editors less 2022-08-17 09:02:40 -05:00
Phillip Carter
21e04f72cd qtplasmac: material files naming consistency 2022-08-17 15:33:44 +10:00
3450be8188
Merge pull request #1575 from smoe/cppcheck_fixes
int (also literals as it seems) are signed by default
2022-08-16 19:51:11 -06:00
Greg Carl
6497d3c7ea qtplasmac: simple housekeeping
removed unused variables, add a few comments
2022-08-16 20:21:30 -04:00
Greg Carl
b90e9e4fad qtplasmac: fix closing_cleanup__ not being called 2022-08-16 18:21:41 -04:00
Greg Carl
5de8e34f18 qtplasmac: conversational origin
use relative instead of absolute position for origin
2022-08-16 18:21:07 -04:00
f1a7690317
Merge pull request #1925 from smoe/Does_this_eliminate_need_for_blanks
Attempt to eliminate need for blanks in labels
2022-08-16 11:21:12 -06:00
168e1aa78d
Merge pull request #1935 from smoe/patch-9
Delete reportar-bugs-como_es.md
2022-08-16 11:20:23 -06:00
d4751478e0
Merge pull request #1931 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-16 11:19:05 -06:00
b651613026
Merge pull request #1928 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-08-16 11:18:57 -06:00
Sebastian Kuzminsky
5932f2249d bump debhelper to 12 (available in buster), no longer need --parallel 2022-08-16 10:52:24 -06:00
Sebastian Kuzminsky
1ffed0f066 the new linuxcnc-doc-* debs conflict with the old linuxcnc-uspace, and vice versa
Some documentation files (gcode*.html) moved from linuxcnc-uspace to
linuxcnc-doc-{en,es,fr} (but none moved to -zh-cn).

Thus the new linuxcnc-doc-{en,es,fr} debs Break old linuxcnc-uspace,
and Replace old linuxcnc-uspace, and the new linuxcnc-uspace Breaks
old linuxcnc-doc-{en,es,fr}.
2022-08-16 10:52:24 -06:00
Sebastian Kuzminsky
dfd4ab3d44 linuxcnc-uspace: handle sample configs as docs
The sample configs need to live in /usr/share/doc/linuxcnc (not
/usr/share/doc/linuxcnc-uspace), because that's where the linuxcnc
launcher script looks for them.

Handle example nc_files/ symlink with dh_link rather than "by hand".
2022-08-16 10:52:24 -06:00
Sebastian Kuzminsky
51cb55c80b linuxcnc-uspace-dev: install with dh_install 2022-08-16 10:52:24 -06:00
Sebastian Kuzminsky
9e3c5f1cc7 linuxcnc-uspace: dh_install stuff from debian/tmp
We need to list everything we want in linuxcnc-uspace explicitly now,
since we changed DESTDIR to install into debian/tmp.
2022-08-16 10:52:12 -06:00
Sebastian Kuzminsky
7aa8362ef7 move LinuxCNC_Developer doc from -dev to -doc-en 2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
bed446b242 move g-code quick ref from linuxcnc-uspace to doc debs
The new translation infrastructure means we need to build the translated
docs to generate the g-code quick refs.

Since we have separate "-arch" and "-indep" targets in debian/rules now,
we don't build the docs when building linuxcnc-uspace, so the g-code
refs need to move to the doc debs.
2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
97c29dbf6f linuxcnc-doc-*: use dh_install and dh_installdocs
Install docs with dh_installdocs, other files (like .desktop entries)
with dh_install.

Install all docs in /usr/share/doc/linuxcnc, not
/usr/share/doc/linuxcnc-uspace, because that's where the .desktop files
look for the docs.

Handle each lang explicitly because we'll need to different special
things for -en vs all the others.
2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
2022c4e736 d/rules: change DESTDIR to debian/tmp 2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
223bf76b94 linuxcnc-uspace: use dh_installdocs to include a missing doc 2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
97e3e291ab linuxcnc-uspace: include the optional axis config files & README 2022-08-16 10:51:27 -06:00
Sebastian Kuzminsky
2579992f05 linuxcnc-uspace: use dh_install to install the appropriate 'extra' files 2022-08-16 10:51:25 -06:00
Sebastian Kuzminsky
ebc55fae86 d/rules: sort dh_auto_install stuff into -arch and -indep 2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
fe3d7f622e d/rules: only build the software (no docs) for architecture-dependent packages 2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
9f4e940cd6 Makefiles: new targets to build & install just software or just docs
This is mostly to help the debian packaging build just the
architecture-dependent parts (the software, via `dpkg-buildpackage -B`) or
just the architecture-independent parts (the docs, via `dpkg-buildpackage
-A`).
2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
e896b41aae d/rules: remove dead code 2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
dfb16c83f9 d/rules: simplify validation of *.desktop files
The tools have gotten better, we don't need this clumsy work-around
any more.
2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
728c83221c d/configure: get rid of EXTRA_FILES, it's not used 2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
aa77f2ac6d d/configure: get rid of EXTRAS, we don't use it anymore 2022-08-16 10:49:57 -06:00
Sebastian Kuzminsky
a6bc92ce08 Makefile: generate and install the {pnc,step}conf desktop files 2022-08-16 10:49:57 -06:00
Steffen Möller
81e563776b
Delete reportar-bugs-como_es.md
Redundant with documentation.
2022-08-16 17:41:25 +02:00
Hosted Weblate
0ad5133038
Translated using Weblate (German)
Currently translated at 38.4% (11626 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 38.1% (11540 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 38.0% (11522 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 38.0% (11496 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 37.8% (11459 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 37.8% (11436 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 37.3% (11291 of 30245 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-16 15:31:34 +02:00
Hosted Weblate
50433fe431
Added translation using Weblate (Georgian)
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
2022-08-16 15:31:34 +02:00
Bruno Lualdi
bbbc77fbec
Translated using Weblate (Portuguese (Brazil))
Currently translated at 13.7% (521 of 3776 strings)

Co-authored-by: Bruno Lualdi <blibr68@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/pt_BR/
Translation: LinuxCNC/LinuxCNC
2022-08-16 15:31:33 +02:00
Petter Reinholdtsen
cfe0cba19a Improve tpcomp.comp warning text. 2022-08-16 15:31:18 +02:00
Petter Reinholdtsen
3295395485 Remove useless trailing space. 2022-08-16 15:30:33 +02:00
Hans Unzner
47731ffb20
Merge pull request #1923 from smoe/docs_stupid_simple_stuff
Docs stupid simple stuff
2022-08-16 10:42:25 +02:00
Steffen Moeller
f83d9fd59e s/.ini (INI)/INI/ 2022-08-16 09:01:51 +02:00
Steffen Moeller
0aa9af3040 Fixes, GladeVCP consistency. 2022-08-16 09:01:51 +02:00
Steffen Moeller
f2714399af Routine-checks on a file prior to translating. 2022-08-16 09:01:51 +02:00
Steffen Moeller
18459c2deb docs: IniFil->IniFile 2022-08-16 09:01:51 +02:00
Steffen Moeller
ab435cb0c1 More translations-motivated changes. 2022-08-16 09:01:51 +02:00
Steffen Moeller
749b4b5c7d More changes performed while translating 2022-08-16 09:01:51 +02:00
Hans Unzner
82e7c3315b
Merge pull request #1911 from ZincBoy/patch-4
Update gmoccapy.adoc
2022-08-16 07:22:42 +02:00
Hans Unzner
7c88852745 docs: link to man page in MPG example 2022-08-16 01:39:00 +02:00
Hans Unzner
b6ea7d8836 docs: improved formatting in basic-hal.adoc 2022-08-16 01:34:32 +02:00
Hans Unzner
6cfd6d6e59 docs: add syntax highlighting for updating-linuxcnc.adoc 2022-08-16 01:18:49 +02:00
Hans Unzner
a9d054de4b
Merge pull request #1915 from LinuxCNC/doc-ini-config-features
docs: add note to obsolete property 'FEATURES'
2022-08-16 00:48:06 +02:00
Alex Lait
fbe47ee669 Update gmoccapy.adoc
Updated commit using hansu's suggestions as I think they make sense.
2022-08-16 00:45:01 +02:00
Alex Lait
d86eed5f7b Update gmoccapy.adoc
Related to:
https://github.com/LinuxCNC/linuxcnc/issues/1873#issue-1319377559
2022-08-16 00:44:43 +02:00
Hans Unzner
ea52c645eb docs: improve formatting in iov2.adoc 2022-08-16 00:34:31 +02:00
Petter Reinholdtsen
4c34757702 Also 'clean' in 'distclean' target. 2022-08-14 21:43:35 +02:00
Petter Reinholdtsen
24921d174c Save generated deb and pdf artifacts in github CI run.
Save them for a week for now, as they are rather large.
2022-08-14 19:59:02 +02:00
Steffen Moeller
e933a59bfc Attempt to eliminate need for blanks in labels
Added semantics for labels to be centered
2022-08-14 18:27:15 +02:00
Petter Reinholdtsen
bd3b279864 Make sure 'make' can work after 'make clean'.
Introduce 'distclean' target to remove files generated by configure,
and let 'clean' target only remove files generated by 'make'.
2022-08-14 15:56:50 +02:00
Petter Reinholdtsen
8be403b7a5 Run lintian on .changes instead of individual .deb.
This make sure the source package checks are done too.
2022-08-14 12:50:18 +02:00
Petter Reinholdtsen
bbe625ee54 Tell git to ignore more generated translation files. 2022-08-14 12:01:01 +02:00
petterreinholdtsen
f6d13e0ee0
Merge pull request #1918 from petterreinholdtsen/test-less-process
Use exec instead of exit $? in tests
2022-08-14 11:35:35 +02:00
Hosted Weblate
16e3e522d5
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-14 11:02:46 +02:00
Petter Reinholdtsen
cd61c33392 Updated POT and PO files 2022-08-14 11:02:10 +02:00
Petter Reinholdtsen
cf2b4c30c8 Updated docs POT and PO files using po4a version 0.67. 2022-08-14 11:02:01 +02:00
Petter Reinholdtsen
bea1ef8381 Correct indentation of a few asciidoc lists.
This keep po4a happy too.
2022-08-14 10:54:03 +02:00
Hosted Weblate
6fb0a95cd3
Translated using Weblate (German)
Currently translated at 36.8% (11124 of 30205 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-14 10:21:50 +02:00
Hosted Weblate
bb5df94a13
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (672 of 30205 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-14 10:21:50 +02:00
Hosted Weblate
b5cb51d1ec
Translated using Weblate (French)
Currently translated at 0.2% (80 of 30205 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-14 10:21:49 +02:00
Hosted Weblate
82ff790af0
Translated using Weblate (Italian)
Currently translated at 0.1% (1 of 30205 strings)
Author: Petter Reinholdtsen <pere-weblate@hungry.com>

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/it/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-14 10:21:49 +02:00
Steffen Moeller
054d83a800 More changes performed while translating 2022-08-14 10:16:58 +02:00
Petter Reinholdtsen
6e4c60dd13 Use exec instead of exit $? in tests
Before this change, the shell process will linger around to extract the
exit value, only to return it to the parent process, and after
this change the task is left to the kernel and one less
process is used during testing.  This is a very small optimisation
of the tests to gut down the number of lines and reduce the resources
spend during testing.
2022-08-14 09:42:21 +02:00
Dewey Garrett
61d96fc33a tests/toolchanger/m61 typo
from original commit 00b6ff4bec
2022-08-13 09:03:50 -07:00
petterreinholdtsen
16e279c52c
Merge pull request #1903 from petterreinholdtsen/docs-build-de
Added docs build rules for German (de) HTML and PDF.
2022-08-13 14:37:19 +02:00
petterreinholdtsen
98dfa6f0f2
Merge pull request #1913 from smoe/atom-edited-changes-during-translations
And more changes triggered by translation work.
2022-08-13 14:33:22 +02:00
CMorley
962669b7a8 qtvcp -change exit clean up code.
Hoping to help the segfault on exit problem - it didn't.
But this does make more logical sense: cleanup before entering close event
2022-08-12 19:51:12 -07:00
CMorley
383fc1ea74 qtvcp -allow keyboard entry with the caculator widget
Some people like to use a keyboard too.
2022-08-12 19:51:12 -07:00
CMorley
249301e690 qtdragon -fix slow/fast jog button for A axis
notoced by MarKoPolo on the forum
2022-08-12 19:51:12 -07:00
Steffen Möller
e11daeb967 And more changes triggered by translation work.
Hans pointed to typo. Thanks!

More translation-triggered changes.

Mostly spelling of ClassicLadder etc.

More translation-triggered changes.

Fix.
2022-08-12 23:13:01 +02:00
Petter Reinholdtsen
4685506524 Added docs build rules for German (de) HTML and PDF. 2022-08-12 22:45:15 +02:00
Petter Reinholdtsen
9acd731f03 Forgot to update the day of week in d/changelog. 2022-08-12 22:35:09 +02:00
Petter Reinholdtsen
5b9bfca4d5 Make sure latest d/changelog entry have timestamp after the second latest. 2022-08-12 20:16:52 +02:00
Petter Reinholdtsen
b91d00d65d Added uploaded debian/changelog entries
See #1656.
2022-08-12 19:53:56 +02:00
Greg Carl
ef928c3718 qtplasmac: quick tidy 2022-08-12 11:21:36 -04:00
Greg Carl
f73d8fe5a3 qtplasmac: fix button interlocking for torch pulse and ohmic test 2022-08-12 11:00:40 -04:00
Hosted Weblate
98f9f0c80b
Translated using Weblate (German)
Currently translated at 31.7% (9579 of 30205 strings)
Author: mk00002 <codo1983@gmail.com>

Translated using Weblate (German)
Currently translated at 31.7% (9579 of 30205 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-12 13:46:58 +02:00
Hans Unzner
042bb843ca docs: add note to obsolete property 'FEATURES' 2022-08-12 12:09:46 +02:00
Hans Unzner
3977272f3e Merge branch '2.8' into 'master' 2022-08-12 10:57:08 +02:00
Greg Carl
6f7d08511f docs: update some qtplasmac images 2022-08-11 17:52:45 -04:00
Greg Carl
f53228de03 qtplasmac: make window headers/titles cohesive 2022-08-11 16:50:37 -04:00
Greg Carl
f30db11725 qtplasmac-materials: update materials dialog for consistency 2022-08-11 16:45:18 -04:00
Hosted Weblate
43d7c2ed16
Translated using Weblate (German)
Currently translated at 31.5% (9518 of 30205 strings)
Author: Steffen Möller <steffen_moeller@gmx.de>

Translated using Weblate (German)
Currently translated at 30.9% (9344 of 30205 strings)
Author: Hans Unzner <hansunzner@gmail.com>

Translated using Weblate (German)
Currently translated at 30.9% (9344 of 30205 strings)
Author: mk00002 <codo1983@gmail.com>

Translated using Weblate by  Hans Unzner <hansunzner@gmail.com> (German)
Currently translated at 30.9% (9344 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.9% (9343 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.6% (9254 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.5% (9228 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.5% (9228 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.5% (9228 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.4% (9212 of 30205 strings)

Translated using Weblate (German)

Currently translated at 30.4% (9212 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8942 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8942 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8930 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8930 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8930 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8930 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8924 of 30205 strings)

Translated using Weblate (German)

Currently translated at 29.5% (8924 of 30205 strings)

Co-authored-by: Hans U <hansunzner@gmail.com>
Co-authored-by: Hans Unzner <hansunzner@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-11 21:46:38 +02:00
Petter Reinholdtsen
e77599891a Disabled tests/interp/g71-endless-loop for now, seem to cause buildbot hangs. 2022-08-11 00:30:15 +02:00
Petter Reinholdtsen
0831b83ad5 Revert runtest code to handle read only source tree until it work
This reverts c6b7362773 and
10bf44e6f2 which provded to not work in
all cases.
2022-08-10 23:33:26 +02:00
Petter Reinholdtsen
a0af426a2d Added Version number to linuxcnc-latency-histogram desktop template
Fixes #1912.
2022-08-10 17:46:44 +02:00
andypugh
5f04670f20 Release 2.8.3
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-08-09 22:29:42 +01:00
Piet van Rensburg
b6bfdfa31c CraftsmanCNC: A new GUI written from scratch
Intended for CNC router applications.

Signed-off-by: andypugh <andy@bodgesoc.org>
2022-08-09 20:02:25 +01:00
Petter Reinholdtsen
c6b7362773 Make sure runtests clear out temporary test directory before each test. 2022-08-09 20:07:31 +02:00
Alex Lait
fe7145a7ea
Clarify argspec parameter behavior
Clarifying the argspec parameter behavior.  I think the axis words not being available unless enabled is actually a bug. However fixing this is not likely to be easy so I think we should document the current behavior.
2022-08-09 13:15:34 -04:00
Hans
b8ccc93342
Merge pull request #1819 from petterreinholdtsen/docs-build-nb
Add docs build rules for nb HTML and PDF.
2022-08-09 18:17:50 +02:00
Petter Reinholdtsen
1ab6d720ba Added docs build rules for nb HTML and PDF.
Added texlive-lang-european build dependency for norwegian babel support.
2022-08-09 16:43:09 +02:00
Petter Reinholdtsen
63530f0ef2 Correct LANGUAGES_MATCH make definition. 2022-08-09 14:12:28 +02:00
Hans Unzner
55dd47ca81 docs: include MDRO in docs 2022-08-09 12:32:43 +02:00
Petter Reinholdtsen
b1fd521198 Added new language code uk to docs/po4a.cfg. 2022-08-09 11:50:42 +02:00
Hosted Weblate
2805db2c39
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 11:13:29 +02:00
Petter Reinholdtsen
e111b4bc7e Updated docs POT and PO files using po4a version 0.67. 2022-08-09 11:12:27 +02:00
petterreinholdtsen
3e5f315c5c
Merge pull request #1886 from petterreinholdtsen/docs-one-lang-list
Merge several translation language lists into one authorative in po4a.cfg
2022-08-09 11:01:53 +02:00
Petter Reinholdtsen
fbe2f8e659 Merge several translation language lists into one authorative in po4a.cfg.
Also drop double sort in MAN_SRCS_NOSO make variable.
2022-08-09 10:56:57 +02:00
Petter Reinholdtsen
e52085c0e3 Fix typos in German doc translation. 2022-08-09 10:23:06 +02:00
Дмитрий
141933e1a9
Translated using Weblate (Russian)
Currently translated at 0.1% (53 of 29515 strings)

Co-authored-by: Дмитрий <krdima352@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/ru/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:42 +02:00
Steffen Möller
1f8438fe67
Translated using Weblate (German)
Currently translated at 31.8% (9397 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
陈浩
db1d877a81
Translated using Weblate (Chinese (Simplified))
Currently translated at 0.1% (2 of 29515 strings)

Co-authored-by: 陈浩 <748812963@qq.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/zh_Hans/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
mk00002
7ad784beab
Translated using Weblate (German)
Currently translated at 31.8% (9397 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
Steffen Möller
66005c5ca1
Translated using Weblate (German)
Currently translated at 31.8% (9397 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.8% (9389 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.8% (9388 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
mk00002
0cca3fcbf1
Translated using Weblate (German)
Currently translated at 31.8% (9388 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
Steffen Möller
6697e1c4bd
Translated using Weblate (German)
Currently translated at 31.7% (9385 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
mk00002
52fceb2e4b
Translated using Weblate (German)
Currently translated at 31.7% (9385 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.7% (9384 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
Steffen Möller
a40cfc392f
Translated using Weblate (German)
Currently translated at 31.7% (9384 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
mk00002
2dfdf600b3
Translated using Weblate (German)
Currently translated at 31.7% (9383 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:41 +02:00
Steffen Möller
9113af12a1
Translated using Weblate (German)
Currently translated at 31.7% (9383 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
mk00002
a8f085a5f2
Translated using Weblate (German)
Currently translated at 31.7% (9381 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
Steffen Möller
317453bc11
Translated using Weblate (German)
Currently translated at 31.7% (9381 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
mk00002
be3df8cb19
Translated using Weblate (German)
Currently translated at 31.7% (9379 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
Steffen Möller
a609a37754
Translated using Weblate (German)
Currently translated at 31.7% (9379 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
mk00002
0b96c897d2
Translated using Weblate (German)
Currently translated at 31.7% (9378 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
Steffen Möller
486bb2c625
Translated using Weblate (German)
Currently translated at 31.7% (9375 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.7% (9376 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
mk00002
de3824324a
Translated using Weblate (German)
Currently translated at 31.7% (9376 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
Steffen Möller
baced4e707
Translated using Weblate (German)
Currently translated at 31.6% (9343 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.5% (9308 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.3% (9246 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.3% (9245 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
mk00002
5c5c2d3623
Translated using Weblate (German)
Currently translated at 31.3% (9245 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:40 +02:00
Steffen Möller
9baadad994
Translated using Weblate (German)
Currently translated at 31.3% (9242 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
mk00002
cd1f70e5b5
Translated using Weblate (German)
Currently translated at 31.3% (9242 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.2% (9237 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
Steffen Möller
cda57bcc4b
Translated using Weblate (German)
Currently translated at 31.2% (9237 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
mk00002
2281de1373
Translated using Weblate (German)
Currently translated at 31.2% (9226 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
Steffen Möller
1c2cf543be
Translated using Weblate (German)
Currently translated at 31.2% (9226 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.2% (9221 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
mk00002
4ef029eddc
Translated using Weblate (German)
Currently translated at 31.2% (9221 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.2% (9214 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
Steffen Möller
ef9f918106
Translated using Weblate (German)
Currently translated at 31.2% (9214 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.2% (9212 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
mk00002
2d2f75d360
Translated using Weblate (German)
Currently translated at 31.2% (9211 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
Steffen Möller
25b8cbd567
Translated using Weblate (German)
Currently translated at 31.2% (9211 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.1% (9208 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:39 +02:00
mk00002
803344dadf
Translated using Weblate (German)
Currently translated at 31.1% (9208 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
Steffen Möller
6103e38b75
Translated using Weblate (German)
Currently translated at 31.1% (9205 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
mk00002
0e3c6dc5d0
Translated using Weblate (German)
Currently translated at 31.1% (9205 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.1% (9195 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
Steffen Möller
b97f473ea0
Translated using Weblate (German)
Currently translated at 31.1% (9195 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
mk00002
b74cbd0e59
Translated using Weblate (German)
Currently translated at 31.1% (9191 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
Steffen Möller
0866eb1827
Translated using Weblate (German)
Currently translated at 31.1% (9191 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
mk00002
44a7d13582
Translated using Weblate (German)
Currently translated at 31.1% (9190 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
Steffen Möller
bd50caf090
Translated using Weblate (German)
Currently translated at 31.1% (9190 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
mk00002
09bb2c3640
Translated using Weblate (German)
Currently translated at 31.1% (9185 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
Steffen Möller
3e4290157b
Translated using Weblate (German)
Currently translated at 31.1% (9185 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.1% (9183 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:38 +02:00
mk00002
7fbcb079d8
Translated using Weblate (German)
Currently translated at 31.1% (9183 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.1% (9182 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
Steffen Möller
ace02a0987
Translated using Weblate (German)
Currently translated at 31.1% (9182 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.0% (9179 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
mk00002
dd3d939577
Translated using Weblate (German)
Currently translated at 31.0% (9179 of 29515 strings)

Translated using Weblate (German)

Currently translated at 31.0% (9158 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
Steffen Möller
a87d2dc815
Translated using Weblate (German)
Currently translated at 31.0% (9158 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.1% (8901 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
mk00002
754c7e8e1c
Translated using Weblate (German)
Currently translated at 30.1% (8901 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
Steffen Möller
48076aef89
Translated using Weblate (German)
Currently translated at 30.1% (8899 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.1% (8899 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
mk00002
0944eeb301
Translated using Weblate (German)
Currently translated at 30.1% (8899 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
Steffen Möller
8be3ab0804
Translated using Weblate (German)
Currently translated at 30.1% (8897 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
mk00002
bb2e490de9
Translated using Weblate (German)
Currently translated at 30.1% (8898 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:37 +02:00
Steffen Möller
2191baa691
Translated using Weblate (German)
Currently translated at 30.1% (8898 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
mk00002
3c6b7d30e8
Translated using Weblate (German)
Currently translated at 30.1% (8896 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
Steffen Möller
7566d21954
Translated using Weblate (German)
Currently translated at 30.1% (8896 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.1% (8891 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
mk00002
44e8fd326e
Translated using Weblate (German)
Currently translated at 30.1% (8891 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.1% (8885 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
Steffen Möller
74f13dcba1
Translated using Weblate (German)
Currently translated at 30.1% (8885 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.0% (8883 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
mk00002
e06a7e2370
Translated using Weblate (German)
Currently translated at 30.0% (8883 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.0% (8882 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
Steffen Möller
a9e220cd61
Translated using Weblate (German)
Currently translated at 30.0% (8882 of 29515 strings)

Translated using Weblate (German)

Currently translated at 30.0% (8882 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
mk00002
202eac06fd
Translated using Weblate (German)
Currently translated at 30.0% (8882 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.7% (8781 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
Steffen Möller
d9d12f428e
Translated using Weblate (German)
Currently translated at 29.7% (8781 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8749 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8749 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
mk00002
0b7836c294
Translated using Weblate (German)
Currently translated at 29.6% (8749 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:36 +02:00
Steffen Möller
0e8a29cb4d
Translated using Weblate (German)
Currently translated at 29.6% (8748 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
mk00002
e455a3e657
Translated using Weblate (German)
Currently translated at 29.6% (8748 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8746 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
Steffen Möller
0835e49106
Translated using Weblate (German)
Currently translated at 29.6% (8746 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8744 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8744 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
mk00002
1f0199aae9
Translated using Weblate (German)
Currently translated at 29.6% (8744 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
Steffen Möller
54daf0ff9a
Translated using Weblate (German)
Currently translated at 29.6% (8741 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
mk00002
debbc14900
Translated using Weblate (German)
Currently translated at 29.6% (8741 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8740 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
Steffen Möller
086306d4f0
Translated using Weblate (German)
Currently translated at 29.6% (8740 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
mk00002
ab81d84a2f
Translated using Weblate (German)
Currently translated at 29.6% (8739 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
Steffen Möller
7f4675c5cb
Translated using Weblate (German)
Currently translated at 29.6% (8739 of 29515 strings)

Translated using Weblate (German)

Currently translated at 29.6% (8737 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:35 +02:00
mk00002
141dd6296e
Translated using Weblate (German)
Currently translated at 29.6% (8737 of 29515 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:34 +02:00
Egor Komogortsev
0c1329bfaf
Translated using Weblate (Russian)
Currently translated at 0.1% (25 of 29515 strings)

Co-authored-by: Egor Komogortsev <egor.komogorcev@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/ru/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:34 +02:00
Ihor Oliinyk
b170e7b5b0
Translated using Weblate (Ukrainian)
Currently translated at 0.1% (56 of 29515 strings)

Added translation using Weblate (Ukrainian)

Co-authored-by: Ihor Oliinyk <oiv73v@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/uk/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:34 +02:00
Petter Reinholdtsen
dcfc604a59
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.2% (671 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 2.0% (599 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.9% (589 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.8% (555 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.8% (548 of 29515 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:34 +02:00
Steffen Möller
451772dc73
Translated using Weblate (German)
Currently translated at 29.0% (8584 of 29515 strings)

Translated using Weblate (German)

Currently translated at 28.6% (8455 of 29515 strings)

Translated using Weblate (German)

Currently translated at 27.9% (8244 of 29515 strings)

Translated using Weblate (German)

Currently translated at 27.7% (8192 of 29515 strings)

Translated using Weblate (German)

Currently translated at 27.2% (8043 of 29515 strings)

Translated using Weblate (German)

Currently translated at 27.1% (8018 of 29515 strings)

Translated using Weblate (German)

Currently translated at 26.7% (7894 of 29515 strings)

Translated using Weblate (German)

Currently translated at 26.7% (7884 of 29515 strings)

Translated using Weblate (German)

Currently translated at 26.4% (7806 of 29515 strings)

Translated using Weblate (German)

Currently translated at 25.4% (7498 of 29515 strings)

Translated using Weblate (German)

Currently translated at 25.2% (7465 of 29515 strings)

Translated using Weblate (German)

Currently translated at 24.7% (7306 of 29515 strings)

Translated using Weblate (German)

Currently translated at 24.0% (7110 of 29515 strings)

Translated using Weblate (German)

Currently translated at 23.3% (6888 of 29515 strings)

Translated using Weblate (German)

Currently translated at 22.8% (6750 of 29515 strings)

Translated using Weblate (German)

Currently translated at 22.8% (6744 of 29515 strings)

Translated using Weblate (German)

Currently translated at 22.6% (6676 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-08-09 08:57:34 +02:00
petterreinholdtsen
4b8b215cba
Merge pull request #1869 from petterreinholdtsen/test-g71-endless-loop
Add new test demonstrating endless loop with incorrect G71 parameters
2022-08-09 08:57:29 +02:00
petterreinholdtsen
d8b5b83415
Merge pull request #1905 from petterreinholdtsen/xdg-more-rip-menu-entries
Make pncconf and stepconf XDG menu entries also available for run-in-place
2022-08-09 08:56:40 +02:00
petterreinholdtsen
b1d3bb57e6
Merge pull request #1906 from luzpaz/typos/source-increment
Fix source typo missed in a previous commit
2022-08-09 08:50:44 +02:00
Petter Reinholdtsen
92b0d12df8 Added xfail flag to unstable tests/interp/m98m99/12-M99-endless-main-program. 2022-08-09 08:41:48 +02:00
petterreinholdtsen
94c28fa10e
Merge pull request #1902 from petterreinholdtsen/deb-doc-override
Use xdg-open consistently in deb packages and fix lintian overrides
2022-08-09 08:39:53 +02:00
Hans
327ef1685f
Merge pull request #1895 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-09 08:24:32 +02:00
Дмитрий
d52753751d
Translated using Weblate (Russian)
Currently translated at 69.6% (2632 of 3778 strings)

Co-authored-by: Дмитрий <krdima352@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
Translation: LinuxCNC/LinuxCNC
2022-08-09 03:34:37 +02:00
Petter Reinholdtsen
f23877b7d8
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.8% (1242 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-08-09 03:34:37 +02:00
Juraj Adamkovic
835ceb309a
Translated using Weblate (Slovak)
Currently translated at 21.8% (826 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-08-09 03:34:36 +02:00
Greg Carl
f924c1e8cd qtplasmac: change workflow for setting peripheral offsets 2022-08-08 21:34:03 -04:00
luz paz
507f88508f Fix source typo missed in a previous commit
This fix didn't make it in to f69f00b58e
2022-08-08 19:14:28 -04:00
Petter Reinholdtsen
f907e08507 Make pncconf and stepconf XDG menu entries also available for run-in-place
Moved Debian specific .desktop files to share/applications/.

Also fixes typo in EMC2_LATENCY_HISTOGRAM_SCRIPT.
2022-08-09 00:25:30 +02:00
Petter Reinholdtsen
96afa998db Add new test demonstrating endless loop with incorrect G71 parameters
I found this in issue #1146. This example g-code program causes
the AXIS LinuxCNC GUI to get completely stuck while its memory use explode.
I decided to write a small test case to demonstrate the problem.
Discovered that the program cause the rs274 program to generate an
endless stream of repeated instructions, which I suspect is the cause of
the memory explosion.

Flaggex xfail as it is expected to fail until the bug is found and
fixed.
2022-08-09 00:01:29 +02:00
Rene Hopf
596c099520
Merge pull request #1876 from petterreinholdtsen/deb-autopkgtest
Add simple autopkgtest check for the Debian package.
2022-08-08 23:46:53 +02:00
Rene Hopf
513a4afa15
Merge pull request #1901 from ZincBoy/patch-1
Update remap.adoc
2022-08-08 23:43:05 +02:00
Rene Hopf
4dad1b48fa
Merge pull request #1885 from petterreinholdtsen/deb-appstream-meta-typo
Removed redundant double placeholder in appstream modalias metadata.
2022-08-08 23:40:53 +02:00
Rene Hopf
4588ce0ee2
Merge pull request #1894 from smoe/atom-edited-changes-during-translations
Atom edited changes during translations
2022-08-08 23:38:40 +02:00
Rene Hopf
9eee9391a8
Merge pull request #1900 from russellgower/master
Add reset pins for halui Rapid Override, Feed Override and Spindle Overrides
2022-08-08 23:12:01 +02:00
Rene Hopf
1cb7b55369
Merge pull request #1706 from hansu/gmoccapy-fix-buttonstate-settings-2.8
Gmoccapy: fix button state when enter setting page from MDI or Auto Mode 2.8
2022-08-08 23:02:54 +02:00
Rene Hopf
f9a32fd004
Merge pull request #1604 from smoe/memleak_2
Introducing destructor to os_intf/inetnull.cc
2022-08-08 22:47:00 +02:00
Sebastian Kuzminsky
f2332290af
Merge pull request #1904 from luzpaz/typos
Fix typos
2022-08-08 13:59:13 -06:00
luz paz
433c9c39a8 Fix typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-08-08 12:15:07 -04:00
Petter Reinholdtsen
3dd7cdb484 Use xdg-open consistently in deb packages and fix lintian overrides
Instead of using both xdg-open and x-www-browser depending on
package, use only one of them.  Picked xdg-open after consulting

Drop irrelevant overrides and insert correct ones refering to xdg-open.
2022-08-08 16:01:50 +02:00
russellgower
bee7a6173a Add reset pins for halui Rapid Override, Feed Override and Spindle Overrides
halui currently has pins for increasing and decreasing the above overrides but
there isn't currently a universal way to reset them back to 1.0.

My use case is, I have 3 rotary encoders on my control panel each with a
momentary centre push switch.
I have the encoders setup to adjust the overrides with the centre push switch
connected to the new reset pins to quickly set the overrides back to 100%.

Prior to making this change I could increase and decrease the overrides from my
control panel, but I had to use the GUI to reset back to 100%.
2022-08-08 09:43:38 +01:00
Alex Lait
7a6222d783
Update remap.adoc
Both the "M/m" and "G/g" argspec words are not currently supported by interp_remap.cc. These should be removed from the argspec description as they are not passed to the called remapping code.
2022-08-07 22:01:15 -04:00
CMorley
737d495321 qtvcp : add panel instance reference, fix check for preference 2022-08-07 13:52:48 -07:00
CMorley
fc7fa95a99 qtvcp -change 'has_closing_handler' variable default 2022-08-07 13:31:13 -07:00
CMorley
02726aa7a3 qtvcp -add error polling control functions
trying to control who polls the error channel
2022-08-07 13:31:13 -07:00
Steffen Möller
4f37d3efd0 More changes motivated while translating.
Undid the automated removal of blanks empty final fields in tables.
Must have typed something in the wrong window.

More translation-motivated changes.

Another round of translation-motivated changes.

Syntax fix.

More changes motivated by translation work.
2022-08-07 19:43:18 +02:00
jethornton
f37261e653
Merge pull request #1898 from petterreinholdtsen/deb-xdg-desktop-merge2
Make sure new latency-histogram desktop file work
2022-08-07 11:55:04 -05:00
Petter Reinholdtsen
cdecc87a23 Make sure new latency-histogram desktop file work
Fixes leftover from 9588998ef1, which ignored the
non-run-in-place case and failed to substitute the EMC2_LATENCY_HISTOGRAM_SCRIPT
variable.
2022-08-07 16:57:46 +02:00
Greg Carl
7d6a88df23 qtplasmac: fix updater handling of pref conversion from string to bool 2022-08-07 10:35:56 -04:00
Greg Carl
053bf2f77a plasmac: add probe and scribe deployment pins for setting offsets 2022-08-07 10:35:56 -04:00
jethornton
3fa7180104
Merge pull request #1884 from petterreinholdtsen/deb-xdg-desktop-merge
Dropped duplicate desktop files and install latency-histogram menu in deb
2022-08-07 07:50:37 -05:00
zz912
4a8992bfe5
Duplicate Strings gmoccapy.pot and linuxcnc.pot
The same Strings were generated to gmoccapy.pot and linuxcnc.pot
I inspired here:
https://github.com/LinuxCNC/linuxcnc/pull/542/files
2022-08-06 21:44:17 +02:00
CMorley
b5d7ea6d56 qtvcp -ngcgui: add images 2022-08-04 20:10:50 -07:00
CMorley
bea856a4b8 qtvcp -ngcgui: add the proper path for the silverdragon image
image used if the NGCGUI sub doesn't supply one.
2022-08-04 20:10:50 -07:00
CMorley
75da4dece4 qtvcp -qt_action: CALL_MDI_WAIT now reliably catches errors
before if there were multiple MDI commands and if one errorred, the next was often
run regardless.
This was do to having two linuxcnc.error channels competing for the data.
We now use STATUS.ERROR only.
There may be more code that need to use STATUS error in Qtvcp  yet...
2022-08-04 20:10:50 -07:00
CMorley
123b2d91cd qtvcp -move error channel instance to core AKA status
this makes sure we have acces to the one instance.
Probing/MDI will use this to check for errors.
2022-08-04 20:10:50 -07:00
Hans
558e1fc6b2
Merge pull request #1861 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-08-04 22:41:51 +02:00
Hans U
7e54acaeab
Translated using Weblate (German)
Currently translated at 99.6% (3765 of 3778 strings)

Co-authored-by: Hans U <hansunzner@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:09 +02:00
mk00002
ad3b4a6adc
Translated using Weblate (German)
Currently translated at 99.6% (3764 of 3778 strings)

Co-authored-by: mk00002 <codo1983@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:08 +02:00
Steffen Möller
9bc516a370
Translated using Weblate (German)
Currently translated at 99.6% (3764 of 3778 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:08 +02:00
Ulices
7b7a14d0d8
Translated using Weblate (Spanish)
Currently translated at 96.3% (3640 of 3778 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (395 of 395 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/es/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-04 09:50:07 +02:00
Juraj Adamkovic
1450366c51
Translated using Weblate (Slovak)
Currently translated at 3.5% (14 of 395 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sk/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-04 09:50:07 +02:00
Hans U
9bb32fc6a8
Added translation using Weblate (Slovak)
Co-authored-by: Hans U <hansunzner@gmail.com>
2022-08-04 09:50:06 +02:00
Nikita Shubin
a532a12045
Translated using Weblate (Russian)
Currently translated at 68.8% (2603 of 3778 strings)

Co-authored-by: Nikita Shubin <nikita.shubin@maquefel.me>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:05 +02:00
Petter Reinholdtsen
2d7ae86292
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.7% (1238 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 66.5% (263 of 395 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 32.7% (1238 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 32.7% (1236 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 65.5% (259 of 395 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-08-04 09:50:05 +02:00
Дмитрий
de9061a607
Translated using Weblate (Russian)
Currently translated at 68.8% (2603 of 3778 strings)

Translated using Weblate (Russian)

Currently translated at 68.7% (2596 of 3778 strings)

Co-authored-by: Дмитрий <krdima352@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:04 +02:00
Juraj Adamkovic
0cde3c1f40
Translated using Weblate (Slovak)
Currently translated at 21.5% (814 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-08-04 09:50:04 +02:00
CMorley
899874833e qtvcp -qt_ngcgui; fix bugs after testing 2022-08-03 21:47:04 -07:00
CMorley
007df82273 qtvcp -NGCG?UI widget: add auto populate subs.
User 'Eyecon' from the forum came up with these mods to have
automatically add subs based on the INI settings.
2022-08-03 18:59:17 -07:00
CMorley
d6eb4b0a6c qtvcp -qt_istat: add NGCGAUI INI settings 2022-08-03 18:59:17 -07:00
Hans
1bb79fe606
Merge pull request #1890 from smoe/atom-edited-changes-during-translations
More changes motivated while translating.
2022-08-03 11:09:50 +02:00
Hans
51593a0710
Update running-linuxcnc.adoc 2022-08-03 09:27:49 +02:00
Steffen Möller
dd5099fb12 Update po4a -> 0.67 2022-08-02 13:22:41 +02:00
Steffen Möller
9d81bf097b More changes motivated while translating.
Undid the automated removal of blanks empty final fields in tables.
Must have typed something in the wrong window.
2022-08-02 11:41:42 +02:00
c-morley
88b54ca37b
Merge pull request #1889 from PetteriAimonen/master
AXIS: Add [DISPLAY] PREVIEW_TIMEOUT setting.
2022-08-01 06:48:05 -06:00
Petteri Aimonen
d07e217f93 Add PREVIEW_TIMEOUT to AXIS documentation also 2022-08-01 10:08:21 +03:00
Phillip Carter
4c233e4609
Merge pull request #1888 from phillc54/phillc54/pncconf
Phillc54/pncconf
2022-08-01 16:06:33 +10:00
Phillip Carter
5161841446 pncconf: additional error messages
fix 7i96s stepgen polarity
add a 7i98 firmware
add connector names for 5i25, 7i76e, 7i93, and 7i98
2022-08-01 14:55:44 +10:00
c-morley
615b97ebd5
Merge pull request #1879 from petterreinholdtsen/pid-with-auto-tune
Merge auto tune support into pid HAL component
2022-07-31 12:25:58 -06:00
Petteri Aimonen
afcc6c8335 AXIS: Add [DISPLAY] PREVIEW_TIMEOUT setting.
Previously AXIS would freeze when loading a G-code file that takes very
long to execute and/or never terminates. This commit adds an optional
timeout that stops the loading of preview and shows a notice.

Retains old behavior if the .ini file setting is not specified.
2022-07-31 12:04:55 +03:00
Hans Unzner
bbc2214080 halshow: fix "didn't use watchfile from commandline" 2022-07-30 18:14:36 +02:00
Petter Reinholdtsen
10bf44e6f2 Add simple autopkgtest check for the Debian package.
Adjust runtests scripts to work also when source tree is write
protected.
2022-07-30 07:28:11 +02:00
Dewey Garrett
c7d26ff5f3 homecomp.comp:extend example to demo custom states
With HOMING_BASE defined:

Formerly: custom_1joint_home_state_machine() just returned
after setting appropriate values.

With this commit: custom_1joint_home_state_machine() demonstrates
a simple state machine that walks thru a number of
custom_home_states and at terminus sets appropriate values.
2022-07-29 20:05:38 -07:00
Petter Reinholdtsen
792015c684 Removed redundant double placeholder in appstream modalias metadata. 2022-07-29 22:04:47 +02:00
Petter Reinholdtsen
9588998ef1 Dropped duplicate desktop files and install latency-histogram menu in deb
Solve missing linuxcnc-latency-histogram menu entry in Debian package.
2022-07-29 21:58:47 +02:00
Sebastian Kuzminsky
088b6a3c28 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  Update ADDING_A_MESA_CARD.md
  Revert "pncconf: add 7i96s"
  gmoccapy: make a dialog message translatable
  Pncconf - ADDING_A_MESA_CARD.md - add Logic number
  pncconf: add 7i96s
2022-07-29 08:44:06 -06:00
Sebastian Kuzminsky
cf2b68d88f
Merge pull request #1837 from petterreinholdtsen/po4a-github-0.67
Switch github CI jobs to use po4a version 0.67.
2022-07-29 08:33:42 -06:00
Sebastian Kuzminsky
40e3e80dc1
Merge pull request #1866 from smoe/docs_stupid_simple_stuff
Docs stupid simple stuff
2022-07-29 08:31:24 -06:00
Sebastian Kuzminsky
34ae00daf5
Merge pull request #1880 from smoe/atom-edited-changes-during-translations
Atom edited changes during translations
2022-07-29 08:23:18 -06:00
Sebastian Kuzminsky
6fbd956ee3
Merge pull request #1881 from petterreinholdtsen/clean-headers-mods-scripts
Remove more generated files in the clean target
2022-07-29 08:19:57 -06:00
Sebastian Kuzminsky
f41ae48027
Merge pull request #1882 from havardAasen/copyright-typo
Copyright typo's and minor adjustment
2022-07-29 08:14:12 -06:00
Håvard F. Aasen
5436b1d295
Fix mismatch between copyright and copyright notice
The files was copyrighted LGPL-2, while the copyright notice mentioned
LGPL-2.1.

I'm assuming the mistake was in the copyright notice, not the copyright
itself.
2022-07-29 13:22:16 +02:00
Håvard F. Aasen
0d3658f3f7
Minor adjustment in LGPL-2 section
The old license was called 'GNU Library General Public License', not
'GNU Lesser General Public License' as in 'Lesser' -> 'Library'. There
was also a number mismatch on the last line, referring to version 2.1.
2022-07-29 13:20:11 +02:00
Håvard F. Aasen
a74930f0e1
Minor version adjustement in GPL-3+ section
GPL-3+ section wrongly mentions version 2
2022-07-29 09:26:10 +02:00
c-morley
e10488ff84
Merge pull request #1864 from petterreinholdtsen/test-motion-logger-abort-enable
Re-enable tests/motion-logger/startup-gcode-abort and make it more robust
2022-07-28 20:11:14 -06:00
c-morley
d379e05c08
Merge pull request #1875 from zz912/patch-8
Pncconf - ADDING_A_MESA_CARD.md - add Logic number
2022-07-28 20:08:00 -06:00
Steffen Möller
f5f703cf88 Changes motivated while translating. 2022-07-29 00:02:45 +02:00
Petter Reinholdtsen
567ecb583e Remove more generated files in the clean target
Remove scripts generated by configure, headers copied into include/.
Make sure the Debian build also uses modclean to remove shared
libraries generated by the build.
2022-07-28 22:31:34 +02:00
Steffen Moeller
6f7cb9978b More changes performed while translating
Separating units from value

Khz -> kHz

More on units, ohm -> Ω

More changes performed while translating

More changes performed while translating

Requested changes during peer review
2022-07-28 22:10:58 +02:00
Steffen Möller
10f9fc7979 More translation-triggered changes. 2022-07-28 20:39:10 +02:00
766f77255e
Merge pull request #1877 from petterreinholdtsen/deb-copyright-custom
Replace 'custom' debian/copyright labels with more descriptive ones.
2022-07-28 10:56:47 -05:00
ef49491bcf
Merge pull request #1878 from petterreinholdtsen/deb-copyright-gpl3+
Add missing debian/copyright description of GPL-3+.
2022-07-28 10:56:16 -05:00
4b608a9c9e
Merge pull request #1844 from petterreinholdtsen/doc-lang-hostmot2
Use double quotes consistently in hostmot2(9)
2022-07-28 10:56:00 -05:00
Petter Reinholdtsen
a882b0bc9b Merge auto tune support into pid HAL component
Instead of having a separate PID component with auto tuning support,
it is easier for users to have only one PID component where auto
tuning is a runtime option for those that want to use it.

Drop the at_pid HAL component and move its implementation and
documentation into the pid HAL component.  The code is marked
using #ifdef AUTO_TUNING to make it easy to identify in the code,
and trivial to compile out for those that want to.

There is some questions on how useful and efficient the implemented
auto tuning method is, and while I am sure it can be improved, it
did work for my machie and provided useful Pgain, Igain and Dgain
values for my X and Y axis.  As it is a runtime option, those
that do not want automatic tuning can simply ignore this feature.

Keep the at_pid(9) manual page to let earlier users know to use
the pid component instead.
2022-07-28 09:42:28 +02:00
Petter Reinholdtsen
521c01d227 Re-enable tests/motion-logger/startup-gcode-abort and make it more robust
Instead of using 'sleep(1)' to guess if linuxcnc is ready to take
instructions from the UI, look for the 'motion.in-position' pin
to show up in hal and abort just after this.  This make sure the
abort happen earlier in the startup process, and hopefully ensure
that the test succeed every time.
2022-07-28 08:03:23 +02:00
Petter Reinholdtsen
9fb2fddcb6 Add missing debian/copyright description of GPL-3+.
This get rid of a lintian warning.
2022-07-28 07:37:00 +02:00
Petter Reinholdtsen
c1ea52ce5c Replace 'custom' debian/copyright labels with more descriptive ones.
This avoid a lintian warning.  The ISC license is described in
https://www.isc.org/licenses/ , while the GNU-All-Permissive
license is described in
https://www.gnu.org/prep/maintain/html_node/License-Notices-for-Other-Files.html .
2022-07-28 07:31:44 +02:00
CMorley
9b5e2a653f task -set blend tolerance default based on machine units
A very common newbee complaint is huge corner rounding.
This is caused by linuxcnc setting the default blend tolerance to maximum.
Now we set it to a (seemingly) reasonable default depending if the machine
is metric or inch.

- modify the startup runtest for G64 p startup change
2022-07-27 19:04:23 -07:00
c-morley
dc622fd659
Merge pull request #1859 from petterreinholdtsen/test-g0-robustness
Made tests/motion/g0 more robust and got rid of race condition
2022-07-27 18:45:45 -07:00
c-morley
28af242e05
Update ADDING_A_MESA_CARD.md
add a little more detail on GPIO logic numbering
2022-07-27 18:37:19 -07:00
c-morley
b02b45caec
Merge pull request #1868 from petterreinholdtsen/pid-autotune-doc-zero
Adjusted at_pid documentation and logic
2022-07-27 18:28:49 -07:00
Phillip Carter
aae3670755 Revert "pncconf: add 7i96s"
7i96s is not supported by hostmot2 in LinuxCNC 2.8

revert commit 21ad34e
2022-07-28 10:08:15 +10:00
Steffen Möller
8b48ccf0fa Hal,.ini,punctuation - small bits noticed during translation 2022-07-27 17:06:58 +02:00
Hans Unzner
d344dea1f8 gmoccapy: make a dialog message translatable 2022-07-27 16:58:49 +02:00
zz912
2a5bbed495
Pncconf - ADDING_A_MESA_CARD.md - add Logic number
It should be solution for this Issue:
https://github.com/LinuxCNC/linuxcnc/issues/1832
2022-07-27 14:16:12 +02:00
zz912
6744bcf805
Gmoccapy - czech translate
I made a translation for Gmoccapy. This is not a literal translation, but a translation that is user friendly. Contains many untranslated phrases.  I am of the opinion that the original text is better than a bad translation.
2022-07-27 13:25:49 +02:00
Hans
ecdea1ae89
Merge pull request #1871 from luzpaz/typos/lib-python
lib/python: fix various typos
2022-07-27 08:16:35 +02:00
luz paz
09a439ab21 lib/python: fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-07-27 00:20:58 -04:00
c-morley
8491a4c7b6
Merge pull request #1865 from petterreinholdtsen/test-g64-abort-enable
Re-enable tests/abort/g64 as it seem to be working now.
2022-07-26 20:19:53 -07:00
c-morley
f69f00b58e
Merge pull request #1870 from luzpaz/typos/configs
configs: fix various typos
2022-07-26 20:09:48 -07:00
CMorley
2698cc73fb interpeter: allow comments that print params, to set the float format
printting out number to users often uses excessive decimals.
now &d,%f or %.xf (x being a number) is interpeted to be a float format
for params.

-add test for printing formatted params
-add docs on formatting of parameter numbers in comments
2022-07-26 19:58:44 -07:00
Phillip Carter
21ad34edb4 pncconf: add 7i96s 2022-07-27 11:21:34 +10:00
luz paz
a712a51a9c configs: fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-07-26 18:33:51 -04:00
Hans
4eee9ab284
Merge pull request #1867 from luzpaz/typos/hal
hal: fix various typos
2022-07-26 22:15:16 +02:00
Petter Reinholdtsen
9b5c4b87e9 Adjusted at_pid documentation and logic
Made sure output is set to bias, not zero, when tuning cycle ends.  Added
reference to paper describing the tuning method implemented.  Reinserted
code to supress some messages while running, similar to the pid component.
Adjusted man page text to better explain how to use auto tuning.
2022-07-26 15:30:40 +02:00
luz paz
e8d3efe787 hal: fix various typos
Found via `codespell -q 3 -S *.po,*.pot,*.ts,./.git/logs,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wonte`
2022-07-26 09:19:04 -04:00
Dewey Garrett
feb8b23aef motion: rename EMCMOT_JOINT_ABORT
to EMCMOT_JOG_ABORT

Clarify message name as it is used for joint numbers or
axis numbers depending on mutually exclusive settings
for emcCommand.joint, emcCommand.axis

Note: residual fix for joints-axes incorporation
2022-07-25 11:34:00 -07:00
Dewey Garrett
256f48e078 sim_lib.tcl:save_hal_cmds: support tpmod,homemod
with commit 08ac87d411, tpmod and homemod modules
are preloaded so save_hal_cmds proc should not attempt
to load them again
2022-07-25 11:30:54 -07:00
Dewey Garrett
e630900732 linuxcnc_info: show ofile name if no valid VIEWER 2022-07-25 11:30:54 -07:00
Greg Carl
80bba07bc2 qtplasmac: fix title and icon 2022-07-25 09:58:12 -04:00
Dewey Garrett
403284553e Merge branch '2.8' to master
update command.c: EMCMOT_JOINT_ABORT handling as reqd
2022-07-25 06:42:33 -07:00
Dewey Garrett
4657973c9f command.c: EMCMOT_JOINT_ABORT set joint jog inactive
Forum users using probe_basic (not in-tree) and a
pendant vc-4ps (not in-tree) reported unexpected
messages: "Ignoring task mode change while jogging"
after activating mdi mode even though they were not
jogging.  This message was introduced by changes for
commit 87f66feaf4

The problem was not duplicated using in-tree qtvcp
qtdragon.ini sim config(s).

1) User vc-4ps hal configurations typically connect
halui plus/minus jog pins for each axis letter with the
corresponding identity joint number (e.g.,
halui.joint.0.plus == halui.axis.x.plus, ... etc)

2) halui plus/minus jogging issues EMCMOT_JOINT_ABORT
to terminate an axis *or* a joint jog but formerly joint
jogging pins were not set to indicate jogging inactive
when the message was specifying a joint number.

Note: EMCMOT_JOINT_ABORT is a misnomer, the message is
issued for both joints (using a joint number) and for
axis coordinates (using an axis number)

This commit ensures that EMCMOT_JOINT_ABORT properly
sets joint jogging as inactive (kb, wheel) if message
refers to a valid joint number.

https://forum.linuxcnc.org/qtvcp/46031-a-couple-of-errors-during-update-2-8-2-130-g87f66feaf#247599

diff --git a/src/emc/motion/command.c b/src/emc/motion/command.c
index 2386784219..81d8e38802 100644
--- a/src/emc/motion/command.c
+++ b/src/emc/motion/command.c
@@ -480,6 +480,7 @@ void emcmotCommandHandler(void *arg, long servo_period)
                     return;
                 }
            }
+           if (GET_MOTION_COORD_FLAG()) return; //silently ignore
         }
         if (abort) {
           switch (emcmotCommand->command) {
2022-07-25 06:36:25 -07:00
Greg Carl
a0058e6184 qtplasmac: fix small bug when clearing laser when it's out of bounds 2022-07-25 08:50:51 -04:00
Greg Carl
914dcc1d50 qtplasmac: update icon image to Chips Plasma version
Thank you to AlexMagToast from the forum for the work and for 
contributing the logo files - 
https://forum.linuxcnc.org/show-your-stuff/32672-linuxcnc-logo?start=50#248058
2022-07-25 08:47:00 -04:00
Phillip Carter
9571b37380 pncconf: add 7i96s 2022-07-25 17:26:24 +10:00
Petter Reinholdtsen
87225cfe3f Re-enable tests/abort/g64 as it seem to be working now. 2022-07-24 12:09:36 +02:00
CMorley
7f0b006419 qtvcp -change the logic of window title setting
folow this override order:
qtvcp default
handlerfile option
INI option
2022-07-23 16:19:26 -07:00
CMorley
fceb9ca31e qtvcp -istat: don't show crtical error on lathe with y axis
Some adbvanced lathe configs add a dummy Y axis so that they can
rotate the X axis around Z for mirroring.
currently the gcode needs Y defined to work.
2022-07-23 12:18:36 -07:00
CMorley
f7829dcee7 qtvcp -change the logic of program icon setting
should set in this order:
default qtvcp icon
optional handler set icon  (in  def initialized__)
optional INI based icon

You can also set the icon in the handler file in 'def before_loop__'
to override all of these.
2022-07-23 12:10:15 -07:00
Greg Carl
e107b3942b qt_istat: small typos
Noticed these while poking around and didnt want to leave them be
2022-07-23 14:13:35 -04:00
Dewey Garrett
4320ec2ea3 axis.c avoid shortcircuit in axis_jog_abort_all()
formerly, the logic expression shortcircuit could result
in failure to abort *all* axes
2022-07-22 18:48:47 -07:00
Petter Reinholdtsen
2cdad460c4 Made tests/motion/g0 more robust and got rid of race condition
Adjusted test.sh to make sure halsampler run until all instructions are sent
via port 5007 to linuxcncrsh.  Now wait for explicite process IDs of halsampler
and linuxcnc to make sure neither terminated before test is over.  Added more
checks in checkresults, and made sure it give more sensible error messages
if no acceleration is detected (instead of raising out of bound exceptions.
Replaced random sleep periods with code to wait for pins to signal startup,
homing and move is completed.
2022-07-22 11:20:24 +02:00
CMorley
55b163c161 qtvcp -istat: fix error when designer run because there is no real INI
qtplasmac check failed if there was no entry at all
2022-07-21 23:28:48 -07:00
c-morley
bc8b2f4cde
Merge pull request #1852 from phillc54/phillc54/axisui_hal_pins
AXIS: use separate comp for pyvcp panel
2022-07-21 22:01:34 -07:00
b4749c1d43
Merge remote-tracking branch 'weblate/master' 2022-07-21 20:57:14 -05:00
1aedc162b3
Merge pull request #1850 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-07-21 20:52:50 -05:00
Petter Reinholdtsen
008db7ddf2
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.5% (1231 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
Asle Næss
beafefb77f
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.5% (1231 of 3778 strings)

Co-authored-by: Asle Næss <aness@bofh.no>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
Petter Reinholdtsen
dd9eed0f97
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.5% (1231 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
Asle Næss
2856bde0be
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.5% (1229 of 3778 strings)

Co-authored-by: Asle Næss <aness@bofh.no>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
Petter Reinholdtsen
35393f4b3b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 32.5% (1229 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 30.1% (1139 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
whatawhiz
c60a96cb79
Translated using Weblate (Chinese (Simplified))
Currently translated at 89.5% (3385 of 3778 strings)

Co-authored-by: whatawhiz <pink0floyd@vip.qq.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/zh_Hans/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:38 +02:00
Juraj Adamkovic
6c0a1b7608
Translated using Weblate (Slovak)
Currently translated at 20.2% (766 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-07-22 03:52:37 +02:00
2b2ec2d0a5
Merge pull request #1851 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-07-21 20:52:29 -05:00
ddlu
7da0da6c25
Translated using Weblate (French)
Currently translated at 0.1% (16 of 29515 strings)

Co-authored-by: ddlu <lerdu.david@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-22 03:50:26 +02:00
Steffen Möller
960aeda5b0
Translated using Weblate (German)
Currently translated at 21.8% (6442 of 29515 strings)

Translated using Weblate (German)

Currently translated at 20.7% (6131 of 29515 strings)

Translated using Weblate (German)

Currently translated at 20.7% (6118 of 29515 strings)

Translated using Weblate (German)

Currently translated at 20.6% (6103 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-22 03:50:25 +02:00
eaf12fc4ad
Merge pull request #1848 from jepler/remove-autocopied-files
Have autogen.sh copy in some files
2022-07-21 20:49:53 -05:00
Steffen Moeller
0f32d7e728 Found another instance if signed ints <<-shifted
Also reacted to @Seb's comments in PR 1575.
2022-07-21 19:14:26 +02:00
Steffen Moeller
3c6b53396f int (also literals as it seems) are signed by default
These patches eliminate an error found by cppcheck:
src/hal/drivers/opto_ac5.c:432:13: error: Signed integer overflow for expression '1<<(31-i)'. [integerOverflow]
      mask=1<<(31-i);
2022-07-21 19:11:10 +02:00
ddlu
eec5def9aa
Translated using Weblate (French)
Currently translated at 0.1% (16 of 29515 strings)

Co-authored-by: ddlu <lerdu.david@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-21 14:11:27 +02:00
Steffen Möller
772dd77d46
Translated using Weblate (German)
Currently translated at 20.7% (6131 of 29515 strings)

Translated using Weblate (German)

Currently translated at 20.7% (6118 of 29515 strings)

Translated using Weblate (German)

Currently translated at 20.6% (6103 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-21 14:11:27 +02:00
c3e3e8b04a
Merge pull request #1855 from petterreinholdtsen/tests-g0-flag-errors
Make motion/g0/ test failures easier to spot using error: prefix
2022-07-21 07:11:23 -05:00
92f4da6b40
Merge pull request #1856 from petterreinholdtsen/doc-lang-hostmot2-nonquotes
Expand contractions in hostmot2(9) and fix roff formatting to quiet po4a
2022-07-21 07:10:53 -05:00
1bba685c3f
Merge pull request #1858 from petterreinholdtsen/src-halcmd-strlimcpy-len
Correct string length handling in strlimcpy in halcmd.c
2022-07-21 07:09:40 -05:00
c-morley
9d025fa4ff
Merge pull request #1854 from petterreinholdtsen/docs-fixme-not-foo
Replace place holder 'foo' in remap.doc with 'FIXME'.
2022-07-20 20:04:56 -07:00
ac4308e982
Use correct type
In the main branch, the type of these fields was updated from 'int'
to 'rtapi_intptr_t'. On 64-bit systems, this led to most HAL
operations crashing.
2022-07-20 22:02:34 -05:00
Sebastian Kuzminsky
7b2f70ee80
Merge pull request #1857 from petterreinholdtsen/code-nowarn-pth-setname
Print stderr message if pthread_setname_np() fail
2022-07-20 13:08:59 -06:00
Petter Reinholdtsen
9cb46a201a Correct string length handling in strlimcpy in halcmd.c
The strlen value is the string length, often fetched from strlen(),
which return the number of characters in the string, excluding the
terminal NUL character.  To have room to copy the string into *dest,
the *destspace available must be strlen+1, not strlen, to also have
room for the NUL at the end.  Setting NUL explicitly will not be
needed in the case srclen reflect the real length of str, but if srclen
is smaller than the real length of str, will will ensure the string
is always NUL terminated.  Pass *destspace instead of strlen+1 to
strncpy() ensure the actual target size limit is used no matter what
the content of srclen is.
2022-07-20 15:08:48 +02:00
Petter Reinholdtsen
f19e7d02eb Expand contractions in hostmot2(9) and fix roff formatting to quiet po4a
Expand contractions to make text easier to read.  Adjusted the
roff formatting to quiet down po4a.
2022-07-20 13:46:46 +02:00
Petter Reinholdtsen
19aefcc961 Print stderr message if pthread_setname_np() fail
This get rid of this compile time warning:

Compiling rtapi/uspace_rtapi_app.cc
rtapi/uspace_rtapi_app.cc: In function ‘void {anonymous}::set_namef(const char*, ...)’:
rtapi/uspace_rtapi_app.cc:107:9: warning: unused variable ‘res’ [-Wunused-variable]
  107 |     int res = pthread_setname_np(pthread_self(), buf);
      |         ^~~
2022-07-20 13:45:21 +02:00
Petter Reinholdtsen
2cb8f8faa5 Use double quotes consistently in hostmot2(9)
Use double quotes consistently instead of a mix of single and double
quotes.  Picked double over single quotes as it had most existing use.
2022-07-20 13:36:21 +02:00
Petter Reinholdtsen
6ad54b1954 Make motion/g0/ test failures easier to spot using error: prefix
This make  it easier to spot the problem when running it from the
github CI, as well as making it possible to search for 'error:'
in the test log.
2022-07-20 08:41:42 +02:00
Petter Reinholdtsen
0b3fc7132d Replace place holder 'foo' in remap.doc with 'FIXME'.
Inserted 'FIXME Write missing information' to flag where the
text need to be fixed or rewritten, similar to how FIXME
flags are used in the other adoc files.
2022-07-20 07:55:29 +02:00
Phillip Carter
973ecc32d8 qtplasmac: no need to inhibit jogging while probing 2022-07-20 14:30:58 +10:00
Sebastian Kuzminsky
4b1eee1a49
Merge pull request #1847 from jepler/redundant-submakefile-include
Fix duplicate listing of "emc" in list of subdirectories
2022-07-19 19:06:06 -06:00
Sebastian Kuzminsky
34e39caa54
Merge pull request #1849 from smoe/docs_stupid_simple_stuff
Docs stupid simple stuff
2022-07-19 18:33:49 -06:00
Phillip Carter
335d2ad233 AXIS: use separate comp for pyvcp panel
Currently if a .axisrc or USER_COMMAND_FILE is configured to add hal 
pins via user_hal_pins, then the pins are not accessible if a pyvcp 
panel is also configured.
2022-07-20 09:46:46 +10:00
Steffen Moeller
3a6bb1fd33 More changes performed while translating 2022-07-19 16:31:02 +02:00
0e0d2b6f3f
Have autogen.sh copy in some files
Debian policy calls for these files not to be duplicated. However, we
need to do it in a portable way (e.g., works on RPM-based systems so
/usr/share/misc/config.guess is not OK; does not touch network, so doing
curl/wget of the canonical config.guess file is not OK)

While there should be an obvious way to copy these files, there's .. not.
This is the best I could come up with, using files from automake without
actually invoking it.

While I did not actually BUILD on an rpm-based system, I checked the
content of the automake rpm of fedora 36 and it looks like it should work.

I'd rather avoid the new build-time dependency on automake, but
"automake --print-libdir" was the only 'portable' way I found to print
the location of a directory containing config.guess, config.sub and
install-sh.

Alternative to #1625
2022-07-19 08:55:55 -05:00
e398a8bd9e
Merge remote-tracking branch 'weblate/master' 2022-07-19 07:04:55 -05:00
3627d3d838
Fix duplicate listing of "emc" in list of subdirectories
This fixes the non-fatal build diagnostic
```
emc/Submakefile:4: warning: overriding recipe for target '../include/linuxcnc.h'
emc/Submakefile:4: warning: ignoring old recipe for target '../include/linuxcnc.h'
```
2022-07-18 21:49:41 -05:00
Ulices
7d3a18799c
Translated using Weblate (Spanish)
Currently translated at 95.0% (3590 of 3778 strings)

Co-authored-by: Ulices <dev.n47os@aleeas.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
Translation: LinuxCNC/LinuxCNC
2022-07-19 04:35:07 +02:00
Petter Reinholdtsen
722b897732
Translated using Weblate (Norwegian Bokmål)
Currently translated at 30.1% (1139 of 3778 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 30.1% (1139 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-19 04:35:06 +02:00
Juraj Adamkovic
595e58abfa
Translated using Weblate (Slovak)
Currently translated at 20.0% (756 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-07-19 04:35:06 +02:00
1ebfa4a2db
Merge pull request #1845 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-07-18 21:35:05 -05:00
f55b88bebf
Merge pull request #1846 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-07-18 21:34:54 -05:00
Steffen Möller
8b1fe71096
Translated using Weblate (German)
Currently translated at 19.7% (5825 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-19 02:30:15 +02:00
Steffen Möller
d8216a1562
Translated using Weblate (German)
Currently translated at 18.9% (5592 of 29515 strings)

Co-authored-by: Steffen Möller <smoesmoesmoe@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-19 02:30:14 +02:00
Steffen Möller
191e91c304
Translated using Weblate (German)
Currently translated at 18.9% (5592 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-19 02:30:13 +02:00
Petter Reinholdtsen
3b65473b37
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.8% (544 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.8% (540 of 29515 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-19 02:30:11 +02:00
Petter Reinholdtsen
ab6b36bca7
Translated using Weblate (Norwegian Bokmål)
Currently translated at 30.1% (1139 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-18 07:09:04 +02:00
Juraj Adamkovic
5b816e4d49
Translated using Weblate (Slovak)
Currently translated at 20.0% (756 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-07-18 07:09:04 +02:00
Greg Carl
ab57ce421d qtplasmac: a bit of housekeeping 2022-07-17 19:47:10 -04:00
e1175729d8
Merge pull request #1840 from petterreinholdtsen/test-g0-correct-progname
Get tests/motion/g0/test.sh working again
2022-07-17 06:45:51 -05:00
Steffen Moeller
6482e2cf4f Following Petter's defensive programming guidance 2022-07-17 11:13:06 +02:00
Steffen Moeller
c70dbc62f9 Introducing destructor to os_intf/inetnull.cc
Looked into this because of this error message, which is a false
positive that should be reported to cppcheck:

os_intf/inetnull.cc:45:5: error: Resource leak: fp [resourceLeak]
    return inet_file;
2022-07-17 11:13:06 +02:00
Phillip Carter
cc00ed6520 docs: fix broken links in plasma 2022-07-17 15:02:19 +10:00
Phillip Carter
bf6a8b2db5 qtplasmac: move options from ini file to prefs file 2022-07-17 13:21:35 +10:00
fc1f29bcaf
Merge pull request #1842 from TRothfelder/master
Gmoccapy: fix attribute error
2022-07-16 22:18:13 -05:00
CMorley
bd41efebca pncconf -fix GPOIO type for 7i96 - to not runtime selectable
There may be more like that - I just not sure.
2022-07-16 18:13:24 -07:00
Greg Carl
7a3c321bec qtvcp: change default logging level
Changed default logging level to WARNING to quiet the terminal. Added -i 
option to turn on info logging if necessary.
2022-07-16 20:08:14 -04:00
Petter Reinholdtsen
857b15e795 Switch github CI jobs to use po4a version 0.67.
Install using apt install to include any new dependencies.
2022-07-16 22:37:35 +02:00
Petter Reinholdtsen
0384f49266 Get tests/motion/g0/test.sh working again
Correct program name from emc to linuxcnc, axis names, python
code and comments for python 3.

Based in input from Jeff Epler.
2022-07-16 21:11:30 +02:00
Petter Reinholdtsen
c55caba668 No longer use eatmydata for github CI run tests
The output from eatmydata when failing to find its LD_PRELOAD library
in the chroot cause tests/motion/g0 to fail.
2022-07-16 21:11:30 +02:00
Petter Reinholdtsen
c9ad2ad594 Introduce runtest variable TEST_DIR pointing to the current test location.
The tests/motion/g0 test need to locate its ini file for inivar to find.
2022-07-16 21:11:12 +02:00
TRothfelder
a2e72b88fa
fix attribute error in gmoccapy
Better way of fixing the related attribute error.
2022-07-16 21:06:03 +02:00
TRothfelder
50cf1aef6b
Merge branch 'LinuxCNC:master' into master 2022-07-16 20:55:27 +02:00
7fe861da08
Merge pull request #1795 from petterreinholdtsen/logic-example
Add example and more info on parameter to logic(9) manual page.
2022-07-16 13:43:45 -05:00
3f6528c478
Merge pull request #1834 from petterreinholdtsen/po4a-indent-gstat
Indent second line of adoc dot list to quiet down po4a
2022-07-16 13:34:48 -05:00
8f8cccc9ab
Merge pull request #1833 from petterreinholdtsen/po4a-halcomple-rephrase
Rephrase halcomple man header to quiet down po4a
2022-07-16 13:34:27 -05:00
93bed70387
Merge pull request #1831 from petterreinholdtsen/make-dist-target
Introduce 'dist' make target to generate tarball ready to build
2022-07-16 13:33:52 -05:00
TRothfelder
507c66f7a4
Merge pull request #1 from TRothfelder/TRothfelder-gmoccapy-type-fix
gmoccapy: fix type error
2022-07-16 14:56:58 +02:00
TRothfelder
b624a31f34
gmoccapy: fix type error
elem is of type int and therefore has no method called upper
2022-07-16 14:54:25 +02:00
064e9638de
Merge pull request #1836 from petterreinholdtsen/deb-copyright-cc-by
Corrected debian/copyright CC license
2022-07-16 07:27:35 -05:00
8dfe670cca
Merge pull request #1841 from petterreinholdtsen/tests-skip-sudo-option
Added runtests option -u to skip test requiring sudo access
2022-07-16 07:23:18 -05:00
Petter Reinholdtsen
eeb1fc0f9f Added runtests option -u to skip test requiring sudo access
This make it easier for non-privileged users to run tests automatically.

The tests requiring sudo are flagged using a mechanism inspired by
the autopkgtest system in Debian, where a control file contain
information about the test.  All tests requiring sudo get a
'sudo' flag in the Restrictions field there.

Also add reporting on number of skipped tests at the end.
2022-07-16 09:43:34 +02:00
CMorley
0ccb307a0d qtvcp -qt5_graphics: allow magic comments notify to print to terminal
(PREVIEW,notify, some test) in gcode should print the text.
Most of the code was present but at the time I didn't inderstand
what the code was used for. Now it will print to the terminal.
It could be overriden in gcode_graphics.py to do something else,
thought I'm not sure what it is really useful for - debugging?
it only prints when the gcode is loaded.
2022-07-15 10:09:32 -07:00
Petter Reinholdtsen
4411b349c3 Corrected debian/copyright CC license
Correctly indented a line that was missing it. Also renamed it to
commonly used acronym CC-BY instead of just CC, and removed some
strange text fragment that was appended to the license text.  See
https://creativecommons.org/licenses/by/3.0/legalcode for the full
text where this fragment is not present.
2022-07-15 08:22:54 +02:00
CMorley
46309b1e38 qtdragon -docs: add preview control information 2022-07-14 21:52:48 -07:00
CMorley
e526c168de glcannon - allow 'PREVIEW' as a substitute for 'AXIS' in magic comments
A little more generic for other screens.
2022-07-14 21:52:48 -07:00
1e1e990977
Merge pull request #517 from jepler/test-515
Allow userspace components to include files relative to the location of the .comp file
2022-07-14 21:14:09 -05:00
Petter Reinholdtsen
5d787ca38c Update patch to the latest changes to master. 2022-07-15 00:21:42 +02:00
Jeff Epler
ae0b949d61 halcmd: improve user feedback when loading components
Now, when a component takes a long time to load, and other
components load in the meantime, a diagnostic is shown on
stderr of the form:
   While waiting for 'wrongname', component 'example' loaded.
   Did you specify the correct name via 'loadusr -Wn'?

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:03 +02:00
Jeff Epler
632fcbd3dd halcmd: convert halcmd_commands to C++
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
0702e669c4 halcmd: use SHMFIELD() for next-pointers
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
6803de1995 halcmd: const-correctness fixes
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
bd630e0a37 halcmd: Make headers usable from C++
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
cd95d06f55 hal_priv: Type-safe C++ for access to HAL shared memory area
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
02768240b3 halmodule: better check for HAL being initialized
.. the old check, SHMPTR(0), will become a compile error
soon since this file is C++ and 0 carries no type information.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:02 +02:00
Jeff Epler
7da442e490 hal_priv: reorder slightly
.. for the impending C++ definitions

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-15 00:02:01 +02:00
Jeff Epler
8ed906b0ed hal_priv: forward-declare these types
If SHMFIELD(t) will ever expand to a use of the type t,
it will have to be forward-declared.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-14 23:57:07 +02:00
Jeff Epler
aa2717412b hal_priv: Make it possible to forward-declare these structures
'typedef struct { ... } typedefame;' without a struct name
is impossible to forward-declare, so use
'typedef struct T {...} T;' consistently.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-14 23:56:58 +02:00
Jeff Epler
17de548005 hal_priv: Introduce, use SHMFIELD
Every field that is used with SHMPTR / SHMOFF should
be declared as SHMFIELD(actual_type).

Later, this will enable smarter type-checking when parts of
hal are converted to C++.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2022-07-14 23:55:55 +02:00
Petter Reinholdtsen
0adfbc4f8d Indent second line of adoc dot list to quiet down po4a
This avoid a message from po4a questioning if the line is really part of
the dot list above, even thought it is missing the recommended
indentation.  Also make the text sligthly more visually appealing.
2022-07-14 16:12:22 +02:00
CMorley
df13360ac2 qtvcp -entry_widget - add spacebar into keyboard
Jim (Persei from forum) noticed and fixed this oversight. Thanks!
2022-07-13 20:59:49 -07:00
Phillip Carter
d0d35cade1 qtplasmac_gcode use consistant file names 2022-07-14 10:42:12 +10:00
Sebastian Kuzminsky
0199d9ce25
Merge pull request #1821 from petterreinholdtsen/man-and2-formatting-etc
Corrected formatting of the and2(9) man page.  Also improved phrases.
2022-07-13 15:02:10 -06:00
Sebastian Kuzminsky
279ef8933d
Merge pull request #1823 from petterreinholdtsen/man-cross-correct-at-pid
Correct cross reference in at_pid(9) manual page.
2022-07-13 15:01:01 -06:00
Sebastian Kuzminsky
eaa60c811d
Merge pull request #1825 from petterreinholdtsen/build-threads-make-config
Correct build rules for threads component.
2022-07-13 15:00:40 -06:00
Sebastian Kuzminsky
0d36b0316c
Merge pull request #1826 from petterreinholdtsen/debian-copyright-typo
Fixed two typos in d/copyright.
2022-07-13 14:59:49 -06:00
Sebastian Kuzminsky
de052728f4
Merge pull request #1827 from petterreinholdtsen/docs-relative-links
Use relative links to sibling documents in all adoc files
2022-07-13 14:59:21 -06:00
Sebastian Kuzminsky
9c74bf19b5
Merge pull request #1829 from petterreinholdtsen/deb-drop-duplicate-recommend
Drop redundant recommended packages from QTVCP_DEPENDS
2022-07-13 14:58:11 -06:00
Steffen Möller
54ea3f523a Translated using Weblate (German)
Currently translated at 17.3% (5125 of 29515 strings)

Translated using Weblate (German)

Currently translated at 17.2% (5106 of 29515 strings)

Translated using Weblate (German)

Currently translated at 16.0% (4740 of 29515 strings)

Translated using Weblate (German)

Currently translated at 15.4% (4564 of 29515 strings)

Translated using Weblate (German)

Currently translated at 15.0% (4445 of 29515 strings)

Translated using Weblate (German)

Currently translated at 14.6% (4329 of 29515 strings)

Translated using Weblate (German)

Currently translated at 14.5% (4289 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-13 14:41:06 -06:00
Petter Reinholdtsen
b5b5512c3f Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.7% (508 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.7% (506 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.7% (505 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (476 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (476 of 29515 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-13 14:41:06 -06:00
Hosted Weblate
6c326810e5 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-13 14:41:06 -06:00
Asle Næss
b392b85821 Translated using Weblate (Norwegian Bokmål)
Currently translated at 30.0% (1136 of 3778 strings)

Co-authored-by: Asle Næss <aness@bofh.no>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-13 14:41:05 -06:00
Petter Reinholdtsen
fc46857055 Translated using Weblate (Norwegian Bokmål)
Currently translated at 65.3% (258 of 395 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 61.5% (243 of 395 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 30.0% (1136 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-07-13 14:41:05 -06:00
Petter Reinholdtsen
06f6f27e85 Rephrase halcomple man header to quiet down po4a
This avoid the message from po4a suggesting to translate the
source instead of the generated file, which is not an option in this
case as po4a do not support the hal component format.
2022-07-13 21:52:56 +02:00
497f13219b
Fix relative include in userspace comp 2022-07-13 09:23:21 -05:00
dc6325a9f2
Merge remote-tracking branch 'origin/master' into test-515 2022-07-13 09:18:58 -05:00
Petter Reinholdtsen
915538e5ce Use relative links to sibling adoc documents in all adoc files
Bring files gui/qtvcp-widgets.adoc, integrator/wiring.adoc and
docs/src/plasma/qtplasmac.adoc in line with the other .adoc
links to sibling documents.  Also fix incorrect references in
qtvcp-widgets.html and qtplasmac.adoc, which were not checked
when the links were to http(s) addresses.
2022-07-13 10:32:08 +02:00
Phillip Carter
5ccd22db54 qtplasmac: do not copy m190 if rip sim 2022-07-13 14:32:57 +10:00
c-morley
c94973b46d
Merge pull request #1824 from petterreinholdtsen/axis-ctrl-key
Make axis use key name Ctrl instead of Control for shortcut presentation
2022-07-12 21:26:51 -07:00
Petter Reinholdtsen
851a30fdd7 Introduce 'dist' make target to generate tarball ready to build
With this tarball, it should be possible to build and install
the source using "cd src; ./configure ; make; make install".
2022-07-13 05:32:49 +02:00
Petter Reinholdtsen
304eb8d842 Drop redundant recommended packages from QTVCP_DEPENDS
The debian/configure script insert a recommends on python3-numpy and
python3-xlib in the QTVCP_DEPENDS variable.  The packages are already
listead as depends in d/control.main-pkg.in. This make the two package
listings reduntant, and cause lintian to give a warning about the issue.
2022-07-13 03:55:09 +02:00
Petter Reinholdtsen
dff4dd610f Add example and more info on parameter to logic(9) manual page. 2022-07-13 03:41:28 +02:00
andypugh
ff41ce50ab
Merge pull request #1820 from petterreinholdtsen/comp-new-at-pid
New component at_pid based on original at_pid and pid components.
2022-07-12 23:33:48 +01:00
andypugh
32d22c62ad
Merge pull request #1816 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-07-12 23:31:46 +01:00
andypugh
6b01e741a6
Merge pull request #1815 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-07-12 23:31:02 +01:00
andypugh
63eb5c9cee Lathe Macros: Convert to GTK3, add new cycles and new artwork
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-07-12 23:12:24 +01:00
andypugh
80d399ddbd touchy: GTK3 no longer provides a way to send client messages - comment out
This was used to indicate to embedded tabs that they were active,
particularly useful where the tab could use hardware buttons to
cause effects.
In the future this might be brought back with straight X11 messaging.
In the interim the one tab set that used this (lathe macros) will try to
determine state from internal parameters

Signed-off-by: andypugh <andy@bodgesoc.org>
2022-07-12 23:09:15 +01:00
Petter Reinholdtsen
e5047a837b Fixed two typos in d/copyright. 2022-07-12 14:46:37 +02:00
Steffen Möller
eec80fa649
Translated using Weblate (German)
Currently translated at 16.0% (4740 of 29515 strings)

Translated using Weblate (German)

Currently translated at 15.4% (4564 of 29515 strings)

Translated using Weblate (German)

Currently translated at 15.0% (4445 of 29515 strings)

Translated using Weblate (German)

Currently translated at 14.6% (4329 of 29515 strings)

Translated using Weblate (German)

Currently translated at 14.5% (4289 of 29515 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-12 02:37:20 +02:00
Petter Reinholdtsen
fe309f5a38
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.7% (506 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.7% (505 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (476 of 29515 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 1.6% (476 of 29515 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-12 02:37:20 +02:00
Juraj Adamkovic
453a2235ce
Translated using Weblate (Slovak)
Currently translated at 0.1% (41 of 29515 strings)

Translated using Weblate (Slovak)

Currently translated at 0.1% (18 of 29515 strings)

Translated using Weblate (Slovak)

Currently translated at 0.1% (12 of 29515 strings)

Translated using Weblate (Slovak)

Currently translated at 0.1% (7 of 29515 strings)

Added translation using Weblate (Slovak)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/sk/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-12 02:37:19 +02:00
Hosted Weblate
3649680593
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-12 02:37:19 +02:00
Asle Næss
3251d71e6a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 30.0% (1136 of 3778 strings)

Co-authored-by: Asle Næss <aness@bofh.no>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-12 02:37:09 +02:00
Petter Reinholdtsen
8e43b2fe49
Translated using Weblate (Norwegian Bokmål)
Currently translated at 61.5% (243 of 395 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 30.0% (1136 of 3778 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-07-12 02:37:09 +02:00
Juraj Adamkovic
438332b0f8
Translated using Weblate (Slovak)
Currently translated at 16.6% (629 of 3778 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-07-12 02:37:09 +02:00
Hosted Weblate
6b791e8de0
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-07-12 02:37:09 +02:00
Phillip Carter
979139afba qtplasmac: make gcode filter more generic 2022-07-12 10:30:41 +10:00
Greg Carl
458d6689df qtvcp: mdi_line use halcmd for net command instead of halmodule
Increases functionality while decreasing confusion, bonus of more robust 
error messages.
2022-07-11 20:05:47 -04:00
Petter Reinholdtsen
5eaeba8289 Correct build rules for threads component.
Seem to have a cut-n-paste error, when compared to all other
components.
2022-07-12 01:01:40 +02:00
Petter Reinholdtsen
f7d78d3970 Make axis use key name Ctrl instead of Control for shortcut presentation
The user visible strings should use Ctrl as this is the lettering on
the keyboard.
2022-07-11 23:48:51 +02:00
Petter Reinholdtsen
23f5b65059 Renamed at_pidv2 component and manual page to at_pid. 2022-07-11 23:06:04 +02:00
Petter Reinholdtsen
646c668712 Removed original at_pid component. 2022-07-11 23:05:53 +02:00
Petter Reinholdtsen
d893f518bb New component at_pidv2 based on at_pid and pid components.
Started with a copy of pid.c, and copied relevant code from
at_pid.c and inserted it into relevant locations.  This way
at_pidv2 become compatible with the current pid component, and
those that want to test autotuning can insert it in-place
without modifying any pins and signals in their HAL files.

The original at_pid code was commited by Peter G. Vavaroutsos,
so insert his name as author and also copy the module name over.

Manual page at_pidv2(9) is based on pid(9) with the comment about
the auto-tuning code not being updated since 2011 added and the
relevant parts coped over from at_pid(9).

This module is tested and found to be giving not completely unusable
P, I and D values for horizontal movements.
2022-07-11 23:05:53 +02:00
Petter Reinholdtsen
ec91c44b8a Baseline for new at_pid implementation, copied pid.c and pid.9.
Copied from commit bab0790f26.
2022-07-11 23:04:48 +02:00
Petter Reinholdtsen
05034fa1a7 Corrected formatting of the and2(9) man page. Also improved phrases. 2022-07-11 17:54:30 +02:00
Petter Reinholdtsen
7d6e46cb89 Correct cross reference in at_pid(9) manual page. 2022-07-11 17:53:36 +02:00
Steffen Moeller
bb7ecf0460 More changes performed while translating 2022-07-11 11:23:52 +02:00
c-morley
074d46f1bf
Merge pull request #1814 from petterreinholdtsen/po4a-man-groff-code
Added po4a option for man pages to handle 18 more
2022-07-10 17:24:19 -07:00
Greg Carl
27589de72d hal_lib.c: fix error message typo 2022-07-10 19:24:48 -04:00
Steffen Moeller
377964ba0a docs: More translation-motivated changes 2022-07-11 00:50:21 +02:00
c-morley
792e764f9c
Merge pull request #1798 from dwrobel/Add-support-for-compiling-with-python3.11
Add support for compiling with python3.11
2022-07-10 14:54:05 -07:00
c-morley
e4cc1a85d1
Merge pull request #1800 from petterreinholdtsen/pid-ref-z-n
Add link to the source of the Ziegler-Nichols method in the PID tuning chapter
2022-07-10 14:46:48 -07:00
c-morley
b1cb169f95
Merge pull request #1808 from zz912/patch-4
LCNC 2.8 Gmoccapy - tooltip bug 2
2022-07-10 14:43:13 -07:00
CMorley
e79d9f491f pncconf -add rs274 startup code 2022-07-10 14:32:32 -07:00
CMorley
c27238baad docs -gcode: fix g94/g95 formatting 2022-07-10 14:24:54 -07:00
CMorley
5324e63caf pnccong -add rs274 startup code 2022-07-10 12:19:36 -07:00
c-morley
7fa26e27d9
Merge pull request #1801 from petterreinholdtsen/man-pid-calc
Extend pid(9) with explanation from pic.d source
2022-07-10 10:27:50 -07:00
c-morley
e550b7c1bc
Merge pull request #1804 from petterreinholdtsen/docs-po4a-weblate-readme
Update the instruction to translators to better match reality
2022-07-10 10:26:25 -07:00
c-morley
1f4d0e0e68
Merge pull request #1792 from petterreinholdtsen/no-more-qtvcp-only
Make statement about 'Qtvcp only' easier to understand in ini-config.adoc
2022-07-10 10:23:00 -07:00
c-morley
380fc598b7
Merge pull request #1802 from petterreinholdtsen/man-comp-at-pid-warning
Added comment to at_pid(9) about the status and incompatibility
2022-07-10 10:22:21 -07:00
c-morley
4e4fa7c9ff
Merge pull request #1799 from petterreinholdtsen/hal-comp-ddt-man
Add description, note and author for the ddt HAL component.
2022-07-10 10:21:42 -07:00
c-morley
93a5d1fa64
Merge pull request #1818 from petterreinholdtsen/doc-man-cross
Add cross references between bit logic and pid related man pages
2022-07-10 10:20:57 -07:00
c-morley
fe0cebeab1
Merge pull request #1817 from petterreinholdtsen/docs-gcode-typos
Made gcode.html more consistent and removed a spurious ')'.
2022-07-10 10:20:25 -07:00
c-morley
4abc99fdf5
Merge pull request #1805 from PetteriAimonen/master
halui.axis.L.pos-relative: Fix misleading documentation
2022-07-10 10:12:43 -07:00
c-morley
f5473a9675
Merge pull request #1803 from zz912/patch-1
Add tooltips
2022-07-10 10:06:37 -07:00
Petter Reinholdtsen
5b440208ce Add cross references between bit logic and pid related man pages
Link between and2, logic, lut5, not and xor2, as well as at_pid
and pid.
2022-07-10 11:20:09 +02:00
Petter Reinholdtsen
f2a7f043de Made gcode.html more consistent and removed a spurious ')'. 2022-07-10 08:54:35 +02:00
andypugh
299b799926 po: Updated docs .po and .pot files
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-07-09 22:37:38 +01:00
Petter Reinholdtsen
7b6c72a195 Added po4a option for man pages to handle 18 more.
Based on feedback from the po4a author, adding options
groff_code=translate inline=URL and untranslated=FF,FU.
2022-07-09 22:55:28 +02:00
andypugh
d1b91295ef po: Updated .po and .pot files
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-07-09 16:36:46 +01:00
andypugh
5c39012cc1
Merge pull request #1791 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-07-09 16:12:07 +01:00
Davide Cerati
43f1d55ce7
Added translation using Weblate (Italian)
Co-authored-by: Davide Cerati <davide.cerati6@gmail.com>
2022-07-09 16:05:34 +02:00
Petter Reinholdtsen
6e071e735d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.9% (271 of 29213 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 0.8% (258 of 29213 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 0.8% (256 of 29213 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 0.8% (237 of 29213 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 0.7% (231 of 29213 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-09 16:05:34 +02:00
Александр Макарчук
00083877e9
Translated using Weblate (Russian)
Currently translated at 0.1% (11 of 29213 strings)

Added translation using Weblate (Russian)

Co-authored-by: Александр Макарчук <mr.makarchuk.aleksandr@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/ru/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-09 16:05:34 +02:00
Steffen Möller
84eae5a401
Translated using Weblate (German)
Currently translated at 15.6% (4440 of 28344 strings)

Translated using Weblate (German)

Currently translated at 15.6% (4423 of 28344 strings)

Translated using Weblate (German)

Currently translated at 15.4% (4389 of 28344 strings)

Translated using Weblate (German)

Currently translated at 15.4% (4385 of 28344 strings)

Translated using Weblate (German)

Currently translated at 15.3% (4352 of 28344 strings)

Translated using Weblate (German)

Currently translated at 14.8% (4209 of 28344 strings)

Translated using Weblate (French)

Currently translated at 0.1% (4 of 29213 strings)

Translated using Weblate (German)

Currently translated at 14.6% (4149 of 28344 strings)

Translated using Weblate (German)

Currently translated at 14.1% (4008 of 28344 strings)

Translated using Weblate (German)

Currently translated at 14.1% (3997 of 28344 strings)

Translated using Weblate (German)

Currently translated at 13.9% (3945 of 28344 strings)

Translated using Weblate (German)

Currently translated at 13.8% (3929 of 28344 strings)

Translated using Weblate (German)

Currently translated at 13.6% (3867 of 28344 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-09 16:05:34 +02:00
andypugh
803777f004
Merge pull request #1778 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-07-09 15:05:28 +01:00
Trần Ngọc Quân
0ea68111fe
Translated using Weblate (Vietnamese)
Currently translated at 55.6% (2105 of 3780 strings)

Co-authored-by: Trần Ngọc Quân <vnwildman@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/vi/
Translation: LinuxCNC/LinuxCNC
2022-07-09 15:51:26 +02:00
4d68391894
Translated using Weblate (Chinese (Simplified))
Currently translated at 89.5% (3385 of 3780 strings)

Co-authored-by: Jeff Epler <jepler@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/zh_Hans/
Translation: LinuxCNC/LinuxCNC
2022-07-09 15:51:25 +02:00
whatawhiz
ac905a7ea2
Translated using Weblate (Chinese (Simplified))
Currently translated at 98.7% (386 of 391 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 89.5% (3385 of 3780 strings)

Co-authored-by: whatawhiz <pink0floyd@vip.qq.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/zh_Hans/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/zh_Hans/
Translation: LinuxCNC/LinuxCNC
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-07-09 15:51:25 +02:00
Petter Reinholdtsen
896d4a9532
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.6% (1082 of 3780 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
Translation: LinuxCNC/LinuxCNC
2022-07-09 15:51:25 +02:00
Steffen Möller
02c88ed75e
Translated using Weblate (German)
Currently translated at 99.7% (390 of 391 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
Translation: LinuxCNC/LinuxCNC/Gmocappy
2022-07-09 15:51:25 +02:00
Michael Stellmacher
37f2954f96
Translated using Weblate (German)
Currently translated at 99.4% (3761 of 3780 strings)

Co-authored-by: Michael Stellmacher <michaelst78@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
Translation: LinuxCNC/LinuxCNC
2022-07-09 15:51:25 +02:00
Juraj Adamkovic
a59d982d15
Translated using Weblate (Slovak)
Currently translated at 15.8% (598 of 3780 strings)

Translated using Weblate (Russian)

Currently translated at 68.2% (2579 of 3780 strings)

Translated using Weblate (Slovak)

Currently translated at 13.8% (522 of 3780 strings)

Translated using Weblate (Slovak)

Currently translated at 9.4% (358 of 3780 strings)

Translated using Weblate (Slovak)

Currently translated at 9.3% (352 of 3780 strings)

Co-authored-by: Juraj Adamkovic <stroje.hcnc@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
Translation: LinuxCNC/LinuxCNC
2022-07-09 15:51:25 +02:00
Greg Carl
fd3437c612 qtvcp: add "unlinkp" and "net" commands to mdi_line widget 2022-07-09 09:50:56 -04:00
andypugh
c1609e470c
Merge pull request #1812 from petterreinholdtsen/docs-po4a-xhtml-text
Correct po4a parsing of HTML and Python files
2022-07-09 11:31:51 +01:00
Petter Reinholdtsen
329da2cc7f Correct parsing of HTML and Python files
The po4a.cfg rules to parse the HTML and Python files were set to
parse the files as manual pages by mistake.  Corrected this in po4a.cfg,
as well as converted the parsed HTML files to XHTML for more reliable
parsing, as the po4a parser is targeted at XHTML.

This make it easier to translate the HTML and Python files, and
require the POT file to be regenerated.
2022-07-09 10:51:45 +02:00
Greg Carl
7f259df1e0 qtplasmac: conv_line: fix start point 2022-07-08 21:55:59 -04:00
Greg Carl
1301fb1303 qtplasmac: update to make use of new motion.jog-stop pin 2022-07-08 21:54:33 -04:00
Greg Carl
cfd70bfd26 motion: modify jog-inhibit. Add jog-stop and jog-stop-immediate
jog-inhibit now solely inhibits a jog from starting if True.
jog-stop will abort an active jog following associated acceleration 
values if True.
jog-stop-immediate will abort an active jog immediately (this may result 
in joint following errors) if True.
2022-07-08 21:51:10 -04:00
Sebastian Kuzminsky
b9d1e531f5
Merge pull request #1811 from petterreinholdtsen/docs-readme-linuxcnc
Avoid space in LinuxCNC.
2022-07-08 13:12:34 -06:00
Petter Reinholdtsen
252514a518 Avoid space in LinuxCNC. 2022-07-08 15:43:22 +02:00
c-morley
d007148de0
Merge pull request #1807 from zz912/patch-3
LCNC 2.9 - PNCconf bug - bad arrow
2022-07-07 21:03:35 -07:00
c-morley
fe2d80e2d4
Merge pull request #1806 from zz912/patch-2
LCNC 2.8 - PNCconf bug - bad arrow
2022-07-07 21:03:24 -07:00
Rene Hopf
214d07af70
Merge pull request #1809 from zz912/patch-5
LCNC 2.8 - Gmoccapy - Correcting typos
2022-07-07 22:47:44 +02:00
zz912
96e802f3a7
LCNC 2.8 - Gmoccapy - Correcting typos 2022-07-07 22:07:42 +02:00
zz912
a060336995
LCNC 2.8 Gmoccapy - tooltip bug
Mr. Hans found bug, which was causing the Tooltip to malfunction.
cc1ba520d7

I found other same bug.
https://forum.linuxcnc.org/gmoccapy/46206-translate-tooltip-home-button-dont-work?start=0#246203
2022-07-07 21:52:56 +02:00
zz912
ac50f3b1e6
LCNC 2.9 - PNCconf bug - bad arrow
https://forum.linuxcnc.org/39-pncconf/46316-linuxcnc-2-8-pncconf-bug-bad-arrow
2022-07-07 21:21:38 +02:00
jethornton
85749b800b
Merge pull request #1797 from petterreinholdtsen/halcompile-examples
Add 'examples' declaration to halcompile and start using it.
2022-07-07 13:00:57 -05:00
zz912
312519c714
PNCconf bug - bad arrow
https://forum.linuxcnc.org/39-pncconf/46316-linuxcnc-2-8-pncconf-bug-bad-arrow
2022-07-07 16:51:48 +02:00
Petteri Aimonen
e01779657d halui.axis.L.pos-relative: Fix misleading documentation 2022-07-07 14:59:55 +03:00
Petter Reinholdtsen
d7a13bf65e Update the instruction to translators to better match reality
The po4a details are handled by the build system now, and we use
Weblate for translation, so no need to describe how to call
po4a manually.
2022-07-07 08:01:55 +02:00
Greg Carl
a5153f7dd8 docs: halmodule document missing function 2022-07-06 21:36:14 -04:00
zz912
8e72fa2ce9
Add tooltips
In English, these tooltips are not important. However, I am doing a translation into Czech and they would be useful there.
2022-07-06 21:36:07 +02:00
Petter Reinholdtsen
b93ae060ee Added comment to at_pid(9) about the status and incompatibility
The at_pid component have seen no development since 2011, and
is no longer compatible with the pid component.
2022-07-06 20:13:44 +02:00
Greg Carl
eeed984504 qtplasmac: fix rfl selection behavior (take 2) 2022-07-05 21:32:03 -04:00
Greg Carl
6712e58ae9 qtplasmac: fix rfl selection behavior 2022-07-05 21:04:47 -04:00
Petter Reinholdtsen
6198f94ca6 Extend pid(9) with explanation from pic.d source
Now explain the calculation done by the pid controller and how
each factor contribute to the total.
2022-07-06 00:33:23 +02:00
Sebastian Kuzminsky
1afc3652de Revert "packaging: version the build-dependency on po4a >= 0.66"
This reverts commit 2e60f9e77b.
2022-07-05 14:39:14 -06:00
Greg Carl
8b6b465bcc qtplasmac: fix jog-inhibit error message 2022-07-05 16:04:15 -04:00
Sebastian Kuzminsky
2e60f9e77b packaging: version the build-dependency on po4a >= 0.66
0.66 is currently available in unstable and bookworm (testing).  Bullseye
(stable) has 0.62, and that fails with our asciidoc documentation.
Buster (oldstable) has 0.55.

I've rebuilt unstable's 0.66 for bullseye and buster and put the debs
in our apt archive at wlo.
2022-07-04 22:40:39 -06:00
Petter Reinholdtsen
f67991c3ef Add link to the source of the Ziegler-Nichols method in the PID tuning chapter. 2022-07-05 05:32:52 +02:00
Petter Reinholdtsen
bec8c062c5 Add description, note and author for the ddt HAL component.
Based on the current implementation.
2022-07-05 04:33:14 +02:00
CMorley
806c2fe6dd docs -g-code: add the amount of retract in g73 and g83 2022-07-04 18:14:19 -07:00
Petter Reinholdtsen
a676b99dfb Make statement about 'Qtvcp only' easier to understand in ini-config.adoc.
For the casual reader, the original appear to refer to some unknown
acronym.  Making the statement a complete sentece make it easier to
understand.
2022-07-04 23:58:32 +02:00
Damian Wrobel
d3631f6d1e Add support for compiling with python3.11
Fixes build error on Fedora:
 checking for python build information...
 checking for python3.10... no
 checking for python3.9... no
 checking for python3.8... no
 checking for python3.7... no
 checking for python3.6... no
 checking for python3.5... no
 checking for python3.4... no
 checking for python3.3... no
 checking for python3.2... no
 checking for python3.1... no
 checking for python3.0... no
 checking for python2.7... no
 checking for python2.6... no
 checking for python2.5... no
 checking for python2.4... no
 checking for python2.3... no
 checking for python2.2... no
 checking for python2.1... no
 checking for python... no
   results of the Python check:
     Binary:      no
     Library:     no
     Include Dir: no
 checking for ... no
 checking for python... no
 configure: error: Cannot find python in your system path

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-07-04 22:15:22 +02:00
Petter Reinholdtsen
8f439ce464 Add 'examples declaration to halcompile and start using it.
Several HAL components already have examples, but these are not
placed in standardized manual page sections.  Adjust layout of
eoffset_per_angle.comp, moveoff.comp and ohmic.comp.

Also update component documentation to mention this new declaration.
2022-07-04 22:04:26 +02:00
Sebastian Kuzminsky
bbbe84b541 docs: avoid using adoc syntax that's incompatible with po4a 0.66 2022-07-04 12:50:11 -06:00
Sebastian Kuzminsky
d36be38ada
Merge pull request #1796 from smoe/docs_stupid_simple_stuff
More translation-triggered changes
2022-07-04 08:55:12 -06:00
c-morley
131202304b
Merge pull request #1793 from brycedjohnson/master
tool_probe_m6 fix wrong param for emccanon.GET_EXTERNAL_POSITION_X()
2022-07-04 05:42:48 -07:00
Steffen Moeller
c9c80be3b4 More changes performed while translating 2022-07-04 13:31:09 +02:00
Steffen Moeller
7e8bdc1b30 More changes performed while translating 2022-07-04 13:31:09 +02:00
Phillip Carter
0cd9804f78 qtplasmac: add paused time to statistics 2022-07-04 13:19:38 +10:00
Bryce Johnson
464208be87 tool_probe_m6 fix wrong param
for emccanon.GET_EXTERNAL_POSITION_X()
2022-07-03 16:58:53 -06:00
CMorley
45a17c1551 qtaxis: invrease size of coolant buttons 2022-07-03 09:53:18 -07:00
CMorley
366a4ba492 qtvcp -fix axis labels in camview panel 2022-07-03 09:50:52 -07:00
CMorley
ead0ff05da qtvcp -make sure the Desogner default settings are overriden
By default slider only go to 99 -rapid rate needs to go to 100 pervecnt
2022-07-03 09:28:14 -07:00
CMorley
228dc1a794 qtaxis -fix miss named widget error when using lathe config 2022-07-02 15:01:12 -07:00
CMorley
c1bb302f7b qtaxis -fix feedoverride label is always 100% 2022-07-02 15:01:12 -07:00
c-morley
cab2fa7b9c
Merge pull request #1787 from jepler/fix-pncconf-warning
Fix weird message
2022-07-02 11:04:46 -07:00
5b9490e6a3
Merge pull request #1780 from petterreinholdtsen/lat-hist-desktop
Make latency-histogram available as Linux menu entry
2022-07-02 10:41:04 -05:00
9d4a176c68
Merge pull request #1786 from petterreinholdtsen/man-io-consistent-dedup
Improve io(1) and iov2(1) manual pages
2022-07-02 10:40:41 -05:00
8a16f27460
Fix weird message
I noticed this because a translation update gave an error due to a
mismatched final newline.

I was not able to determine a reason to have the trailing newline
or the trailing full stop, so I removed them.
2022-07-02 09:56:21 -05:00
b60a335c95
Merge pull request #1784 from smoe/docs_stupid_simple_stuff
docs: More changes triggered while translating
2022-07-02 09:44:35 -05:00
94fd7d8ace
Merge pull request #1782 from samcoinc/samcoinc-patch-1
Update lathe_g70_71_demo.ngc
2022-07-02 09:43:43 -05:00
57ff7ce07a
Merge pull request #1779 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-07-02 09:43:13 -05:00
Petter Reinholdtsen
319f60b1da Improve io(1) and iov2(1) manual pages
Remove duplicate entries under "Additional IO v2 pins" in iov2
and add missing periods at the end of sentences in both io(1) and iov2(1)
to make sure the identical strings stay the same to save translators
duplicate work.
2022-07-02 15:22:56 +02:00
Petter Reinholdtsen
357a8e6038
Translated using Weblate (Turkish)
Currently translated at 0.1% (1 of 29213 strings)

Translated using Weblate (French)

Currently translated at 0.1% (3 of 29213 strings)

Translated using Weblate (Spanish)

Currently translated at 0.1% (5 of 29213 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/tr/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:35 +02:00
Steffen Möller
b7d3d3ef7f
Translated using Weblate (German)
Currently translated at 12.2% (3477 of 28344 strings)

Translated using Weblate (German)

Currently translated at 10.2% (2896 of 28344 strings)

Translated using Weblate (German)

Currently translated at 9.5% (2697 of 28344 strings)

Translated using Weblate (German)

Currently translated at 8.8% (2502 of 28344 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:35 +02:00
Hakan Kaner
cf5f4916df
Added translation using Weblate (Turkish)
Co-authored-by: Hakan Kaner <hlmknbr@gmail.com>
2022-07-02 08:26:34 +02:00
Michael Stellmacher
b6a17c319a
Translated using Weblate (German)
Currently translated at 8.1% (2322 of 28344 strings)

Co-authored-by: Michael Stellmacher <michaelst78@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:34 +02:00
Hosted Weblate
cffac9a99d
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:34 +02:00
Petter Reinholdtsen
794a95287b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.5% (152 of 25450 strings)

Co-authored-by: Petter Reinholdtsen <pere-weblate@hungry.com>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:33 +02:00
Steffen Möller
c8e44cf468
Translated using Weblate (German)
Currently translated at 8.1% (2318 of 28344 strings)

Translated using Weblate (German)

Currently translated at 8.5% (2464 of 28662 strings)

Co-authored-by: Steffen Möller <steffen_moeller@gmx.de>
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
Translation: LinuxCNC/LinuxCNC Documentation
2022-07-02 08:26:33 +02:00
CMorley
3ca43adb1d qtdragon -little code cleanup 2022-07-01 23:23:34 -07:00
CMorley
8594003dc1 qtdragon_hd -use focus effect blur
can be overridden in stylesheets
2022-07-01 23:23:34 -07:00
CMorley
eda74426f8 qtdragon_hd -add links to docs and local filw on HTML page 2022-07-01 23:23:34 -07:00
CMorley
28e898dcfb qtdragon_hd -add a button to save a camview image 2022-07-01 23:23:33 -07:00
CMorley
b78bba7b1e qtdragon_hd -add a PDF page rather then use system PDF viewer 2022-07-01 23:23:33 -07:00
CMorley
2fd174feab qtdragon_hd -update ngcgui tab and statusbar colors
bring in work done to qtdragon:
-warp NGCgui frame to where the gcde frame is.
-add statusbar style colors for warning levels
2022-07-01 23:23:33 -07:00
CMorley
1b3a1eca42 qtvcp -ngcgui library: allow frame to be bigger if warped to another layout 2022-07-01 23:23:33 -07:00
Phillip Carter
da6b8a367f qtplasmac: move statistics calculations to component 2022-07-02 15:17:36 +10:00
c-morley
e51ff6e353
Merge pull request #1783 from d2inventory/patch-1
Fix soft limit calculation when using G43.1
2022-07-01 20:16:55 -07:00
Greg Carl
159588df24 qtplasmac: add preference to allow Z+ to override jog inhibit 2022-07-01 15:33:58 -04:00
Greg Carl
7ab7e8d5a3 qtplasmac: fix "show last five" and "clear all" for error messages 2022-07-01 15:29:34 -04:00
Steffen Moeller
4bb0d47f1a More changes triggered while translating. 2022-07-01 21:21:47 +02:00
d2inventory
f8e2576a81
Fix soft limit calculation when using G43.1
As discussed in this forum thread:
https://forum.linuxcnc.org/20-g-code/44244-g43-1-dynamic-tool-length-measurement-program-exceeds-machine-maximum-on-axis?start=10#227198

When using G43.1 Tool Length Offset, Axis will wrongly display a warning about exceeding the soft limits.
This PR adds the tool offset to the limits calculation so this warning wont be displayed anymore if not needed (It still will if it actually exceeds the limit).
2022-07-01 13:19:29 +02:00
Phillip Carter
bfb09e7a79 qtplasmac: fix permissions and python version 2022-07-01 12:48:00 +10:00
Phillip Carter
c6c7190301 qtplasmac: code tidy and version fix 2022-07-01 11:37:30 +10:00
Phillip Carter
43d572385f qtplasmac: fix missing files from /bin 2022-07-01 10:31:48 +10:00
samcoinc
12e4eeada3
Update lathe_g70_71_demo.ngc
Because of order of operations - the F word was set before the units change.  Putting Feed rate on the next line fixed it.
2022-06-30 10:17:49 -05:00
CMorley
92094b65db qtdragon -fix hiding of File selection page after loading a program 2022-06-29 22:22:31 -07:00
Steffen Moeller
3bf8d57ad5 More changes performed while translating 2022-06-29 14:27:56 +02:00
Petter Reinholdtsen
b1324cdd3b Make latency-histogram available as Linux menu entry
This provide a XDG menu entry for latency-histogram alongside the
latency-test program

Solves Debian bug #1013911.
2022-06-29 11:38:52 +02:00
Phillip Carter
6f2685df3e qtplasmac: remove link creation from migration tool 2022-06-29 16:40:18 +10:00
CMorley
b0c39e3e5d interpeter: allow full paths with o words and remaps
You can use the full path including having '~' expanded to the user path.

This should be useful with GUI code writing, we can search paths easier,
and just specify the path directly when calling the Oword.

Might also help new users to get a fully functioning cample config.
When switching from RIP to installed the paths usually get jumbled.
This means we could really use a link in USER/linuxcnc/ to all the sample code.

One remaining problem is if you give an incorrect path in MDI, it is not caught and
hangs milltask. I'm not sure of the MDI command process yet.
2022-06-28 23:17:11 -07:00
Phillip Carter
81e9385f12 qtplasmac: fix version info 2022-06-29 15:32:43 +10:00
Phillip Carter
5262cd0ffe qtplasmac: remove link in config directory 2022-06-29 15:23:33 +10:00
andypugh
935ec22312 carousel.comp: Add a slow latching phase for carousels with inertia
that overshoot. Update Vismach config to demonstrate.


Signed-off-by: andypugh <andy@bodgesoc.org>
2022-06-27 22:54:04 +01:00
Hans Unzner
4e72febbdc docs: update documentation.pot 2022-06-27 17:12:20 +02:00
ff1d947638
Merge pull request #1753 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-06-27 08:07:04 -05:00
d8a46a7f56
Merge pull request #1777 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-06-27 08:06:53 -05:00
Steffen Möller
c87d154531
Translated using Weblate (German)
Currently translated at 8.3% (2388 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-27 13:30:34 +02:00
Petter Reinholdtsen
fb6b9e47cc
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.6% (169 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-27 13:30:27 +02:00
Hans U
88abef79a5
Translated using Weblate (Hungarian)
Currently translated at 86.1% (337 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2022-06-27 08:42:43 +02:00
Ambr Enzs
6209e859ed
Translated using Weblate (Hungarian)
Currently translated at 86.1% (337 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2022-06-27 08:42:43 +02:00
Ambr Enzs
e035a6b5aa
Translated using Weblate (Hungarian)
Currently translated at 29.0% (1098 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2022-06-27 08:42:43 +02:00
Ulices
1f6ff8f379
Translated using Weblate (Spanish)
Currently translated at 94.7% (3582 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2022-06-27 08:42:43 +02:00
nicolas
1b811aa6db
Translated using Weblate (French)
Currently translated at 74.5% (2818 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2022-06-27 08:42:43 +02:00
nicolas
bb65512dcc
Translated using Weblate (French)
Currently translated at 73.7% (2786 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2022-06-27 08:42:43 +02:00
Steffen Möller
c145d4809b
Translated using Weblate (German)
Currently translated at 99.4% (3759 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:43 +02:00
NhanPham
d4814bd8a2
Translated using Weblate (Vietnamese)
Currently translated at 55.6% (2103 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/vi/
2022-06-27 08:42:43 +02:00
Petter Reinholdtsen
de6b25c520
Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.1% (243 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-06-27 08:42:43 +02:00
Ulices
d233998bea
Translated using Weblate (Spanish)
Currently translated at 100.0% (391 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/es/
2022-06-27 08:42:43 +02:00
Ulices
c0566266cb
Translated using Weblate (Spanish)
Currently translated at 94.7% (3582 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2022-06-27 08:42:42 +02:00
Hans U
3b3c05a95b
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
6cbfc8de55
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
92b3227501
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
02045b8fd6
Translated using Weblate (German)
Currently translated at 99.4% (389 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-06-27 08:42:42 +02:00
Steffen Möller
8a062b9f39
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
3891dc15dc
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
aad48706bc
Translated using Weblate (German)
Currently translated at 99.4% (389 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-06-27 08:42:42 +02:00
Hans U
1213e03bbf
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
1195685b0f
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Petter Reinholdtsen
375fdb495d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.5% (1080 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-27 08:42:42 +02:00
Hans U
07a41bde77
Translated using Weblate (German)
Currently translated at 99.3% (3756 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Steffen Möller
8d52ec3854
Translated using Weblate (German)
Currently translated at 99.3% (3756 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Steffen Möller
15e987e726
Translated using Weblate (German)
Currently translated at 99.3% (3756 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:42 +02:00
Hans U
0df86fa6e9
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:41 +02:00
Steffen Möller
9293df4b6a
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:41 +02:00
Billy Soto
bc9eed2a69
Translated using Weblate (Spanish)
Currently translated at 94.7% (3580 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2022-06-27 08:42:41 +02:00
Petter Reinholdtsen
3095fff708
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.5% (1079 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-27 08:42:41 +02:00
Steffen Möller
f545d0732c
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-27 08:42:41 +02:00
Petter Reinholdtsen
7bff460825
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.4% (1074 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-27 08:42:41 +02:00
Steffen Möller
b6540736a1
Translated using Weblate (German)
Currently translated at 99.4% (389 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-06-27 08:42:41 +02:00
CMorley
f28349e933 Revert "interpeter: allow full paths with o words and remaps"
This reverts commit f036526acc.
It broke Fanuc subs - more work needed
2022-06-26 23:41:40 -07:00
CMorley
f036526acc interpeter: allow full paths with o words and remaps
You can use the full path including having '~' expanded to the user path.

This should be useful with GUI code writing, we can search paths easier,
and just specify the path directly when calling the Oword.

Might also help new users to get a fully functioning cample config.
When switching from RIP to installed the paths usually get jumbled.
This means we could really use a link in USER/linuxcnc/ to all the sample code.

One remaining problem is if you give an incorrect path in MDI, it is not caught and
hangs milltask. I'm not sure of the MDI command process yet.
2022-06-26 20:31:41 -07:00
CMorley
edb91db899 qtdragon -add blur when dialogs are open 2022-06-26 19:42:47 -07:00
CMorley
c541105241 qtaxis: add blur effect when dialogs are shown 2022-06-26 19:36:06 -07:00
CMorley
20aefd03ca hal module -add moree debug constants 2022-06-26 19:33:57 -07:00
CMorley
37e4ab2d5c qtvcp -screenoptions: add blur/tint on focus options 2022-06-26 19:32:05 -07:00
CMorley
807dd2185c qtvcp -dialogs: fix overlay not beng removed when file loaded 2022-06-26 19:15:44 -07:00
CMorley
98de858b3e qtvcp -qt_actions: add window effects 2022-06-26 19:14:44 -07:00
CMorley
fde74d1dd8 qtvcp -toolbar_action: fix missed name changes 2022-06-26 13:50:12 -07:00
CMorley
5e6a2a4205 qtvcp -try to stop seg faukts on exit
according to the pyqt docs this should do it - and it did seem to.
It forces a particular sequence of object destrunction.
https://docs.huihoo.com/pyqt/PyQt5/gotchas.html
2022-06-26 13:50:03 -07:00
CMorley
a8141520ce nc_files -on_abort.ngc: add abort reasons
now it doesn't react when you estop/machine on/off
2022-06-26 13:04:28 -07:00
CMorley
f7f458f58f docs -remap: add info about on_abort.ngc/abort reasons 2022-06-26 13:01:51 -07:00
CMorley
64a756cbef qtvcp -qt_action: allow estop function to use linuxcnc constants
originally functions used bool, now either.
added set_debug_level() function
2022-06-26 12:58:36 -07:00
CMorley
1b917befcd hal_glib -add linuxcnc state constants 2022-06-26 12:57:41 -07:00
CMorley
38d276f789 qtvcp -action_button: make estop follow linuxcnc E-state
originally the button followed it's pressed state, which could get
out of sync with linuxcnc's E state, if external estop loop was used
2022-06-26 12:54:37 -07:00
CMorley
ab395e98c2 qtvcp -toolbar_action: make estop button follow E-state
originally the button followed it's pressed state, which could get
out of sync with linuxcnc's estate if external estop loop was used.
2022-06-26 12:52:48 -07:00
CMorley
745cfc2b97 qtvc -docs: add test_led panel details 2022-06-25 12:32:56 -07:00
CMorley
34d97d19db qtvcp -test_led: option to start with multiple LEDs with -o 2022-06-25 12:32:56 -07:00
CMorley
ed281aee52 qtvcp -hal_selection: expand the tree view by default 2022-06-25 12:32:56 -07:00
Sebastian Kuzminsky
98a847899e
Merge pull request #1775 from LinuxCNC/use-tkpng
Switch to libtk-img to tkpng
2022-06-25 13:19:43 -06:00
Hans
a5ee9f8f35
Merge pull request #1776 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-06-25 18:56:29 +02:00
Hosted Weblate
3d438ba5f3
Merge remote-tracking branch 'origin/master' 2022-06-25 18:31:30 +02:00
Hans
4364d12c00
Merge pull request #1761 from weblate/weblate-linuxcnc-linuxcnc-docs
Translations update from Hosted Weblate
2022-06-25 18:03:26 +02:00
d21d9fdb95
Switch to built-in png loader
Since tk8.6 the ability to load png files has been built in, so libtk-img
(or tkpng) is not needed at all.
2022-06-25 09:05:12 -05:00
Hans U
1ca12943aa Translated using Weblate (German)
Currently translated at 6.8% (1965 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 11:05:21 +02:00
Steffen Möller
6ec2d09978 Translated using Weblate (German)
Currently translated at 6.8% (1965 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 11:05:46 +02:00
Hans U
a03789db73 Translated using Weblate (Vietnamese)
Currently translated at 0.1% (18 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/vi/
2022-06-25 11:05:21 +02:00
NhanPham
391aee9c86 Translated using Weblate (Vietnamese)
Currently translated at 0.1% (18 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/vi/
2022-06-25 11:05:21 +02:00
大宝剑
81f31040f5 Translated using Weblate (Chinese (Simplified))
Currently translated at 0.1% (6 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/zh_Hans/
2022-06-25 11:05:21 +02:00
Petter Reinholdtsen
d7dc6f5fea Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.5% (166 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 11:05:21 +02:00
Billy Soto
f29d5302d4 Translated using Weblate (Spanish)
Currently translated at 0.1% (4 of 11035 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
2022-06-25 11:05:21 +02:00
Steffen Möller
11bab70d39 Translated using Weblate (French)
Currently translated at 0.1% (2 of 8408 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
2022-06-25 11:05:21 +02:00
Steffen Möller
ccc8a67ff0 Translated using Weblate (German)
Currently translated at 5.1% (1465 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 11:05:33 +02:00
Matthias
3da529999d Translated using Weblate (German)
Currently translated at 1.3% (381 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 11:05:21 +02:00
Steffen Möller
9e537560d1 Translated using Weblate (German)
Currently translated at 1.0% (306 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 11:05:22 +02:00
Hans U
91c514df02
Translated using Weblate (German)
Currently translated at 6.8% (1965 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:47 +02:00
Steffen Möller
b3d40c0495
Translated using Weblate (German)
Currently translated at 6.8% (1965 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:47 +02:00
Steffen Möller
9c01dd3d32
Translated using Weblate (German)
Currently translated at 6.6% (1903 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:46 +02:00
Steffen Möller
e324d689fc
Translated using Weblate (German)
Currently translated at 6.6% (1900 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:46 +02:00
Steffen Möller
1a43920bf7
Translated using Weblate (German)
Currently translated at 6.3% (1826 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:46 +02:00
Steffen Möller
4433c94a72
Translated using Weblate (German)
Currently translated at 6.3% (1807 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:46 +02:00
Hans U
9243a24530
Translated using Weblate (Vietnamese)
Currently translated at 0.1% (18 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/vi/
2022-06-25 10:33:46 +02:00
Steffen Möller
535a5f7bb2
Translated using Weblate (German)
Currently translated at 5.9% (1701 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:46 +02:00
Steffen Möller
829b26efc2
Translated using Weblate (German)
Currently translated at 5.8% (1673 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:45 +02:00
Steffen Möller
3291f2bca2
Translated using Weblate (German)
Currently translated at 5.2% (1514 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:45 +02:00
NhanPham
7e98769f44
Translated using Weblate (Vietnamese)
Currently translated at 0.1% (18 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/vi/
2022-06-25 10:33:45 +02:00
Steffen Möller
310a5d8b81
Translated using Weblate (German)
Currently translated at 5.1% (1489 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:45 +02:00
Steffen Möller
8d48b8808e
Translated using Weblate (German)
Currently translated at 5.1% (1476 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:45 +02:00
大宝剑
d51cc8d74e
Translated using Weblate (Chinese (Simplified))
Currently translated at 0.1% (6 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/zh_Hans/
2022-06-25 10:33:45 +02:00
Steffen Möller
34f87c648d
Translated using Weblate (German)
Currently translated at 5.1% (1465 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:45 +02:00
Hans U
4034481e8a
Translated using Weblate (German)
Currently translated at 5.1% (1465 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Hans U
b077ddc2df
Translated using Weblate (German)
Currently translated at 4.9% (1421 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Hans U
ad6a370c6c
Translated using Weblate (German)
Currently translated at 4.9% (1421 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Steffen Möller
1533e3bac0
Translated using Weblate (German)
Currently translated at 4.9% (1421 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Steffen Möller
f8b8f2e81f
Translated using Weblate (German)
Currently translated at 4.2% (1230 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Steffen Möller
066785ce84
Translated using Weblate (German)
Currently translated at 4.2% (1215 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Steffen Möller
6c8886faaf
Translated using Weblate (German)
Currently translated at 4.2% (1214 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:44 +02:00
Steffen Möller
ca4e9656d0
Translated using Weblate (German)
Currently translated at 3.7% (1078 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:43 +02:00
Hans U
f4393f6d70
Translated using Weblate (German)
Currently translated at 3.7% (1078 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:43 +02:00
Hans U
cec7d9c751
Translated using Weblate (German)
Currently translated at 3.6% (1043 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:43 +02:00
Steffen Möller
15e9d46aaf
Translated using Weblate (German)
Currently translated at 3.6% (1041 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:43 +02:00
Petter Reinholdtsen
57dd045554
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.5% (166 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:43 +02:00
Petter Reinholdtsen
6a5c9b6cfb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.5% (156 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:43 +02:00
Hans U
990f9c5749
Translated using Weblate (German)
Currently translated at 3.5% (1017 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:43 +02:00
Steffen Möller
6ef246c92a
Translated using Weblate (German)
Currently translated at 3.5% (1017 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Steffen Möller
8a4d34fc4c
Translated using Weblate (German)
Currently translated at 3.5% (1007 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Steffen Möller
d8f5e3d9c2
Translated using Weblate (German)
Currently translated at 3.4% (976 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Petter Reinholdtsen
36f93c796d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.5% (152 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:42 +02:00
Steffen Möller
11126e28f5
Translated using Weblate (German)
Currently translated at 3.2% (942 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Hans U
0777daa481
Translated using Weblate (German)
Currently translated at 3.0% (883 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Steffen Möller
bdacdad81c
Translated using Weblate (German)
Currently translated at 3.0% (883 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:42 +02:00
Steffen Möller
2f96555a74
Translated using Weblate (German)
Currently translated at 2.5% (744 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:41 +02:00
Billy Soto
c93804c542
Translated using Weblate (Spanish)
Currently translated at 0.1% (4 of 11035 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/es/
2022-06-25 10:33:41 +02:00
Steffen Möller
cdc7038118
Translated using Weblate (German)
Currently translated at 2.4% (711 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:41 +02:00
Petter Reinholdtsen
8a00c0a237
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.4% (136 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:41 +02:00
Steffen Möller
c52fb5d079
Translated using Weblate (German)
Currently translated at 2.3% (667 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:41 +02:00
Steffen Möller
6a4dc9a94b
Translated using Weblate (German)
Currently translated at 2.2% (657 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:41 +02:00
Steffen Möller
b0714fceb7
Translated using Weblate (German)
Currently translated at 2.2% (651 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:41 +02:00
Steffen Möller
27e70c82c7
Translated using Weblate (German)
Currently translated at 1.8% (516 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:40 +02:00
Petter Reinholdtsen
c0a28d42da
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.4% (132 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:40 +02:00
Petter Reinholdtsen
91c3bb1be0
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.4% (129 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:40 +02:00
Petter Reinholdtsen
ae743704ed
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.4% (125 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:40 +02:00
Steffen Möller
8d67ca4b33
Translated using Weblate (German)
Currently translated at 1.3% (381 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:40 +02:00
Matthias
50681bb51b
Translated using Weblate (German)
Currently translated at 1.3% (381 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:40 +02:00
Steffen Möller
9bdfc4355a
Translated using Weblate (German)
Currently translated at 1.0% (306 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:40 +02:00
Steffen Möller
716362df19
Translated using Weblate (German)
Currently translated at 0.9% (279 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:40 +02:00
Steffen Möller
a4666d0463
Translated using Weblate (French)
Currently translated at 0.1% (2 of 8408 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/fr/
2022-06-25 10:33:39 +02:00
Steffen Möller
12f5bd4684
Translated using Weblate (German)
Currently translated at 0.7% (210 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:39 +02:00
Petter Reinholdtsen
2720b35fee
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.3% (90 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:39 +02:00
Steffen Möller
f93eae2844
Translated using Weblate (German)
Currently translated at 0.5% (145 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:39 +02:00
Petter Reinholdtsen
5aa1f9bea1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.2% (84 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:39 +02:00
Steffen Möller
65f38e0868
Translated using Weblate (German)
Currently translated at 0.3% (92 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:39 +02:00
Steffen Möller
46e7c9cb11
Translated using Weblate (German)
Currently translated at 0.2% (61 of 28662 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/de/
2022-06-25 10:33:39 +02:00
Petter Reinholdtsen
f1f9177082
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.2% (78 of 28118 strings)

Translation: LinuxCNC/LinuxCNC Documentation
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc-docs/nb_NO/
2022-06-25 10:33:39 +02:00
Steffen Möller
c815beecb1
Added translation using Weblate (German) 2022-06-25 10:33:38 +02:00
Hans
d005e3f026
Merge pull request #1774 from smoe/docs_stupid_simple_stuff
Docs stupid simple stuff
2022-06-25 10:33:29 +02:00
Phillip Carter
2423f5c2e3 qtplasmac: change rs274 startup to code instead of subroutine 2022-06-25 12:04:31 +10:00
CMorley
6becd95c72 docs -halmodule: update about get_info methods 2022-06-24 18:18:22 -07:00
CMorley
56914b345b qtvcp -test_led: add panel for visual and audio cues 2022-06-24 18:16:29 -07:00
CMorley
0223aa501d qtvcp -test_dial: use new HAL_selection pin options 2022-06-24 18:14:46 -07:00
CMorley
e6042dcdd2 qtvcp -hal_selectionbox: add a tree view
one can also limit types shown in combobox
2022-06-24 18:13:19 -07:00
CMorley
71c95c74ab hal module -get_info metods: switch from strings to constants
less human readable but more useful programming wise.
added Param diection too
2022-06-24 18:01:08 -07:00
Steffen Möller
635d43c52c
Update docs/src/config/ini-config.adoc
Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-25 02:22:40 +02:00
Steffen Möller
77fa078e1f
Update docs/src/config/ini-config.adoc - ->
Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-25 02:22:10 +02:00
Steffen Möller
215d828946
Update docs/src/config/ini-config.adoc .hal -> HAL
Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-25 02:21:39 +02:00
Steffen Moeller
a67cf6ec4f More changes spotted during translation in src/config 2022-06-24 19:20:13 +02:00
Steffen Moeller
e1b59a6bcf More changes in docs triggered by translations 2022-06-24 19:20:13 +02:00
Hans Unzner
fc49ac84c7 Merge branch '2.8' into 'master' 2022-06-24 14:03:07 +02:00
Hans Unzner
33a366cac1 gmoccapy/de.po: fix wrong strings 2022-06-24 13:46:30 +02:00
Hans Unzner
cc1ba520d7 gmoccapy: fix translation strings of some tooltips 2022-06-24 12:53:55 +02:00
Greg Carl
1c078a235d qtplasmac: fix typo 2022-06-23 15:47:05 -04:00
CMorley
d3d1bd3f29 qtvcp -QHal: work around duplicate pins
sometimes you want multiple pins from a base name.
such as multiple test panels.
This should probably selectable behaivor - some times you want it to fail outright.
2022-06-22 20:54:30 -07:00
CMorley
bc03c72c55 hal/halmodule -add unready command
in some cases ones wants to add pins after a component is ready.
Now you can 'unready' a component and add pins.
Dont forget to 'ready' it after
2022-06-22 20:54:30 -07:00
Phillip Carter
f390bdfb3c qtplasmac: inhibit puddle jump when in cut recovery mode 2022-06-23 13:38:29 +10:00
Greg Carl
4b176b2dc7 docs: qtplasmac updates 2022-06-21 20:32:24 -04:00
Greg Carl
3c954bc9de
Merge pull request #1669 from phillc54/phillc54/circle
fix for full circle interpretation
2022-06-21 19:48:29 -04:00
Greg Carl
11ea50e565 docs: qtplasmac more syntax changes 2022-06-21 18:20:47 -04:00
Hans Unzner
3ef2b4653b improved ngc.lang for GtkSourceview 2022-06-21 18:21:36 +02:00
Hans Unzner
63f94586b3 gmoccapy: fixed iconview/full screen bug (#1543)
Clicking a mode button when in the file chooser or edit mode results in undefined behaviour.
Solution: Disabled mode buttons in these modes.
2022-06-21 17:14:01 +02:00
Hans Unzner
7ed2998350 gmoccapy: added setting for height of on-screen keyboard
- Onboard keyboard has now always the same height
- Height is adjustable
- It allows the box_info/ntb_info to be smaller if this box is replaced by custom content
- Positioned search bar above on-screen keyboard
2022-06-21 17:09:24 +02:00
d131c80ebe
Merge pull request #1700 from smoe/debian/build_indep
Debian uses -A and -B flags to decide if dpkg-buildpackages builds docs
2022-06-21 07:50:35 +02:00
Greg Carl
e2c8542f80 docs: qtplasmac add missing syntax highlighting 2022-06-20 19:38:16 -04:00
Hans Unzner
56a4bb7f1e docs: syntax highlighting in g-code.adoc
regex find all source code blocks: ^----.*\n(\n|.)*?----.*
2022-06-20 15:56:21 +02:00
Hans Unzner
564183299a docs: optimized ngc.lang for docs 2022-06-20 15:55:00 +02:00
Hans Unzner
1218d9b5af gmoccapy: added Gtk.Paned for upper main area
This allows adjusting of the ratio between the gremlin view and the panel to the right (jogging, MDI, or G-code). This adjustment isn't saved. It is more intended to view a G-code that doesn't fit the line width.
2022-06-20 14:16:40 +02:00
Steffen Moeller
1acd2d40d3 Futher weakening of constraints in configure.ac 2022-06-20 12:27:41 +02:00
Steffen Moeller
5105e2508a Allow for dpkg-buildpackage -A/-B selective builds 2022-06-20 12:27:41 +02:00
Steffen Moeller
61b9929eb3 Preparing for building arch-dep and indep separately 2022-06-20 12:27:41 +02:00
Hans Unzner
1f5d00f24f docs: more syntax highlighting for INI 2022-06-19 22:23:51 +02:00
Hans Unzner
f30bfbf6e7 docs: added syntax highlighting for G-code 2022-06-19 22:23:51 +02:00
Hans Unzner
5d67faf6fc docs: more syntax highlighting for HAL 2022-06-19 22:23:51 +02:00
Hans Unzner
55b83165f7 docs: change font of AsciiDoc source code blocks 2022-06-19 11:28:29 +02:00
Hans Unzner
8bd081af22 docs: further syntax highlighting for hal code
regex: ^([^\[]|)\n----\n(?=loadrt.*)
--> loadusr, addf, net, set, # and so on
2022-06-18 21:24:00 +02:00
Hans Unzner
bc401a84a4 docs: started adding syntax hightlighting for hal code
Found with ^([^\[]|)\n----\n
2022-06-18 16:12:18 +02:00
Hans Unzner
fdbc8363c7 docs: added some other syntax hightlighting
Found with ^([^\[]|)\n----\n
2022-06-18 16:12:13 +02:00
Hans Unzner
20f78b6765 docs: add syntax highlighting for ini code
With help of
replace regex ^(?!\[.*$).*\n----\n\[DISPLAY
by \n[source,{ini}]\n----\n[DISPLAY

and search by ^(?!\[.*$).*\n----\n\[(\n|.)*?----
2022-06-18 16:12:06 +02:00
Hans Unzner
3edc15a237 docs: fixed comments for syntax highlighting 2022-06-18 16:12:02 +02:00
CMorley
9b31d7d4ff qtaxis: add images and a resource file for the images 2022-06-17 23:38:58 -07:00
CMorley
1ec141bc28 qtdragon -fix formatting error in docs 2022-06-17 19:34:19 -07:00
CMorley
c44f08d7c5 qtdragon -fix docs about auto_probe_tool 2022-06-17 15:09:51 -07:00
CMorley
ef02f902b6 qtdragon_hd -fix checkbutton image path 2022-06-17 15:09:44 -07:00
CMorley
45ba161af0 qtdragon -allow gcode.setup and camera during auto mode
refactored the stacked widget adjustment code in process
2022-06-17 15:09:34 -07:00
CMorley
27caf6bd6a hal_glib -add useful mode and message constants
easier to reference them that way
2022-06-17 15:09:24 -07:00
Hans
e1ee2375f6
Merge pull request #1771 from smoe/docs_stupid_simple_stuff
More changes to docs triggered during translations.
2022-06-17 13:44:10 +02:00
Steffen Moeller
ef224d60df Changes to documentation while translating. 2022-06-17 11:59:16 +02:00
Phillip Carter
ebbbfe201b qtplasmac: set new enable_dro switch 2022-06-17 17:58:58 +10:00
CMorley
26a5bedde0 glcanon -allow all ui's to hide the on screen DRO
Moved the disable code down into glcanon
2022-06-16 23:23:58 -07:00
CMorley
9c1406d435 qtvcp -fix Makefile to include robot vismach files.
Also simplify by using TREE to walk the directories rather then
specifing each one.
2022-06-16 22:06:52 -07:00
CMorley
1793fa015f qtdragon -fix missing checkbox images in argentium style 2022-06-16 22:06:52 -07:00
CMorley
21b7dba0f7 qtvcp -camview widget: fix error on older versions of CV library
Debian 10 had an older version of CV. Now we fall back to old
function signature
2022-06-16 22:06:52 -07:00
CMorley
8276aaac77 Qtvcp -add sample PDF file to Makefile so package maker finds it
RIP worked, installed systems never got it.
2022-06-16 22:06:52 -07:00
Phillip Carter
5fe78834d0 qtplasmac: treat blank conversational entries as zero 2022-06-17 13:41:56 +10:00
andypugh
301981d212 Merge branch '2.8' 2022-06-16 22:13:03 +01:00
andypugh
55a548ea39
Merge pull request #1765 from elovalvo/patch-1
Update cpu_info.c for Raspberry revision 1.5
2022-06-16 17:27:53 +01:00
Hans Unzner
8552a63f82 docs: removed duplicated link to Gscreen + some minor changes 2022-06-16 11:21:13 +02:00
Hans Unzner
1ce1972bf7 gmoccapy: change strings in settings page 2022-06-16 09:07:34 +02:00
Hans Unzner
576368b469 gmoccapy: don't expand DRO
This allows a more compact DRO when a smaller font size is chosen.
2022-06-16 08:51:55 +02:00
Hans Unzner
1a9308f9b7 docs: updated gmoccapy EMBED_TAB locations 2022-06-16 08:51:34 +02:00
Hans Unzner
8d9d9cbdc5 gmoccapy: added some EMBED_TAB locations
Added following locations:
- "box_code_info"
- "box_tool_info"
- "hbox_jog"
2022-06-15 20:46:41 +02:00
Hans Unzner
2297844fd1 gmoccapy: fixed setting "mouse button mode"
This setting was gone while migrating to Gtk3
2022-06-15 20:45:02 +02:00
Hans Unzner
d1529110e0 gmoccapy: restore user tab when leaving settings page
When entering the settings page out of a user tab, this user tab is restored when leaving the settings page.
2022-06-15 20:44:03 +02:00
Hans Unzner
4a568114d3 gmoccapy: restore mode when leaving settings page
When in the setttings page, the mode is always switched to manual mode.
Before this change, the mode was always Manual Mode when leaving the
settings page.
This change remembers the mode and switch back to the previous one.
2022-06-15 20:42:07 +02:00
Hans Unzner
69cf700baf combi_dro: fixed toggling of systems (Rel->DTG->Abs)
Fixes following:
- Didn't show the reference coordinate system on start-up and on change
- Labels/colors/values didn't match when switching the mode
  State before was:
  labels: Rel   -> DTG   -> G54    -> Abs   -> DTG   -> G54
  values: <G54> -> <Abs> -> <DTG>  -> <G54> -> <Abs> -> <DTG>
  colors: black -> blue  -> yellow -> black -> blue  -> yellow
2022-06-15 20:38:12 +02:00
elovalvo
a9d6ab45d8
Update cpu_info.c for Raspberry revision 1.5
Update cpu_info.c for Raspberry revision 1.5
2022-06-15 15:59:38 +02:00
CMorley
3bbfd0017e qtvcp -gcode_utilities: fix calculation of facing area 2022-06-14 19:51:07 -07:00
Greg Carl
e3d3fa1a0d
Merge pull request #1764 from havardAasen/patch-1
packaging: Fix build with no-docs
2022-06-14 17:42:41 -04:00
Håvard
fbcd39da03
packaging: Fix build with no-docs
This line becomes empty when we build with no-docs, and triggers the syntax
error. The added comma will fix this.

Introduced here 183ce12975 when Build-Depends-Indep
and @DOC_DEPENDS@ was split into two separate lines.
2022-06-14 21:29:38 +02:00
Sebastian Kuzminsky
097218d8ca docs: fix a small typo in hostmot2 manpage 2022-06-14 12:10:02 +02:00
Phillip Carter
dad594f190 qtplasmac: fix IHS skip in component 2022-06-14 15:19:45 +10:00
Greg Carl
bb952c2034 qtvcp: make logging messages more cohesive. 2022-06-13 20:32:09 -04:00
CMorley
9096a53a75 qtvcp -docs: add test_dial 2022-06-12 20:41:57 -07:00
CMorley
b80eff7150 gladevcp-libraries docs -fix typo 2022-06-12 08:18:47 -07:00
CMorley
11fa495de6 configs -axis/gladevcp: fix sample ui/handler files
ui needed to be updated to GLADE 3
handler has core libraries added to prove they work
2022-06-11 23:55:21 -07:00
CMorley
4772b687c0 gladevcp -add access to Hal, Info, and Action libraries
action python button has restricted acess to code.
add these options
2022-06-11 23:52:01 -07:00
CMorley
b23e9442f0 gladevcp -docs: add pages for gladevcp libraries 2022-06-11 23:52:01 -07:00
Sebastian Kuzminsky
5389430ce5 temporary: remove broken links to non-existent translated index.html
The index.tmpl is translated, but the translated .tmpl files are not
being turned into .html files.
2022-06-12 01:35:35 +02:00
Sebastian Kuzminsky
348a76a17d docs build: time po4a with /usr/bin/time if available, but don't fail if it's not available
It's informative to get run-time information for slow stuff like po4a,
but i don't want to make it a build dependency.

Both bash and dash have builtin `time`, but neither reports the process
it ran, so they're not as useful as the GNU time program (from time.deb).
2022-06-12 01:35:35 +02:00
Sebastian Kuzminsky
6f5412f7c3 docs build: make po4a a little more verbose, so buildbot doesn't give up on it
It takes po4a around an hour to make documentation.pot on the slow
buildbot workers, and normally it does this job without producing any
output.  This makes the buildbot time out and assume the job is hung,
and it kills it and fails the build.

This commit adds -v to po4a's and msgmerge's command lines, which causes
them to emit a bit of progress information along the way.  This is enough
to convince the buildbot that those processes are not hung.
2022-06-12 01:35:34 +02:00
CMorley
80239b4983 qtvcp -test_dial panel: add a signal selection combobox
only show signals that are not already driven by pins
2022-06-11 16:10:39 -07:00
CMorley
d1b029f6fb qtvcp -add a HAL signal selection combobox widget 2022-06-11 16:10:39 -07:00
CMorley
e2c4f2fe3a qtvcp -add get_full_pinname function to basewidget class 2022-06-11 16:10:39 -07:00
CMorley
346e74ef5d halmodule -add TYPE to get_info_sigs/pins 2022-06-11 16:10:39 -07:00
CMorley
3ef413c611 halmodule -add disconnect method
now you can disconnect signals from pins
2022-06-11 16:10:39 -07:00
CMorley
dd7a4cdb60 halmodule -fix get_info_signals DRIVER attribute
supposed to find the driving pin of the signal, if available.
Was absolutely broken
2022-06-11 16:10:39 -07:00
Hans
d619cfb256
Merge pull request #1760 from LinuxCNC/add-disable-po4a-option
Add option to disable building translated docs
2022-06-11 22:36:36 +02:00
Hans Unzner
de31feb066 docs: added option to disable building translated docs 2022-06-11 15:17:12 +02:00
Hans Unzner
e761e7ba16 Fixed typos in submakefile 2022-06-11 14:49:50 +02:00
Steffen Moeller
a52adffe97 More changes during translation. 2022-06-11 12:57:40 +02:00
Hans
2f4c774fcd
Merge pull request #1759 from smoe/docs_stupid_simple_stuff
Changes to documentation that came up while translating.
2022-06-11 09:12:42 +02:00
CMorley
f9b1168d46 qtvcp -add test_dial panel
small single panel for controling a scaleable float/s32 with
a dial
2022-06-10 22:29:20 -07:00
CMorley
35c7898595 qtaxis -fix annoying, too large spindle bar
would sometime overlay on top of the graphics
2022-06-10 22:27:18 -07:00
CMorley
18d15335c0 qtvcp -simple_widgets: fix dial HAL output, update scaled label
With a dial that didn't wrapp, the maximuim count would output zero.
change rich text font in a function - for future use.
2022-06-10 22:24:04 -07:00
CMorley
7c6be08cb2 qtvcp -hallabel: base widget on scaled label instead of qlabel 2022-06-10 22:07:02 -07:00
CMorley
8f0ba566a9 qtvcp -don't give up id component name exists.
may need dyblicate panels - test panels for instance.
tried to continue by adding a number to the component
name. ipto name_24
2022-06-10 22:02:58 -07:00
CMorley
8da3ed4f04 qtvcp -test_panel: add more dial range options 2022-06-10 14:22:10 -07:00
Hans Unzner
2a98b4962f docs: fixed example in tutorial
'debounce' is maybe not the best example as it requires an
additional argument (e.g. 'loadrt debounce cfg=2,3'), so
switched to another component.
2022-06-10 22:32:36 +02:00
Steffen Moeller
be265f2729 Series of smallish changes spotted during translations. 2022-06-10 21:47:07 +02:00
Sebastian Kuzminsky
22ef15cdba build system: make sure make's sh is bash
This fixes the somewhat confusing error message from make:

    make: command: Command not found

By default make uses /bin/sh to run $(shell) commands, but on my buster
machine that's dash, not bash.  dash does not have the bash-builtin
command `command`.

This commit makes explicit the requirement to use bash.
2022-06-10 05:20:39 -06:00
Hans
05a22d2c08
Merge pull request #1758 from petterreinholdtsen/po4a-more-man
Enable translations for more manual pages
2022-06-09 18:14:01 +02:00
Petter Reinholdtsen
e7f312f6be Enable translations for more manual pages
Some manual pages uses roff macros and other features not handled by
po4a.  Make more manual pages translatable by removing the use of such
macros where it is trivial to do.
2022-06-08 20:15:14 +02:00
andypugh
fa5c3a11df carousel: Add counts mode for stepper / encoder
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-06-08 00:50:29 +01:00
Sebastian Kuzminsky
41817c7ec8 docs: add indentation to fix an asciidoc warning 2022-06-07 15:34:39 -06:00
Peter Wallace
b7673fc886 Add reset feature to inm,inmux MPG encoder counters 2022-06-06 20:22:49 -07:00
Hans
1ddf94b8c2
Merge pull request #1757 from petterreinholdtsen/docs-readme-dots
Add two missing trailing dots where they are missing.
2022-06-06 11:50:14 +02:00
Hans
5d73165ca4
Merge pull request #1756 from petterreinholdtsen/po4a-readme
Mention po4a.cfg in section about adding new files.
2022-06-06 11:01:59 +02:00
Petter Reinholdtsen
b6059cfa2c Add two missing trailing dots where they are missing. 2022-06-06 10:02:00 +02:00
Hans
90c9a01584
Merge pull request #1755 from petterreinholdtsen/po4a-html-links
Only link to HTML translations when they exist
2022-06-06 10:00:00 +02:00
Petter Reinholdtsen
2b27218700 Mention po4a.cfg in section about adding new files. 2022-06-06 09:27:40 +02:00
Petter Reinholdtsen
cf9b675110 Only link to HTML translations when they exist
Adjusted index.html template to only include links to translated
editions when translations are generated.  This avoid broken
links in the English HTML when po4a is not found.
2022-06-06 07:49:25 +02:00
Phillip Carter
bd16057698 qtplasmac: fix conversational circle offset error 2022-06-06 11:23:12 +10:00
Greg Carl
59d3296057 qtplasmac: show material overlay when offset label (_offsets) is shown 2022-06-05 11:54:12 -04:00
Greg Carl
5f3ec08e60
Merge pull request #1754 from petterreinholdtsen/po4a-optional
Make po4a use optional.
2022-06-05 06:38:07 -04:00
Petter Reinholdtsen
780cb10516 Make po4a use optional.
Also only check for po4a when documentation is enabled.
2022-06-05 10:23:12 +02:00
CMorley
1a40551274 motion -fix 'spindle on' HAL pin folowing speed rather then state
code got changed in a refactoring for spindle INI settings
spindle_on reflects state + if spindle scale is/isn't 0
spindle_speed reflects s code request times spindle scale

Still some strangenous after abort vrs m5 f0r setting Spindle spped pin.
S code should always set spindle speed pin but doesn't until m3/m4 has benn
issued at least once.
2022-06-03 21:03:20 -07:00
CMorley
1091d9b412 qtvcp -docs: add fanuc robot info, fix mouse control description 2022-06-03 13:45:57 -07:00
Hans
763e80702d
Merge pull request #1739 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-06-03 21:21:03 +02:00
Hans U
c6441cc299
Translated using Weblate (German)
Currently translated at 99.3% (3757 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-03 17:21:33 +02:00
Asle Næss
05cd46a5cb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.3% (1073 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:33 +02:00
Petter Reinholdtsen
116b996a6c
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.3% (1073 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:33 +02:00
Petter Reinholdtsen
8b127adbe1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 61.8% (242 of 391 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-06-03 17:21:32 +02:00
Steffen Möller
aafc9b79ff
Translated using Weblate (German)
Currently translated at 99.2% (3751 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-06-03 17:21:32 +02:00
Asle Næss
d32f2b2f5e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.3% (1071 of 3780 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:32 +02:00
Hosted Weblate
00c551221a
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
2022-06-03 17:21:32 +02:00
Hosted Weblate
aad3e96042
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/
2022-06-03 17:21:32 +02:00
Petter Reinholdtsen
469ed821a8
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.3% (1070 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:32 +02:00
Asle Næss
a538b5aa72
Translated using Weblate (Norwegian Bokmål)
Currently translated at 28.3% (1069 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:32 +02:00
Asle Næss
b8180b4785
Translated using Weblate (Norwegian Bokmål)
Currently translated at 26.1% (987 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
0febe530fb
Translated using Weblate (Norwegian Bokmål)
Currently translated at 23.0% (869 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
37d6b6194f
Translated using Weblate (Norwegian Bokmål)
Currently translated at 60.6% (236 of 389 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
da9bd46dd1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.1% (685 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
620b1fe0da
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.0% (682 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Petter Reinholdtsen
25b26c3da1
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.0% (681 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
559d4f945d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.0% (681 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
9fd8c35591
Translated using Weblate (Norwegian Bokmål)
Currently translated at 18.0% (680 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:31 +02:00
Asle Næss
41c544931e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 16.7% (632 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:30 +02:00
Petter Reinholdtsen
dd6d0d557d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 7.4% (280 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:30 +02:00
Juraj Adamkovic
daae291214
Translated using Weblate (Slovak)
Currently translated at 7.7% (291 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sk/
2022-06-03 17:21:30 +02:00
Asle Næss
d420091352
Translated using Weblate (Norwegian Bokmål)
Currently translated at 7.4% (280 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-06-03 17:21:30 +02:00
Hans
9d89615c78
Merge pull request #1713 from LinuxCNC/docs-devel
This adds translation of the documentation by po4a
2022-06-03 17:21:20 +02:00
Jérémie Tarot
884e2da5f8 docs: docs-devel rebase to master fixes
authored by Hans Unzner <hansunzner@gmail.com>
2022-06-03 15:26:38 +02:00
Hans Unzner
26a185ad92 docs: corrected docs caused by merging/rebasing 2022-06-03 15:26:38 +02:00
Hans Unzner
3072c20896 docs: add generated docs to gitignore 2022-06-03 15:26:38 +02:00
Hans
18d26c55c1 docs: remove external image 2022-06-03 15:26:38 +02:00
Benson Muite
22f0aa9fb8 Format fix
Use ASCIIDOC format as specified at https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#images and https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#links

Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-03 15:26:38 +02:00
Petter Reinholdtsen
daa312fbc5 Remove generated translated document source files and obsolete files.
Also remove files only using during migration.
2022-06-03 15:26:38 +02:00
Hans Unzner
245b547f75 docs: re-generated po files 2022-06-03 15:26:38 +02:00
Hans Unzner
0fd93ee8c1 docs: removed duplicated lines in gstat.adoc 2022-06-03 15:26:34 +02:00
Jérémie Tarot
a602f3d3be docs: gstat.adoc small indentation fix 2022-06-03 15:26:34 +02:00
Jérémie Tarot
78c7ac27ae docs: fix INSTALL_es.adoc title
Thanks @smoe
2022-06-03 15:26:34 +02:00
Hans Unzner
9a746cb607 docs: fixed small error in (hal-)tutorial 2022-06-03 15:26:34 +02:00
Jérémie Tarot
5618185e5a docs: Update docs/INSTALL.adoc
I like it :)

Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-03 15:26:34 +02:00
Hans Unzner
8e3f8929a9 docs: remove index_XX.tmpl 2022-06-03 15:26:34 +02:00
Jérémie Tarot
27bc324682 docs: add mb2hal_HOWTO.ini to gitignore 2022-06-03 15:26:34 +02:00
Jérémie Tarot
8b6a935085 docs: update authors list
Add docs (migration) team members
2022-06-03 15:26:34 +02:00
Jérémie Tarot
7c84e9138e docs: convert INSTALL to AsciiDoc 2022-06-03 15:26:34 +02:00
Jérémie Tarot
c747687303 docs: lowercase documentation pot/po files 2022-06-03 15:26:34 +02:00
Hans Unzner
b339bed923 docs: review #1724 (2) 2022-06-03 15:26:33 +02:00
Jérémie Tarot (silopolis)
7fc75fbd0c docs: en/es/fr sync: initial es/fr po files 2022-06-03 15:26:33 +02:00
Jérémie Tarot (silopolis)
36b8754d4a docs: en/es/fr sync
docs: en/es/fr sync: src/*
docs: en/es/fr sync: code/*
docs: en/es/fr sync: common/*
docs: en/es/fr sync: config/*
  Also add TODO to backtranslate linuxcnc2hal_fr.adoc, or make anything with it...
docs: en/es/fr sync: drivers/*
docs: en/es/fr sync: examples/*
docs: en/es/fr sync: gcode/*
docs: en/es/fr sync: getting-started/*
docs: en/es/fr sync: gui/*
docs: en/es/fr sync: hal/*
docs: en/es/fr sync: install/*
docs: en/es/fr sync: integrator/*
docs: en/es/fr sync: ladder/*
docs: en/es/fr sync: lathe/*
docs: en/es/fr sync: motion/*
docs: en/es/fr sync: plasma/*
docs: en/es/fr sync: remap/*
docs: en/es/fr sync: tooldatabase/*
docs: en/es/fr sync: user/*
docs: en/es/fr sync: Master_*

docs: en/es/fr sync: README*

docs: en/es/fr sync: help/*

docs: en/es/fr sync: get ready for po4a migration

Don't run man pages test on adoc files
Rename *.po files to all lower case for consistency
Ignore glossaries as they're still way out of sync
Ignore fr/en files with missing master en files
2022-06-03 15:26:33 +02:00
Jérémie Tarot (silopolis)
4c60935f21 docs: add checksync migration utility script 2022-06-03 15:26:33 +02:00
Jérémie Tarot (silopolis)
80ea1f6ba9 docs: add po/migrate-translation script ignore lists 2022-06-03 15:26:33 +02:00
Jérémie Tarot (silopolis)
fb06536169 docs: add temporary po files to gitignore
Add *.failed.po
Add *.swp
Add *.*-stamp
2022-06-03 15:26:33 +02:00
Hans Unzner
fcf24ca055 docs: review comments 2022-06-03 15:26:33 +02:00
Petter Reinholdtsen
8138b747c5 Adjusted po4a.cfg to track rename of GStat.adoc to gstat.adoc
Was renamed in 03e3b89fe9b73f952d1b79afdd00beded24879be .
2022-06-03 15:26:32 +02:00
Steffen Moeller
daa7564c8c docs: cha:latency-testing -> sec:latency-test to address build failure 2022-06-03 15:26:32 +02:00
Steffen Moeller
86ad076219 docs: Addressed more broken links 2022-06-03 15:26:32 +02:00
Steffen Möller
2fb4f31fac docs: Update core-components.adoc, core-components_es.adoc
Co-authored-by: Hans <hansunzner@gmail.com>
2022-06-03 15:26:32 +02:00
Steffen Moeller
365c457ad2 docs: Synced with _es, weird redundancy in core-components 2022-06-03 15:26:32 +02:00
Steffen Moeller
e1a6cc9d5b docs: Addressed broken links 2022-06-03 15:26:32 +02:00
Steffen Moeller
f749323538 docs: Experiment to circumvent build failure
docs: Experiment to circumvent build failure (images again)
docs: Experiment to circumvent build failure (images again)
2022-06-03 15:26:32 +02:00
Steffen Moeller
74084e7535 docs: completed syncing en -> es for po4a
Squashed commit of
docs: Removing forgotten "REMOVEME" debug-tag
docs: completed syncing en -> es for po4a in motion, plasma, user
docs: completed syncing en -> es for po4a in motion
docs: completed syncing en -> es for po4a in plasma
docs: completed syncing en -> es for po4a in user
2022-06-03 15:26:32 +02:00
Steffen Moeller
33616ef2a0 docs: Addressed 'image not found' error 2022-06-03 15:26:32 +02:00
Steffen Moeller
544a5a1008 docs: Attempt to address build failure 2022-06-03 15:26:32 +02:00
Steffen Moeller
6a79027cd0 docs: Removed forgotten debug item 2022-06-03 15:26:32 +02:00
Steffen Moeller
497b73d7d5 docs: fixed typo of image filename 2022-06-03 15:26:32 +02:00
Steffen Moeller
1bc2087bf9 docs: syncing es and en
Squashed commit of
docs: synced config/ini-config with es
docs: en->es sync for po4a in src/config
docs: sync en -> es config
docs: sync en -> es for po4a in config
docs: syncing en -> es for po4a
docs: completed syncing en -> es for po4a in config
docs: completed syncing en -> es for po4a in examples
docs: syncing en -> es for po4a in gcode
docs: completed syncing en -> es for po4a in gcode
docs: completed syncing en -> es for po4a in getting-started
docs: syncing en -> es for po4a in gui
docs: completed syncing en -> es for po4a in gui
docs: syncing en -> es for po4a in hal
docs: more syncing en -> es for po4a in hal
docs: more syncing en -> es for po4a in hal
docs: completed syncing en -> es for po4a in hal, install, lathe
docs: completed syncing en -> es for po4a in hal
docs: completed syncing en -> es for po4a in install
docs: completed syncing en -> es for po4a in lathe
2022-06-03 15:26:32 +02:00
Steffen Moeller
a69d183551 docs: Series of changes to bring _es man pages in sync 2022-06-03 15:26:32 +02:00
Steffen Moeller
8e8c3e70af docs: removing English man pages
docs: removing all-English mb2hal man page
Removing all-English es man page mitsub_vfd.1
Removing all-English es man page mgx485.1
docs: Removed all-English _es man page xhc-whb04b-6.1
docs: Removing all-English _es man page streamer.9
2022-06-03 15:26:32 +02:00
Jérémie Tarot (silopolis)
a2e728793b docs: Reintroduce curly braces around lang def
This was an error to remove them and hints in
docs/src/source-highlight/*demo.adoc were wrong too
2022-06-03 15:26:32 +02:00
Jérémie Tarot (silopolis)
08db54a7c7 docs: Fix code blocks language specs 2022-06-03 15:26:32 +02:00
Steffen Moeller
fa845a561e docs: references to o-code_fr 2022-06-03 15:26:32 +02:00
Jérémie Tarot (silopolis)
c2d339e96c docs: couple of files reformatting 2022-06-03 15:26:32 +02:00
Jérémie Tarot (silopolis)
d88c0fe447 docs: Reintroduce curly braces around lang def
This was an error to remove them and hints in
docs/src/source-highlight/*demo.adoc were wrong too
2022-06-03 15:26:32 +02:00
Jérémie Tarot (silopolis)
2d128441d1 docs: Fix code blocks language specs 2022-06-03 15:26:31 +02:00
Hans Unzner
2009456361 docs: reviewed and back-translated changes from #1516 2022-06-03 15:26:31 +02:00
Petter Reinholdtsen
09bd745974 docs: Update HTML index template, drop obsolete links and use new paths 2022-06-03 15:26:31 +02:00
Petter Reinholdtsen
27f755bc77 Translate language code in PO files. 2022-06-03 15:26:31 +02:00
Petter Reinholdtsen
53379edf7e Added empty hu, vi and zh_CN documentation PO files. 2022-06-03 15:26:31 +02:00
Petter Reinholdtsen
1f44824c89 Added Norwegian Bokmål (nb) PO file. 2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
dc048e419d Added current POT file. 2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
b9a6a42c99 Only check refs in english original for now.
Link checking for non-english is not working, and as all documents are
derived from the english source, it is no need to check the translated
links.
2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
a82b5818e1 Switch github to use po4a version 0.66. 2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
186284aad7 Make more man pages po4a compatible. Fixes most generated man pages.
Remove the use of roff macro definitions, as po4a do not understand
this.
2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
2de08441b8 Add build rules for po4a based documentation translation
Use 'make translateddocs' to build the translations and 'make pofiles'
to update the POT and PO files.  'make postatus' show translation
statistics.  Run 'make manpages' before updating translations to make sure
the generated manpages are available for po4a.  The translateddocs target is
now a prerequisit for the docs target, to make sure the translated files are
available when checking links in the HTML pages.

Added code to copy images into translated adoc directories.

Added po4a as new build dependency.

Require 0 translated strings to generate files, to make sure the documents are
buildable even if nothing is unfuzzied yet.

Drop translated files from docs.xml and use the same list for all languages.

This change need po4a 0.62 or newer to handle UTF-8 properly in input and
output files.  Added configure check to enforce this.
2022-06-03 15:26:30 +02:00
Jérémie Tarot (silopolis)
ba0bc934ad docs: fix ordering and gstat.adoc name case
Fix ordering in Master_Documentation.adoc
Fix gstat.adoc name case
2022-06-03 15:26:30 +02:00
Jérémie Tarot (silopolis)
c042aedd04 docs: missing line b/w titles in Master_Developer.adoc 2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
8ec7fc5144 Added docs/po/migrate-translation to help with po4a migration
This script help with combining source and translated adoc and
manual pages to generate PO files for use with po4a.

Related to https://github.com/LinuxCNC/linuxcnc/pull/1686 .
2022-06-03 15:26:30 +02:00
Petter Reinholdtsen
5d5e3520fc Add trailing space as workaround for po4a problem. 2022-06-03 15:26:30 +02:00
CMorley
73608ace49 Revert "qtvcp -widgetswitcher: fix error adding widget in default case"
This reverts commit 034fae69d5.
2022-06-02 20:55:21 -07:00
CMorley
f9f39b28b4 qtdragon -updates to colored status messages
MarkoPolo updated home errors not beinh shwn etc.
2022-06-02 18:34:27 -07:00
CMorley
034fae69d5 qtvcp -widgetswitcher: fix error adding widget in default case
Missed code change from a long time ago.
Layouts use 'addWidget'
2022-06-02 18:34:27 -07:00
Phillip Carter
7efbc59cda qtplasmac: remove redundant bolt-circle error 2022-06-02 15:21:33 +10:00
Phillip Carter
92a1883b2b qtplasmac: conversational circle leadin/leadout options 2022-06-02 12:31:06 +10:00
CMorley
d0949ec6cc qtdragon: add color/style options to statusbar messages 2022-06-01 19:12:28 -07:00
CMorley
7263958857 qtdragon -fit camera sliders better in smaller screen sizes 2022-06-01 18:43:27 -07:00
CMorley
d7f45bb441 qtdagon: hide jog controls in auro mode
Markopolo work
2022-06-01 18:42:01 -07:00
CMorley
e479ba0f79 qtvcp -facing utility: adjust button size to fit smaller screens
MarkoPolo work
2022-06-01 18:40:30 -07:00
Greg Carl
e18d07abb4 qtplasmac: use new variable to hide conv small origin 2022-06-01 10:38:41 -04:00
Greg Carl
b7d66a5d06 qtvcp: allow small origin to be hidden via stylesheets 2022-06-01 10:33:46 -04:00
Greg Carl
c332ff3b9d glcanon: allow small origin to be hidden 2022-06-01 10:20:10 -04:00
Phillip Carter
012c68a6ff qtplasmac: change soft keyboard for mdi 2022-06-01 12:32:04 +10:00
Phillip Carter
fcddb27d4e qtplasmac: fix typo from v1.223.197 2022-06-01 09:44:18 +10:00
Greg Carl
6ae521c27c qtplasmac: recreate gui images in svg format
allow conversational images to change color with gui
2022-05-31 08:42:27 -04:00
CMorley
99d906fed1 qtvcp -panel: add a fanuc_200f vismach VCP
can move it with HAL pins, maybe I should automatically load the test_panel
 so you can move it on screen?
2022-05-30 21:04:29 -07:00
CMorley
59d3d3be30 qtvcp -qt_vismach: add fanuc_200f vismach model
This was based from Youtube character Excessive Overkill 's
github code.
2022-05-30 21:04:29 -07:00
CMorley
e75d3f230a qtvcp -qt_vismach: add zoom range function, basic rough panning
panning needs to be scaled to mouse and zoom?, but at least you can pan.
2022-05-30 21:04:29 -07:00
CMorley
5a1dbca77b qtvcp -test_panel: add 0-360 range to dials
360 works well for angles
2022-05-30 21:04:29 -07:00
Dewey Garrett
223a342fe2 control.c use EMCMOT_MAX_JOINTS in joint loop
0b5f57d6fa merge error for 2.8->master
2022-05-30 19:36:04 -07:00
Phillip Carter
a1d6956f58 qtplasmac: conversational changes:
restore entries on settings close
fix widget placement in lines/arcs
2022-05-31 11:46:04 +10:00
Phillip Carter
54bc57f73e qtplasmac: conversational enhancements and code tidy 2022-05-30 14:57:37 +10:00
CMorley
7afcf3f3bc qtaxis -update DRO for scaled rich text
add a qss file to define the DRO rich text
2022-05-29 18:32:06 -07:00
CMorley
9998459ce6 qtvcp -simple_widgets: scaled_label update to handle rich text
You can set text to scale or not.
You can use rich text now too.
added a 'textSample' property to reserve space
2022-05-29 18:32:06 -07:00
Chris Morley
b11bb0dfc9 Merge branch '2.8' 2022-05-28 17:54:24 -06:00
Chris Morley
f324cd6e2c qtvcp -file_manager: fix indent error 2022-05-28 17:48:31 -06:00
Hans Unzner
c15287baa6 Update pot files 2022-05-28 23:18:47 +02:00
Hans Unzner
02963d1846 i18n: make paths in gmoccapy.pot relative to top dir
See 1490362e58
2022-05-28 23:10:53 +02:00
CMorley
7616739502 qtvcp -simple_widgets: fix drawEllipse float-instead-of-int error
In my test machine pyqt qpainter.drawEllipse would accept a float.
maybe in new versions, that bug was fixed.
Also related to python2/3 I think as the argument was a int and float added together
which is handled differently.
2022-05-28 11:49:32 -07:00
Dewey Garrett
0b5f57d6fa Merge 2.8 to master (inhibit task mode set if jogging) 2022-05-27 20:13:19 -07:00
Dewey Garrett
87f66feaf4 task: disallow task mode change if jogging
Realtime mpg (wheel) jogging is not controlled through task,
so task must detect jogging status provided by motion
to disallow a task mode change

Ref:
https://forum.linuxcnc.org/24-hal-components/45991-jogwheel-start-of-any-gcode-motion-causes-following-error#243898
2022-05-27 20:05:28 -07:00
CMorley
f77537cd4d qtdragon: add a default pdf cover page 2022-05-25 18:55:01 -07:00
CMorley
4c56205ad6 qtvcp -qt_pdf: add a sample setip page and a way to load it 2022-05-25 18:54:06 -07:00
Phillip Carter
433a36711d docs: rework qtplasmac initial height sense skip 2022-05-25 15:39:20 +10:00
Phillip Carter
aa2e0e93d9 qtplasmac: fix soft keyboard display for various dialogs 2022-05-25 15:14:34 +10:00
CMorley
d33404f448 gladevcp -docs: add a small paragragh on the core library
More details to come.
2022-05-24 21:56:39 -07:00
CMorley
55d1366878 qtdragon -add fullscreen hot key, online docs link
More MarkoPolo (forum) tweaks. Thank You.
2022-05-24 18:17:43 -07:00
CMorley
e796cd8c71 qtvcp -basic_probe: make basic probe widget more 'stetchable'
qtdragon is stretcg able to fit displays - basic ptobe didn't quite
fit.
More work from MarkoPolo of the forum. Thanks Marek!
2022-05-24 18:04:25 -07:00
CMorley
f98c81cbb4 gladevcp -use logger for debug messages 2022-05-23 20:10:39 -07:00
CMorley
30ab82ab80 gladevcp -file_chooser: fix dialog settings for python3
There is surely more there but I know these need to be cganged
2022-05-23 20:00:47 -07:00
CMorley
d7b03181c2 gladevcp -gtk_actionL fix dialog use GTK
Still had qt gialog code.
2022-05-23 19:58:09 -07:00
andypugh
83801660cb Merge remote-tracking branch 'origin/2.8' 2022-05-23 12:48:14 +01:00
andypugh
35c8b4817d Fix the building of packages (broken by Japanese docs)
Signed-off-by: andypugh <andy@bodgesoc.org>
2022-05-23 12:29:11 +01:00
CMorley
41865b8049 gladevcp -hal_mdihistory: use new core library code 2022-05-22 16:42:06 -07:00
CMorley
0ce13d69c5 gladevcp -add core library with Status, Action and Info objects
hopefully in the long run making it easier to program gscreen/gladevcp
2022-05-22 16:42:06 -07:00
CMorley
dc0ca1ef52 gscreen -fix Vte import 2022-05-22 16:42:06 -07:00
CMorley
21d125b26c gscreen -add logging module to GScreen 2022-05-22 16:41:59 -07:00
CMorley
deb11e263a gladevcp -add logging module to gladevcp 2022-05-22 16:41:49 -07:00
CMorley
a0ef621d4e qtdragon -introduce a stretchable version of qtdragon.
MarkoPolo of the forum did the work and donated it.
Thank you!
2022-05-22 10:45:53 -07:00
Hans Unzner
e1997c1570 Revert "docs: added japanese PDF docs from MasaoSakai (https://github.com/MasaoSakai/LinuxCNC)"
This reverts commit 9ee3cc6bc9.

Note: This was not intended to go into master.
2022-05-22 13:33:26 +02:00
CMorley
48009e40b3 Revert "qtvcp -fix error message when last_path is not valid"
This reverts commit 0e502a9ff2.

Merge error from 2.8?
2022-05-21 19:31:59 -07:00
CMorley
7a15ff2db8 qtvcp -test_panel: have the line edit speak when return pressed. 2022-05-21 18:26:25 -07:00
CMorley
4d0d2dd83d qtaxis: allow line entry widgets to get keypress events
So keyboard jogging won't work when focus is on line edits.
vcp panels with lineedits will work though.
2022-05-21 18:26:25 -07:00
CMorley
2819287edc qtvcp -qtaction: automatically adjust embed widget size 2022-05-21 18:26:25 -07:00
andypugh
a8bc2eae56 carousel: Fix homing bug.
Fix a typo which left the carousel turning after homing completed
in index mode

Signed-off-by: andypugh <andy@bodgesoc.org>
2022-05-22 01:25:28 +01:00
CMorley
0e502a9ff2 qtvcp -fix error message when last_path is not valid 2022-05-22 01:25:28 +01:00
andypugh
f7b54259dd docs: User M-Codes - fix typo 2022-05-22 01:22:04 +01:00
Hans Unzner
9ee3cc6bc9 docs: added japanese PDF docs from MasaoSakai (https://github.com/MasaoSakai/LinuxCNC) 2022-05-22 01:18:23 +01:00
Phillip Carter
33eb2bc4f4 qtplasmac: fixes for conversational widget consolidation 2022-05-22 10:06:52 +10:00
andypugh
5543ce800e carousel: Fix homing bug.
Fix a typo which left the carousel turning after homing completed
in index mode

Signed-off-by: andypugh <andy@bodgesoc.org>
2022-05-22 00:35:18 +01:00
Dewey Garrett
3615352f9c homing.c handle transient ini.N.hs pin changes
Updates (to motion from milltask) for ini.N.home_sequence
halpins changes may transiently be inconsistent when
multiple joint settings are changed since the messages are
sent separately for each joint.

Updates implemented in d4dddb2f93 allowed H[].home_sequence
values to be set prematurely before all related joint
messages were received and consequently broke the intended
behavior of the sim config:
configs/sim/axis/gantry/gantry_jjog.ini

This commit:
1) immediately updates H[].home_is_synchronized
   as used by api get_home_is_synchronized()
but
2) defers fixing transient inconsistent H[].home_sequence
   values until actually needed in do_homing_sequence()
2022-05-21 15:12:21 -07:00
Greg Carl
235d3982bd docs: qtplasmac small pedantic changes 2022-05-21 11:38:54 -04:00
Greg Carl
e9f3ed2201 docs: qtplasmac add qtvcp ini settings link to [DISPLAY] section 2022-05-21 09:30:05 -04:00
Greg Carl
b21865b66d qtvcp: add mouse wheel zoom inversion, mouse control modes, update docs 2022-05-20 21:05:21 -04:00
Phillip Carter
ebd34a906c qtplasmac: conversational widget consolidation 2022-05-21 09:53:47 +10:00
Greg Carl
3d6650581b qtvcp: set dialog_widget default extension to .ngc if none is specified
Since qt_action will apply an extension of '.ngc' if none is specified, 
this will prevent overwriting a file where no extension was specified if 
the file name with an extension of .ngc already exists.

Example:  test.ngc exists. You enter "test" in the save dialog.  
Previously, qt_action would would have been overwritten test.ngc with 
test.ngc without prompting.
2022-05-19 15:39:05 -04:00
andypugh
ce8059b439
Merge pull request #1735 from rgbond/mdro
MDRO initial version
2022-05-19 15:13:51 +01:00
CMorley
4502222c73 qtvcp -state_led: add hard limits LED states 2022-05-18 21:44:08 -07:00
Phillip Carter
f0ea21400f qtplasmac: fix missing run from line variable 2022-05-18 11:19:46 +10:00
Greg Carl
34ea2fe825 qtplasmac: fix inconsistent graphics highlight clearing 2022-05-17 20:26:08 -04:00
Greg Carl
871f74bbe0 qtplasmac: change run button signal from pressed to clicked 2022-05-17 20:20:42 -04:00
Greg Carl
e5757b2a9c qtvcp: allow external clearing of preview window highlighting 2022-05-17 20:16:58 -04:00
Bob Bond
a57ed2d99b Better keypad graphics
Updated the backspace and enter keys
Changed the 'Z' to '0' in the row gui
Made the coord labels uppercase
2022-05-17 09:30:44 -07:00
Dewey Garrett
becaf35c2f homing.c: internal updates, adapt homecomp.comp
no api changes (homing.h)
no functional changes intended

homing.c:
1) Allow a user-built homing module to source homing.c
   and use or augment its base_*() functions
2) implement base_1joint_state_machine() to facilitate
   use of different state machines in custom homing modules
3) isolate sync final home move (negative HOME_SEQUENSE)
   to local functions: sync_ready(),sync_reset()
4) support sync of all joints in a sequence to the
   current state
5) update 'seen' var in appropriate switch case
6) var renames for consistency/readability:
      home_sequence --> current_sequence
      n_joints --> njoints
      n_extrajoints --> nextrajoints
7) rm superfluous special_case provision
8) localize immediate_state variable
9) macro ABORT_CHECK()

homecomp.comp:
1) adapt use of base_* funcs to demonstrate:
   a) skeleton module with all api functions
   b) customized module using homing.c base_*() functions
      augmented with support for alternate joint homing
      state machines

Note: When using a negative home_sequence, sync_ready() is
required in both the HOME_FINAL_MOVE_START and
HOME_FINAL_MOVE_WAIT states since the order of joints
reaching each state is dependent on numerous ini settings
as well as the joint positions at the beginning of the
homing process

addresses wrong sync behavior for some conditions in e5be0730d1
(reverted by 3b17ed1d9c)
2022-05-17 06:50:26 -07:00
CMorley
e5a4153762 qtvcp -try to improve overlay widget.
I'll have to check other systems to see if it is universally working.
2022-05-16 22:23:22 -07:00
c-morley
da22f7e44a
Merge pull request #1743 from mWorkVN/master
qt_vismach.py - Fix random error when this code return a float result
2022-05-16 21:49:24 -07:00
mwork
fe1f3b86fa Update qt_vismach.py 2022-05-17 08:40:04 +07:00
Phillip Carter
47565c3fd4
add python library path for plasmac run-from-line 2022-05-16 11:24:59 +10:00
CMorley
087aaf7405 qtvcp -gcode editors: gcode lexer button should honour set colors
python button changes the paper color but maybe thats alright.
2022-05-15 17:57:34 -07:00
CMorley
d7c76e53c8 qtvcp -action_tool_button: set the menu later incase it's not needed 2022-05-15 17:57:34 -07:00
Phillip Carter
94b1077ea9 qtplasmac: make the run from line module gui agnostic 2022-05-15 10:33:49 +10:00
Bob Bond
021e73b3f6 fixed a couple of commas 2022-05-14 14:33:56 -07:00
CMorley
82a1d5a979 docs -update qtdragon: embedded tabs and PDFs 2022-05-14 12:25:01 -07:00
Bob Bond
79f121caf7 MDRO initial version
MDRO is a simple GUI meant to provide access to the DRO scales on
a machine when using it in a manual (hand-cranked) mode.
2022-05-14 11:54:29 -07:00
CMorley
76b01e7409 qtvcp -fix error message when last_path is not valid 2022-05-13 18:23:21 -07:00
CMorley
c579eaaa42 qtdragon/hd -make tabs larger in some stylesheets 2022-05-13 18:14:46 -07:00
CMorley
f419518773 qtdragon/hd: allow embedding of external programs
into the utilities tab
2022-05-13 17:56:06 -07:00
CMorley
67158aabfc qtvcp -qtdragon sim: add embedded vismach model to prove it works 2022-05-13 17:50:08 -07:00
CMorley
6b032b74ae qtvcp -screenoptions: use action function to add embedded tab 2022-05-13 17:48:40 -07:00
CMorley
b43f4b806b qtvcp -fix filemanager error when last loaded is not found
tmparay file would give annoying error messages
2022-05-13 17:46:57 -07:00
CMorley
9e3f35faa2 qtvcp -qt_action: add a function to add a tab to tab or stacked widget
just for convenience
2022-05-13 17:42:00 -07:00
CMorley
98531cef14 qtvcp -qt_vismach: remove contents margins -use the full window 2022-05-13 10:32:08 -07:00
CMorley
c8a39c3288 qtvcp -initial commit of embedding Qtvcp panels
-makegui/makepins looks and instantiates any Qtvcp panels
-have screenoption load Qtvcp embedable panels
2022-05-13 10:30:26 -07:00
CMorley
89027a0392 qtdragon/hd: fix copy file if destination is not selected
Jim (Persei) noticed the destination defaults to the OS current
directory rather then the shown directory.
He also added a over copy warning dialog.
2022-05-12 22:08:50 -07:00
CMorley
081db3ba75 qtvcp -dialog_widgets: fix mutiple button signal connections
button signals were connected everytime the message box was shown.
This would cause error messages about no callbacks or status messages.
This was because the status message was deleted on the fist button signal
callback.
2022-05-12 21:58:39 -07:00
Hans
7b190990ad
Merge pull request #1721 from LinuxCNC/2.8-docs-japanese
docs: added japanese PDF docs from MasaoSakai
2022-05-12 19:20:10 +02:00
CMorley
c5a5535e78 commit: qtvcp -qtaxis: fix step toolbar button
was never finished
2022-05-11 18:41:16 -07:00
CMorley
c35ab92407 qtvcp -toolbar library: add step function 2022-05-11 18:40:25 -07:00
CMorley
20fc9d0de1 qtvcp -qtaxis: fix step toolbar button
somehow this was never finished in the toolbar libray either
2022-05-11 18:30:40 -07:00
CMorley
fd0965105c qtvcp -toolbar library: add step function 2022-05-11 18:29:50 -07:00
Phillip Carter
d975788b69 pncconf: fix some pins for qtplasmac 2022-05-12 10:32:30 +10:00
andypugh
c8794557c3
Update remap.adoc
Add lathe G70/71/72 to already-allocated codes
2022-05-11 00:20:50 +01:00
Phillip Carter
7e49e73545 qtplasmac: deselect segments in preview on file load/reload 2022-05-10 13:33:05 +10:00
Phillip Carter
49eda93de3 qtplasmac: oops, I missed a brace. 2022-05-10 10:11:07 +10:00
Phillip Carter
71937a7137 qtplasmac: fix error messages for run from line 2022-05-10 10:02:01 +10:00
Dewey Garrett
3b17ed1d9c Revert "homing.c: internal updates
This reverts commit e5be0730d1.
based on user problem:

https://forum.linuxcnc.org/49-basic-configuration/45798-weird-homing-behavior-y-y2-out-of-sync#242056

more investigation required
2022-05-06 14:19:28 -07:00
Hans Unzner
34a5f4fdf5 docs: temporary fix groff subsections
This uses a local Groff macro for formatting the man pages, which takes effect in the HTML output.
The macro is taken from this commit
https://git.savannah.gnu.org/cgit/groff.git/commit/?id=4503f8b9a826cc8b9a9f4a4d3efe9adde459c3bc
When Groff 1.23 is released, this fix is included in Groff and the local version should be removed.
2022-05-06 21:35:00 +02:00
CMorley
c4187bf01e makefile -fix copy paste error
There is no .ui files in qt_pdf folder
2022-05-06 02:40:48 -07:00
CMorley
069bf58710 makefile -add lib/qt_pdf folder 2022-05-05 18:38:08 -07:00
CMorley
5980d59eb9 qtvcp :PDFViwer: don't crash if poppler-qt5 module is missing 2022-05-05 18:38:08 -07:00
Hans
e2828cecfb
Merge pull request #1727 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-05-05 21:23:47 +02:00
andypugh
240dfcd5d6
docs: User M-Codes - fix typo 2022-05-05 10:59:21 +01:00
Hosted Weblate
fe7d45abf1
Merge remote-tracking branch 'origin/master' 2022-05-04 20:31:17 +02:00
andypugh
a9731d6fcd
Merge pull request #1725 from ElectronicsArchiver/master
Formatted README
2022-05-04 19:31:09 +01:00
トトも
16242ba4e4
Merge branch 'LinuxCNC:master' into master 2022-05-04 13:36:37 -04:00
トトも
f76528c3eb
Removed Link To Website 2022-05-04 13:36:08 -04:00
Hosted Weblate
fd60d4fa8e
Merge remote-tracking branch 'origin/master' 2022-05-04 04:16:17 +02:00
CMorley
f826bc6990 qtdragon -add a PDF setup tab
avoid using the system viewer fir now.
Later a button to load in the system viwer may be convient
2022-05-03 19:13:49 -07:00
CMorley
12ce437917 qtvcp -qt_pgf library: update pdfviewer
name change too
2022-05-03 19:13:49 -07:00
CMorley
404530219d qtdragon -add a brushed metal style with colored buttons 2022-05-03 19:13:49 -07:00
CMorley
15560094ee qtdragon -move Z and A jog buttons
layout seems better
2022-05-03 19:13:49 -07:00
トトも
43d1953f49
Merge branch 'LinuxCNC:master' into master 2022-05-03 21:52:49 -04:00
トトも
a979981472
Updated Quicklinks 2022-05-03 21:52:37 -04:00
Hosted Weblate
5139397998
Merge remote-tracking branch 'origin/master' 2022-05-04 01:37:46 +02:00
Greg Carl
62a7a9d426 qtplasmac: move conversational prefs 2022-05-03 19:37:00 -04:00
Petter Reinholdtsen
3946a0413e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 7.2% (272 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-05-03 22:12:29 +02:00
Petter Reinholdtsen
9ee7b2d9f8
Translated using Weblate (Norwegian Bokmål)
Currently translated at 60.4% (235 of 389 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-05-03 22:12:28 +02:00
トトも
bb6fc2c31e
Adjusted Style 2022-05-03 06:01:16 -04:00
トトも
805e6d81fc
Formatted Description 2022-05-03 05:56:42 -04:00
トトも
7a18e12742
Added Quicklinks 2022-05-03 05:49:12 -04:00
トトも
defe52895c
Added Reference To Online Build Information 2022-05-03 05:39:33 -04:00
トトも
33888fe66c
Added License Badges 2022-05-03 05:19:24 -04:00
トトも
e068d719c9
Formatted Disclaimer 2022-05-03 05:08:56 -04:00
トトも
335a845ca6
Raw Links -> Link References 2022-05-03 04:48:25 -04:00
Dewey Garrett
e5be0730d1 homing.c: internal updates, adapt homecomp.comp
no api changes (homing.h)
no functional changes intended

homing.c:
1) Allow a user-built homing module to source homing.c
   and use or augment its base_*() functions
2) isolate sync final home move (negative HOME_SEQUENE)
   to local functions: sync_ready(),sync_reset()
3) support sync to a reqd_state
   (sync_final_move: HOME_FINAL_MOVE_START)
4) update 'seen' var in appropriate switch case
5) var renames for consistency/readability:
  home_sequence --> current_sequence
  n_joints --> njoints
  n_extrajoints --> nextrajoints
6) rm superfluous special_case provision

homecomp.comp:
1) adapt use of base_* funcs to demonstrate:
   a) skeleton module with all api functions
   b) customized module using homing.c base_*() functions
      augmented with support for alternate joint homing
      state machines
2022-05-02 10:24:34 -07:00
Hans Unzner
bb1f2a8760 Revert merge changes in gmoccapy.py 2022-05-01 13:16:53 +02:00
Sebastian Kuzminsky
a10b14d9d0 Merge remote-tracking branch 'origin/2.8' into master-merge
* origin/2.8:
  docs: make an index.html page for the PDF docs
  cosmetic fix to a configure error message
  Update for new version of Rpi400
  Update for new version of Rpi400
  docs: changed url in halshow doc
  docs: created mb2hal doc based on sample ini file
  mb2hal: added pins to manpage
  docs: fixed link
  docs: include mb2hal ini file in docs
  mb2hal: updated and fixed sample configuration
  gmoccapy: sensitize save button after 'save as'
  gmoccapy: fix detection of file change
  Update ini-config.txt
  Update ini-config.txt
  Add files via upload
  correcting submakefile for 2.8
  update
  missing in documentation for INI RS274 section
  Change EDITOR = geany. Restore more generous dirhold and dirsetup timing.
  Updated the gantry example with what I gather from the forum is best practice. 1) Reduce from 4(XYZA) to 3(XYZY) coordinate. 2) Use negative HOME_SEQUENCE values for synchronous homing of the dual Y joints. 3) Rename signals such as adir, astep to y2dir, ystep.
  full update xhc-whb04b-6 for 2.8
2022-04-30 18:15:49 -06:00
Greg Carl
8b267bba1e qtplasmac: remove view checking/setting between tab changes 2022-04-29 19:32:49 -04:00
Greg Carl
9e183e4d4e qtplasmac: hide: tool, small origin, limits in conversational preview 2022-04-29 19:27:50 -04:00
Hans Unzner
99256ebf1d gmoccapy: prevent mode buttons from sensitizing when toggling on/off when in settings page 2022-04-29 20:04:23 +02:00
Hans
1e73a3f22e
Merge pull request #1723 from hansu/gmoccapy-dro-1722
Fixes some Gmoccapy DRO issues
2022-04-29 19:45:48 +02:00
Hans Unzner
f29c9167dc gmoccapy: fixed DRO unit switching (G20/G21) 2022-04-29 18:19:52 +02:00
Hans Unzner
f7783f856d gmoccapy: fixed DRO switching on G7/G8 + fixed active gcodes list 2022-04-29 18:18:50 +02:00
Hans Unzner
d3a7d2f07d combi_dro: fixed toggle_readout (no white DRO in lathe mode) 2022-04-29 14:32:13 +02:00
CMorley
864550224d qtvcp -camview: improve error messages when asking for wrong port
It will search for avaliable ports and list them
2022-04-29 01:06:14 -07:00
c-morley
4df50bb5c4
Merge pull request #1715 from satiowadahc/cw-spindlewait
emcmodule - Allowing wait for spindle
2022-04-28 18:51:35 -07:00
Greg Carl
e8b7258714 qtvcp -qt5_graphics: set display to default view on first show only
This prevents view setting when the window is maximized after being 
minimized, switching back to a tab that contains the gcode preview 
display, etc.
2022-04-28 05:28:11 -04:00
CMorley
acca3ba968 qtdragon: add a save camview image button 2022-04-27 20:58:23 -07:00
CMorley
6fb4cabbfd qtvcp -simplewidgets: give better error message if python command fails
Actionbuttons use this for direct python commands
2022-04-27 20:50:41 -07:00
CMorley
485c71f948 qtvcp camview: add ability to save image to file 2022-04-27 20:49:51 -07:00
CMorley
2e7a58b028 qtvcp -user messages: give dialogs a request name; fix multiple messages
pther wise the dialog instances respind to all requests
2022-04-27 19:45:11 -07:00
Hans Unzner
bbe7f52653 docs: added japanese PDF docs from MasaoSakai (https://github.com/MasaoSakai/LinuxCNC) 2022-04-27 20:42:16 +02:00
Dewey Garrett
b3d622b14a gomath.c: rtapi_string.h reqd for rtai
tested on: 4.19.195-rtai-amd64 downloaded from:
http://linuxcnc.org/dists/buster/base/binary-amd64/

Ref:
ab9e75c693
https://www.mail-archive.com/emc-developers@lists.sourceforge.net/msg22618.html
2022-04-27 06:03:42 -07:00
Hans Unzner
de17efacc6 Gmoccapy: fixed got lost "touchoff tool z" button
+ centered label of "touchoff tool x" button
2022-04-26 21:28:01 +02:00
Greg Carl
dcf0b19d06 qtplasmac: gcode filter remove 'dummy' component 2022-04-25 20:28:18 -04:00
Sebastian Kuzminsky
652e88c22b
Merge pull request #1718 from LinuxCNC/2.8-pdf-index
make a pretty index.html for the PDF docs
2022-04-25 17:23:52 -06:00
Hans Unzner
60c50b4e35 docs/man-pages: slightly reduced size of section headings 2022-04-25 16:15:40 +02:00
Hans Unzner
0bcd2cd2a7 Gmoccapy: fixed wrong image/state of "on-button" 2022-04-25 16:15:33 +02:00
Hans Unzner
8edfa96781 Gmoccapy: increased width of close button in notification 2022-04-25 16:15:27 +02:00
Dewey Garrett
68d8f56a4f 5axis.ini sim update text notes for W 2022-04-25 05:57:52 -07:00
Hans Unzner
c016e5e13e gladevcp: removed PangoCairo warning 2022-04-25 09:36:29 +02:00
Hans
45b96aea4d
Merge pull request #1548 from PeterMue/feature/gmoccapy-modern-icons
Added modern icon themes for Gmoccapy
2022-04-25 09:07:44 +02:00
Sebastian Kuzminsky
14477fe14c docs: make an index.html page for the PDF docs 2022-04-24 10:47:14 -06:00
Sebastian Kuzminsky
8d2521a0f2 cosmetic fix to a configure error message
AC_MSG_ERROR doesn't handle "\n", so split the error message in two.
2022-04-22 11:37:42 -06:00
andypugh
bbcc2175b5
Update rtfaults.adoc 2022-04-21 17:01:09 +01:00
Dewey Garrett
bc5d51d6e2 db.py (sim) update tool time at host disconnect 2022-04-20 18:44:58 -07:00
Dewey Garrett
e48acadb31 tooldb.py close stdout if BrokenPipeError
avoids message:
"Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe"
2022-04-20 18:02:31 -07:00
Phillip Carter
8b8d623697 pncconf/stepconf: qtplasmac laser change
limit + home calculation change
2022-04-18 10:45:28 +10:00
Greg Carl
b10303b531 qtplasmac: update missed variable name 2022-04-17 11:17:15 -04:00
Greg Carl
412b0e2cf6 qtplasmac: alphabetize qtplasmac hal pins 2022-04-17 10:47:45 -04:00
Greg Carl
c1ca6c2b42 qtplasmac: conversational block enhance offset handling 2022-04-17 10:13:52 -04:00
Greg Carl
3716de25f8 nc_files/plasmac: add temporary material examples, make headers specific 2022-04-17 09:43:20 -04:00
Chris Morley
f90013ee4b qtdragon_hd- update estop button images 2022-04-16 14:44:59 -07:00
Peter Müller
79586318b9 Update material icon sizes
* fullscreen_icons.inkscape.svg: Add more padding (icon size 96px)
* ref_icons.inkscape.svg: Add more padding to "unref-all" layer (icon size 96px)

See fbdbdc2241
2022-04-16 22:37:34 +02:00
Hans Unzner
6a3fc5a3c1 work on icons:
- removed all icons that are just scaled down
- adjusted display sizes
- optimized some icons
2022-04-16 22:37:34 +02:00
Peter Müller
586c82a5b7 Fix wrong link to google 2022-04-16 22:37:34 +02:00
Peter Müller
26d0870128 Add link to source repository. 2022-04-16 22:37:34 +02:00
Peter Müller
9d37cf1eed Change icon coloring style context to default
Fallback to always use the default style context instead of the parent
objects style context in the first place as this causes some unwanted
behaviour.
2022-04-16 22:37:34 +02:00
Peter Müller
57ac337d29 Cleanup 2022-04-16 22:37:34 +02:00
Peter Müller
c2b5a2dc67 Add documentation for gmoccapy icon themes. 2022-04-16 22:37:31 +02:00
Peter Müller
b37f42b1b9 Change default icon theme to none. 2022-04-16 22:37:24 +02:00
Peter Müller
db37896abc Add new icons
* tool_axis_y_inv
* select_file
2022-04-16 22:37:24 +02:00
Peter Müller
15dffdceee Add classic icons as theme 2022-04-16 22:37:24 +02:00
Peter Müller
86f12495e6 Restore "gtk-ok" icon.
Restore "gtk-ok" icon for btn_select in load_file menu (default/classic) theme.
The icon was removed in gtk-3 without replacement, so we have to add it as image.
2022-04-16 22:37:24 +02:00
Peter Müller
ac4138ba86 Derive material-light icons from material. 2022-04-16 22:37:23 +02:00
Peter Müller
d6ea830adc Bugfix: Coloring issue: wrong colors for symbolic icons. 2022-04-16 22:37:23 +02:00
Peter Müller
e5c5792d01 Add icon theme material-light
It's based on the material theme but optimized for light themes (non
symbolic)
2022-04-16 22:37:23 +02:00
Peter Müller
3705065b80 Update icons 2022-04-16 22:37:23 +02:00
Peter Müller
3cf64abfa7 Fix broken named icon
* go_jump -> go-jump
2022-04-16 22:37:23 +02:00
Peter Müller
a24c4b0d69 Changed icon appearances
* main_switch: Changed to a more E-Stop like icon
* logout: Add "EXIT" text
* touch_*: Removed "SET" to simplify icon
2022-04-16 22:37:23 +02:00
Peter Müller
fef1f59595 Moved to icon theme source files to external repo
Moved the icon theme source and build files to an external repository as
suggested at
https://github.com/LinuxCNC/linuxcnc/pull/1548#issuecomment-1040496776.

Source are located at https://github.com/PeterMue/gmoccapy-icon-themes
2022-04-16 22:37:23 +02:00
Peter Müller
da0f36c6fe Bugfix: set icon theme on startup only when needed
* avoid setting the icon theme on init to default if it is already default (this produced a useless warning dialog at startup requesting the user to restart gmoccapy to apply the icon theme)
2022-04-16 22:37:23 +02:00
Peter Müller
14d02764f3 Bugfix: missing images and gtk warning in liststore
* Fix path to spindle icons (forward, stop, reverse)
* Fix gtk warning on null value in list store (lstst_icon_themes)
2022-04-16 22:37:23 +02:00
Peter Müller
0eb7632ef7 Refactoring: define default button size global 2022-04-16 22:37:21 +02:00
Peter Müller
0b50547ada Implement new icons
* New icons: tool icons (hsk_mill_tool, mill_tool_change, mill_tool_change_num, mill_tool_set_num)
* New icons: touch icons (touch_off, touch_[x|y|z|a|b|c|u|v|w])
* Implement theme icons for menu "Touch off" (bottom buttons)
* Implement theme icons for menu "Tools" (bottom buttons)
2022-04-16 22:37:11 +02:00
Peter Müller
e8fa5e0717 Implement new icons
* New icons: edit icons (save, save_as, new_document, keyboard, keyboard_hide)
* Move "inline" defined images (e.g. as child of a button) to the root and attach them instead via property "image" to the button
* Implement theme icons for menu "Auto -> Edit" (bottom buttons)
* Implement theme icons for menu "MDI" (bottom buttons)
2022-04-16 22:36:52 +02:00
Peter Müller
24bd221f1d Implement new icons
* New icons: auto (open_file, refresh, play, stop, pause, pause_active, step, run_from_line, skip_optional_active, skip_optional_inactive, edit_code)
* New icons: chevron (left, right, up)
* New icons: folder (home_folder, user_defined_folder)
* Rename icon: unhome -> unref_all
* Add separate active/inactive icons for pause and skip-optional-blocks button
* Change axis ref button creation to use predefined images (easier to swap pixbuf on icon theme change)
2022-04-16 22:36:32 +02:00
Peter Müller
465563f23c Implement icon theme switch logic
* New method to load pixbuf from symbolic icon (with recoloring)
* Change image pixbufs on icon theme change on the fly
* New icon: fullscreen (open/close)
* New icon: logout
2022-04-16 22:36:03 +02:00
Peter Müller
55e0367e17 Refactor: move "inline" defined image widgets to root
* Move "inline" defined images (e.g. as child of a button) to the root and attach them instead via property "image" to the button
* Rename missleading named image widgets (e.g. "sstop" renamed to "spindle_stop")
* Add separate active/inactive image widgets for the mode buttons
2022-04-16 22:36:03 +02:00
Peter Müller
cb1f7f80c7 Add a bunch of icon to the material theme
* icon: back_to_app
* icons: coolant flood and mist
* icons: gremlin controls (zoom in/out, toolpath, clear, dimension, views)
* icons: estop on/off
* icons: main power on/off
* icons: mode buttons (manual, mdi, auto, settings, user_tabs) on/off
* icons: settings on/off
* icons: ref home/all/axis/numeric
* icons: spindle (forward/stop/reverse) on/off
* icons: translate axis (touch-off)
2022-04-16 22:36:03 +02:00
Peter Müller
7a2c3cfdca Add LICENSE and NOTICE to theme
The icons of this theme are inspired, derived or copied from the material design icons created by google. Therefore we have to include a reference to the original license and a notice file.
2022-04-16 22:36:03 +02:00
Peter Müller
8994101a31 Add material theme scaffold
* Build script for material theme
* Add material build to parent build.sh
2022-04-16 22:36:03 +02:00
Peter Müller
171fc02f40 Add build helper for icon themes
* _build_helper.py: Utility to render svg icons to different size-fixed png's
2022-04-16 22:36:03 +02:00
Peter Müller
cb4a3f9e2c Add icon theme selection to settings.
* Icon theme switch not yet implemented
* Add icon theme selection dropdown to settings
* Add methods to find valid icon themes
2022-04-16 22:36:03 +02:00
Peter Müller
868487e981 Change old gtk-* stock icons to new by name schema
* Following the suggested new names from https://docs.gtk.org/gtk3/?q=STOCK_
* Change the notification close icon from "cancel" to "window-close"
* Change select gcode file icon from "ok" to "document-open"
2022-04-16 22:36:03 +02:00
Peter Müller
3b34639916 Change old gtk-* icon names to new
Following the suggested new names from https://docs.gtk.org/gtk3/?q=STOCK_
2022-04-16 22:36:02 +02:00
Hans Unzner
81ad7ae861 halshow: Added "Show in Tree" to watch context menu 2022-04-16 11:43:14 +02:00
Dewey Garrett
1fd1c53f4e tool-compensation.adoc update semicolon usage text 2022-04-15 13:33:27 -07:00
Dewey Garrett
5367a3bad1 homing.c rm unused #if* directives 2022-04-15 13:21:05 -07:00
Dewey Garrett
3057dbb9ce db.py (sim) rm unused cmdline testing provision 2022-04-15 13:12:16 -07:00
Greg Carl
fdf9680b74 qtplasmac: updater enhancements 2022-04-14 18:03:17 -04:00
Greg Carl
a8e0462c44 qtvcp: allow ~ shorthand in postgui paths 2022-04-14 17:55:09 -04:00
Chad Woitas
2b07b5a57d emcmodule - Allowing wait for spindle 2022-04-14 12:13:13 -06:00
Hans
7d8e52e767
Merge pull request #1709 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-04-13 18:41:39 +02:00
CMorley
572f615141 qtdragon_hd -many small adjustments of layout.
Thank you MarkoPolo (from the forum)
2022-04-12 18:15:40 -07:00
Hans U
9bbef70dfe
Translated using Weblate (German)
Currently translated at 99.1% (3743 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-04-11 18:07:11 +02:00
CMorley
447c6c1abf makefile -add new qtvco ngcgui files 2022-04-10 16:09:36 -07:00
CMorley
821470ffdf qtdragon -add over/under limits to spindle/feed/rapid sliders 2022-04-10 16:09:36 -07:00
Hans
a5ac97acb9
Merge pull request #1702 from silopolis/fr_backtranslation
Fr backtranslation and some other translation fixes
2022-04-10 22:47:45 +02:00
Steffen Moeller
9eca495ac0 docs: Reversing comment to temp reduce complexity 2022-04-10 21:59:49 +02:00
Hans Unzner
b047124721 docs: changes according to review comments 2022-04-10 21:57:09 +02:00
Hans Unzner
f9c9536277 docs: review comments part 2/2 2022-04-10 21:57:09 +02:00
Hans Unzner
89779660fa review comments part 1 (up to dir gcode) 2022-04-10 21:57:09 +02:00
Sebastian Kuzminsky
04d2490dce
Merge pull request #1659 from smoe/Adjusting_d/README
Further improved debian/README.source
2022-04-10 14:08:50 -04:00
Hans Unzner
42664142f3 docs: adjusted style: only 'normal' tables are centered, caption of image as figcaption (centered with image) 2022-04-10 17:17:00 +02:00
CMorley
4d02105c3b qtdragon/qtdragon_hd - update theme stykes for NgcGui
Couldn't read the text because of tab background color
2022-04-09 18:06:11 -07:00
CMorley
4903b03ebb qtvcp -add a PDF rendering library file
More work to be done yet
2022-04-09 18:06:11 -07:00
Dewey Garrett
4cf4493514 homing.c: bugfix for initial homing_sequence
Initialzie H[jno].home_sequence to unrealizable, positive seq no
to avoid spurious internal assignment for H[jno].home_sequence
if ini file does not specify [JOINT_N]HOME_SEQUENCE for
all joints
2022-04-09 14:59:48 -07:00
CMorley
a79f99faf1 qtdragon - add new theme stylesheet argentium
Another great Jim product. Thank you!
2022-04-09 13:52:06 -07:00
CMorley
a803a4a71d qtvcp/qtdragon: add info about macro buttons 2022-04-09 13:52:06 -07:00
CMorley
cf03dee5b6 docs :core hal: break out spindle pins for clarity 2022-04-09 13:52:06 -07:00
CMorley
5acb1d716a qtdragon -move macro buttons and add upto 10
Consistant with qtdragon_hd
2022-04-09 13:52:06 -07:00
Hans Unzner
f86deeaa9f AsciiDoc: left align notes and similar
In detail, these types are affected: NOTE, TIP, IMPORTANT, WARNING and CAUTION
2022-04-09 19:46:42 +02:00
Hans Unzner
792bb0dcd1 gmoccapy: fix button states when on settings page
The MDI and Auto Mode buttons are only disabled when entering the settings page from manual mode. When entering the setup page from the other modes, MDI and Auto mode is clickable. Furthermore the rbt_manual was set to active after set sensitive(False). this is now done before.
2022-04-09 19:23:49 +02:00
Hans Unzner
98770a37d2 gmoccapy: fix button states when entering settings from MDI or Auto mode 2022-04-09 17:59:35 +02:00
Hans
fe7aebf189
Merge pull request #1703 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-04-09 09:28:24 +02:00
Hosted Weblate
1cd215505e
Merge remote-tracking branch 'origin/master' 2022-04-09 08:28:18 +02:00
CMorley
9548b617b1 qtdragon -fix dark stylesheet text color for statusbar 2022-04-08 23:27:31 -07:00
Hosted Weblate
fb2559bbbe
Merge remote-tracking branch 'origin/master' 2022-04-09 06:14:06 +02:00
Dewey Garrett
3a728df689 tooldata_common.cc handle leading semicolon #1704
For lines like ";Tn Pn Zz ...",
strtok(work_line,";") returns "Tn Pn Zz ..."

this commit ignores line with leading ';'

Defer: updating docs/src/gcode/tool-compensation.adoc
       since it is currently partly in Spanish
       (ongoing translation work)
2022-04-08 21:10:11 -07:00
Hosted Weblate
5ba99ab79a
Merge remote-tracking branch 'origin/master' 2022-04-09 00:00:13 +02:00
CMorley
c02ddae283 qtdragon -adjust the ngcgui layout to make it more visually apealling 2022-04-08 14:58:49 -07:00
CMorley
12ed6e3b45 qtvcp -qt_ngcgui: add function to move the frames to other widgets
in some screens it's nicer to move the info tab to another location to
give more room.
2022-04-08 14:56:47 -07:00
CMorley
2ba63c0ccd qtvcp -qtdragon: update brushed metal theme 2022-04-08 11:59:17 -07:00
Jérémie Tarot (silopolis)
069b648048 Reintroduce curly braces around lang def
This was an error to remove them and hints in
docs/src/source-highlight/*demo.adoc were wrong too
2022-04-08 18:43:11 +02:00
Jérémie Tarot (silopolis)
c2ab6dff63 Add basebackend@docbook attributes
To files with ini/hal/ngc source blocks
2022-04-08 18:04:54 +02:00
Steffen Moeller
bb6e3f9814 docs: Addressing missing anchors 2022-04-08 14:55:12 +02:00
Jérémie Tarot (silopolis)
b0f20f3d86 Fix code blocks language specs 2022-04-08 14:42:51 +02:00
Steffen Moeller
79b978b807 docs: another anchor and linting for gui/axis*adoc 2022-04-08 11:48:07 +02:00
Steffen Moeller
31f8847f66 docs: fixed redundant tklinux anchor 2022-04-08 11:48:07 +02:00
Steffen Moeller
37389fc734 Fixing XML structure for xmllint 2022-04-08 11:48:07 +02:00
Jérémie Tarot (silopolis)
bde45dbb67 Remove remaining byte-order marks from docs files 2022-04-08 11:40:24 +02:00
Steffen Moeller
ad76b70760 Reviewing :lang: settings. And linting g-code_es.adoc 2022-04-08 10:58:13 +02:00
Petter Reinholdtsen
9783544835
Added translation using Weblate (Italian) 2022-04-08 09:45:00 +02:00
Jérémie Tarot (silopolis)
e40e477702 An URL fix and a pinch of format fixes 2022-04-08 09:40:47 +02:00
CMorley
5a8b166c36 qtdragon: add more detail of tabs pages 2022-04-07 23:06:27 -07:00
Greg Carl
031baccc9f qtplasmac: version info 2022-04-07 15:43:16 -04:00
Greg Carl
293c3c4b11 qtplasmac: clear laser offsets after framing (move to X0Y0) 2022-04-07 15:35:28 -04:00
Greg Carl
4a461a6f86 qtplasmac: Align KB shortcut for ESTOP (F1) to ESTOP_TYPE in INI file 2022-04-07 15:35:27 -04:00
Greg Carl
ead174916f qtplasmac: set power button checked when toggled via KB shortcut F2 2022-04-07 15:35:27 -04:00
Jérémie Tarot (silopolis)
3b50d0757e Local build happy, maybe last anchors fix commit
... for a short time I'm afraid :'(
2022-04-07 19:22:14 +02:00
Peter Wallace
536b193a0a Add preliminary 7I96S support 2022-04-07 08:59:36 -07:00
Jérémie Tarot (silopolis)
9dcecdf8e8 More anchors chasing 2022-04-07 17:59:19 +02:00
Jérémie Tarot (silopolis)
07a5b72ef8 Still chasing anchors and linting along the way 2022-04-07 17:24:41 +02:00
Steffen Moeller
e24c1181de Backtranslated, attempted to address anchors 2022-04-07 17:02:59 +02:00
Steffen Moeller
1da43ca327 Optics - did not see reported error on latency-testing 2022-04-07 17:02:59 +02:00
Steffen Moeller
42c1149ccd docs:Testing if anchor needs to embedded 2022-04-07 17:02:59 +02:00
Steffen Moeller
2bd1d0d8eb docs: Fixed sub:stepgen-parameters anchor 2022-04-07 17:02:59 +02:00
Steffen Moeller
a3e2e300ed docs: sec:Codes-de-mesure -> gcode:probing-codes 2022-04-07 17:02:59 +02:00
Steffen Moeller
26f5f7eb49 references to o-code_fr 2022-04-07 17:02:59 +02:00
Steffen Moeller
2731fe81d4 docs: Fixed stupid copy'n'paste anchor-error 2022-04-07 17:02:59 +02:00
Jérémie Tarot (silopolis)
5bd312875d Merge branch 'fr_backtranslation' of https://github.com/silopolis/linuxcnc into fr_backtranslation 2022-04-07 13:38:33 +02:00
Jérémie Tarot (silopolis)
fdae68535d Anchor fixes spotted by @smoe 2022-04-07 13:38:25 +02:00
Jérémie Tarot (silopolis)
de2d4f2b55 Another anchor fix spotted by @smoe 2022-04-07 13:32:46 +02:00
Jérémie Tarot (silopolis)
376d313395 Unstaged files from merge 2022-04-07 13:22:42 +02:00
Jérémie Tarot (silopolis)
3b77938c22 Merge remote-tracking branch 'hansu/backtranslation-es' into fr_backtranslation 2022-04-07 13:15:36 +02:00
Jérémie Tarot (silopolis)
ecf4cadf07 More fr backtranslation 2022-04-07 11:58:27 +02:00
silopolis
877c64de05
Merge pull request #7 from smoe/fr_backgranslation
docs: Removed redundant 'sec:tool-table' anchor
docs: fix anchors
2022-04-07 09:08:38 +02:00
CMorley
21a92782c3 qtvcp -qtdragon_hd sim: add ngcgui library path to INI 2022-04-06 22:25:12 -07:00
CMorley
f0bef0a1ae qtvcp -qtdragon_hd: add ngcgui tab 2022-04-06 22:22:17 -07:00
CMorley
29e012c3f3 qtvcp -qtdragon sim: add ngcgui library path
ngcgui is available in qtvcp now
2022-04-06 22:10:34 -07:00
CMorley
b2a2ebb3c8 qtvcp -qtdragon: add ngcgui tab 2022-04-06 22:08:25 -07:00
CMorley
59fd1fef96 qtvcp - initial commit of qt ngcgui library
Jim (Persei) ported Ngcgui for qtvcp - Thanks Jim!
this is the library to support it.
2022-04-06 22:06:39 -07:00
Steffen Moeller
4256070a45 meant to only quickly fix one missing anchor 2022-04-07 00:41:05 +02:00
Steffen Moeller
0ff23b8168 docs: Removed redundant 'sec:tool-table' anchor 2022-04-07 00:07:57 +02:00
Hans Unzner
d8b8976c7e reviewed and back-translated changes from #1516 2022-04-06 21:37:48 +02:00
Jérémie Tarot (silopolis)
add37af84f More tries at fixing anchors
Still 5 of them to kill but have to take a break before I punch
the screen !
2022-04-06 18:34:15 +02:00
Jérémie Tarot (silopolis)
78eb18b479 Anchors fixes 2022-04-06 12:19:32 +02:00
Jérémie Tarot (silopolis)
103a0b7392 Fix build warnings and errors 2022-04-06 12:04:32 +02:00
Jérémie Tarot (silopolis)
9fe39d4cec motion/ en edits from fr migration 2022-04-06 12:04:32 +02:00
Jérémie Tarot (silopolis)
b477f87e00 user/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
d3f0393a55 ladder/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
0eb17805a4 install/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
bad8df2570 hal/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
b056b2f165 gui/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
9c62770b11 gcode/ en edits from fr migration 2022-04-06 12:04:17 +02:00
Jérémie Tarot (silopolis)
ebbf18b594 config/ en edits from fr migration 2022-04-06 09:59:50 +02:00
andypugh
ff93cfc32d
Merge pull request #1297 from rgbond/rotations
Address interpreter rotation issues
2022-04-05 22:53:20 +01:00
Dewey Garrett
d4dddb2f93 homing api updates
1) No functional changes intended
2) Simplify interface to better support out-of-tree home modules
3) Apply homing rules in homemod instead of in motmod (control.c/command.c)
   do_home_joint(): manage synced joints (negative home_sequence)
   set_unhomed(): manage homing of multiple joints (negative jno)
                  jno == -1: home all joints
                  jno == -2: home VOLATILE_HOME joints
4) Combine and simplify some api calls
5) rm need for emcmotConfig in home module
6) Privatize sequence state details for default implementation
7) Eliminates historical addition of redundant variables,
   and some code deemed unreachable -- there may be unanticpated
   consequences

Summary:

deleted: homeMotData()
deleted: do_homing_sequence()
deleted: get_home_is_volatile()
deleted: get_home_sequence_state(jno)
         (sequence state handling is now local to home module)
deleted: set_home_abort()
deleted: set_home_idle()
deleted: set_home_sequence_state()
deleted: set_home_start()
deleted: set_joint_at_home()
deleted: set_joint_homed()
deleted: set_joint_homing()

new: do_cancel_homing(jno)
new: do_home_joint(jno)
new: set_unhomed(jno,...)

Examples:

was: (get_home_sequence_state(jno) == HOME_SEQUENCE_IDLE)
is:  !get_homing_is_active(jno)

was: set_home_abort(jno)
is:  do_cancel_homing(jno)

was: set_home_idle(jno)
is:  do_cancel_homing(jno)

was: set_home_sequence_state(HOME_SEQUENCE...)
is:  do_home_joint()

was: set_joint_at_home(jno,0)
is:  set_unhomed(jno,...)

was: set_joint_homed(jno,0)
is:  set_unhomed(jno,...)

was: set_joint_homing(jno,0)
     set_home_idle(jno)
is:  do_cancel_homing(jno)
2022-04-05 11:33:28 -07:00
c-morley
7b29d56e4e
Merge pull request #1695 from snowgoer540/gregc/python3-docs
docs: fix syntax in examples for python3, broken link, and package name
2022-04-05 00:46:28 -07:00
c-morley
17bb822c55
Merge pull request #1696 from ALatSMT/master
Update pyvcp_widgets.py
2022-04-05 00:43:43 -07:00
CMorley
7839c4bc9f qtvcp -qtdragon: get velocity labels to h0nour units mode
rapid override slider label did not change properly for g20/21
2022-04-05 00:38:05 -07:00
CMorley
71a8e74f44 qtvcp -status_label: don't follow feed rate status if not specified
if you unselected everything it would still follow the feedrate override.
2022-04-05 00:38:05 -07:00
Phillip Carter
1e3565e445 axis: decode error messages from gcode filter 2022-04-05 15:26:34 +10:00
CMorley
1e5ee20692 qtvcp -qtdragon: update style file so dusabled buttons grayout
some toolbuttons were not added to the disabled command
2022-04-04 22:19:50 -07:00
CMorley
78aa19116e qtvcp -qtdragon: disable some buttons when running.
These buttons are not automatically disabled in qtvcp.
None of then should be used when running g code.
2022-04-04 22:17:38 -07:00
CMorley
91069162ed qtvcp -system/axis tool buttons: disable when interp paused
can't change these settings until interp is idle
2022-04-04 21:56:38 -07:00
CMorley
a07f444034 qtvcp -action_button: disable mode buttons when interp running
can't change mode (man, mdi, auto) when machine is running instructions
so we disable the buttons
2022-04-04 21:54:43 -07:00
CMorley
3feaf29647 qtvcp -action_button: disable jog button when interp paused
can't jog when running, even when paused
2022-04-04 21:42:39 -07:00
CMorley
4f877fb040 qtvcp -disable 'zero offset button' when interp paused.
You can't zero offsets when pausedm so diasable the buttons
2022-04-04 21:29:04 -07:00
Greg Carl
2500863908 python3: fix python2 exception
missed one
2022-04-02 21:02:45 -04:00
Greg Carl
ae7715ef65 python3: fix some lingering python2 syntax 2022-04-02 20:33:55 -04:00
ALatSMT
d2d273ad97
Update pyvcp_widgets.py
convert floating point to int
2022-04-02 17:37:57 -04:00
Greg Carl
425ed9cc9d docs: fix syntax in examples for python3, broken link, and package name 2022-04-02 10:46:49 -04:00
Hans
28d82b0a73
Merge pull request #1693 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-04-01 23:54:55 +02:00
Hosted Weblate
c94a7db32d
Merge remote-tracking branch 'origin/master' 2022-04-01 17:00:19 +02:00
Hans
6909a19536
Merge pull request #1678 from hansu/halshow-2
Halshow: add filtering of tree
2022-04-01 17:00:12 +02:00
pc179
b75a1587a9
Translated using Weblate (Chinese (Simplified))
Currently translated at 79.6% (3007 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/zh_Hans/
2022-04-01 16:13:05 +02:00
elovalvoc047faba7aa1427f
6846d7d61c
Translated using Weblate (Italian)
Currently translated at 100.0% (3775 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/it/
2022-04-01 16:13:04 +02:00
Hans
e39c9f7763
Merge branch 'master' into halshow-2 2022-04-01 16:11:50 +02:00
Hans Unzner
30b3a74c36 halshow: added "reload tree view" to menu bar 2022-04-01 15:58:06 +02:00
Hans Unzner
99ee159fb8 halshow: embed application icon in code, add pop up frame + button for filter setting 2022-04-01 15:35:48 +02:00
Dewey Garrett
9ccc297139 ini-config_es.adoc link: was:con is:with 2022-04-01 06:10:44 -07:00
andypugh
7b6e6f1476
Merge pull request #1644 from alkabal/alkabal-2.8-xhc-whb04b-6
Alkabal 2.8 xhc whb04b 6
2022-04-01 08:50:20 +01:00
andypugh
2d5d12c9aa
Merge pull request #1691 from smoe/ReduceDependencies
RFD: Reduce set of required packages -> sep packages for HAL and GUIs?
2022-03-31 23:17:30 +01:00
Steffen Moeller
a86da33238 Fixed redundant 'Recommends' line 2022-03-31 23:27:37 +02:00
Steffen Moeller
0acd545df3 Proposal to reduce set of required packages. 2022-03-31 23:27:37 +02:00
CMorley
d0913aaf1c qtvcp -fix typo 2022-03-31 05:32:23 -07:00
CMorley
05edba0dae qtvcp -catch error if xlib not available.
Add a message to prompt user of problem.
2022-03-30 22:36:00 -07:00
andypugh
5822bf7e43
Merge pull request #1284 from LinuxCNC/jepler/latency-test
fix latency-test for no-base-thread case
2022-03-30 23:48:13 +01:00
andypugh
6078404694
Merge branch 'master' into jepler/latency-test 2022-03-30 23:48:05 +01:00
andypugh
ddec773ca4
Merge pull request #1690 from elovalvo/master
Update for new version of RPi400
2022-03-30 23:43:27 +01:00
andypugh
d8ef751dd0
Merge pull request #1567 from hansu/makefile-po-gmoccapy
Add gmoccapy.pot to target 'pofiles'
2022-03-30 23:42:10 +01:00
andypugh
f48dec09a0
Merge pull request #1584 from smoe/compare_longs_not_void_pointers
cppcheck warned about a comparison of pointers from different objects
2022-03-30 23:38:56 +01:00
andypugh
7446bc11fc
Merge pull request #1580 from smoe/realloc_fix
freeing memory if allocation fails
2022-03-30 23:37:31 +01:00
andypugh
a642d1cd25
Merge pull request #1597 from smoe/debian_control_optics
Optically aligning debian/copyright dependencies
2022-03-30 23:28:19 +01:00
andypugh
e201e77db2
Merge pull request #1605 from smoe/array_initalisation
Initialising 2D array with 0s
2022-03-30 23:27:31 +01:00
Hans
103122ac24
Merge pull request #1675 from smoe/EnglishAnchorsMoreBeautifications
English anchors more beautifications
2022-03-30 19:33:00 +02:00
0eba0d0f20
Merge pull request #1687 from petterreinholdtsen/github-ci-debian-build
Use more standard debian tools for github package build.
2022-03-30 12:02:47 -05:00
Steffen Moeller
3c914209c3 Syntax adjustments for touchy_es.adoc 2022-03-30 18:44:11 +02:00
Steffen Moeller
9fd029e6d4 Reintroduced touchy_es.adoc 2022-03-30 18:35:26 +02:00
Steffen Moeller
c55a27ab29 Undoing elimination of underscores in manuals
Fixing .deb build failure
2022-03-30 18:20:03 +02:00
Steffen Moeller
8d33a703d0 docs: fixed two links 2022-03-30 18:20:03 +02:00
Steffen Moeller
097a8a18e9 docs: removed some duplicated descriptions 2022-03-30 18:20:03 +02:00
Steffen Moeller
5573df52cc Removed unused anchor 2022-03-30 18:20:03 +02:00
Steffen Moeller
06e5975268 Series of smallish changes to trigger rebuild 2022-03-30 18:20:03 +02:00
Steffen Moeller
08ce46a997 Rename Master_ -> Master- to help sep language tag 2022-03-30 18:20:03 +02:00
Steffen Moeller
2cf96111ef Simplifications, syntax fixes, increasing similarity between _fr, _en, _es 2022-03-30 18:20:03 +02:00
Steffen Moeller
0784d18a7e Removed reference to image from hal folder 2022-03-30 18:20:03 +02:00
Steffen Moeller
57f8ffb6db Introduce analogous Developer_fr manual, but not integrated in build
There are no translations in code/*.
2022-03-30 18:20:03 +02:00
Steffen Moeller
1dc2eee970 Attempt to bring _fr documentation building in line with _es and _en 2022-03-30 18:20:02 +02:00
Steffen Moeller
23d546b7f0 Removed more all-English _es files 2022-03-30 18:20:02 +02:00
Steffen Moeller
1e26172f15 docs.xml: corrected/updated filenames 2022-03-30 18:20:02 +02:00
Steffen Moeller
99cff9d75d docs: Linting and all-English removals in gui 2022-03-30 18:20:02 +02:00
Steffen Moeller
c7efe1cb15 Removed more all-English _es files, synced anchors 2022-03-30 18:20:02 +02:00
Steffen Moeller
a11ad511fe docs/_es: all-English target was removed
Eliminated another all-English _es file.

Reintroduced touchy_es - which is truly Spanish
2022-03-30 18:20:02 +02:00
Steffen Moeller
6cce8a2396 Revert me - attempting to overcome build error 2022-03-30 18:20:02 +02:00
Steffen Moeller
e7094032ad Eliminated all-English files from Master_Integrator_fr 2022-03-30 18:20:02 +02:00
Steffen Moeller
f3960a02f6 Removed all-English _fr files also from template 2022-03-30 18:20:02 +02:00
Steffen Moeller
c94ef86087 Reviewed docs/src/plasma - seems fine. 2022-03-30 18:20:02 +02:00
Steffen Moeller
0d4d8d86cc pncconf_fr moved to config 2022-03-30 18:20:02 +02:00
Steffen Moeller
fd105d9a6b Smallish simplifications/fixes for ladder/*fr 2022-03-30 18:20:02 +02:00
Steffen Moeller
324c997110 Series of beautifications of no immediate functional use. 2022-03-30 18:20:02 +02:00
Steffen Moeller
483dbc63af Yet another iteration on anchors. 2022-03-30 18:20:02 +02:00
Hans
f77c0e9d40
Merge pull request #1688 from phillc54/qtvcp-docs
docs: add QTvcp docs to pdf documentation
2022-03-30 14:56:07 +02:00
Hans
66cacbdb9b
Merge pull request #1689 from petterreinholdtsen/fixed-width-readme
Avoid '*' turning to <strong> in HTML.
2022-03-30 10:19:50 +02:00
elovalvo
ba42462954
Merge branch 'LinuxCNC:master' into master 2022-03-30 09:08:12 +02:00
Petter Reinholdtsen
3eb99e161a Avoid '*' turning to <strong> in HTML. 2022-03-30 08:57:18 +02:00
Phillip Carter
18f62fd324 docs: add QTvcp docs to pdf documentation
add pdf requirements to README.adoc
2022-03-30 15:47:48 +11:00
Petter Reinholdtsen
3e156094c4 Use more standard debian tools for github package build.
Also use eatmydata a bit more to speed up build.
2022-03-29 23:37:07 +02:00
andypugh
565275f98f
Merge pull request #1685 from smoe/Add_EatMyData_to_github_build
Added 'eatmydata' to optimize auto-builds
2022-03-29 12:08:52 +01:00
Steffen Moeller
111a13c161 Added 'eatmydata' to optimize auto-builds 2022-03-29 12:24:52 +02:00
c-morley
d3f4c28c32
Merge pull request #1683 from havardAasen/homing_pin
motion: New pin 'is-homed'. (Issue #1622)
2022-03-27 15:04:38 -07:00
Hans
8ebde71422
Merge pull request #1684 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-03-27 23:36:42 +02:00
Hosted Weblate
fa06f00ebb
Merge remote-tracking branch 'origin/master' 2022-03-27 21:59:42 +02:00
CMorley
ab76d49182 docs -classicladder: add sequential editor image 2022-03-27 12:59:18 -07:00
Hosted Weblate
96f15e72b3
Merge remote-tracking branch 'origin/master' 2022-03-27 17:52:11 +02:00
Dewey Garrett
e54a8abb3e linuxcnc.in silence ini msg since default provided
for [EMCMOT]HOMEMOD, [TRAJ]TPMOD
2022-03-27 08:48:44 -07:00
ButterflyOfFire
e44aee1ea7
Translated using Weblate (French)
Currently translated at 73.9% (2790 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2022-03-26 17:10:54 +01:00
Håvard F. Aasen
be9c0cab56 motion: New pin 'is-all-homed'. (Issue #1622)
True if all active joints is homed.
2022-03-26 08:03:21 +01:00
Greg Carl
c98a440397
Merge pull request #1682 from snowgoer540/gregc/rs274_param_check
rs274ngc_pre: fix parameter_file_name logic check
2022-03-25 21:48:30 -04:00
Greg Carl
318aa94b19
Merge pull request #1681 from snowgoer540/gregc/emctask_error
emctask: remove debug error message
2022-03-25 21:48:08 -04:00
Greg Carl
db06c1deb8
Merge pull request #1680 from snowgoer540/gregc/tp_statetag
tp: fix missing state tag during blended motion
2022-03-25 21:47:54 -04:00
Greg Carl
8b0a6ed711 rs274ngc_pre: fix parameter_file_name logic check
The original check would erroneously report "Parameter file name is 
missing" when the Parameter file name was in fact present in the INI 
file. This push fixes that logic.
2022-03-24 18:13:15 -04:00
Greg Carl
2093b39de9 emctask: remove debug error message
Per Rob Ellenberg this was left over from the development of state tags. 
It's not an error if the tag isn't valid, we just dont change the interp 
state in that case.
2022-03-24 18:07:18 -04:00
Greg Carl
7a723964df tp: fix missing state tag during blended motion
TP was not posting a valid state tag during blend motion (G64). The 
state tag for a motion was not being copied into the blended motion when 
it was created. This caused it to report the default state tag and fail 
the validity check down the track. This fix simply copies the state tag 
from the previous motion when the blend is created.

This fixes the erroneous "Parameter file name is missing" or "Unknown 
oword number" error messages that would have been received in all GUIs 
when motion was Aborted during a blend move.

While I can take credit for getting to the root of this problem and 
figuring out how to repeat it 100% of the time, the credit goes to Rob 
Ellenberg for helping me understand what was going on and ultimately 
providing the solution.
2022-03-24 18:04:26 -04:00
Hans Unzner
1558f444b9 halshow: add filtering with regex 2022-03-24 20:14:23 +01:00
Greg Carl
907754aa9a
Merge pull request #1677 from snowgoer540/gregc/bad_characters
docs: remove bad unicode characters
2022-03-24 12:55:24 -04:00
Hans Unzner
f9276361a4 docs: corrected typo 2022-03-24 14:14:20 +01:00
Hans Unzner
46b11a633c docs: removed spanish note from english doc page 2022-03-24 13:40:37 +01:00
Hans Unzner
7a8d3ff211 Merge branch 'hansu/docs' 2022-03-24 13:26:53 +01:00
Hans Unzner
bdf1044104 docs: fixed two links 2022-03-24 13:24:37 +01:00
Hans Unzner
45284f56c0 docs: removed some duplicated descriptions 2022-03-24 13:24:25 +01:00
Greg Carl
7a98bcd5f0 docs: remove bad unicode characters
there are more in the .po files, as well as some of the language 
versions. I left those alone as to not mess with translation efforts, 
but can fix there too if needed.
2022-03-24 07:45:00 -04:00
Hans
3a2720594b
Merge pull request #1672 from hansu/gmoccapy-1511
Gmoccapy & Gscreen: Stop keyboard jogging on focus-out-event
2022-03-23 16:27:45 +01:00
Hans
aaf79bf591
Merge pull request #1676 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-03-23 16:26:44 +01:00
Hosted Weblate
af1f31127e
Merge remote-tracking branch 'origin/master' 2022-03-23 05:32:03 +01:00
Hans U
21f236cc16
Translated using Weblate (German)
Currently translated at 99.1% (3743 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-03-23 05:32:03 +01:00
Phillip Carter
8b212668e1 qtplasmac: enable alignment laser for cut recovery 2022-03-23 15:31:33 +11:00
Petter Reinholdtsen
7281b5a5a7
Translated using Weblate (Norwegian Bokmål)
Currently translated at 59.6% (232 of 389 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-03-22 19:57:45 +01:00
andypugh
94d4f9c106
Merge pull request #1670 from smoe/EnglishAnchors
English anchors
2022-03-22 13:56:35 +00:00
Steffen Moeller
49e870a606 Again, more mysterious stale references
Possible final correction to get the docs to build again?

But now it is the last change to get it to build.

Another one down?

Not giving up.

gcode:parameters -> sec:overview-parameters

sec -> sub
2022-03-22 12:05:52 +01:00
Steffen Moeller
e1ab20eac1 Simplifying asciidoc - avoiding explicig line breaks 2022-03-22 12:05:52 +01:00
Steffen Moeller
bcc051a685 Another iteration to get anchors into shape
Yet another iteration on anchors.
2022-03-22 12:05:45 +01:00
Steffen Moeller
54c3fbef21 More fixes downstream go gcode_fr -> g-code_fr rename
Renamed file refercens gcode_fr -> g-code_fr
2022-03-22 12:05:34 +01:00
Steffen Moeller
56690fb350 Fixing more anchors to become language-independent 2022-03-22 12:05:34 +01:00
Steffen Moeller
4cfd9d8af6 manually updated anchors in gcode_fr.html 2022-03-22 12:05:34 +01:00
Steffen Moeller
55fe251a99 Series of fixes to Anchors that have been renamed 2022-03-22 12:05:34 +01:00
Steffen Moeller
e724d17e51 Moving HomeAxisTravel.png et al. since stepconf_fr.adoc was moved 2022-03-22 12:05:34 +01:00
Steffen Moeller
c97703df08 Further changes to filenames for consistency between languages
Some files needed to change their location.
2022-03-22 12:05:34 +01:00
Steffen Moeller
54c745d480 Adjusting filenames so po4a can match them
Initial cross-language homogenization of anchor names

Previously moved and asciidoc file into a different directory, now also moving the included images
2022-03-22 12:05:05 +01:00
andypugh
d9d84eaf07
Merge pull request #1516 from smoe/changes_on_English_for_weblate
Changes performed on English documents to help po4a
2022-03-22 00:25:44 +00:00
andypugh
7741804f0a
Merge pull request #1674 from elovalvo/2.8
Update for new version of Rpi400
2022-03-21 18:39:53 +00:00
elovalvo
2b1160ac3b
Merge pull request #1 from elovalvo/elovalvo-patch-1
Update for new version of Rpi400
2022-03-21 15:08:07 +01:00
elovalvo
2bbf356439
Update for new version of Rpi400
Update for new version of Rpi400
2022-03-21 15:06:43 +01:00
elovalvo
2db464151e
Update for new version of Rpi400
Update for new version of Rpi400
2022-03-21 15:04:58 +01:00
elovalvo
1ce452c447
Update for new version of Rpi400
Update for new version of Rpi400
2022-03-21 10:49:07 +01:00
Hans Unzner
3193116925 halshow: add right-click to add tree branches to watch 2022-03-20 22:57:07 +01:00
Hans
fd7d0ff2ea
Merge pull request #1630 from hansu/docs-2.8
Improved Modbus to Hal docs + man page (2.8)
2022-03-20 21:17:30 +01:00
Hans
36b82992df
Merge pull request #1671 from hansu/fix-hal_lightbutton
fix hal_lightbutton (#1266)
2022-03-20 21:16:05 +01:00
Hans Unzner
47fed733f4 docs: changed url in halshow doc 2022-03-20 18:34:17 +01:00
Hans Unzner
304cf5b2b0 docs: created mb2hal doc based on sample ini file 2022-03-20 18:34:17 +01:00
Hans Unzner
f9d687180a mb2hal: added pins to manpage 2022-03-20 18:34:17 +01:00
Hans Unzner
97453b003e docs: fixed link 2022-03-20 18:34:17 +01:00
Hans Unzner
e855255cd3 docs: include mb2hal ini file in docs 2022-03-20 18:34:17 +01:00
Hans Unzner
becdc0f298 mb2hal: updated and fixed sample configuration 2022-03-20 18:34:17 +01:00
Hans Unzner
73df41b44a gscreen: stop all jogging on focus-out-event 2022-03-20 15:57:58 +01:00
Hans Unzner
3a62227947 gmoccapy: stop all jogging on focus-out-event (#1511) 2022-03-20 15:18:41 +01:00
Hans Unzner
95e133e9cd fix hal_lightbutton (#1266) 2022-03-20 12:56:15 +01:00
Hans Unzner
bac8b229c9 gmoccapy: forgot to center one button's label (#1561) 2022-03-19 19:29:43 +01:00
Hans Unzner
0cc635fa7f gmoccapy: fix error when pressing "R" or "r" 2022-03-19 19:25:27 +01:00
CMorley
1005834b0d pncconf -inprove read-ablity of step timing settings in tune test
Couldn't read the full setting if over 9999.
also get rid of the decimal in the 'original' label.
2022-03-19 10:39:02 -07:00
CMorley
8fee9524c6 pncconf: display step timing better
some digits were covered
2022-03-18 20:40:57 -07:00
CMorley
26d9ad96f1 pncconf -add MDI macro commands for qtdragon screen 2022-03-18 17:10:27 -07:00
CMorley
8484cb56b4 qtvcp -qtdragon: improve layout of screen
Thanks to MarkoPolo of the forum.
2022-03-18 17:08:36 -07:00
CMorley
5c8795fddf qtvcp -docs: update info on copy dialog 2022-03-18 16:55:50 -07:00
CMorley
708037df78 qtvcp -rename copy_dialog to copy - easier to type in 2022-03-18 16:55:50 -07:00
CMorley
55b4dd1157 qtvcp -update copy dialog for copying panels and vismach files. 2022-03-18 16:55:50 -07:00
CMorley
825d4a59ed qtvcp -action_button: add a warning tooltip to INI MDI command
if an action button is to run an INI MDI command, but that command is missing,
make a tooltip for the button to give a clue.
2022-03-18 16:55:50 -07:00
Phillip Carter
01a15847d1 qtplasmac: fix version numbering 2022-03-19 10:38:11 +11:00
Phillip Carter
45764e00f4 qtplasmac: prevent gui hang from user button 2022-03-19 10:33:22 +11:00
Steffen Moeller
68740a043a Added missing anchor cnc:interpreter-interaction-with-switches 2022-03-18 15:10:37 +01:00
Steffen Möller
0f79096aa1 Update docs/src/gcode/tool-compensation.adoc
Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Möller
a4a8132df8 Update docs/src/gcode/overview.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

M-code as singular-attantum
2022-03-18 15:10:37 +01:00
Steffen Möller
4280d4fe5c Update docs/src/gcode/machining-center.adoc
Back-translation from French by @silopolis

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/machining-center.adoc

All lower-case is fine since the anchor is not referenced.

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/machining-center.adoc

Anchors should be in English

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Möller
1c10a8b09c Update docs/src/gcode/o-code.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/o-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Moeller
4fc2913bfb Removed redundant 'cooling' section 2022-03-18 15:10:37 +01:00
Steffen Moeller
4b9c3cba12 Shortened block separator 2022-03-18 15:10:37 +01:00
Steffen Möller
d0c2416524 Update docs/src/gcode/m-code.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/m-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Möller
8f02de44e1 Update docs/src/gcode/m-code_fr.adoc
lower-case anchors

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Möller
22d2a083a4 Update docs/src/gcode/g-code.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/g-code.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:37 +01:00
Steffen Möller
4db25c5370 Update docs/src/gcode/gcode_fr.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/gcode_fr.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
24df390798 Update docs/src/gcode/coordinates.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/gcode/coordinates.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
a369db4004 Update docs/src/examples/mpg.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/examples/mpg.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
44008bd69e Update docs/src/drivers/mitsub_vfd.adoc
Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
8e2b0bb831 Update docs/src/drivers/gs2.adoc
Reverse-translated from french.

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
b07af30675 Update docs/src/drivers/pluto-p.adoc
Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/drivers/pluto-p.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/drivers/pluto-p.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/drivers/pluto-p.adoc

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/drivers/pluto-p.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
3be43a1fe2 Update docs/src/config/python-interface.adoc
shorter lines are sufficient and more elegant.

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/config/python-interface.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
e0aabb12ed Update docs/src/common/linux-faq.adoc
Typo

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/common/linux-faq_es.adoc

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
d2ca4a69b0 Update docs/src/common/emc-history.adoc
Remove blank.

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
d24072f504 Update docs/src/Master_Integrator.adoc
The version shall be part of the header, not regular text.

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
a20bea0a01 Update docs/src/getting-started/getting-linuxcnc.adoc
Added anchor.

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/getting-started/getting-linuxcnc.adoc

Added index Alternate Install Method.

Co-authored-by: silopolis <silopolis@gmail.com>

Update docs/src/getting-started/getting-linuxcnc.adoc

Fixed [NOTE] syntax,

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Möller
75c52c7024 Update docs/src/Master_Getting_Started_zh_CN.adoc
Have thee version as a header, not as regular text.

Co-authored-by: silopolis <silopolis@gmail.com>
2022-03-18 15:10:36 +01:00
Steffen Moeller
40cef7afad More reviews, added more // vim: set syntax=asciidoc: 2022-03-18 15:10:36 +01:00
Steffen Moeller
c3e66c3130 Reversing in-line anchors that break references 2022-03-18 15:10:36 +01:00
Steffen Moeller
fb3e8fbc31 Anchor before chapter/section headings - corrected all occurences
docs: reviewed formatting of src/hal

docs: Review of src/user

docs: Reviewed src/integrator

docs: Reviewed src/ladder

docs: Reviewed src/getting-started

docs: Reviewed src/drivers

docs: Reviewed src/remap

docs: Reviewed src/motion

docs: Reviewed src/{source-highlight,tooldatabase,plasma]

docs: Review of src/{code,common,user}

docs: Removed stale link in _es

Changes performed on English documents to help po4a

These are mostly addressing the indentation. A few artifacts
from franctic bug searches are possible but should be an exception.

Also fixed references when porting paragraphs between languages,
the one or other extra syntax fix.

Also adjusting a few tables.

Circumventing what I consider a highlighting bug

reviewed rtcoms*.adoc

Further experiments to overcome ':images' problem

Increasingly clueless why Spanish PDF is not built

Review formatting of FAQ_fr

Uncommenting another images because of weird build error

Avoiding different make docs failure with cross-ref

Syntax arrangements to overcome ref error

More scrutiny - preparing for [[anchors]] in = line

https://docs.asciidoctor.org/asciidoc/latest/attributes/id/#anchor
2022-03-18 15:10:36 +01:00
CMorley
597eee2aca qtvcp -filemanager: set a minimum size for file filter combobox
In some systems the default minimum is too small.
2022-03-17 22:03:26 -07:00
CMorley
325d8f7e6e qtvcp -qtdragon/hd: increase setup page's tool button size 2022-03-17 22:03:26 -07:00
Greg Carl
9f91a22969 docs: update repo address in building-linuxcnc doc
As of March 15, 2022 the unencrypted Git protocol is permanently 
disabled.  Read more here: 
https://github.blog/2021-09-01-improving-git-protocol-security-github/
2022-03-16 17:12:30 -04:00
Phillip Carter
23bb2ec49c fix for full circle interpretation 2022-03-16 16:55:52 +11:00
Phillip Carter
795f1f830a qtplasmac: use gcode units for the material overlay 2022-03-16 15:08:01 +11:00
Phillip Carter
bfe1125f98 qtplasmac: change safe height tests and messages 2022-03-16 15:01:13 +11:00
Phillip Carter
81aeaff8e4 qtplasmac: edit qtplasmac prefs instead of system prefs 2022-03-15 17:43:47 +11:00
Phillip Carter
838dfb2f67 qtplasmac: conversational block allow negative offsets 2022-03-15 17:29:48 +11:00
Greg Carl
5ff5e6051f qtplasmac: more appropriate updater fix 2022-03-14 21:17:40 -04:00
Greg Carl
7d9d0144be qtplasmac: move update check after preference file creation
Fixes first run on sim and new machines
2022-03-14 19:10:42 -04:00
Sebastian Kuzminsky
13c2149c50
Merge pull request #1667 from DerAndere1/fix_feedrate_docs
update comment that defines feedrate
2022-03-14 09:26:38 -06:00
Hans
0cd5e7f6cd
Merge pull request #1665 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-03-14 08:22:06 +01:00
Hosted Weblate
8fa23a97ab
Merge remote-tracking branch 'origin/master' 2022-03-14 02:00:58 +01:00
Phillip Carter
50a367c55c qtplasmac: allow nested run from line 2022-03-14 12:00:09 +11:00
Phillip Carter
3db5d97a57 qtplasmac: rework run from line subroutine detection 2022-03-14 11:30:21 +11:00
Phillip Carter
eca100747f qtplasmac: rework run from line start of cut 2022-03-14 11:29:51 +11:00
Phillip Carter
d925c6634b qtplasmac: rework run from line material handling 2022-03-14 11:27:27 +11:00
Hosted Weblate
95b36fae79
Merge remote-tracking branch 'origin/master' 2022-03-13 22:41:00 +01:00
Hans
8d510ad710
Merge pull request #1647 from hansu/gmoccapy-toolchanger-add-pin
Gmoccapy: add confirm pins for toolchanger and warning dialogs
2022-03-13 22:40:55 +01:00
Hosted Weblate
2ab6e82160
Merge remote-tracking branch 'origin/master' 2022-03-13 22:27:12 +01:00
c-morley
a0093c5a60
Merge pull request #1668 from luzpaz/XEmbedFowarding-follow-up
Follow-up to b016bf7722 (missing in previous commit)
2022-03-13 14:27:07 -07:00
luz paz
ea76d8a722 Follow-up to b016bf7722 (missing in previous commit) 2022-03-13 17:20:29 -04:00
c-morley
b64025d8d8
Merge pull request #1649 from hansu/gmoccapy-gcode-view-2.8
Gmoccapy: fix gcode view issue (2.8)
2022-03-13 14:12:52 -07:00
Hosted Weblate
f42df22030
Merge remote-tracking branch 'origin/master' 2022-03-13 22:11:38 +01:00
c-morley
c86acdc02d
Merge pull request #1664 from hansu/fix-gscreen-status-id
gscreen: fix status id (#1617)
2022-03-13 14:11:34 -07:00
Hosted Weblate
ec70a3f9da
Merge remote-tracking branch 'origin/master' 2022-03-13 21:56:16 +01:00
c-morley
b016bf7722
Merge pull request #1662 from luzpaz/typo/XEmbedFowarding
qtvcp: fix source typo
2022-03-13 13:56:11 -07:00
DerAndere
898937fc93 update comment that defines feedrate 2022-03-13 20:32:35 +01:00
Hosted Weblate
826a75f9a6
Merge remote-tracking branch 'origin/master' 2022-03-13 13:29:09 +01:00
Greg Carl
47e630bae3 qtplasmac: add keyboard shortcut and hal pin to mimic LASER button 2022-03-13 08:28:35 -04:00
Hosted Weblate
52fef63b65
Merge remote-tracking branch 'origin/master' 2022-03-13 12:53:22 +01:00
Hans U
23f520e7b9
Translated using Weblate (German)
Currently translated at 99.2% (386 of 389 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-03-13 12:53:21 +01:00
Hans U
e471c4d9d8
Translated using Weblate (German)
Currently translated at 99.1% (3743 of 3775 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-03-13 12:53:21 +01:00
Hans
1781e9ab8b
Merge pull request #1629 from hansu/docs
Improved docs, mostly Modbus to Hal
2022-03-13 12:53:14 +01:00
Hans Unzner
76b5c2708b docs: used subsections for hostmod2 man page 2022-03-13 12:10:04 +01:00
Hans Unzner
0b80e12745 doc: correct gmoccapy doc and fixed futher typos of responce -> response 2022-03-13 12:10:04 +01:00
Hans Unzner
03eacae168 docs: created mb2hal doc based on sample ini file 2022-03-13 12:09:51 +01:00
Hans Unzner
2d92c5c778 mb2hal: added pins to manpage 2022-03-13 12:04:59 +01:00
Hosted Weblate
f9b66c4cb8
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
2022-03-13 11:06:08 +01:00
Hosted Weblate
0109c5246d
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/
2022-03-13 11:06:07 +01:00
Hans Unzner
30cc76be74 updated pot-files 2022-03-13 11:05:10 +01:00
Hans Unzner
10ca083870 Merge branch 'halshow-2' 2022-03-13 10:59:13 +01:00
Hans Unzner
947da2bf14 halshow: obtain config dir from running linuxcnc process 2022-03-13 10:58:47 +01:00
CMorley
c55caa5227 qtvcp -dialog_widgets: catch a config error - no return mechanism
dialog can return value; directly, through a return callback, or by
status message.
You must pick one.
2022-03-12 11:45:43 -08:00
CMorley
b2d0a75ee4 qtvcp -pstar: add qt vismach model path 2022-03-12 11:45:43 -08:00
CMorley
2147a899cb qtvcp -docs: add info on newly available vismach vcp panels 2022-03-12 11:45:43 -08:00
CMorley
05a9dac768 qtvcp -qt_vismach: add panels for gantry and millturn and other tweaks 2022-03-12 11:45:43 -08:00
Sebastian Kuzminsky
c952a81589
Merge pull request #1660 from havardAasen/fix_desktop_icon
packaging: Fix desktop icons not found (Fixes #1655)
2022-03-12 12:01:17 -07:00
Hans
2e3378daa3
Merge pull request #1663 from hansu/gmoccapy-gcode-view
Gmoccapy: fix some issues with g code editing (e.g. #1176)
2022-03-12 17:18:14 +01:00
Hans Unzner
e56c134bbd gscreen: fix status id (#1617) 2022-03-12 17:07:33 +01:00
Hans Unzner
1b6d9be29c docs: updated docs regarding gmoccapy dialog confirm pins 2022-03-12 16:36:13 +01:00
Hans Unzner
a7b2425187 gmoccapy: gmoccapy: added confirm pins for toolchange and general warning dialogs, close toolchanger window on abort command 2022-03-12 16:33:08 +01:00
Hans Unzner
50ca4f2872 sourceview: improve text search 2022-03-12 16:01:06 +01:00
Hans Unzner
612b1155df sourceview: fix replace all + improve replace 2022-03-12 16:00:12 +01:00
Hans Unzner
a52b23a178 sourceview: fix crash on text replace 2022-03-12 15:57:52 +01:00
Hans Unzner
6ca016be40 gmoccapy: sensitize save button after 'save as' 2022-03-12 15:57:52 +01:00
Hans Unzner
126de9d0ae gmoccapy: fixed save and save as
re-added properties for EMC_Action_Save and EMC_Action_SaveAs
which gone lost in d2d7d5d65c
2022-03-12 15:56:59 +01:00
Hans Unzner
a697441d4e gmoccapy: disable vertical fill for gcode edit entries 2022-03-12 15:50:47 +01:00
Hans Unzner
4601d54083 gmoccapy: fix detection of file change 2022-03-12 15:48:54 +01:00
Hans Unzner
346ed5e65e gmoccapy: add padding to gcode view buttons 2022-03-12 15:48:47 +01:00
Greg Carl
53349b2b65 qtplasmac: prevent saving a file as "rfl.ngc" 2022-03-12 07:52:30 -05:00
Hans Unzner
309462cda7 gmoccapy: sensitize save button after 'save as' 2022-03-12 12:33:42 +01:00
Hans Unzner
c9f1734da6 gmoccapy: fix detection of file change 2022-03-12 12:33:28 +01:00
Hans
8135c9805f
Merge pull request #1650 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-03-11 23:21:06 +01:00
luz paz
9b96703464 qtvcp: fix source typo
Fix source typo `XEmbedFowarding` to `XEmbedForwarding`
2022-03-11 16:52:00 -05:00
Håvard F. Aasen
d3effdff94 packaging: Fix desktop icons not found (Fixes #1655)
Drop path and extension for icons. The icon for English documentation
had also been renamed 'linuxcnc-en' -> 'linuxcnc_en'.
2022-03-10 15:37:44 +01:00
Hosted Weblate
855271c639
Merge remote-tracking branch 'origin/master' 2022-03-10 05:46:39 +01:00
c-morley
29b98cac1a
Merge pull request #1652 from alkabal/patch-5
Update versa_probe_screen.py
2022-03-09 20:46:34 -08:00
Steffen Moeller
3797046f65 Further improved debian/README.source 2022-03-10 02:29:54 +01:00
Hosted Weblate
503e244de8
Merge remote-tracking branch 'origin/master' 2022-03-09 03:40:19 +01:00
Phillip Carter
cebd57f652 qtplasmac: fix run from line parameter checking
remove redundant prefs command and file
2022-03-09 13:39:54 +11:00
Hosted Weblate
b7df1bd74d
Merge remote-tracking branch 'origin/master' 2022-03-08 23:21:06 +01:00
Greg Carl
ff2c6331a2 sim-torch: fix exception handling
KeyboardInterrupt on close was still making it to the terminal 
occassionally.
2022-03-08 17:20:39 -05:00
Hosted Weblate
a174c90214
Merge remote-tracking branch 'origin/master' 2022-03-08 04:43:47 +01:00
Phillip Carter
1d74be195b qtplasmac: fix prefs filename in gcode filter 2022-03-08 14:43:25 +11:00
Hosted Weblate
c6c39e9bf6
Merge remote-tracking branch 'origin/master' 2022-03-08 02:37:05 +01:00
Ernesto Lo Valvo
86ca78a6a3
Translated using Weblate (Italian)
Currently translated at 100.0% (3757 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/it/
2022-03-08 02:37:05 +01:00
Phillip Carter
4464df5b64 qtplasmac: split prefs file 2022-03-08 12:36:38 +11:00
Phillip Carter
78489864d0 qtplasmac: add optional sim hal files 2022-03-08 12:36:38 +11:00
Hosted Weblate
017c4b45e4
Merge remote-tracking branch 'origin/master' 2022-03-07 02:46:45 +01:00
CMorley
e524d5e6a1 qtvcp -qt_vismach: add a README about converting vismach scripts 2022-03-06 17:43:54 -08:00
CMorley
45cb45b59d qtvcp -qt_vismach:add a converted gantry and mill turn scripts 2022-03-06 17:26:59 -08:00
CMorley
21f2ab973d qtvcp -qt_vismach: add missing math library 2022-03-06 17:25:22 -08:00
Hosted Weblate
40eb138f28
Merge remote-tracking branch 'origin/master' 2022-03-07 00:57:05 +01:00
CMorley
eecc3bb410 qtvcp -docs: update qt_vismach docs 2022-03-06 15:56:13 -08:00
CMorley
50e6d5cda5 qtvcp -qt_vismach: update sample sripts - clean up code 2022-03-06 15:56:13 -08:00
CMorley
29bc954f4e qtvcp -qt_vismach: add HalToolCylinder object
Moved from mill_xyz
2022-03-06 15:56:13 -08:00
alkabal
dae2408069
Update versa_probe_screen.py
I'm unsure but i think "import Pangp" is a typo mistake and need to be "import Pango"
2022-03-06 21:47:29 +01:00
Hosted Weblate
ebdcbf819d
Merge remote-tracking branch 'origin/master' 2022-03-06 20:12:50 +01:00
CMorley
f2a5ed44b5 qtvcp -aux_programs: add ability to get error messages from bad loading.
also now in MDI line you can call say halmeter with arguments.

thank you Greg C ! those plasma guys have good ideas!
2022-03-06 11:06:28 -08:00
c-morley
9b2b567c0a
Merge pull request #1642 from alkabal/patch-4
missing in documentation for INI RS274 + TRAJ section
2022-03-06 10:05:49 -08:00
Hosted Weblate
e765763704
Merge remote-tracking branch 'origin/master' 2022-03-06 18:56:29 +01:00
c-morley
02c74f8b0c
Merge pull request #1651 from hansu/classicladder
classicladder: some rework on UI
2022-03-06 09:56:22 -08:00
Hans U
e13816c8d7
Translated using Weblate (German)
Currently translated at 99.1% (3724 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-03-06 15:00:22 +01:00
Hans Unzner
a1420c314a classicladder: some rework on UI
- updated path in about info
- left aligned modbus settings page
- added table headers to translation
2022-03-06 12:51:23 +01:00
Hans U
f1d92b5dfd
Translated using Weblate (German)
Currently translated at 100.0% (388 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-03-06 10:58:27 +01:00
Hans U
fd6bff293f
Translated using Weblate (German)
Currently translated at 99.1% (3724 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-03-06 10:58:26 +01:00
alkabal
9b18c482b5
Update ini-config.txt 2022-03-06 10:25:33 +01:00
CMorley
beb898daee qtvcp -qt_vismach: update sample simulations to use HUD
HUD adds a tittle to prove it works.
Also now use qt_vismach's window if invoked directly from python3
it has sliders for zoom and translation.
2022-03-05 21:17:25 -08:00
CMorley
df40dfeb5e qtvcp -qt_vismach: get the HUD working
Now me can display text
2022-03-05 21:16:31 -08:00
c-morley
32b8a41afd
Merge pull request #1639 from hansu/fix-color-in-glade
gladevcp: fix color in VCP elements
2022-03-05 19:12:39 -08:00
CMorley
3b489fd20a qtvcp docs: update qt_vismach info
removed direct = 1 function argument requirement.
added more detail.
2022-03-05 12:19:48 -08:00
CMorley
ceb58626cd qtvcp -qt_vismach: remove 'direct=1' argument from HAL movement objects
We can infer what way to get the pin value from whether the component
is None or not.
None = read HAL pin directly, otherwise read the HAL component's pin
2022-03-05 12:03:53 -08:00
CMorley
ca8ae355ee qtvcp -add detail aout qt_vismach
Mpre detail is probably needed - its a start.
2022-03-05 00:45:52 -08:00
CMorley
4dc98a6d76 qtvcp -qt_vismach - use absolute imports - allows running directly 2022-03-05 00:45:52 -08:00
alkabal
9de3027dd4
Update ini-config.txt 2022-03-05 03:03:56 +01:00
alkabal
d182e7fa53
Merge pull request #1 from LinuxCNC/2.8
2.8
2022-03-04 00:24:45 +01:00
alkabal
4df126fcc8
Add files via upload 2022-03-04 00:03:32 +01:00
alkabal
6d64efd597
correcting submakefile for 2.8 2022-03-04 00:02:38 +01:00
alkabal
0c86def90c
update 2022-03-03 23:55:56 +01:00
alkabal
9ae60fafdd
missing in documentation for INI RS274 section
https://github.com/LinuxCNC/linuxcnc/issues/1636

In relation with this link i can propose this change.

Br
2022-03-03 20:44:28 +01:00
Phillip Carter
40c325273b
Merge pull request #1603 from hansu/halshow-2
halshow: remember window geometry and watchlist
2022-03-03 10:06:03 +11:00
Phillip Carter
53ad6d8053 qtplasmac: fix power button checked state
don't use bold text in material overlay
2022-03-03 09:39:43 +11:00
andypugh
cbf6bf12c6
Merge pull request #1641 from JTrantow/2.8
Gantry example config updated for EDITOR=geany and restrore more generous timing.
2022-03-02 16:50:27 +00:00
Jerry Trantow
f895fa1fe5 Change EDITOR = geany.
Restore more generous dirhold and dirsetup timing.
2022-03-02 10:05:33 -06:00
Hans Unzner
ebd684b749 halshow: disable format settings when passed as command line argument 2022-03-02 11:16:48 +01:00
Phillip Carter
dca053cd34 qtplasmac: add jog inhibit override 2022-03-02 14:33:10 +11:00
Jerry Trantow
3fa39986a1 Updated the gantry example with what I gather from the forum is best practice.
1) Reduce from 4(XYZA) to 3(XYZY) coordinate.
2) Use negative HOME_SEQUENCE values for synchronous homing of the dual Y joints.
3) Rename signals such as adir, astep to y2dir, ystep.
2022-03-01 21:15:31 -06:00
Phillip Carter
4caf9345a4 qtplasmac: use a transparent material overlay 2022-03-02 13:19:30 +11:00
andypugh
aaf872747f
Merge pull request #1617 from satiowadahc/cw-statusid
Emcmodule - Renaming status.id
2022-03-01 22:30:34 +00:00
Hans Unzner
061ae4f621 gladevcp: fix color in vcp elements (#1596) 2022-03-01 17:28:03 +01:00
Greg Carl
f81ec6a9ec sim-torch: add exception handling 2022-02-28 20:59:30 -05:00
Greg Carl
3a79cce1ea qtplasmac: fix jog inhibit KeyError 2022-02-28 19:17:52 -05:00
andypugh
f4abc2b877
Merge pull request #1633 from JTrantow/master
Readme incorrectly stated XYZY when it should be XYYZ. Reported as #1…
2022-02-28 10:26:22 +00:00
Phillip Carter
3df5594e83 inhibit jogwheels if jog-inhibit is true 2022-02-28 15:05:50 +11:00
Jerry Trantow
852e9876c1 Readme incorrectly stated XYZY when it should be XYYZ. Reported as #1632. 2022-02-27 18:18:01 -06:00
Hans Unzner
c972e4597e mb2hal: updated sample config file 2022-02-27 10:25:30 +01:00
Hans Unzner
b345dcca8e mb2hal: fixed error in sample config file 2022-02-27 10:25:30 +01:00
Hans Unzner
cda799fda4 docs: fixed link 2022-02-27 10:25:30 +01:00
Hans Unzner
67438a9e97 docs: include mb2hal ini file in docs 2022-02-27 10:25:14 +01:00
c-morley
55e97f8b1a
Merge pull request #1453 from hansu/gmoccapy-limit-switch-estop
gmoccapy: fix limit switch issue (#1000)
2022-02-26 19:01:13 -08:00
Phillip Carter
9860a51479 sim-torch:remove redundant print and gitignore 2022-02-27 11:38:33 +11:00
Sebastian Kuzminsky
fe67825bd8
Merge pull request #1607 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-02-26 15:00:40 -07:00
Hosted Weblate
73d8dfad0a
Merge remote-tracking branch 'origin/master' 2022-02-26 21:36:18 +01:00
c-morley
b283f3e4b5
Merge pull request #1627 from hansu/offsetpage-dont-translate_Gs
offsetpage widget: Remove offsets from translation
2022-02-26 12:36:13 -08:00
Hans Unzner
761fda8f0a halshow: changed packing order of watch scrollbar to avoid to be hidden 2022-02-26 19:52:31 +01:00
Hans Unzner
70ea45fd9e halshow: keep scrollbar position when reloading or removing items 2022-02-26 19:52:22 +01:00
Hans Unzner
a218469535 offsetpage widget: Remove offsets from translation 2022-02-26 11:33:50 +01:00
Hosted Weblate
7893757330
Merge remote-tracking branch 'origin/master' 2022-02-26 07:34:25 +01:00
Phillip Carter
38e416630d qtplasmac: change sim-torch to a userspace component 2022-02-26 17:33:30 +11:00
Hosted Weblate
c1030666f5
Merge remote-tracking branch 'origin/master' 2022-02-26 05:05:52 +01:00
Dewey Garrett
3ad6df4df1 motion.h rm funcs that can be in mot_priv 2022-02-25 20:26:11 -07:00
Dewey Garrett
bc25e8bd53 Makefile update tpmod sources
for custom module loading, tpmod.so cannot not include axis.o
(motmod.so provides it)
2022-02-25 20:22:00 -07:00
Dewey Garrett
bb8b63eab0 Merge pull request #1624 from 'arvidbrodin-motmod-refactoring' 2022-02-25 19:39:25 -07:00
CMorley
67f5505dd4 qtvcp -actionbutton: fix calling 'print' in a user python command
action buttons can call user selected python commands.
builtin python functions are restricted - so print() was not available.
print is now allowed and added better error messages.
2022-02-25 19:36:53 -07:00
Phillip Carter
b755a748f4 qtplasmac: 9x16 gui change parameters tab layout 2022-02-25 19:36:53 -07:00
Phillip Carter
3b94f5a635 qtplasmac: allow shutdown from power button
change shutdown messages
2022-02-25 19:36:53 -07:00
Phillip Carter
78d4c42f8a qtplasmac: add a simple torch simulator 2022-02-25 19:36:53 -07:00
Peter Wallace
17360ab7c1 Fix minor outm mistrakes 2022-02-25 19:36:53 -07:00
Phillip Carter
3895e04a2a qtplasmac: fix incorrect error after incremental jog 2022-02-25 19:36:53 -07:00
Peter Wallace
513201ff7b Add OutM simple output module support 2022-02-25 19:36:53 -07:00
alkabal
3237972ab1 Correcting a typo in gladevcp html doc 2022-02-25 19:36:53 -07:00
Hans Unzner
275b684546 offsetpage-widget: 'black' must not be translated
This results in a warning, here for locale DE: Gtk-WARNING **: Don't know color 'Schwarz'
2022-02-25 19:36:53 -07:00
Hans Unzner
6cb8a4b1f1 fix: translation of hal_mdihistory broke other translations 2022-02-25 19:36:52 -07:00
Hans Unzner
f2e9bd8c1b gmoccapy: Fix jogging with max velocity (SHIFT + jog key)
Before, jogging with Shift-down was reduced by the halui.max-velocity setting
2022-02-25 19:35:29 -07:00
Hosted Weblate
919c767aef
Merge remote-tracking branch 'origin/master' 2022-02-26 01:54:36 +01:00
c-morley
0c434122ae
Merge pull request #1498 from hansu/gmoccapy-fix-jog-maxvel
Gmoccapy: fix jogging with max. velocity
2022-02-25 16:54:29 -08:00
c-morley
3291abfbbb
Merge branch 'master' into gmoccapy-fix-jog-maxvel 2022-02-25 13:56:59 -08:00
Hosted Weblate
317acdbc3e
Merge remote-tracking branch 'origin/master' 2022-02-25 22:52:46 +01:00
c-morley
1f870d6942
Merge pull request #1591 from hansu/fix-offsetpage-translated-string
offsetpage-widget: translation of 'black' results in a Gtk-Warning
2022-02-25 13:52:40 -08:00
Hosted Weblate
d5f990c409
Merge remote-tracking branch 'origin/master' 2022-02-25 21:07:58 +01:00
c-morley
d01076c984
Merge pull request #1606 from hansu/fix-hal-mdihistory
fix: translation of hal_mdihistory broke other translations
2022-02-25 12:07:53 -08:00
Hosted Weblate
29d25bbec8
Merge remote-tracking branch 'origin/master' 2022-02-25 21:00:16 +01:00
CMorley
7762d3a2de qtvcp -actionbutton: fix calling 'print' in a user python command
action buttons can call user selected python commands.
builtin python functions are restricted - so print() was not available.
print is now allowed and added better error messages.
2022-02-25 11:59:05 -08:00
Hosted Weblate
5461a570e0
Merge remote-tracking branch 'origin/master' 2022-02-24 04:37:00 +01:00
Phillip Carter
3ba0951743 qtplasmac: 9x16 gui change parameters tab layout 2022-02-24 14:36:34 +11:00
Hosted Weblate
36d4951cfc
Merge remote-tracking branch 'origin/master' 2022-02-24 03:49:38 +01:00
Phillip Carter
8281d86fc4 qtplasmac: allow shutdown from power button
change shutdown messages
2022-02-24 13:49:17 +11:00
Hosted Weblate
7a3e9d8081
Merge remote-tracking branch 'origin/master' 2022-02-23 05:29:52 +01:00
Phillip Carter
294616f4bd qtplasmac: add a simple torch simulator 2022-02-23 15:29:29 +11:00
Hosted Weblate
90d4c24cd3
Merge remote-tracking branch 'origin/master' 2022-02-23 03:22:35 +01:00
Peter Wallace
b9fd027576 Fix minor outm mistrakes 2022-02-22 18:21:48 -08:00
Hosted Weblate
524fb50e67
Merge remote-tracking branch 'origin/master' 2022-02-22 02:32:49 +01:00
Peter Wallace
da3b6de61d Add OutM module 2022-02-21 17:31:39 -08:00
Hosted Weblate
a1c4979b6a
Merge remote-tracking branch 'origin/master' 2022-02-22 02:28:56 +01:00
Phillip Carter
00ce3f7dc6 qtplasmac: fix incorrect error after incremental jog 2022-02-22 12:26:22 +11:00
Peter Wallace
dd3f7c7cd0 Add OutM simple output module support 2022-02-21 17:23:42 -08:00
Hosted Weblate
ada0ce80d4
Merge remote-tracking branch 'origin/master' 2022-02-21 18:07:27 +01:00
Sebastian Kuzminsky
11f3e356f4
Merge pull request #1615 from alkabal/patch-3
Correcting a typo in gladevcp html doc
2022-02-21 10:07:22 -07:00
Arvid Brodin
c0e705dcfd motmod refactoring: Encapsulate emcmot_axis_t and axis_hal_t into axis.c
Move machine axis (not Axis the GUI) data and code into new file
emc/motion/axis.c. Modify files that directly access axis data to
use access functions instead.

Reduces emcmot_axis_t and axis_hal_t types' visibility to only axis.c.
Moves initialisation of data and creation of axis hal pins into axis.c.

Rationale: increase code clarity and make it easier to understand and
maintain the code.

No functional changes intended.
2022-02-21 18:04:47 +01:00
Arvid Brodin
840c3bf5e6 motmod refactoring: motion.c:init_hal_io(): Indentation and error checking
Fix wrong indentation and introduce CALL_CHECK macro to abort and return
any error values. Also some style fixes. No functional changes intended.
2022-02-21 16:32:54 +01:00
Arvid Brodin
fda6f9c598 motmod refactoring: Prep for axis data encapsulation.
Some code changes in preparation for moving emcmot_axis_t
related code to its own source file. No change of functionality
intended.
2022-02-21 16:32:54 +01:00
Arvid Brodin
730e7bbab9 motmod refactoring: Strip trailing whitespace from control.c, command.c 2022-02-21 16:22:49 +01:00
Steffen Moeller
ab9e75c693 Initialising 2D array with 0s
As usual, cppcheck pointed to it.

posemath/gomath.c:1785:3: error: Uninitialized variable: stg [uninitvar]
  go_matrix_init(N, Nspace, 4, 4);
  ^
posemath/gomath.c:1785:3: error: Uninitialized variable: stgcpy [uninitvar]
  go_matrix_init(N, Nspace, 4, 4);
  ^

Adapted suggestion by @rene-dev in https://github.com/LinuxCNC/linuxcnc/pull/1605
2022-02-21 12:50:32 +01:00
Hosted Weblate
0fe1f3201c
Merge remote-tracking branch 'origin/master' 2022-02-20 07:25:09 +01:00
Phillip Carter
ae34398779 qtplasmac: fix onboard keyboard switching 2022-02-20 17:24:50 +11:00
Hosted Weblate
5a27e0e44b
Merge remote-tracking branch 'origin/master' 2022-02-20 01:43:01 +01:00
Petter Reinholdtsen
1489fc1a9e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 6.8% (259 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-02-20 01:43:00 +01:00
Dewey Garrett
a5c7e07bb9 command.c remove code unreachable code
bug in 6a2069ff52 (not recognizing servo_period as long int)
made block unreachable and intended fix was not appropriate

thanks to Arvid Brodin
2022-02-19 17:41:05 -07:00
Chadly
a76dc8af37 id hunting 2022-02-19 12:43:14 -06:00
Chadly
74bba3350f test-ui - id 2022-02-19 12:02:29 -06:00
Chadly
3ab0c58ece emcmodule - missed a refactor 2022-02-19 11:55:28 -06:00
Chadly
ec775ae5f0 emcmodule - Renaming status.id
Id shadows built-in command from python. 

The implication is also ambiguous as the ID actually corresponds to the currently executing motion ID; not the status id which would be the memory of address of status.
2022-02-19 11:53:16 -06:00
Hans Unzner
b35e04655d halshow: removed "Set Watch interval" from menu, set title to "Halshow" 2022-02-18 22:50:13 +01:00
Hans Unzner
2c4b728e6b halshow: add settings tab 2022-02-18 22:48:34 +01:00
Hosted Weblate
204fc96ced
Merge remote-tracking branch 'origin/master' 2022-02-18 19:14:52 +01:00
f3335a2d9a
Merge pull request #1595 from smoe/debian_2022
debian/copyright did not point out GFPD license for docs
2022-02-18 12:14:46 -06:00
Hosted Weblate
10ec77c7a8
Merge remote-tracking branch 'origin/master' 2022-02-17 13:18:08 +01:00
Dewey Garrett
74ce4dd6e6
Merge pull request #1613 from arvidbrodin/motmod-refactoring
motmod refactoring: Remove joint and axis internal data from shared mem
2022-02-17 05:18:01 -07:00
alkabal
621b3d3206
Correcting a typo in gladevcp html doc 2022-02-17 04:03:29 +01:00
Hosted Weblate
f69e46775a
Merge remote-tracking branch 'origin/master' 2022-02-16 17:59:07 +01:00
Rene Hopf
a241aae469
Merge pull request #1614 from luzpaz/typos
Fix various typos
2022-02-16 17:59:02 +01:00
luz paz
d7ea470096 Fix various typos
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,README_es -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ro,ser,te,ue,wille,wont`
2022-02-16 11:17:29 -05:00
Hosted Weblate
a4b4e3c970
Merge remote-tracking branch 'origin/master' 2022-02-16 09:37:13 +01:00
Phillip Carter
2d305b8306 add to gitignore: man9/homecomp.9, man9/tpcomp.9 2022-02-16 19:37:00 +11:00
Arvid Brodin
d0534be205 motmod refactoring: Remove joint and axis internal data from shared mem
This patch takes a first step in reducing the scope of internal data
of motmod by making joints' and axes' internal data inaccessible from
"the rest of the world".

Rationale: Reducing the scope of data makes the code easier to maintain
and extend. (Specifically, this is part of preparation for adding jerk
limited jog planning in the future.)
2022-02-16 07:41:06 +01:00
Arvid Brodin
16d0b03f39 motmod refactoring: Remove trailing whitespace 2022-02-16 07:41:06 +01:00
Hosted Weblate
bcef1dbb96
Merge remote-tracking branch 'origin/master' 2022-02-15 23:10:36 +01:00
Phillip Carter
c2a0306051
Merge pull request #1612 from hansu/fix-iconpath
halshow: fix icon path (#1588)
2022-02-16 09:10:30 +11:00
Hans Unzner
15f5d51f3a halshow: remember watchlist, filename and selected tab 2022-02-15 21:26:42 +01:00
Hans Unzner
5bc07a45cd halshow: fix icon path 2022-02-15 21:16:27 +01:00
Hans Unzner
585996c1fe offsetpage-widget: 'black' must not be translated
This results in a warning, here for locale DE: Gtk-WARNING **: Don't know color 'Schwarz'
2022-02-15 21:08:23 +01:00
Hosted Weblate
de5721239a
Merge remote-tracking branch 'origin/master' 2022-02-15 04:51:42 +01:00
Trần Ngọc Quân
27f80c2813
Translated using Weblate (Vietnamese)
Currently translated at 56.3% (2118 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/vi/
2022-02-15 04:51:42 +01:00
Sebastian Kuzminsky
a48a535934 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  linuxcncrsh: check for errors when creating listening socket
2022-02-14 20:27:08 -07:00
Sebastian Kuzminsky
53d3442098 linuxcncrsh: check for errors when creating listening socket
Thanks to Andy Howell for finding and fixing this bug.
2022-02-14 20:12:46 -07:00
Hosted Weblate
d8e281e020
Merge remote-tracking branch 'origin/master' 2022-02-14 04:53:03 +01:00
c-morley
c03633ab69
Merge pull request #1592 from phillc54/phillc54/feed-pins
motion: additional feed pins
2022-02-13 19:52:58 -08:00
Trần Ngọc Quân
4c7c28e25f
Translated using Weblate (Vietnamese)
Currently translated at 56.3% (2118 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/vi/
2022-02-14 02:56:23 +01:00
Hans U
72b93d0426
Translated using Weblate (German)
Currently translated at 100.0% (388 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-02-14 02:56:06 +01:00
Steffen Möller
1365c2b606
Translated using Weblate (German)
Currently translated at 100.0% (388 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-02-14 02:56:06 +01:00
JanneK
48d2282260
Translated using Weblate (Swedish)
Currently translated at 2.4% (93 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/sv/
2022-02-14 02:56:06 +01:00
Jérémie Tarot
cd840e778a
Translated using Weblate (French)
Currently translated at 73.8% (2773 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2022-02-14 02:56:05 +01:00
Steffen Möller
77ace5f15e
Translated using Weblate (German)
Currently translated at 99.1% (3724 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-14 02:56:04 +01:00
CMorley
579cb69f49 Merge branch '2.8' 2022-02-13 10:45:11 -08:00
CMorley
42dce43676 gscreen -fix error related to keyboard jogging and limit switch
If keyboard jogging and one hits a limit switch, you would get
an endless amount of error messages.
Thanks Ivan the Red on forum for testing fixes
2022-02-13 10:39:34 -08:00
Dewey Garrett
ab3a17aa2c tpcomp.comp: clarify message for no tp symbols 2022-02-13 11:01:20 -07:00
Dewey Garrett
fc6e929e7b modsilent.py: silence rtai complaint
for symbols duplicated in example hal comp files
2022-02-13 10:44:31 -07:00
Dewey Garrett
c4eb84808c tpmod.c,homemod.c include MODULE_LICENSE() 2022-02-13 10:42:21 -07:00
Hans Unzner
3600414585 fix: translation of hal_mdihistory broke other translations 2022-02-13 18:12:17 +01:00
Hans Unzner
2019bde1c9 gmoccapy: refresh limit override check box immediately 2022-02-13 16:14:30 +01:00
Hans Unzner
1dee1baacb gmoccapy: enable limit override when limit tripped in machine off state 2022-02-13 16:14:30 +01:00
Hans Unzner
8ca8d3445e gmoccapy: enable limit override only when limit active 2022-02-13 16:14:24 +01:00
Hans Unzner
494a2abbf2 gmoccapy: enable limit override when machine is started with limit switch active (#1000) 2022-02-13 15:57:11 +01:00
Hans Unzner
c43b9dd0ac halshow: remember window geometry 2022-02-13 14:53:19 +01:00
Sebastian Kuzminsky
3c83e41db4
Merge pull request #1598 from smoe/memleak_realloc_
cppcheck: Memleak realloc, clarifying false positive
2022-02-12 20:46:36 -07:00
Sebastian Kuzminsky
af499ba970
Merge pull request #1600 from smoe/patch-7
Introduced single quotes to improve optics of message
2022-02-12 20:39:47 -07:00
Sebastian Kuzminsky
06ccf7af46
Merge pull request #1601 from smoe/patch-8
The name of the tool is not to be translated
2022-02-12 20:38:00 -07:00
Sebastian Kuzminsky
70c37fb2da
Merge pull request #1573 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-02-12 20:37:19 -07:00
Trần Ngọc Quân
0f9f55ae10
Translated using Weblate (Vietnamese)
Currently translated at 0.0% (0 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/vi/
2022-02-13 02:34:54 +01:00
Steffen Möller
ed8ce86e56
The name of the tool is not to be translated 2022-02-13 01:42:08 +01:00
Steffen Möller
afb99553bd
Introduced single quotes to improve optics of message
Came up over performing the translations.
2022-02-13 01:38:59 +01:00
Steffen Moeller
bf87b4f207 Just from looking at the code this looks like a memory error
nml/nml_mod.cc:424:7: error: Common realloc mistake: 'subs' nulled but not freed upon failure [memleakOnRealloc]
      subs = (NML_SUBORDINATE_STRUCT **) realloc (subs,
      ^
nml/nml_mod.cc:429:7: error: Common realloc mistake: 'statusInData' nulled but not freed upon failure [memleakOnRealloc]
      statusInData = (RCS_STAT_MSG **) realloc (statusInData,
2022-02-12 23:33:50 +01:00
Steffen Moeller
879713e98c Not a mem leak, but difficult to detect
nml/nml_srv.cc:255:11: error: Memory leak: _nml [memleak]
    breq->_nml = NULL;
2022-02-12 23:29:39 +01:00
Steffen Moeller
183ce12975 Optically aligning debian/copyright dependencies 2022-02-12 16:37:47 +01:00
Hosted Weblate
e19e429b67
Merge remote-tracking branch 'origin/master' 2022-02-12 13:01:20 +01:00
Dewey Garrett
08ac87d411 motion: allow alt tp,home modules, demo comp files
Squashed commits:
===========================================================
A) halcompile.g options for homemod,tpmod
1) supply correct SYNOPSIS
2) force singleton option
===========================================================
B) homecomp.comp (example module using halcompile)
===========================================================
C) tpcomp.comp (skeleton module using halcompile)
===========================================================
D) linuxcnc.in options for alternate tp,home modules
===========================================================
E) Make: modular traj planning, homing (tpmod,homemod)
1) motmod no longer includes functions for trajectory
   planning and homing but uses exported functions
   from modules tpmod,homemod by default
2) building modules out-of-tree requires: homing.h,emcpose.h
3) sincos.c don't use config.h to allow out-of-tree build
===========================================================
docs: tp,home modules
2022-02-11 19:11:20 -07:00
Dewey Garrett
642ec9e23c motion: homing,tp module interface provisions
Squashed commits:
===========================================================
A) homing module interface provisions
new:
  homeMotFunctions(): motmod functions needed by homing
  homeMotData():      motmod data ptrs needed by homing
modify:
  homing_init()
    1) args for comp id, number of joints
    2) error return
    3) do_homing(): return 1 if allhomed eliminating need for
       access to emcStatus->motion_state (now tested in control.c)
    4) api provision for module parameter (home_parms)
    5) localize servo_freq (compute from emcmotConfig->servoCycleTime)
other:
  convert global func to file static:
     export_joint_home_pins() --> make_joint_home_pins()
  use rtapi_print_msg(RTAPI_MSG_ERR,...) instead of reportError()
  include EXPORT_SYMBOL() for api functions
  rm some unused joint= assignments
===========================================================
B) tp module interface provisions
new:
  tpMotFunctions():  motmod functions used by tp
  tpMotData():       motmod data ptrs used by tp
  tp_init():         consolidate motion.c init of tp
global->static ptrs & funcs:
   emcmotStatus,emcmotConfig,
   DioWrite(),AioWrite(),
   SetRotaryUnlock(),GetRotaryIsUnlocked()
modify:
  tpCreate() include a comp id, localize queueTcSpace storage
remove tp use of global emcmotInternal by relocating some
items to file static emcmotStatus: joints[], axes[],stepping
reorganize emcmot_internal_t and rm unused *_time items
usrmotReadEmcmotDebug() -> usrmotReadEmcmotInternal()
rm unused usrmotPrintEmcmotDebug()
===========================================================
C) tp.c: conditional api provision to use hal pins
===========================================================
D) tp.c EXPORT_SYMBOL() for api functions
2022-02-11 19:10:04 -07:00
Dewey Garrett
31a20ca726 motion: refactor prior to tpmod,homemod provisions
Squashed commits:
===========================================================
A) motion: more applicable struct naming

Over many years, emcmot_debug_t evolved to include
functional items (not just debugging), so:

1) rm motion_debug.h
2) Rename and consolidate items to motion.h
   using preexist emcmot_internal_t as appropriate
      emcmot_debug_t --> emcmot_internal_t
      emcmotDeug     --> emcmotInternal
===========================================================
B) motion.[ch] always use struct_in_shmem
Removed unused provision for *not* using STRUCTS_IN_SHMEM
Provision not in force since (at least):
  d868f5c667 Nov 11 04:06:44 2013 -0500
===========================================================
C) homing.c whitespace-only change, rm tabs
===========================================================
D) homing.c relocate/rename a homing function
===========================================================
was: command.c: checkAllHomed()
is:  homing.c:  get_allhomed()
locates all homing functions in homing.c to better support
creation of a homing module
===========================================================
E) homing.h rm superfluous extern key for funcs
===========================================================
F)motion.h xfer some defines from mot_priv.h
to motion.h making them available out-of-tree:
  ALL_JOINTS
  NO_OF_KINS_JOINTS
  IS_EXTRA_JOINT
2022-02-11 19:06:51 -07:00
Steffen Moeller
49bf31c6f9 d/copyright: some SVGs are GPLed (2011 -> v3) 2022-02-12 01:40:22 +01:00
Steffen Moeller
552263a347 debian/copyright did not point out GFPD license for docs 2022-02-12 01:28:17 +01:00
Hosted Weblate
83db723649
Merge remote-tracking branch 'origin/master' 2022-02-11 23:09:45 +01:00
Hans U
7c496cf738
Translated using Weblate (German)
Currently translated at 98.7% (3711 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-11 23:09:45 +01:00
CMorley
fae919506a qtvcp -dialog_widget: fix general 'external called'dialog typo
Miss from lasr major code change for tool change dialog.
2022-02-11 14:06:22 -08:00
Hans Unzner
b63b53702b Set 'pofiles' as PHONY target 2022-02-11 19:23:27 +01:00
Phillip Carter
2dd43208c3 motion: additional feed pins
add inches-per-minute, inches-per-seond, mm-per-minute, and 
mm-per-second feed pins
2022-02-11 11:00:12 +11:00
Hosted Weblate
11c86a5279
Merge remote-tracking branch 'origin/master' 2022-02-11 00:08:02 +01:00
Petter Reinholdtsen
962f287121
Translated using Weblate (Norwegian Bokmål)
Currently translated at 6.7% (254 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-02-11 00:08:02 +01:00
Steffen Möller
b31d947a1c
Translated using Weblate (German)
Currently translated at 98.7% (3711 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-11 00:08:02 +01:00
Hans U
4aaeebf645
Translated using Weblate (German)
Currently translated at 98.7% (3711 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-11 00:08:01 +01:00
Phillip Carter
99d669effc
Merge pull request #1590 from dwrobel/Disable-Always-on-top-by-default-fixes-1589
Disable Always on top by default (fixes #1589)
2022-02-11 10:07:54 +11:00
Damian Wrobel
eea28c0591 Disable Always on top by default (fixes #1589)
It looks that depending on the DE being used
enabling "Always on top" by default prevents other
windows to be also 'Always on top' - which, in fact,
makes sense.

So, let the user to conciously enable this option.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-02-10 21:47:02 +01:00
Steffen Moeller
b172174fa7 cppcheck warned about a comparison of pointers from different objects
Cast to uintptr_t as pointed out by @dwrobel.

interpl.cc:88:36: error: Comparing pointers that point to different objects [comparePointers]
 ((void *) &temp_node.line_number) >
                                   ^
interpl.hh:26:9: note: Variable declared here.
    int line_number;  // line number it was on
        ^
interpl.cc:88:12: note: Address of variable taken here.
 ((void *) &temp_node.line_number) >
           ^
interpl.hh:37:7: note: Variable declared here.
 char commandbuf[MAX_NML_COMMAND_SIZE]; // the NML command;
      ^
interpl.cc:89:12: note: Address of variable taken here.
 ((void *) &temp_node.command.commandbuf)) {
           ^
interpl.cc:88:36: note: Comparing pointers that point to different objects
 ((void *) &temp_node.line_number) >
2022-02-10 12:56:05 +01:00
Hosted Weblate
193bfcf6a5
Merge remote-tracking branch 'origin/master' 2022-02-09 12:14:09 +01:00
Rene Hopf
cd053635ea
Merge pull request #1542 from smoe/patch-2
Allow regular libreadline-dev as an alternative for home use
2022-02-09 12:14:06 +01:00
Hosted Weblate
2a0fa50adf
Merge remote-tracking branch 'origin/master' 2022-02-09 12:12:26 +01:00
Rene Hopf
9aa22bacc8
Merge pull request #1579 from smoe/Fixing_file-handle_leak
fixing file-handle leak
2022-02-09 12:12:22 +01:00
Hosted Weblate
2a3d980da5
Merge remote-tracking branch 'origin/master' 2022-02-09 12:11:38 +01:00
Rene Hopf
ed55706e50
Merge pull request #1583 from smoe/cppcheck_fix_for_emc_kinematics
cppcheck pointed to an uninitialized variable
2022-02-09 12:11:34 +01:00
Hosted Weblate
b2ac84ed35
Merge remote-tracking branch 'origin/master' 2022-02-09 12:11:11 +01:00
Rene Hopf
d2846c1678
Merge pull request #1569 from hansu/halshow
Halshow: New features
2022-02-09 12:11:07 +01:00
Hosted Weblate
50cde07db4
Merge remote-tracking branch 'origin/master' 2022-02-09 12:10:34 +01:00
Rene Hopf
6b67dc3ab2
Merge pull request #1577 from dwrobel/Update-configure.ac-to-support-autoconf-2.71
Update configure.ac to support autoconf 2.71
2022-02-09 12:10:31 +01:00
Hosted Weblate
7525708f3e
Merge remote-tracking branch 'origin/master' 2022-02-09 12:09:44 +01:00
Rene Hopf
69ac2f26db
Merge pull request #1576 from dwrobel/Do-not-use-ax_python_devel-for-version-checking
Do not use ax_python_devel for version checking
2022-02-09 12:09:40 +01:00
Hosted Weblate
bf7d95f4aa
Merge remote-tracking branch 'origin/master' 2022-02-09 12:08:19 +01:00
Rene Hopf
b30e82327f
Merge pull request #1578 from dwrobel/Remove-executable-attribute-from-asciidoc.js
Remove executable attribute from asciidoc.js
2022-02-09 12:08:13 +01:00
Steffen Moeller
d7be1147b7 cppcheck pointed to an uninitialized variable 2022-02-09 01:22:44 +01:00
Steffen Moeller
774a684a69 freeing memory if allocation fails
prior to sending the error message
2022-02-08 02:36:51 +01:00
Steffen Moeller
5420fca293 fixing file handle leak 2022-02-08 02:08:45 +01:00
Hosted Weblate
a438e7cd3c
Merge remote-tracking branch 'origin/master' 2022-02-08 02:04:06 +01:00
Phillip Carter
a924052231 qtplasmac: allow user button resize in stylesheets 2022-02-08 12:03:38 +11:00
Damian Wrobel
e72ba68b59 Remove executable attribute from asciidoc.js
Removes useless executable attribute from file
without shebang.

Fixes the following rpm warning:
 *** WARNING: ./usr/share/qtvcp/screens/woodpecker/images/QTvcp\
 Widgets_files/asciidoc.js is executable but has no shebang,
 removing executable bit

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-02-07 22:17:09 +01:00
Damian Wrobel
33ec595973 Update configure.ac to support autoconf 2.71
Fixes the following warning (observed on Fedora 36):
 configure.ac:48: warning: The macro `AC_CONFIG_HEADER' is obsolete.
 configure.ac:48: You should run autoupdate.
 ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
 configure.ac:48: the top level
 configure.ac:410: warning: The macro `AC_TRY_LINK' is obsolete.
 configure.ac:410: You should run autoupdate.
 ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
 configure.ac:410: the top level
 configure.ac:430: warning: The macro `AC_TRY_LINK' is obsolete.
 configure.ac:430: You should run autoupdate.
 ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
 configure.ac:430: the top level
 configure.ac:1208: warning: The macro `AC_HEADER_STDC' is obsolete.
 configure.ac:1208: You should run autoupdate.
 ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
 configure.ac:1208: the top level
 configure.ac:1213: warning: The macro `AC_TRY_LINK' is obsolete.
 configure.ac:1213: You should run autoupdate.
 ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
 configure.ac:1213: the top level
 configure.ac:1476: warning: The macro `AC_TRY_COMPILE' is obsolete.
 configure.ac:1476: You should run autoupdate.
 ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
 configure.ac:1476: the top level
 configure.ac:1615: warning: The macro `AC_TRY_COMPILE' is obsolete.
 configure.ac:1615: You should run autoupdate.
 ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
 configure.ac:1615: the top level

Removes AC_HEADER_STDC as this is obsolescent[1].

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Particular-Headers.html

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-02-07 22:16:13 +01:00
Damian Wrobel
98a7656625 Do not use ax_python_devel for version checking
Disable checking version for python development package
using ax_python_devel.m4 as it does not support any
newer version then 3.9 of python.
Upstream version of this file seems to be unmaintained.

Fixes the following checking error for python >=3.10:
 checking for python build information...
 checking for python3.10... python3.10
 checking for main in -lpython3.10... yes
 <string>:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
 <string>:1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead
   results of the Python check:
     Binary:      python3.10
     Library:     python3.10
     Include Dir: /usr/include/python3.10
 checking for python3.10... /usr/bin/python3.10
 checking for python... (cached) /usr/bin/python3.10
 checking for a version of Python >= '2.1.0'... yes
 checking for a version of Python >='3.6'... no
 configure: error: this package requires Python >='3.6'.
 If you have it installed, but it isn't the default Python
 interpreter in your system path, please pass the PYTHON_VERSION
 variable to configure. See ``configure --help'' for reference.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-02-07 22:14:38 +01:00
Hosted Weblate
e99449d55f
Merge remote-tracking branch 'origin/master' 2022-02-06 22:56:50 +01:00
Sebastian Kuzminsky
aa77355f2d
Merge pull request #1571 from smoe/operator_precedence
()s added for op precedence, small bugs
2022-02-06 14:56:46 -07:00
Steffen Moeller
30c175cdc6 Returning PM_OK as error code, not 0 2022-02-06 15:49:43 +01:00
Steffen Moeller
5de4d56c3e Removing obsolete (and dangerous) ternary operators 2022-02-06 15:49:43 +01:00
Steffen Moeller
38c02c1a78 Wrong semantics for pmErrno setting 2022-02-06 15:49:43 +01:00
Steffen Moeller
598fb9cf3a ()s added for op precedence, small bugs 2022-02-06 15:49:43 +01:00
Jérémie Tarot
d74a51c2fb
Added translation using Weblate (Vietnamese) 2022-02-06 11:01:49 +01:00
Jérémie Tarot
9533479347
Added translation using Weblate (Vietnamese) 2022-02-06 11:00:53 +01:00
Sebastian Kuzminsky
89a41a275b
Merge pull request #1568 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-02-05 16:22:39 -07:00
Hosted Weblate
83322fdaac
Merge remote-tracking branch 'origin/master' 2022-02-06 00:07:25 +01:00
Sebastian Kuzminsky
41164c0717 hm2-idrom test: show actual output if it is unexpected 2022-02-05 15:50:01 -07:00
Hosted Weblate
62bf044293
Merge remote-tracking branch 'origin/master' 2022-02-05 21:47:44 +01:00
andypugh
ad91118d0f #1528 Short arcs of very large radius were being interpreted as full circles
The problem exists in both the motion planner and the graphical preview, and
each uses different logic to decide when the endpoints are close enough to
assume that a full circle was desired.

Given that circle start and end points are defined by cartesian coordinates
it makes little sense to use the arc internal angle to decide if a full
circle was intended. This patch determines if a full circle is intended based
only on the linear distance from start to end coordinates.
The logic behaves consistently (Preview and actual motion always now match)
but how close the start and end point need to be for the arc to be interpreted
as a full circle depends on the configuration base units.
(It will always be CART_FUZZ base units, currently 1.0e-8)

Signed-off-by: andypugh <andy@bodgesoc.org>
2022-02-05 20:46:43 +00:00
Hosted Weblate
f68692cc19
Merge remote-tracking branch 'origin/master' 2022-02-04 09:11:24 +01:00
c-morley
dfe0260cd1
Merge pull request #1561 from hansu/center-buttonlabels
gmoccapy: center button labels with property instead of spaces
2022-02-04 00:11:21 -08:00
Hosted Weblate
37764c1fc2
Merge remote-tracking branch 'origin/master' 2022-02-04 09:11:01 +01:00
c-morley
9041d4e278
Merge pull request #1557 from hansu/gmoccapy-css
Gmoccapy: fix window size by reducing button padding with CSS
2022-02-04 00:10:57 -08:00
Hosted Weblate
c3a8efc833
Merge remote-tracking branch 'origin/master' 2022-02-04 09:09:57 +01:00
Petter Reinholdtsen
6556eef14d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 6.4% (243 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-02-04 09:09:56 +01:00
Petter Reinholdtsen
9ef134e684
Translated using Weblate (Norwegian Bokmål)
Currently translated at 60.0% (233 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2022-02-04 09:09:56 +01:00
c-morley
b3076a2de5
Merge pull request #1565 from hansu/halshow-reduce-minsize
halshow: reduce minimal window size
2022-02-04 00:09:50 -08:00
Phillip Carter
94b225881a pncconf: remove redundant plasma thcad enc oder option 2022-02-04 12:23:56 +11:00
Hans U
416bf66d1e
Translated using Weblate (German)
Currently translated at 98.2% (3692 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-03 20:54:40 +01:00
Hans Unzner
ecdf80bdf0 add gmoccapy to 'pofiles' 2022-02-03 11:35:34 +01:00
Hans Unzner
a8c417da18 Merge changes from master 2022-02-03 10:24:23 +01:00
Hans Unzner
8c0c9d804d halshow: added icon 2022-02-03 10:24:23 +01:00
Hans Unzner
eb4dfd7fd0 halshow: substract tree width from window width if hidden 2022-02-03 10:24:23 +01:00
Hans Unzner
0b6a9db5d2 halshow: add possibilty to hide tree 2022-02-03 10:24:23 +01:00
Hans Unzner
3e61b20369 halshow: display errors and info messages on statusbar 2022-02-03 10:23:53 +01:00
Hans Unzner
dabf0ce347 halshow: reduce minimal window size 2022-02-03 09:08:57 +01:00
Sebastian Kuzminsky
13eb99bec7
Merge pull request #1560 from phillc54/phillc54/latency-test
latency-test: fixes for using servo-thread only.
2022-02-02 11:55:28 -07:00
Sebastian Kuzminsky
f1866921ea
Merge pull request #1562 from petterreinholdtsen/gmoccapy-strings-trailing-blank
Move forced newlines out of translatable text
2022-02-02 11:28:49 -07:00
Sebastian Kuzminsky
e6fb3e3411
Merge pull request #1563 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-02-02 11:21:00 -07:00
Hans U
6e79d62b16
Translated using Weblate (German)
Currently translated at 100.0% (388 of 388 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-02-02 17:55:49 +01:00
Hans U
7a0a274373
Translated using Weblate (German)
Currently translated at 98.2% (3693 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-02 17:55:48 +01:00
Steffen Möller
7e1b5c5bc9
Translated using Weblate (German)
Currently translated at 98.2% (3693 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-02 17:55:48 +01:00
Petter Reinholdtsen
cfbc5b8ef9 Move forced newlines out of translatable text
There is no use asking tranlators to remember these newlines, as
they always need to be there in any language.

Also removed some useless trailing spaces.

Based on comment in Weblate regarding the English text.
2022-02-02 09:07:41 +01:00
Phillip Carter
01d26623a5 halshow: entrybox needs to be topmost 2022-02-02 10:20:29 +11:00
Dewey Garrett
616de22e36 Merge remote-tracking branch 'origin/2.8' 2022-02-01 09:56:52 -07:00
Dewey Garrett
ccf8f2d580 check_config.tcl catch error in puts
used for missing mandatory item $::kins(module)
Ref:
https://forum.linuxcnc.org/24-hal-components/44989-kinematics-module-load-error#233683
2022-02-01 09:08:31 -07:00
dade2b56fa
Merge pull request #1558 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-02-01 10:01:51 -06:00
Hans Unzner
5cfbea70ae gmoccapy: center labels of some buttons 2022-02-01 16:52:20 +01:00
Hans U
257020591a
Translated using Weblate (German)
Currently translated at 96.1% (3611 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-01 16:18:02 +01:00
Steffen Möller
6f295ef7be
Translated using Weblate (German)
Currently translated at 96.1% (3611 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-01 16:18:01 +01:00
Hosted Weblate
6b40a630f4
Merge remote-tracking branch 'origin/master' 2022-02-01 15:33:01 +01:00
Steffen Möller
5430b1b443
Translated using Weblate (German)
Currently translated at 94.7% (3558 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-01 15:33:01 +01:00
Dewey Garrett
3768a3c533 control.c fix for() init for rtai (kernel modules)
Using: 4.19.195-rtai-amd64 #5 SMP PREEMPT

Error was:
In function ‘process_inputs’:
/home/git/linuxcnc-dev/src/emc/motion/control.c:531:9: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
         for (int jNum = 0; jNum < NO_OF_KINS_JOINTS; jNum++) {
         ^~~
... etc
2022-02-01 07:28:38 -07:00
Hosted Weblate
516efe7b0c
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/
2022-02-01 13:44:42 +01:00
Hosted Weblate
7a2fa23f9e
Merge remote-tracking branch 'origin/master' 2022-02-01 08:19:35 +01:00
c-morley
4efe41ec40
Merge pull request #1556 from phillc54/phillc54/jog_inhibit
add new motion halpins, jog-inhibit and jog-is-active
2022-01-31 23:19:32 -08:00
Hosted Weblate
3ffaeb8812
Merge remote-tracking branch 'origin/master' 2022-02-01 08:13:27 +01:00
Steffen Möller
37bb0e2879
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-02-01 08:13:27 +01:00
Steffen Möller
7dc8e6bdf4
Translated using Weblate (German)
Currently translated at 91.0% (3419 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-02-01 08:13:26 +01:00
c-morley
130addcc28
Merge pull request #1559 from phillc54/phillc54/halshow_ontop
halshow: keep window on top
2022-01-31 23:13:19 -08:00
Phillip Carter
0786cc1d84 latency-test: fixes for using servo-thread only.
some doc changes
2022-02-01 16:34:35 +11:00
Phillip Carter
ff9688c66e halshow: keep window on top 2022-02-01 16:27:46 +11:00
Steffen Möller
4af968cd52
Translated using Weblate (German)
Currently translated at 89.9% (3380 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-31 19:35:23 +01:00
Hans Unzner
16080cd8a6 gmoccapy: Fix window size by reducing button padding with CSS 2022-01-31 18:22:42 +01:00
Hans Unzner
360d8c67a3 also for gmoccapy with yellow active-backgound
references:
https://shallowsky.com/blog/programming/styling-gtk3-with-css-python.html
https://docs.gtk.org/gtk3/css-overview.html
https://docs.gtk.org/gtk3/css-properties.html
2022-01-31 18:15:53 +01:00
Sebastian Kuzminsky
44ad48cb84
Merge pull request #1539 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-31 09:09:40 -07:00
Hans Unzner
ec1898b1a4 apply css to all elements 2022-01-31 16:35:57 +01:00
Hans Unzner
7854de2cdb apply css style manually to buttons 2022-01-31 16:29:16 +01:00
Hans Unzner
5daea1b40e docs: Updated/extended halshow doc 2022-01-31 14:05:22 +01:00
Hans Unzner
33c749d485 docs: Updated/extended halshow doc 2022-01-31 14:01:21 +01:00
Hans Unzner
cbd6a2ffae man: Add references to logic(9) 2022-01-31 13:59:04 +01:00
Hans Unzner
44a8f328f6 docs/python-interface: fix max_velocity description 2022-01-31 13:58:37 +01:00
Hans Unzner
6559091272 man: Add references to logic(9) 2022-01-31 13:50:21 +01:00
Hans Unzner
d0ba1d8c93 docs/python-interface: fix sample code + max_velocity description 2022-01-31 13:50:14 +01:00
Phillip Carter
abd1c8fdfa add new halpins motion.jog-inhibit and motion.jog-is-active 2022-01-31 18:56:21 +11:00
Hosted Weblate
dd04553129
Merge remote-tracking branch 'origin/master' 2022-01-31 03:12:45 +01:00
c-morley
ca22fa0af1
Merge pull request #1552 from hansu/docs
Some work on docs
2022-01-30 18:12:41 -08:00
c-morley
36332899a9
Merge pull request #1553 from hansu/docs-2.8
Some work on docs (2.8)
2022-01-30 18:11:52 -08:00
Hosted Weblate
bf11c52f3d
Merge remote-tracking branch 'origin/master' 2022-01-31 03:10:23 +01:00
c-morley
416861061d
Merge pull request #1554 from dyntaos/stat-ini_filename
Add "ini_filename" to Python linuxcnc.stat object
2022-01-30 18:10:17 -08:00
Hosted Weblate
6dee0d294f
Merge remote-tracking branch 'origin/master' 2022-01-31 02:34:59 +01:00
Greg Carl
e36ed2e663 qtvcp: fix mdi_line history comparison
prevent remembering the last entry for a failed attempt
2022-01-30 20:34:16 -05:00
Hosted Weblate
909ce744d6
Merge remote-tracking branch 'origin/master' 2022-01-31 02:25:54 +01:00
Greg Carl
b6305f4d07 qtplasmac: update handler states to match component states 2022-01-30 20:20:07 -05:00
Hosted Weblate
7ea6968c2d
Merge remote-tracking branch 'origin/master' 2022-01-30 23:55:46 +01:00
Hans U
11dd478069
Translated using Weblate (German)
Currently translated at 89.1% (3348 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-30 23:55:46 +01:00
Steffen Möller
a2e50fc90e
Translated using Weblate (German)
Currently translated at 89.1% (3348 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-30 23:55:46 +01:00
c-morley
783db656a4
Merge pull request #1555 from dyntaos/doc-corrections
Correct documentation regarding max string argument lengths
2022-01-30 14:55:39 -08:00
Kale Yuzik
f951ad9c75 Correct documentation regarding max string argument lengths 2022-01-30 15:56:06 -06:00
Kale Yuzik
bd7b8817cf Added documentation of linuxcnc.stat.ini_filename 2022-01-30 15:14:16 -06:00
Kale
4b7182ff97 Merge remote-tracking branch 'linuxcnc/master' into stat-ini_filename 2022-01-29 22:30:55 -06:00
Hosted Weblate
c10c2e14ca
Merge remote-tracking branch 'origin/master' 2022-01-29 22:50:24 +01:00
c-morley
70f52b8fcc
Merge pull request #1547 from hansu/remove-sourceview-warnings
sourceview: remove Gtk-CRITICAL warnings
2022-01-29 13:50:21 -08:00
Hosted Weblate
29415a6ba6
Merge remote-tracking branch 'origin/master' 2022-01-29 22:46:48 +01:00
c-morley
409b8df6ed
Merge pull request #1549 from hansu/fix-offsetpage-widget
offsetpage_widget: Fix error on color conversion
2022-01-29 13:46:42 -08:00
Hans Unzner
02a76f0b73 offsetpage_widget: Fix error on color conversion 2022-01-29 16:15:56 +01:00
Hans Unzner
7b373ce864 sourceview: remove Gtk-CRITICAL warnings 2022-01-29 08:58:44 +01:00
Hosted Weblate
386ebe2b7e
Merge remote-tracking branch 'origin/master' 2022-01-28 22:54:45 +01:00
c-morley
0fc3b809af
Merge pull request #1544 from smoe/patch-3
Fixed typo in generated comment
2022-01-28 13:54:41 -08:00
Hosted Weblate
b0e33a8b68
Merge remote-tracking branch 'origin/master' 2022-01-28 22:54:18 +01:00
Hans U
6991b4b73a
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-28 22:54:18 +01:00
Hans U
1214d71a93
Translated using Weblate (German)
Currently translated at 79.7% (2995 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 22:54:17 +01:00
Steffen Möller
ad2a9ab649
Translated using Weblate (German)
Currently translated at 79.7% (2995 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 22:54:17 +01:00
c-morley
7f18e04256
Merge pull request #1545 from smoe/patch-5
us -> µs
2022-01-28 13:54:11 -08:00
Hosted Weblate
7313043258
Merge remote-tracking branch 'origin/master' 2022-01-28 17:17:53 +01:00
Hans U
fb35c6f443
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-28 17:17:53 +01:00
Steffen Möller
bf9c96f43a
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-28 17:17:53 +01:00
Hans U
1365664349
Translated using Weblate (German)
Currently translated at 77.0% (2894 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 17:17:52 +01:00
Steffen Möller
a8968928fd
Translated using Weblate (German)
Currently translated at 77.0% (2894 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 17:17:52 +01:00
Dewey Garrett
54363af812 Merge branch '2.8' 2022-01-28 09:07:27 -07:00
Dewey Garrett
e4d59ebed0 getting-linuxcnc.txt list alternate keyserver
users report:
notok: keys.openpgp.org
   ok: keyserver.ubuntu.com

https://forum.linuxcnc.org/9-installing-linuxcnc/44951-2-8-documentation-issue-archive-signing-key#233376
2022-01-28 09:05:14 -07:00
Steffen Möller
ffcea9245a
us -> µs 2022-01-28 15:36:13 +01:00
Steffen Möller
4189d992c8
Fixed typo in generated comment 2022-01-28 15:11:02 +01:00
Hosted Weblate
60314946eb
Merge remote-tracking branch 'origin/master' 2022-01-28 14:41:37 +01:00
Hans U
1006786784
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-28 14:41:37 +01:00
Steffen Möller
0a2b97400c
Translated using Weblate (German)
Currently translated at 75.4% (2836 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 14:41:37 +01:00
Hans U
6e527793b4
Translated using Weblate (German)
Currently translated at 75.4% (2836 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 14:41:36 +01:00
Dewey Garrett
952c60b332 Merge remote-tracking branch 'origin/2.8' 2022-01-28 06:22:34 -07:00
Dewey Garrett
dd7c0ea1d0 axis.py: stop continuous jogs if mdi tab #1519
candidate fix for #1519, lightly tested (master)
2022-01-28 06:06:33 -07:00
Steffen Möller
3e2b687156
Allow regular libreadline-dev as an alternative
The build demon will use the GPL-ed variant, but the home user has an alternative - just ran into this on an odroid.
2022-01-28 12:45:25 +01:00
Hosted Weblate
8308c2166c
Merge remote-tracking branch 'origin/master' 2022-01-28 04:11:06 +01:00
c-morley
201e8a2e9b
Merge pull request #1540 from snowgoer540/gregc/mdiline-3
qtvcp: mdi_line strip newline from history string
2022-01-27 19:11:03 -08:00
Hosted Weblate
a966dd2c35
Merge remote-tracking branch 'origin/master' 2022-01-28 04:10:10 +01:00
Steffen Möller
84a15bef78
Translated using Weblate (German)
Currently translated at 100.0% (353 of 353 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-28 04:10:10 +01:00
Steffen Möller
31ed9168b2
Translated using Weblate (German)
Currently translated at 74.9% (2816 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-28 04:10:10 +01:00
c-morley
c5e9ef6356
Merge pull request #1538 from snowgoer540/gregc/mdiline-docs
qtvcp: update mdiline docs
2022-01-27 19:10:03 -08:00
Hosted Weblate
fb2007461f
Merge remote-tracking branch 'origin/master' 2022-01-28 01:36:32 +01:00
Phillip Carter
c6e7c51934
Merge pull request #1541 from snowgoer540/gregc/remove_mdi_patch
qtplasmac: remove mdi patch
2022-01-28 11:33:08 +11:00
Greg Carl
d33c61b89d qtplasmac: remove mdi patch 2022-01-27 18:57:38 -05:00
Greg Carl
2bdb3edd08 qtvcp: mdi_line strip newline from history string
somehow missed this in the previous mdi_line PR. This PR also removes 
the leading whitespace from MDI entries.
2022-01-27 16:05:51 -05:00
3a8478ed6f
Translated using Weblate (French)
Currently translated at 73.7% (2772 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2022-01-27 21:45:11 +01:00
Greg Carl
4c39560307 qtvcp: update mdiline docs 2022-01-27 14:25:48 -05:00
Bob Bond
fc5e423bfa
Merge branch 'LinuxCNC:master' into rotations 2022-01-27 11:23:59 -08:00
Hosted Weblate
6169413e53
Merge remote-tracking branch 'origin/master' 2022-01-27 19:41:44 +01:00
Sebastian Kuzminsky
7b27504b35 fix rtapi-shmem test
We have a github action that tests the built package, and it needs sudo
to install the test comps.
2022-01-27 11:07:48 -07:00
Hosted Weblate
b475b9aa6f
Merge remote-tracking branch 'origin/master' 2022-01-27 17:37:55 +01:00
Hans U
2a64b37bd3
Translated using Weblate (German)
Currently translated at 74.9% (2815 of 3757 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-27 17:37:54 +01:00
Sebastian Kuzminsky
65b2093905 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  add a test that verifies that rtapi shmem is initialized to zeros
  hal_lib: fix a race in hal_init()
  rtapi fix shmem comment
  docs: fix an omission in the rtapi_shmem manpage
  hal_lib: whitespace fixes only, no code change
  hal_lib: minor cosmetic fix to a seldom-seen debug message
  mitsub_vfd docs: add point we are not using MODBUS
  mitsub_vfd -add open, close then open agaon - some systems require it.
2022-01-27 09:09:50 -07:00
Sebastian Kuzminsky
68f883b967
Merge pull request #1535 from LinuxCNC/hal-init-race
fix hal_init() race
2022-01-27 09:04:58 -07:00
Hosted Weblate
07c200aad2
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/
2022-01-27 05:15:21 +01:00
Hosted Weblate
068034d436
Merge remote-tracking branch 'origin/master' 2022-01-27 05:15:16 +01:00
c-morley
2c7632287b
Merge pull request #1534 from hansu/translate-mdihist
Add mdihistory_hal to translations and update linuxcnc.pot & gmoccapy.pot
2022-01-26 20:15:13 -08:00
Hosted Weblate
87bf0d63be
Merge remote-tracking branch 'origin/master' 2022-01-27 05:14:15 +01:00
c-morley
760c126fac
Merge pull request #1536 from snowgoer540/gregc/mdi_line
qtvcp: add enhancements to mdi_line widget
2022-01-26 20:14:11 -08:00
Greg Carl
af3e1cc591 qtvcp: add enhancements to mdi_line widget
1. allow the ability to disallow M3, M4, M5 commands entered in the MDI
2. allow CLEAR HISTORY to clear the history
3. allow setp commands from the MDI
4. history doesn't log entries with errors
5. history doesn't log consecutive duplicate entries
thanks to phillc54 for his efforts with this as well
2022-01-26 22:33:40 -05:00
Sebastian Kuzminsky
29b4890959 add a test that verifies that rtapi shmem is initialized to zeros 2022-01-26 13:34:41 -07:00
Sebastian Kuzminsky
ff16585144 hal_lib: fix a race in hal_init()
This commit makes two changes in init_hal_data() (which is called by
hal_init()):

1. Take the `hal_data->mutex` using `rtapi_mutex_get()` instead of
   `rtapi_mutex_try()`.

   The `try` version tries to take the mutex and returns immediately,
   indicating by its return value whether it actually took the mutex
   or not.

   Before this commit, the `init_hal_data()` function called `try` but
   didn't check the return value, and just assumed that it got the mutex.
   This commit switches to the `get` version, which blocks until the
   mutex is available, then takes it.

   Note: this relies on the promise made by rtapi_shmem_new() that a
   freshly-allocated `hal_data` is initialized such that `hal_data->mutex`
   is a valid, un-locked mutex.

   Uspace RTAPI meets this criterion because it uses shmget(), which
   initializes all shared memory to all-bytes-zero.

   RTAI RTAPI also meets this criterion, though it's not mentioned in
   the documentation:

    https://mail.rtai.org/pipermail/rtai/2022-January/028282.html

    http://cvs.savannah.nongnu.org/viewvc/rtai/magma/base/ipc/shm/shm.c?view=markup#l69

2. Take the `hal_data->mutex`, locking `hal_data`, *before* checking
   whether the memory is initialized.  This fixes the hal_init() race
   condition.
2022-01-26 13:33:33 -07:00
Sebastian Kuzminsky
0fe6babc44 rtapi fix shmem comment 2022-01-26 13:33:03 -07:00
Sebastian Kuzminsky
d04578b40c docs: fix an omission in the rtapi_shmem manpage
Make explicit an important promise made by rtapi_shmem_new(): When a
block of memory is first allocated, it is initialized to all zero bytes.

On Uspace rtapi_shmem_new() calls shmget(), which zeros the memory when
creating a new shared memory block:

    https://man7.org/linux/man-pages/man2/shmget.2.html#DESCRIPTION

On RTAI rtapi_shmem_new() calls rtai_kmalloc() and rtai_malloc(), which
both end up calling _rt_shmem_new().  The documentation does not say
anything about initialization of freshly allocated memory buffers, but
Paolo Mantegazza (one of the main RTAI developers) said that RTAI *does*
zeros shmem buffers, and pointed to this code:

    https://mail.rtai.org/pipermail/rtai/2022-January/028282.html
    http://cvs.savannah.nongnu.org/viewvc/rtai/magma/base/ipc/shm/shm.c?view=markup#l69
2022-01-26 13:27:11 -07:00
Hans Unzner
0853e262bd Update pot files 2022-01-26 19:05:44 +01:00
Hans Unzner
446e7addd3 make hal_mdihistory translatable 2022-01-26 19:02:26 +01:00
Hosted Weblate
42d21e2738
Merge remote-tracking branch 'origin/master' 2022-01-26 18:52:12 +01:00
Sebastian Kuzminsky
70825c77af
Merge pull request #1523 from smoe/optics_d_copyright
Optics d copyright
2022-01-26 10:52:08 -07:00
Hosted Weblate
895ab60e0d
Merge remote-tracking branch 'origin/master' 2022-01-26 18:50:44 +01:00
Sebastian Kuzminsky
9ca7dd7a7b
Merge pull request #1522 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-26 10:50:41 -07:00
Hosted Weblate
dde9ae3529
Merge remote-tracking branch 'origin/master' 2022-01-26 18:49:39 +01:00
Sebastian Kuzminsky
48606a0839
Merge pull request #1532 from smoe/revisited_readme
Reworded README to promote the documentation a bit more
2022-01-26 10:49:34 -07:00
Hosted Weblate
5b7f95456d
Merge remote-tracking branch 'origin/master' 2022-01-26 01:40:27 +01:00
Sebastian Kuzminsky
2c5d0f6885
Merge pull request #1470 from petterreinholdtsen/po4a-english-adjustments
Added po4a workarounds to English documentation.
2022-01-25 17:32:38 -07:00
Steffen Moeller
6bb6d6e2b7 Reworded README to promote the documentation a bit more and
be more inviting.
2022-01-25 11:36:21 +01:00
Hosted Weblate
d2385e3af0
Merge remote-tracking branch 'origin/master' 2022-01-25 08:09:39 +01:00
c-morley
610c37379d
Merge pull request #1526 from hansu/gmoccapy-toolchanger
Gmoccapy: Optimized dialog buttons for touch; fix for toolchanger
2022-01-24 23:09:35 -08:00
Hosted Weblate
43bffcf373
Merge remote-tracking branch 'origin/master' 2022-01-25 08:08:39 +01:00
c-morley
03add98228
Merge pull request #1525 from hansu/gmoccapy-spelling
gmoccapy: fixed some strings (spelling, spaces, punctuation)
2022-01-24 23:08:33 -08:00
Sebastian Kuzminsky
27d8149c8a hal_lib: whitespace fixes only, no code change 2022-01-24 22:27:09 -07:00
Sebastian Kuzminsky
a82a4d4b23 hal_lib: minor cosmetic fix to a seldom-seen debug message 2022-01-24 22:27:09 -07:00
Kale Yuzik
f16a0b00bc Add ini_filename path to Python linuxcnc.stat object 2022-01-24 20:57:40 -06:00
Hosted Weblate
a922f7db76
Merge remote-tracking branch 'origin/master' 2022-01-25 02:50:19 +01:00
Steffen Möller
2a6c3d891c
Translated using Weblate (German)
Currently translated at 77.7% (2830 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-25 02:50:19 +01:00
Phillip Carter
af7f262d0b
Merge pull request #1531 from snowgoer540/gregc/mdi-tweaks
qtplasmac: various enhancements
2022-01-25 12:50:12 +11:00
Greg Carl
9a9a6104be qtplasmac: various enhancements
-MDI enhancements:
1. alt+return (or enter) opens the MDI
2. return (or enter) with no entry closes the MDI
3. add the ability to 'clear history'
4. add the ability to 'setp' pins/params
5. inhibit M4 commands in MDI
6. history doesn't log entries with errors (thanks phillc54)
7. history doesn't log consecutive duplicate entries (thanks phillc54)
-file editor now opens blank after file_clear
-show table view if editor is closed with no file loaded and no changes
-fix autorepeat turning off when MDI or editor were open and the main 
tab was left and returned to
-edit button is always active
-add hal pin to enable some tabs during run
-docs updates
2022-01-24 20:17:20 -05:00
Hans Unzner
0a867e3074 gmoccapy: fixed some strings (spelling, spaces, punctuation) 2022-01-23 20:00:25 +01:00
Hans Unzner
8149a66ed5 optimized dialog buttons 2022-01-23 19:32:32 +01:00
Hosted Weblate
7aa4c1d536
Merge remote-tracking branch 'origin/master' 2022-01-23 19:06:03 +01:00
CMorley
170d13f12a stepconf - fix error 'wrong kernel' message for python3 2022-01-23 10:04:55 -08:00
Hosted Weblate
db73525908
Merge remote-tracking branch 'origin/master' 2022-01-23 18:57:35 +01:00
CMorley
8241aa5d28 pncconf -fix error message with kernel version missmatch 2022-01-23 09:55:30 -08:00
CMorley
b713e7956e halmodule - add a kernel_version message when not RTAI
if for some reason you don't have RTAI kernel space realtime,
but reference this constant - you crash the program.
Now we add a 'not_available' message in that case.
2022-01-23 09:52:04 -08:00
Hosted Weblate
1f69cdb085
Merge remote-tracking branch 'origin/master' 2022-01-23 10:18:13 +01:00
CMorley
1cee14a09b qtvcp -qtdragon_hd: add 10 user MDI macro buttons
You can add MDI_COMMANDs to the INI to define up to 10 buttons.

ie.
[MDI_COMMAND_LIST]
MDI_COMMAND = G0 Z25 X0 Y0;Z0,Goto\nZero
MDI_COMMAND = G53 G0 Z0;G53 G0 X0 Y0,Goto\nMach\nZero

If not defined the buttons are hidden
2022-01-23 01:17:36 -08:00
CMorley
c286764cc8 qtvcp -action_buttons: allow overriding the button text from the INI
When defining the MDI command in the INI you can add a comma and the text.
ie. MDI_COMMAND = G0 Z25 X0 Y0;Z0,Goto\nZero
If left off the original button text is used.
2022-01-23 01:17:36 -08:00
Hosted Weblate
9947f75d1f
Merge remote-tracking branch 'origin/master' 2022-01-23 01:42:53 +01:00
c-morley
fc9ea3e5c6
Merge pull request #1512 from hansu/fix-combi-dro
Fix Combi-DRO
2022-01-22 16:42:47 -08:00
Hosted Weblate
f7ad1ed722
Merge remote-tracking branch 'origin/master' 2022-01-23 01:25:32 +01:00
CMorley
66a09e24b2 qtvcp -qtdragon sim: add user messages for testing 2022-01-22 16:25:08 -08:00
CMorley
3f3611c9ca qtvcp -user messages: add a no button dialog, fix style application
no button dialogs are for critical=must-fix-before-going-on events.
qt styles are applied to the user messages.
big change to dialog code to incorporate.
2022-01-22 16:25:08 -08:00
Hans Unzner
2a488fa7f0 combi-dro: fix for get_position() (#1398)
Appears in gmoccapy/lathe_C config
2022-01-22 18:11:07 +01:00
Steffen Moeller
bb3bec7be6 d/copyright: Update of copyright
Added this change as a separate patch to help synchronisation with an
earlier pull request.
2022-01-22 14:45:42 +01:00
Steffen Moeller
9d851a9c96 d/copyright: Helping optics 2022-01-22 14:44:13 +01:00
Petter Reinholdtsen
10c773a2db
Translated using Weblate (Norwegian Bokmål)
Currently translated at 6.3% (230 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2022-01-22 08:55:47 +01:00
Hans U
4fba4b8a23
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-22 08:55:46 +01:00
Steffen Möller
2bf9e4efae
Translated using Weblate (German)
Currently translated at 77.0% (2805 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-22 08:55:46 +01:00
Petter Reinholdtsen
47c6e0dfd4 Added po4a workarounds to English documentation.
The po4a system fail to handle some variants of AsciiDoc tables, see
https://bugs.debian.org/1002303 for the details.  This patch
reformat tables to get po4a to parse them correctly.

Also, use full image file name for some under specified file names.
2022-01-22 07:46:18 +01:00
Phillip Carter
7cb10a2211 pncconf: additional qtplasmac parameters 2022-01-22 13:10:32 +11:00
Phillip Carter
650805f57e stepconf: additional qtplasmac parameters 2022-01-22 13:10:05 +11:00
Phillip Carter
8ea8b38be5 sim configs: increase home switch hysteresis default
original value not consistant for tandem axes
change home switch hysteresis for metric configs
fix qtplasmac sim when using stepconf created sim
2022-01-22 12:55:27 +11:00
Sebastian Kuzminsky
345d4e8b69
Merge pull request #1521 from smoe/noEMC
EMC2 -> LinuxCNC
2022-01-21 18:27:32 -07:00
Phillip Carter
9f9205f88c qtplasmac: fix update check
update sim configs
2022-01-22 10:49:11 +11:00
Steffen Moeller
0434e81d74 EMC2 -> LinuxCNC 2022-01-21 22:49:01 +01:00
Sebastian Kuzminsky
6dcc68d614
Merge pull request #1515 from smoe/g_code_to_g-code
(g-code | gcode) -> G-code
2022-01-21 14:06:54 -07:00
Sebastian Kuzminsky
736506c2ba
Merge pull request #1514 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-21 13:53:47 -07:00
Hosted Weblate
679e23381c
Merge remote-tracking branch 'origin/master' 2022-01-21 07:15:32 +01:00
Phillip Carter
3bf0f0b4a5 docs: update qtplasmac config wizard images 2022-01-21 17:15:10 +11:00
Hosted Weblate
514269ff9b
Merge remote-tracking branch 'origin/master' 2022-01-21 04:53:15 +01:00
Phillip Carter
18a74d4f95 pncconf: add some qtplasmac options
add dro position
add flash error
add hide start, hide pause, and hide stop
2022-01-21 14:52:58 +11:00
Phillip Carter
7c14f7ce10 stepconf: add some qtplasmac options
add dro position
add flash error
add hide start, hide pause, and hide stop
2022-01-21 14:52:58 +11:00
Hosted Weblate
71a582d193
Merge remote-tracking branch 'origin/master' 2022-01-20 23:59:01 +01:00
Hans U
f9479d6bc3
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-20 23:59:01 +01:00
CMorley
94d6458007 qtvcp -toolchange dialog - fix honouring HAL pin 'changed' aknowledgement
external aknowledge works on qt dialog and destopnotify style tool change
messages
2022-01-20 14:56:25 -08:00
Hans Unzner
78bbc8292b gmoccapy notification: deprecation stuff, fix breaking words 2022-01-20 22:00:33 +01:00
Hans Unzner
2ff00adb8e increase button height of remaining dialogs 2022-01-20 16:40:43 +01:00
Hans Unzner
71e1534a4e gmoccapy: increase and center toolchanger button 2022-01-20 16:19:41 +01:00
Hans Unzner
11e4f0eceb Error message when not existing tool is selected 2022-01-20 15:16:18 +01:00
Hosted Weblate
cc0d1f06b8
Merge remote-tracking branch 'origin/master' 2022-01-20 05:12:53 +01:00
Phillip Carter
c233bfc983 pncconf: allow editing of qtplasmac prefs file 2022-01-20 15:12:22 +11:00
Phillip Carter
81567b2e7f stepconf: allow editing of qtplasmac prefs file 2022-01-20 15:12:01 +11:00
Hosted Weblate
4168bc10aa
Merge remote-tracking branch 'origin/master' 2022-01-20 02:44:56 +01:00
Phillip Carter
df5f3d88f0
Merge pull request #1518 from snowgoer540/gregc/table-view
qtplasmac: add table view to the preview window
2022-01-20 12:44:48 +11:00
Greg Carl
8d79e45ed3 qtplasmac: add table view to the preview window 2022-01-19 19:40:00 -05:00
Hosted Weblate
d6debd5fc1
Merge remote-tracking branch 'origin/master' 2022-01-19 01:54:14 +01:00
Steffen Möller
6fedeeaaee
Translated using Weblate (German)
Currently translated at 76.4% (2784 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-19 01:54:13 +01:00
Phillip Carter
2b07041d04 qtplasmac: inhibit external cut recovery functions when not paused 2022-01-19 11:53:49 +11:00
Steffen Moeller
73b992ba52 -> G-code Adjustment of templates
blanks at end of lines, spelling of G-code
2022-01-18 15:28:30 +01:00
Steffen Moeller
36735d950a g-code -> G-code 2022-01-18 14:38:59 +01:00
Steffen Moeller
1e06bf4e93 gcode -> G-code 2022-01-18 14:26:27 +01:00
Hosted Weblate
87cbb26e8b
Merge remote-tracking branch 'origin/master' 2022-01-18 07:39:38 +01:00
Phillip Carter
c4374f8822 qtplasmac: prep work for simpler updating 2022-01-18 17:38:12 +11:00
Hosted Weblate
aef7dc225f
Merge remote-tracking branch 'origin/master' 2022-01-18 03:59:34 +01:00
Sebastian Kuzminsky
0fc7ee5c1c
Merge pull request #1513 from smoe/g_code_to_g-code
Changed [gG] [cC]ode to G-code where appropriate
2022-01-17 19:59:29 -07:00
Steffen Möller
5ec2fc1367
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-18 00:54:16 +01:00
Steffen Möller
b998d43bdd
Translated using Weblate (German)
Currently translated at 76.0% (2768 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-18 00:54:15 +01:00
Steffen Moeller
575c7770c0 Changed [gG] [cC]ode to G-code where appropriate
Headers and titles have "Code" start with a capital, always with hyphen.
Somewhat unfortunate, for some files I also removed blanks at the ends of lines, which makes reading this patch more difficult than it meant to be.
2022-01-17 20:33:48 +01:00
CMorley
3e81fb78da qtvcp -qtdragon/hd: fix error when using combo box filename history
python2/3 error.
2022-01-16 13:41:48 -08:00
Sebastian Kuzminsky
d5b0ed5e5d
Merge pull request #1508 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-16 12:07:17 -07:00
Hosted Weblate
262baa974e
Merge remote-tracking branch 'origin/master' 2022-01-16 18:53:06 +01:00
Steffen Möller
9ed730fa22
Translated using Weblate (German)
Currently translated at 73.3% (2670 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-16 18:53:06 +01:00
Sebastian Kuzminsky
f37dbf2706
Merge pull request #1510 from smoe/typos2
Typos2 - changed all occurences of linuxCNC to LinuxCNC
2022-01-16 10:53:01 -07:00
Hans Unzner
2e55e3385b combi-dro: rename function to avoid confusion with bool variable 2022-01-16 18:32:34 +01:00
Hans Unzner
5e24ad85c9 Revert "Added more typos" in combi_dro.py
This reverts changes in combi_dro.py of commit 9d5d892847.
2022-01-16 18:30:24 +01:00
Steffen Moeller
487e6bb05e Typo: Limt -> Limit 2022-01-16 18:20:52 +01:00
Hosted Weblate
f5eb363170
Merge remote-tracking branch 'origin/master' 2022-01-16 11:01:53 +01:00
Steffen Möller
6c3636e4a1
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-16 11:01:53 +01:00
Steffen Möller
b7791db2fe
Translated using Weblate (German)
Currently translated at 73.2% (2666 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-16 11:01:52 +01:00
CMorley
cd22b5e92c mitsub_vfd docs: add point we are not using MODBUS 2022-01-16 01:59:16 -08:00
CMorley
809881bffa mitsub_vfd -add open, close then open agaon - some systems require it.
For some reason open then close then open works.
2022-01-16 01:55:49 -08:00
Steffen Moeller
47677c32b9 s/linuxCNC/LinuxCNC/g 2022-01-16 03:24:06 +01:00
CMorley
d42398ede7 mitsub -add new VFDs required pr 549 setting
also make it more obvious we are usinh computer link protocol.
2022-01-15 16:29:05 -08:00
Hosted Weblate
8421fb3e3a
Merge remote-tracking branch 'origin/master' 2022-01-16 00:52:42 +01:00
c-morley
9d37339d37
Merge pull request #1507 from ddotldot/master
pncconf: Added localization support for some strings in files build_INI.py and build_HAL.py
2022-01-15 15:52:38 -08:00
Hosted Weblate
bbbb7d165a
Merge remote-tracking branch 'origin/master' 2022-01-16 00:50:57 +01:00
Hans U
e38bb01f6a
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-16 00:50:56 +01:00
Hans U
6c2b4635c9
Translated using Weblate (German)
Currently translated at 71.8% (2617 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-16 00:50:56 +01:00
Steffen Möller
358a386b0f
Translated using Weblate (German)
Currently translated at 71.8% (2617 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-16 00:50:56 +01:00
c-morley
9bb0987123
Merge pull request #1509 from hansu/fix-gmoccapy-4axis
gmoccapy: fix starting if 4_axes are used
2022-01-15 15:50:49 -08:00
Hosted Weblate
2e47b184fd
Merge remote-tracking branch 'origin/master' 2022-01-15 19:23:31 +01:00
Steffen Möller
dd10d28217
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-15 19:23:30 +01:00
Hans U
002900adfd
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-15 19:23:30 +01:00
Hans U
743787c902
Translated using Weblate (German)
Currently translated at 70.8% (2581 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-15 19:23:30 +01:00
Steffen Möller
1d1757510f
Translated using Weblate (German)
Currently translated at 70.8% (2581 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-15 19:23:30 +01:00
Sebastian Kuzminsky
1d336984a9 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  mitsub_vfd -fix documention of the serial data/stop setting
2022-01-15 11:21:30 -07:00
Sebastian Kuzminsky
c7c2e4fa19 Merge commit 'bcb0b7c4eb' from 2.8
This merges two commits of improved german translations from 2.8 to
master, using `git merge --strategy ours` to keep the file contents
from master.

The reason is that conflicting changes were made on 2.8 and master,
and the translator (Hans Unzer) said they'd prefer to keep the master
version rather than try to resolve the merge conflicts.

* commit 'bcb0b7c4eb':
  improved german translation
  de.po: merge from master and update from pot
2022-01-15 11:18:27 -07:00
Hans Unzner
648d917f70 gmoccapy: wrong arguments in Button() causes gmoccapy to fail if 4_axis are used 2022-01-15 17:04:09 +01:00
Hans U
b6e7b2d3f0
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-15 15:08:57 +01:00
Steffen Möller
c8dfc8852d
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-15 15:08:57 +01:00
Hosted Weblate
f5c5e2f56d
Merge remote-tracking branch 'origin/master' 2022-01-15 05:07:43 +01:00
Steffen Möller
59274462e0
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-15 05:07:42 +01:00
Steffen Möller
0183a7a053
Translated using Weblate (German)
Currently translated at 67.6% (2463 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-15 05:07:42 +01:00
CMorley
8e5570e8a1 mitsub_vfd -fix error in docs for data/stop setting 2022-01-14 20:06:03 -08:00
CMorley
4d056d45a4 mitsub_vfd -fix documention of the serial data/stop setting 2022-01-14 19:46:14 -08:00
Steffen Möller
b022790c1e
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-14 22:52:47 +01:00
Hans U
43bdf18e4a
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-14 22:52:47 +01:00
Hans U
2bb9b0fb24
Translated using Weblate (German)
Currently translated at 67.5% (2459 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-14 22:52:47 +01:00
Steffen Möller
c2d498371e
Translated using Weblate (German)
Currently translated at 67.5% (2459 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-14 22:52:46 +01:00
Hans Unzner
333f6c5834 docs: update GStat example 2022-01-14 07:57:38 +01:00
Steffen Möller
76e63d8901
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-13 22:11:22 +01:00
Hans U
e44102649e
Translated using Weblate (German)
Currently translated at 99.3% (439 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-13 22:11:22 +01:00
c-morley
9d0954a81f
Merge pull request #1495 from dwrobel/Fix-returning-address-of-local-variable-in-get_buffer_line
Fix returning address of local variable in get_buffer_line()
2022-01-12 19:18:23 -08:00
D.L
112f7283ee Merge branch 'master' of https://github.com/ddotldot/linuxcnc 2022-01-12 19:27:29 +03:00
D.L
8dc6744f35 pncconf: Added localization support for some strings in file build_HAL.py 2022-01-12 19:07:49 +03:00
D.L
2122e54e63 pncconf: Added localization support for some strings in file build_INI.py 2022-01-12 17:53:42 +03:00
Chris Morley
8ae2ceb6c9 qtvcp -status_slider: cast settings to int
sliders can only use ints - now it an outside code calls the function
it will cast a float to integer.
2022-01-11 18:33:46 -08:00
Chris Morley
d18467c339 qtvcp -simple_widgets: fix print statement to python3 version 2022-01-11 18:27:29 -08:00
Phillip Carter
a8096fd57f
Merge pull request #1506 from snowgoer540/gregc/tidy-cleanup
qtplasmac: tidy closing_cleanup and doc updates
2022-01-12 13:19:51 +11:00
Greg Carl
73dde24cf6 qtplasmac: tidy closing_cleanup and doc updates 2022-01-11 20:04:08 -05:00
Phillip Carter
aa13df3e6f qtplasmac: rename void a/dive to void anti dive 2022-01-12 09:38:49 +11:00
Phillip Carter
bf81f967a6
Merge pull request #1493 from dwrobel/Fix-qtplasma-documentation-unify-VELOCITY-ANTI-DIVE
Fix qtplasma documentation - unify VELOCITY ANTI DIVE
2022-01-12 09:37:13 +11:00
Phillip Carter
bbfcbf9c38
Merge pull request #1492 from dwrobel/Update-qtplasma-documentation-THC-Velocity-Lock
Update qtplasma documentation (THC Velocity Lock)
2022-01-12 09:36:37 +11:00
Hans Unzner
cc603ca722 fixed doc of max_veloccity 2022-01-11 18:24:22 +01:00
Hans Unzner
71645ee438 gmoccapy: Fix jogging with max velocity (SHIFT + jog key)
Before, jogging with Shift-down was reduced by the halui.max-velocity setting
2022-01-11 18:24:08 +01:00
c-morley
487e3de70b
Merge pull request #1503 from ddotldot/master
pncconf: fix typo in dialogs.glade
2022-01-10 19:56:45 -08:00
Rene Hopf
8c78aed181
Merge pull request #1502 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-11 02:13:45 +01:00
Hosted Weblate
955b428b52
Merge remote-tracking branch 'origin/master' 2022-01-11 01:08:04 +01:00
Hans Unzner
248de9eb3e
Translated using Weblate (German)
Currently translated at 65.1% (2372 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-11 01:08:04 +01:00
Rene Hopf
936a6a5c47
Merge pull request #1504 from hansu/remove-gmoccapy-gtk-warnings
Gmoccapy: remove "Gtk-WARNING **: Invalid icon size 48"
2022-01-11 01:07:58 +01:00
Hans Unzner
bc203ed972
Translated using Weblate (German)
Currently translated at 64.9% (2365 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-10 19:31:25 +01:00
Steffen Möller
f9d69f8053
Translated using Weblate (German)
Currently translated at 64.9% (2365 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-10 19:31:24 +01:00
D.L
38b61954e1 pncconf: fix typo in dialogs.glade 2022-01-10 12:00:34 +03:00
Hosted Weblate
6f2ab7e6d1
Merge remote-tracking branch 'origin/master' 2022-01-10 03:34:19 +01:00
CMorley
b98ed1c151 pncconf -fix adding stepper DPLL in non stepper configs
I'd better this will need to be visited again - i don;t think all
stepper firmware has DPLL, but this fixes it for servo only systems
2022-01-09 18:31:50 -08:00
Steffen Möller
32ce5d9d5e
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2022-01-10 01:54:08 +01:00
Hans Unzner
f0b96ff19c
Translated using Weblate (German)
Currently translated at 63.2% (2302 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-10 01:54:08 +01:00
Steffen Möller
354ff03b59
Translated using Weblate (German)
Currently translated at 63.2% (2302 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-10 01:54:07 +01:00
CMorley
a3e386a9cc qtvcp -qtdragon/hd: fix error when saving status log 2022-01-08 19:43:49 -08:00
Dewey Garrett
66a281451a
Merge pull request #1497 from rszemeti/master
Update xhc-hb04.tcl to fix  very slow default accelerations and document the mpg_accels setting.
2022-01-08 18:05:21 -07:00
Robin Szemeti
59c8805425 Merge pull request #1497 form rszemeti Update xhc-hb04.tcl ...
Default axis accel if no mpg_accels were specified was defaulting to 1.0
units/second^2 ... modified to add documentation of the feature and to default
to normal axis max accel (afraction and jfraction =1.0) if no individual
mpg_accels are provided.
2022-01-08 17:48:17 -07:00
Phillip Carter
49cf952e09 qtplasmac: don't reload file if not previously loaded 2022-01-09 11:33:40 +11:00
andypugh
9e50eaadf1
Merge pull request #1500 from havardAasen/halscope_save_csv
halscope: save logs as csv files
2022-01-09 00:16:57 +00:00
Phillip Carter
a6e036c6ad qtplasmac: fix user button gcode motion 2022-01-09 09:41:48 +11:00
Håvard F. Aasen
45ad37d756
halscope: Only create log if at least one channel is active. 2022-01-08 23:39:12 +01:00
Håvard F. Aasen
8eae446b80
halscope: Fixes some minor bugs regarding logging.
Channels can be logged without being continuous. We can choose channel 1,
3, 5 and 16 if we want. The log format will also be correct if we have
fewer active channels then enabled, as in 3 out of 8 channels active.
2022-01-08 23:39:06 +01:00
Håvard F. Aasen
ad12b9bb7d
halscope: Remove old and unused code regarding logging.
Most of this code was added in 2006-2007, but it was never finished.
I'm also not sure what the actual purpose was or the intention of all
the functionality.

It also cleans up the code in function `write_log_file` regarding
indentation and spacing.

Most of the now removed code was added with these commits:
commit 84eddc67f6
commit 44998d0420
commit 773ab03f98
commit 6ad7071130
2022-01-08 23:37:14 +01:00
Håvard F. Aasen
300c9c7407
When a log file has been created, print message to stdout. 2022-01-08 23:37:11 +01:00
Håvard F. Aasen
2cd47201a0
halscope: Make function write_sample static and remove unused parameter.
Looks like this function could have been local for some time, the
unused parameter is because of the change to csv log format.
2022-01-08 23:37:07 +01:00
Håvard F. Aasen
ff911089a7
halscope: Change logfile to csv format
The csv format has this specification:
    Comments is a hash '#'.
    Delimiter is set to semicolon ';'.
    Numbers is written with LC_NUMERICAL 'C', (1.2345).

In it's current state, the csv files does not conform with RFC 4180.

For now, the first line contains a comment, the second line includes the
headers, which will be pin and parameter names, followed by lines with values.

LC_NUMERIC is set to 'C' so all numbers will have the same format,
regardless of previous set locale.

It is possible to either keep the system installed locale for LC_NUMERICAL
or change the delimiter to comma `,`, not both.
2022-01-08 23:21:59 +01:00
Hans Unzner
70e6089cd5 gmoccapy: remove "Gtk-WARNING **: Invalid icon size 48" 2022-01-08 19:19:05 +01:00
CMorley
42c78a8a9c qtvcp -tool_offsetview: only allow single tool selection
Maybe this needs to be selectable?
We will see if the world complains.
MarkoPolo from Forum 's idea
2022-01-07 22:37:59 -08:00
Robin Szemeti
7867786a4c
Update xhc-hb04.tcl
Default axis accel if no mpg_accels were specified was defaulting to 1.0 units/second^2 ... modified to add documentation of the feature and to default to normal axis max accel (afraction and jfraction =1.0) if no individual mpg_accels are provided.
2022-01-08 01:11:23 +00:00
Sebastian Kuzminsky
45d3f5cced
Merge pull request #1496 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-07 18:02:08 -07:00
Hosted Weblate
f8766107de
Merge remote-tracking branch 'origin/master' 2022-01-07 19:12:56 +01:00
Steffen Möller
2a4e76f2c3
Translated using Weblate (German)
Currently translated at 59.0% (2151 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-07 19:12:56 +01:00
c-morley
bc366ed8c4
Merge pull request #1454 from hansu/calculatorwidget-gtk3
Calculator widget: Fixed buttonsize, resizing, num_pad_only option, decprecated items ...
2022-01-07 10:12:48 -08:00
Hosted Weblate
2cc4ec1df5
Merge remote-tracking branch 'origin/master' 2022-01-07 05:50:23 +01:00
CMorley
87a2b493e0 qtvcp -tool_offsetview: fix error on sorting column 0
clicking the checkbox header caused an error - we don't support
sorting checkboxes. bug and Fix brought to us by forum personality
MarkoPolo
2022-01-06 20:49:32 -08:00
Steffen Möller
a6f6d3071c
Translated using Weblate (German)
Currently translated at 56.6% (2063 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-07 00:19:12 +01:00
Hans Unzner
921c36321d calculatorwidget: Make glade file translatable, changed images from stock items (deprecated) to icons 2022-01-06 16:49:42 +01:00
Hans Unzner
ef13ff4406 calculatorwidget: replaced deprecated items 2022-01-06 16:49:42 +01:00
Hans Unzner
fc49b8d3ad calculatorwidget: placed up/down buttons inside the table to the right 2022-01-06 16:49:15 +01:00
Sebastian Kuzminsky
1b066dd65f
Merge pull request #1477 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2022-01-05 19:18:02 -07:00
Hosted Weblate
1f9d64036c
Merge remote-tracking branch 'origin/master' 2022-01-06 00:12:18 +01:00
Rene Hopf
bdc7dcf384
Merge pull request #1494 from dwrobel/Fix-redefinition-of-INCH_PER_MM-fixes-1417
Fix redefinition of INCH_PER_MM (fixes #1417)
2022-01-06 00:12:14 +01:00
Hosted Weblate
38df3e3055
Merge remote-tracking branch 'origin/master' 2022-01-05 04:18:34 +01:00
c-morley
c14e48800a
Merge pull request #1489 from dwrobel/Fix-qtplasma-camview-QPoint-argument
Fix qtplasma camview QPoint() argument
2022-01-04 19:18:31 -08:00
Hosted Weblate
15a8591a94
Merge remote-tracking branch 'origin/master' 2022-01-05 04:18:17 +01:00
c-morley
f1665861f8
Merge pull request #1490 from dwrobel/Fix-qtplasma-camview-drawLine-argument
Fix qtplasma camview drawLine() argument
2022-01-04 19:18:12 -08:00
Hosted Weblate
3bd3adcc01
Merge remote-tracking branch 'origin/master' 2022-01-04 17:39:07 +01:00
Dewey Garrett
c5312a3030 linuxcnc.in handle whitespace in pwd with APP=
for error:  [: too many arguments
2022-01-04 09:38:28 -07:00
Damian Wrobel
3565925028 Fix returning address of local variable in get_buffer_line()
Fixes the following issue, where function return a pointer
from a local stack allocated buffor:

 libnml/cms/cms_cfg.cc: In function 'get_buffer_line':
 cc1plus: warning: function may return address of local variable [-Wreturn-local-addr]
 libnml/cms/cms_cfg.cc:308:10: note: declared here
   308 |     char linebuf[LINELEN];      /* Temporary buffer for line from
       |          ^~~~~~~

As this function seems to be unused the simplest fix is to remove it.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 15:03:54 +01:00
Damian Wrobel
f26ba66588 Fix redefinition of INCH_PER_MM (fixes #1417)
Fixes the following waring:
 emc/usr_intf/halui.cc:503: warning: "INCH_PER_MM" redefined
   503 | #define INCH_PER_MM (1.0/25.4)
       |
 In file included from emc/nml_intf/emc_nml.hh:17,
                  from emc/usr_intf/halui.cc:32:
 emc/linuxcnc.h:25: note: this is the location of the previous definition
    25 | #define INCH_PER_MM (1.0/MM_PER_INCH)
       |

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 14:51:08 +01:00
Damian Wrobel
c90e457975 Fix qtplasma documentation - unify VELOCITY ANTI DIVE
Currently part of the documentation refers to either:
"VELOCITY A/DIVE" or "VELOCITY ANTI DIVE" which makes
it difficult to search for it.

Currently:
 $ git grep -- 'VELOCITY A/DIVE'
 docs/src/plasma/qtplasmac.adoc:|VELOCITY A/DIVE|0, 1, 2|\
    Indicates that the THC is locked at the current height due to \
    the cut velocity falling below the VAD Threshold percentage \
    set on the <<qt_parameters-tab, PARAMETERS Tab>>.
 docs/src/plasma/qtplasmac.adoc:|VELOCITY A/DIVE ENABLE|0, 1, 2|\
    This box toggles between Enabling and Disabling VELOCITY A/DIVE.
 share/qtvcp/screens/qtplasmac/languages/qtplasmac.py:\
    self.label_70.setText(_translate("MainWindow", "VELOCITY A/DIVE"))
 share/qtvcp/screens/qtplasmac/qtplasmac.ui:\
    <string>VELOCITY A/DIVE</string>

 $ git grep -- 'VELOCITY ANTI DIVE'
 docs/src/plasma/qtplasmac.adoc:If the cut velocity falls below a \
   percentage of *CutFeedRate* (as defined by the VAD Threshold % \
   value in the THC frame of the CONFIGURATION section of the \
   <<qt_parameters-tab, PARAMETERS Tab>>) the THC will be locked \
   until the cut velocity returns to at least 99.9% of *CutFeedRate*. \
   This will be made apparent by the *VELOCITY ANTI DIVE* indicator \
   illuminating in the <<qt_control-panel, CONTROL Panel>> on the \
   <<qt_main-tab, MAIN Tab>>.
 docs/src/plasma/qtplasmac.adoc:|Toggle corner Lock enable|\
    qtplasmac.ext_cornerlock_enable|VELOCITY ANTI DIVE ENABLE
 share/qtvcp/screens/qtplasmac_4x3/qtplasmac_4x3.ui:\
    <string>VELOCITY ANTI DIVE</string>
 share/qtvcp/screens/qtplasmac_9x16/qtplasmac_9x16.ui:\
    <string>VELOCITY ANTI DIVE</string>

Fix that by using full name:
 $ sed -i 's#VELOCITY A/DIVE#VELOCITY ANTI DIVE#g' \
     docs/src/plasma/qtplasmac.adoc
 $ sed -i 's#VELOCITY A/DIVE#VELOCITY ANTI DIVE#g' \
     share/qtvcp/screens/qtplasmac/languages/qtplasmac.py
 $ sed -i 's#VELOCITY A/DIVE#VELOCITY ANTI DIVE#g' \
     share/qtvcp/screens/qtplasmac/qtplasmac.ui

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 14:18:09 +01:00
Hosted Weblate
454f824fe2
Merge remote-tracking branch 'origin/master' 2022-01-04 14:10:30 +01:00
Steffen Möller
6ebd93a6fc
Translated using Weblate (German)
Currently translated at 56.3% (2051 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2022-01-04 14:10:29 +01:00
Rene Hopf
c4536fe356
Merge pull request #1488 from hansu/remove-gtk3-deprecation-warnings
Remove Gtk3 deprecation warnings in Gmoccapy
2022-01-04 14:10:23 +01:00
Damian Wrobel
e53aa0ba65 Update qtplasma documentation (THC Velocity Lock)
Replace 'THC Velocity Lock' with 'VELOCITY ANTI DIVE'.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 13:55:53 +01:00
Damian Wrobel
b164d2568b Fix qtplasma camview drawLine() argument
Fixes:
  Traceback (most recent call last):
   File "/home/dw/projects/machinekit/linuxcnc/lib/python/qtvcp/widgets/camview_widget.py", line 294, in paintEvent
     self.drawCrossHair(event, qp)
   File "/home/dw/projects/machinekit/linuxcnc/lib/python/qtvcp/widgets/camview_widget.py", line 328, in drawCrossHair
     gp.drawLine(0, 0-self.gap, 0, -h)
 TypeError: arguments did not match any overloaded call:
   drawLine(self, QLineF): argument 1 has unexpected type 'int'
   drawLine(self, QLine): argument 1 has unexpected type 'int'
   drawLine(self, int, int, int, int): argument 4 has unexpected type 'float'
   drawLine(self, QPoint, QPoint): argument 1 has unexpected type 'int'
   drawLine(self, Union[QPointF, QPoint], Union[QPointF, QPoint]): argument 1 has unexpected type 'int'

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 11:37:17 +01:00
Damian Wrobel
d240f92f5e Fix qtplasma camview QPoint() argument
Fixes:
 Traceback (most recent call last):
   File "/usr/lib/python3.10/site-packages/qtvcp/widgets/camview_widget.py", line 293, in paintEvent
     self.drawCircle(event, qp)
   File "/usr/lib/python3.10/site-packages/qtvcp/widgets/camview_widget.py", line 316, in drawCircle
     center = QtCore.QPoint(w/2, h/2)
 TypeError: arguments did not match any overloaded call:
   QPoint(): too many arguments
   QPoint(int, int): argument 1 has unexpected type 'float'
   QPoint(QPoint): argument 1 has unexpected type 'float'

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2022-01-04 11:36:14 +01:00
Hans Unzner
5021c88e0a gmoccapy: removed most deprecation warnings
The remaining warnings can only be resolved by changing the deprecated widgets to new ones.
2022-01-03 14:56:46 +01:00
Hosted Weblate
22979704ff
Merge remote-tracking branch 'origin/master' 2022-01-03 06:23:01 +01:00
CMorley
011ebe4846 qtvcp -screens: remove redundent (and error causing) slider init settings
these caused errors in new systems because they ween't forced to integers.
We ave fix the interger problem in the slider widget, but these init settings
are already done in the widget.
2022-01-02 21:20:13 -08:00
Hosted Weblate
6ca933c989
Merge remote-tracking branch 'origin/master' 2022-01-03 06:10:19 +01:00
CMorley
13b89b583f qtvcp -status_slider: fix minimum setting of slider
While the last code change fix float/interger errors setting a minimum higher
\the 0 would not work correctly.
I was too lazy to work out why - this works.

Currently we round floats anyways. Maybe in the future we can fix it better.
2022-01-02 21:09:33 -08:00
Hosted Weblate
3ba0b6353b
Merge remote-tracking branch 'origin/master' 2022-01-03 02:54:56 +01:00
Phillip Carter
142fbf7753 qtplasmac: ensure preview joint dro is removed after homing 2022-01-03 12:54:34 +11:00
Hans Unzner
14edda1ada calculatorwidget: fix size 2022-01-02 19:36:56 +01:00
Hans Unzner
4c8c083190 calculatorwidget: optimize table with num_pad_only 2022-01-02 18:19:19 +01:00
Hans Unzner
d3b6918cde calculatorwidget: fixed num_pad_only in some cases 2022-01-02 02:34:17 +01:00
Hans Unzner
f035c45273 Fix hal_filechooser for Gtk3 2022-01-02 01:00:38 +01:00
Hans Unzner
66c4d2a6b2 removed duplicated line 2022-01-01 15:30:44 +01:00
Hosted Weblate
fbeba092b6
Merge remote-tracking branch 'origin/master' 2022-01-01 06:43:15 +01:00
Phillip Carter
bd22bc17da qtplasmac: remove redundant parameter 2022-01-01 16:43:01 +11:00
Hosted Weblate
d2ccf359eb
Merge remote-tracking branch 'origin/master' 2022-01-01 06:32:51 +01:00
Phillip Carter
45ea1f95d2 qtplasmac: add toggle laser to user buttons 2022-01-01 16:32:25 +11:00
Phillip Carter
f926d1bc87 qtplasmac: change default font 2022-01-01 15:23:11 +11:00
Hosted Weblate
9ded2711bc
Merge remote-tracking branch 'origin/master' 2021-12-31 20:57:00 +01:00
andypugh
346abe757f Docs: Document the [SINDLE_n] INCREMENT setting.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-12-31 19:55:46 +00:00
andypugh
72f4683d3e Spindle changes: Fix the runtests
3d005f6 introduced a new command that the command logger was unaware of.
This broke the runtests.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-12-31 19:49:22 +00:00
Hosted Weblate
b05dc9a807
Merge remote-tracking branch 'origin/master' 2021-12-31 17:59:15 +01:00
andypugh
3d005f685d Spindles: Make spindle velocity limits and plus/minus increments
INI-config items.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-12-31 16:56:01 +00:00
Hosted Weblate
152b07a577
Merge remote-tracking branch 'origin/master' 2021-12-31 01:24:31 +01:00
c-morley
14a02d19b0
Merge pull request #1485 from dwrobel/Allow-to-use-float-for-QSlider
Allow to use float for QSlider
2021-12-30 16:24:28 -08:00
Hosted Weblate
39c8ba8ac7
Merge remote-tracking branch 'origin/master' 2021-12-31 01:22:21 +01:00
c-morley
136de33c17
Merge pull request #1484 from dwrobel/Fix-QTimer-start-argument-HALPIN_CYCLE_TIME
Fix QTimer start() argument (HALPIN_CYCLE_TIME)
2021-12-30 16:22:18 -08:00
c-morley
840ddfba73
Merge branch 'master' into Fix-QTimer-start-argument-HALPIN_CYCLE_TIME 2021-12-30 16:21:53 -08:00
Hosted Weblate
cefb3f50a2
Merge remote-tracking branch 'origin/master' 2021-12-31 01:17:17 +01:00
Damian Wrobel
f543391afc Allow to use float for QSlider
Fixes #1481

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-31 01:17:04 +01:00
andypugh
a5591e5235 Stifle a compiler error
When compiling for RTAI it seems that some modules are compiled in C90 rather
than C99 mode. Rather than figure out why I just changed the troublesome line.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-12-31 00:16:43 +00:00
Hosted Weblate
de5d803038
Merge remote-tracking branch 'origin/master' 2021-12-31 01:15:57 +01:00
c-morley
87bdd82256
Merge pull request #1483 from dwrobel/Improve-error-logging-by-adding-full-python-traceback
Improve error logging by adding full python traceback
2021-12-30 16:15:54 -08:00
Steffen Moeller
aa43859dbc Removed extra blank in label description 2021-12-31 01:15:38 +01:00
Hosted Weblate
0bd1fd100a
Merge remote-tracking branch 'origin/master' 2021-12-31 01:14:20 +01:00
c-morley
945c30e668
Merge pull request #1482 from dwrobel/Fix-drawEllipse-arguments
Fix drawEllipse() arguments
2021-12-30 16:14:17 -08:00
Hosted Weblate
37a7b460ff
Merge remote-tracking branch 'origin/master' 2021-12-31 01:13:38 +01:00
c-morley
7f8e098ff3
Merge pull request #1480 from dwrobel/Fix-addWidget-argument
Fix addWidget() argument
2021-12-30 16:13:35 -08:00
Hosted Weblate
9b22323239
Merge remote-tracking branch 'origin/master' 2021-12-31 01:12:40 +01:00
c-morley
67c3730187
Merge pull request #1479 from dwrobel/Fix-QColor-argument
Fix QColor() argument
2021-12-30 16:12:36 -08:00
Hosted Weblate
042b96814d
Merge remote-tracking branch 'origin/master' 2021-12-31 01:07:12 +01:00
Alexey Starikovskiy
8410198505
Translated using Weblate (Russian)
Currently translated at 71.6% (2607 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-31 01:07:11 +01:00
Jérémie Tarot
c8e34fec56
Translated using Weblate (French)
Currently translated at 76.2% (2778 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2021-12-31 01:07:11 +01:00
c-morley
efc20f6389
Merge pull request #1478 from dwrobel/Fix-QTimer-start-argument
Fix QTimer start() argument
2021-12-30 16:07:05 -08:00
Damian Wrobel
94a483d7fe Fix QTimer start() argument (HALPIN_CYCLE_TIME)
Fixes:
 [QTvcp.QTVCP.CORE][ERROR] Qhal: Error making new HAL pin: arguments did not match any overloaded call:
 start(self, int): argument 1 has unexpected type 'float'
 start(self): too many arguments
 /home/dw/projects/linuxcnc/lib/python/qtvcp/widgets/simple_widgets.py
 Line 1102
 Function: _hal_init (core.py:154)
 [QTvcp.QTVCP.CORE][ERROR] Qhal: Traceback (most recent call last):
 File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 149, in newpin
 p = QPin(_hal.component.newpin(self.comp, *a, **kw))
 File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 48, in init
 self.update_start()
 File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 88, in update_start
 cls.timer.start(INI.HALPIN_CYCLE_TIME)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 20:20:50 +01:00
Damian Wrobel
9b758c30b7 Improve error logging by adding full python traceback
Adds traceback to output log to make it easier
to identify the error location.

Existing output:

[QTvcp.QTVCP.CORE][ERROR]  Qhal: Error making new HAL pin: arguments did not match any overloaded call:
  start(self, int): argument 1 has unexpected type 'float'
  start(self): too many arguments
    /home/dw/projects/machinekit/linuxcnc/lib/python/qtvcp/widgets/simple_widgets.py
    Line 1102
    Function: _hal_init (core.py:154)

Added traceback:

[QTvcp.QTVCP.CORE][ERROR]  Qhal: Traceback (most recent call last):
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 149, in newpin
    p = QPin(_hal.component.newpin(self.comp, *a, **kw))
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 48, in __init__
    self.update_start()
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/core.py", line 88, in update_start
    cls.timer.start(INI.HALPIN_CYCLE_TIME)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 20:12:56 +01:00
Damian Wrobel
b95cbcb899 Fix drawEllipse() arguments
Fixes:
Traceback (most recent call last):
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/widgets/led_widget.py", line 114, in paintEvent
    painter.drawEllipse(x, y, self._diameter - 1, self._diameter - 1)
TypeError: arguments did not match any overloaded call:
  drawEllipse(self, QRectF): argument 1 has unexpected type 'float'
  drawEllipse(self, QRect): argument 1 has unexpected type 'float'
  drawEllipse(self, int, int, int, int): argument 1 has unexpected type 'float'
  drawEllipse(self, Union[QPointF, QPoint], float, float): argument 1 has unexpected type 'float'
  drawEllipse(self, QPoint, int, int): argument 1 has unexpected type 'float'

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 19:43:00 +01:00
Damian Wrobel
657a8c8130 Fix addWidget() argument
Fixes:
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/widgets/calculator.py", line 92, in __init__
    mainLayout.addWidget(self.digitButtons[i], row, column)
TypeError: arguments did not match any overloaded call:
  addWidget(self, QWidget): too many arguments
  addWidget(self, QWidget, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment()): argument 2 has unexpected type 'float'
  addWidget(self, QWidget, int, int, int, int, alignment: Union[Qt.Alignment, Qt.AlignmentFlag] = Qt.Alignment()): argument 2 has unexpected type 'float'

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 18:27:51 +01:00
Damian Wrobel
1ccc7a60f9 Fix QColor() argument
Fixes:
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/widgets/gcode_graphics.py", line 58, in __init__
    self._backgroundColor = QColor(0, 0, 0.75, 150)
TypeError: arguments did not match any overloaded call:
  QColor(Qt.GlobalColor): argument 1 has unexpected type 'int'
  QColor(int): too many arguments
  QColor(QRgba64): argument 1 has unexpected type 'int'
  QColor(Any): too many arguments
  QColor(): too many arguments
  QColor(int, int, int, alpha: int = 255): argument 3 has unexpected type 'float'
  QColor(str): argument 1 has unexpected type 'int'
  QColor(Union[QColor, Qt.GlobalColor, QGradient]): argument 1 has unexpected type 'int'

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 18:27:17 +01:00
Damian Wrobel
a61f5f3b55 Fix QTimer start() argument
Fixes:
  File "/home/dw/projects/linuxcnc/lib/python/qt5_graphics.py", line 299, in __init__
    self.addTimer()
  File "/home/dw/projects/linuxcnc/lib/python/qtvcp/widgets/gcode_graphics.py", line 86, in addTimer
    self.timer.start(INFO.GRAPHICS_CYCLE_TIME)
TypeError: arguments did not match any overloaded call:
  start(self, int): argument 1 has unexpected type 'float'
  start(self): too many arguments

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-12-30 18:25:22 +01:00
Hosted Weblate
7f66339f9d
Merge remote-tracking branch 'origin/master' 2021-12-30 13:40:37 +01:00
Nikita Shubin
411eaac6f0
Translated using Weblate (Russian)
Currently translated at 70.9% (2585 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-30 13:40:37 +01:00
Dewey Garrett
3db322c0be db_demo sim configs add pyvcp panel 2021-12-30 05:08:40 -07:00
Dewey Garrett
bf8784634e latency-plot:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:34 -07:00
Dewey Garrett
271b8ab07b latency-histogram:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:28 -07:00
Dewey Garrett
b561675e1d ngcgui.tcl:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:22 -07:00
Dewey Garrett
8eb1ffdc65 twopass.tcl:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:17 -07:00
Dewey Garrett
67fb447283 halreport:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:11 -07:00
Dewey Garrett
e55037177c linuxcnc.in:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:08:05 -07:00
Dewey Garrett
118c35f6de linuxcnc_info.in:debian/sid deprecates which
https://lwn.net/Articles/874049/
2021-12-30 05:07:36 -07:00
Alexey Starikovskiy
965711786e
Translated using Weblate (Russian)
Currently translated at 67.7% (2468 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-30 09:14:45 +01:00
Jérémie Tarot
a36c0ab1f8
Translated using Weblate (French)
Currently translated at 75.8% (2761 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2021-12-30 09:14:13 +01:00
CMorley
3238d16a10 pncconf -add homing sequence number even without homing switches. 2021-12-29 18:21:43 -08:00
c-morley
c23f0a58b7
Merge pull request #1469 from DuttonIndustrial/curtdutt/pyhal_fix
pyhal component names were not being registered properly when using python3
2021-12-29 17:51:45 -08:00
Hans Unzner
0502149278 halshow: Can now add multiple pins/params/signals from selection 2021-12-29 11:45:52 +01:00
Hans Unzner
9a6f7cb832 halshow: add resizing of frames ratio, added grip 2021-12-29 11:45:39 +01:00
c-morley
54f1036929
Merge pull request #1471 from smoe/typos
Typos in docs
2021-12-28 05:52:39 -08:00
c-morley
7f20c7ff2c
Merge pull request #1444 from smoe/patch-2
Added "that's why" sentence to HAL introduction
2021-12-27 20:32:40 -08:00
c-morley
a69c3f9962
Merge pull request #1468 from petterreinholdtsen/typy-man-hal-type-t
Fix typo in hal_type_t(3) manual page.
2021-12-27 20:31:09 -08:00
Sebastian Kuzminsky
2bf3f0e6bb
Merge pull request #1474 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-27 17:18:42 -07:00
Petter Reinholdtsen
1773034cca
Translated using Weblate (Norwegian Bokmål)
Currently translated at 5.9% (215 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-27 14:52:05 +01:00
Jose Manuel Garcia de Torres
41cb8dd27c
Translated using Weblate (Spanish)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/es/
2021-12-27 14:52:04 +01:00
Hans Unzner
1adda40bb3
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-27 14:52:04 +01:00
Jose Manuel Garcia de Torres
22be2118b7
Translated using Weblate (Spanish)
Currently translated at 95.3% (3473 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2021-12-27 14:52:03 +01:00
Steffen Möller
520bff2479
Translated using Weblate (German)
Currently translated at 54.6% (1989 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-27 14:52:02 +01:00
Hans Unzner
86acacb6ac
Translated using Weblate (German)
Currently translated at 54.6% (1989 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-27 14:52:02 +01:00
CMorley
85b5a5b437 qtvcp -docs: add auto_tool_probe details to qtdragon 2021-12-26 21:51:52 -08:00
CMorley
0d877b93e9 qtvcp -qtdragon sims: add README to describe configs 2021-12-26 14:12:52 -08:00
CMorley
48ea4ddf3a qtvcp -qtdragon sims: use tittle and icon option
remove the specific example of title and icon
2021-12-26 13:56:01 -08:00
CMorley
7f7bad33f8 qtvcp -add an auto tool probe sim config
probe is not simulated so it doesn;t simulate that well :)
2021-12-26 13:43:45 -08:00
CMorley
5816009bb8 qtvcp -qt_graphics: set recorded view as P if perspective is true
Snowgoer540 from forum dicovered this works better when recording
Z base views that have bee rotated.
2021-12-25 23:05:00 -08:00
Hans Unzner
c821586b01 calculatorwidget: changed layout 2021-12-25 17:39:21 +01:00
Hans Unzner
116cbd1d10 calculatorwidget: fixed sizing of OK/Cancel button due to GTK3, new layout 2021-12-25 17:39:21 +01:00
CMorley
4687d88719 remap subroutines: add qtvcp relatd subs 2021-12-25 01:20:32 -08:00
CMorley
0199818f67 stndglue.py: allow NGC to print a message to the user on errors.
wait for the message to print before aborting.
2021-12-25 01:20:32 -08:00
CMorley
4d865f43cc qtvcp -versaprobe: change pin names, fix tool measure button
change the HAL pin prefix to always be qtversaprobe.
record the state of the use-tool-probe button in the preference file.
make the use-tool-probe button's LED match its initial state
2021-12-25 01:20:20 -08:00
CMorley
cb776cb41b qtvcp -pushbuttons/indicated pushbuttons: make sure the code is initialized
the button could be in a different state when the _hal_init() code is called
2021-12-25 00:48:12 -08:00
Steffen Moeller
580d6f7c13 docs: typos/wording - small changes 2021-12-25 02:29:51 +01:00
Steffen Moeller
acc553df70 DIameter -> Diameter 2021-12-25 01:57:34 +01:00
Curtis Dutton
8d1a87f192 pyhal component names were not being registered properly when using python3. 2021-12-24 09:15:16 -05:00
Petter Reinholdtsen
e08b394a30 Fix typo in hal_type_t(3) manual page. 2021-12-24 13:18:40 +01:00
Sebastian Kuzminsky
388bb3e133
Merge pull request #1449 from andrewheeler82/mb2hal-counter
MB2HAL errorcounter does not count high
2021-12-23 21:58:33 -07:00
CMorley
e051d96c78 halcmd -add print statement
To aid debugging HAL files
2021-12-23 20:39:25 -08:00
Sebastian Kuzminsky
c14c8dcd3b
Merge pull request #1465 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-23 21:34:54 -07:00
Hosted Weblate
ef1ba1912f
Merge remote-tracking branch 'origin/master' 2021-12-24 02:41:57 +01:00
c-morley
0954ab0d84
Merge pull request #1458 from phillc54/phillc54/limits
Prevent spurious limits exceeded errors
2021-12-23 17:41:54 -08:00
Hosted Weblate
2fa9d9c68f
Merge remote-tracking branch 'origin/master' 2021-12-24 02:40:28 +01:00
c-morley
f28d80e998
Merge pull request #1467 from annhan/Qtvcp---change-ICON-and-TITLE
QTVCP - Update Function to setting the TITLE and ICON for QTVCP APP
2021-12-23 17:40:21 -08:00
mwork
2f4b391871 QTVCP - Update Function to setting the TITLE and ICON for QTVCP APP
Need to add config in DISPLAY to INI file
With ICON : image file need to save in ini folder

[DISPLAY]
DISPLAY = qtvcp qtdragon
TITLE = MyQTVCP-qtdragon
ICON = silver_dragon.png
2021-12-23 16:18:03 +07:00
Hosted Weblate
09ea81e798
Merge remote-tracking branch 'origin/master' 2021-12-23 07:23:55 +01:00
CMorley
55e966a3f6 Qtvcp -QtDragon_hd: fix status LED color.
The on and off color was the same.
2021-12-22 22:23:17 -08:00
Hosted Weblate
b3b16aedeb
Merge remote-tracking branch 'origin/master' 2021-12-23 06:43:55 +01:00
Alexey Starikovskiy
857b92a46f
Translated using Weblate (Russian)
Currently translated at 55.3% (2016 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-23 06:43:55 +01:00
c-morley
61dc6ac2f8
Merge pull request #1466 from annhan/qtvcp-fix-camnum-
Update camview_widget.py - Change pyqtProperty to set, get camnum
2021-12-22 21:43:49 -08:00
mwork
27bc8e715d fix type 2021-12-23 08:30:05 +07:00
mwork
a098776182 Update camview_widget.py 2021-12-23 08:27:54 +07:00
Alexey Starikovskiy
30d09e2c93
Translated using Weblate (Russian)
Currently translated at 55.2% (2013 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-22 19:53:37 +01:00
CMorley
7817f41a78 qtvcp -woodpecker: update for python3 libraries 2021-12-21 17:57:34 -08:00
Phillip Carter
689bcc81dc qtplasmac: improve bounds checking
fix typos in pncconf and stepconf
2021-12-22 12:50:21 +11:00
andrewheeler82
c08bae8c58
Merge branch 'LinuxCNC:master' into mb2hal-counter 2021-12-21 16:36:27 +01:00
915e6148c9
Merge pull request #1410 from hansu/halshow
Halshow: updated docs + little modifications
2021-12-21 08:33:34 -07:00
Hans
c1b8346f22
removed translations to get rid of merge conflict 2021-12-21 15:56:22 +01:00
62e57dcbdb
Merge pull request #1462 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-21 07:01:35 -07:00
Hosted Weblate
cb155612bf
Merge remote-tracking branch 'origin/master' 2021-12-21 15:01:16 +01:00
53dbb2a5ad
Merge pull request #1461 from petterreinholdtsen/translation-hu
Moved Hungarian translations out of DOC_SRCS_EN make variable
2021-12-21 07:01:10 -07:00
Petter Reinholdtsen
2ff7fdf3da Moved Hungarian translations out of DOC_SRCS_EN make variable 2021-12-21 08:13:48 +01:00
andrewheeler82
7ec225657e
Merge branch 'LinuxCNC:master' into mb2hal-counter 2021-12-21 06:50:05 +01:00
Hosted Weblate
514b9a6e92
Merge remote-tracking branch 'origin/master' 2021-12-21 01:12:21 +01:00
Phillip Carter
d224abe581
Merge pull request #1463 from snowgoer540/gregc/pulse-error
qtplasmac: add exception handling for pulse-halpin
2021-12-21 11:12:17 +11:00
Hosted Weblate
dffddb1c15
Merge remote-tracking branch 'origin/master' 2021-12-21 00:36:08 +01:00
5f3cec9a2b
Merge pull request #1460 from petterreinholdtsen/useless-make-space
Drop useless space from docs/src/Submakefile
2021-12-20 16:36:05 -07:00
Hosted Weblate
547fe2159c
Merge remote-tracking branch 'origin/master' 2021-12-21 00:35:54 +01:00
5f54f07055
Merge pull request #1459 from petterreinholdtsen/drop-useless-make-var
Drop useless makefile variable DOC_SRCS_TXT.
2021-12-20 16:35:51 -07:00
Hosted Weblate
fbf33452d3
Merge remote-tracking branch 'origin/master' 2021-12-21 00:35:12 +01:00
01ee3fa30a
Merge pull request #1456 from petterreinholdtsen/no-clean-pot
Stop removing POT files in clean target
2021-12-20 16:35:08 -07:00
Greg Carl
9d92ff7322 qtplasmac: add exception handling for pulse-halpin 2021-12-20 18:25:23 -05:00
Alexey Starikovskiy
f76af8b384
Translated using Weblate (Russian)
Currently translated at 54.6% (1991 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-20 23:37:00 +01:00
Alexey Starikovskiy
3652b83bf5
Translated using Weblate (Russian)
Currently translated at 53.8% (1960 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-20 18:26:10 +01:00
Petter Reinholdtsen
63fdc5960e Drop useless makefile variable DOC_SRCS_TXT.
It is identical to DOC_SRCS after renaming .txt to .adoc.
2021-12-20 17:46:28 +01:00
Hosted Weblate
4510b5e298
Merge remote-tracking branch 'origin/master' 2021-12-20 15:04:52 +01:00
ccd3142a26
Merge pull request #1457 from petterreinholdtsen/doc-trans-make-var
Changed translated documentation build rules to generate file lists
2021-12-20 07:04:49 -07:00
Petter Reinholdtsen
39ffd6c05e
Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.9% (180 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-20 14:52:05 +01:00
Petter Reinholdtsen
d27062b8f6
Translated using Weblate (Norwegian Bokmål)
Currently translated at 63.8% (245 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-20 14:52:04 +01:00
Alexey Starikovskiy
0c90cf1011
Translated using Weblate (Russian)
Currently translated at 53.6% (1952 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ru/
2021-12-20 14:52:03 +01:00
Horváth Csaba
f8c349b001
Translated using Weblate (Hungarian)
Currently translated at 30.7% (1118 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2021-12-20 14:51:58 +01:00
Petter Reinholdtsen
b54a35fefd Drop useless space from docs/src/Submakefile
This space causes emacs to warn every time the file is saved.
2021-12-20 08:52:47 +01:00
Petter Reinholdtsen
58c2a811e2 Changed translated documentation build rules to generate file lists
Instead of listing each individual translated document in Submakefile,
generate the lists from the files on disk.

Renamed LinuxCNC_Developer_Manual.pdf to LinuxCNC_Developer.pdf,
LinuxCNC_User_Manual_fr.pdf to LinuxCNC_User_fr.pdf and
LinuxCNC_HAL_Manual_fr.pdf to LinuxCNC_HAL_fr.pdf to be able to
generate PDF file name directly from AsciiDoc file name.

Removed Master_Integrator_es.adoc as it was only including non-existing
files.

Moved gui/filter_programs.adoc incorrectly listed under DOC_SRCS_FR into
DOC_SRCS_EN.

Dropped unused and untranslated gui/qtvcp_libraries_es.adoc as it had
incorrect internal links breaking the check step during build.
2021-12-20 08:01:42 +01:00
Phillip Carter
035e5ce0ad qtplasmac: add cycle run progress 2021-12-20 17:42:09 +11:00
Phillip Carter
775c17151a qtplasmac: add ability to cancel laser alignment 2021-12-20 17:34:02 +11:00
Phillip Carter
c6abc55e25 qtplasmac: synchronise flashing 2021-12-20 17:29:45 +11:00
Phillip Carter
2a5b637f56 Prevent spurious limits exceeded errors 2021-12-20 17:25:53 +11:00
Petter Reinholdtsen
8b42314614 Stop removing POT files in clean target
As the POT files are kept in git, it is best to not remove them in the
'clean' target.
2021-12-19 23:27:01 +01:00
andrewheeler82
b053fb4639
Merge branch 'LinuxCNC:master' into mb2hal-counter 2021-12-19 08:28:44 +01:00
Phillip Carter
e8801bf34f qtplasmac: fix sim laser and camera coordinates 2021-12-19 17:34:20 +11:00
CMorley
8d8355e104 qtvcp -qt_action: fix unhome all
Thanks Phill
2021-12-18 21:31:17 -08:00
CMorley
f5c2217d30 qtvcp -images: add a few mill/lathe tool images 2021-12-18 21:25:22 -08:00
CMorley
20e4ae15e6 qtvcp -add default window icon
Maybe someone will come up with a nicer QT/linuxcnc one in the future
2021-12-18 21:24:09 -08:00
CMorley
61e1729800 qtvcp -qt_action: when unhoming a joint -unhome combined joints too
combined joints make an axis
2021-12-18 20:46:54 -08:00
Dewey Garrett
e99ae43afe tooldatabase.adoc update for tool_notify_t types 2021-12-18 17:51:36 -07:00
Dewey Garrett
0b004b2a74 db_demo sim configs updates
1) conform to DB_VERSION=v2.0 g,p,l,u commands
2) demonstrate tool usage time tracking and G10L0
   for random and nonrandom toolchangers
2021-12-18 17:51:36 -07:00
Dewey Garrett
5ee44f19b0 tooldata_db_notify: support tool_notify_t types
was: commands 'g','p'
is:  commands 'g','p','l' (load_spindle), 'u' (unload_spindle)
2021-12-18 17:51:36 -07:00
Dewey Garrett
5d68da6f2f interp_convert.cc G10L0 iff no loaded tool
choose method with least surprise
2021-12-18 17:51:36 -07:00
CMorley
005aa38eb9 qtvcp -qt5_graphics: turn function to blank joint DRO
Blaking the DRO display for joints breaks the graphiccs display.
The X axis gets offset permentaly.
Not sure why as we do the same thing with AXIS dro blamking.
For now one is stuck with joint DRO display showing till homed
2021-12-18 16:26:54 -08:00
Rene Hopf
6c1c7d7298
Merge pull request #1455 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-19 00:21:46 +01:00
Petter Reinholdtsen
c922cec80b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 4.4% (161 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-18 23:45:00 +01:00
Hans Unzner
8090a13043
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-18 23:44:59 +01:00
Hans Unzner
efba6c96ec
Translated using Weblate (German)
Currently translated at 53.1% (1934 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-18 23:44:58 +01:00
Sebastian Kuzminsky
a3b21843e3
Merge pull request #1452 from petterreinholdtsen/typo-gmoccapy-glade
Fixed typo in gmoccapy.glade (checed->checked).
2021-12-18 15:02:02 -07:00
Sebastian Kuzminsky
60c43589f9
Merge pull request #1446 from smoe/patch-4
Added positive paragraph to user foreword
2021-12-18 15:01:38 -07:00
Sebastian Kuzminsky
cb951af716
Merge pull request #1451 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-18 14:46:47 -07:00
Petter Reinholdtsen
edb35e2f6f
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.1% (77 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-18 16:11:58 +01:00
Petter Reinholdtsen
96a287c423
Translated using Weblate (Norwegian Bokmål)
Currently translated at 52.3% (201 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-18 16:11:57 +01:00
Hans Unzner
c74f21292d
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-18 16:11:57 +01:00
Hans Unzner
7bc923033f
Translated using Weblate (German)
Currently translated at 53.0% (1932 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-18 16:11:56 +01:00
andrewheeler82
2eee4bfbd6
Merge branch 'LinuxCNC:master' into mb2hal-counter 2021-12-17 22:43:19 +01:00
Petter Reinholdtsen
c41d277e09 Fixed typo in gmoccapy.glade (checed->checked). 2021-12-17 21:52:46 +01:00
Petter Reinholdtsen
8d17314d61
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.4% (53 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-17 09:52:37 +01:00
Petter Reinholdtsen
15b369bf74
Translated using Weblate (Norwegian Bokmål)
Currently translated at 46.8% (180 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-17 09:52:36 +01:00
Horváth Csaba
43d43478fd
Translated using Weblate (Hungarian)
Currently translated at 92.9% (411 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2021-12-17 09:52:36 +01:00
Gunnar Wolf
68336c4fc8
Translated using Weblate (Spanish)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/es/
2021-12-17 09:52:35 +01:00
Horváth Csaba
53d70d8d8e
Translated using Weblate (Hungarian)
Currently translated at 30.3% (1106 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2021-12-17 09:52:35 +01:00
Steffen Möller
7675addff2
Translated using Weblate (German)
Currently translated at 52.8% (1925 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-17 09:52:33 +01:00
CMorley
cdd549b664 qtvcp -qtaxis: modify config to test joint mode display 2021-12-16 23:27:26 -08:00
CMorley
c48a052660 qtvcp -action: add function to set motion teleop mode
WIP - the code might be right but it didn't seem to work in my
test config. tis code is copied from AXIS
2021-12-16 23:24:49 -08:00
CMorley
c6d05a8c06 qtvcp -gcode graphics: fix display in joint mode
There was missing code to display joints instead of axes,
when in free (joint) nmode.
added enable_dro code to hide joints DRO if requested. This
required glcannon to be modified (in another commit)
Should also display extra joints (not tested)
2021-12-16 23:19:17 -08:00
CMorley
39248a9a7a glcannon -allow joint dro display function to be overridden 2021-12-16 23:16:48 -08:00
Phillip Carter
6ef404ed30 qtplasmac: add fallback to torch if laser framing out of bounds
re-instate entry check in conversational lines
2021-12-15 13:33:26 +11:00
Phillip Carter
360240b409 qtplasmac: fix laser touchoff final move
pmx485-test application enhancements
remove pmx485 component loading from hal file
add laser template to custom_postgui.hal file
2021-12-15 11:43:29 +11:00
CMorley
7e56a62fb9 qtvcp -qttouchy: fix joint jogging, change pin names
Joint jogging was not setup at all. make qttouchy pin names more standard
2021-12-13 19:04:56 -08:00
CMorley
ee098509e4 qtvcp -fix error with panels that have no handler file
Curently if there is no habdler file, then one can't use user command file either.
2021-12-13 17:50:10 -08:00
e9af849e05
Merge pull request #1445 from smoe/patch-3
command.c: fixed typo (missing blank) in error message
2021-12-13 18:49:56 -07:00
Sebastian Kuzminsky
373278de08
Merge pull request #1448 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-13 18:13:13 -07:00
Hans Unzner
e001e5f214 halshow: little renaming 2021-12-13 19:47:33 +01:00
Hans Unzner
228bb9efa4 halshow: updated docs 2021-12-13 19:18:48 +01:00
Hans Unzner
ebb670fa7c halshow: Back to hal lib call for commands, add sep lines, code cosmetics 2021-12-13 19:18:36 +01:00
Hosted Weblate
6ddf5f0087
Merge remote-tracking branch 'origin/master' 2021-12-13 13:30:17 +01:00
Allan Nordhøy
6d9791395d
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.4% (52 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-13 13:30:16 +01:00
Petter Reinholdtsen
3e27b48b4f
Translated using Weblate (Norwegian Bokmål)
Currently translated at 39.3% (151 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-13 13:30:16 +01:00
Horváth Csaba
73e1f25ad4
Translated using Weblate (Hungarian)
Currently translated at 87.3% (386 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2021-12-13 13:30:15 +01:00
Ernesto Lo Valvo
ba45d3d74f
Translated using Weblate (Italian)
Currently translated at 98.4% (3585 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/it/
2021-12-13 13:30:15 +01:00
Horváth Csaba
89f43d2abe
Translated using Weblate (Hungarian)
Currently translated at 25.4% (925 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2021-12-13 13:30:13 +01:00
andypugh
d9ee98cc6b
Merge pull request #1450 from luzpaz/typos/macro
Fix typo in nc_files/macro/lathe/drill.ngc
2021-12-13 12:30:07 +00:00
luz paz
d355043e3d Fix typo in nc_files/macro/lathe/drill.ngc
Change `Finsh Depth` >`Finish Depth`
2021-12-13 06:09:24 -05:00
andrewheeler82
d279337389
Merge pull request #1 from andrewheeler82/andrewheeler82-patch-1
Update mb2hal.c
2021-12-13 06:39:49 +01:00
andrewheeler82
1169a8f1d6
Update mb2hal.c
MB2HAL errorcounter does not count high
2021-12-13 06:39:01 +01:00
Steffen Möller
32fd6ab241
Translated using Weblate (German)
Currently translated at 50.5% (1839 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-13 01:10:39 +01:00
Sebastian Kuzminsky
22be7cee10
Merge pull request #1443 from weblate/weblate-linuxcnc-linuxcnc
Translations update from Hosted Weblate
2021-12-12 16:45:05 -07:00
Steffen Möller
7b5a097311
Added positive paragraph to user foreword 2021-12-12 19:42:44 +01:00
Steffen Möller
f40e360c25
command.c: fixed typo (missing blank) in error message 2021-12-12 19:18:37 +01:00
Steffen Möller
8d10e43046
Added "that's why" sentence to HAL introduction 2021-12-12 16:24:24 +01:00
Hosted Weblate
a3e29d226b
Merge remote-tracking branch 'origin/master' 2021-12-12 16:00:40 +01:00
3271ee03aa
Merge pull request #1442 from petterreinholdtsen/weblate-backlinks
Add Weblate backlinks to toplevel README
2021-12-12 08:00:36 -07:00
Hosted Weblate
5954b1c589
Merge remote-tracking branch 'origin/master' 2021-12-12 15:59:55 +01:00
b8f69b39b1
Merge pull request #1402 from dwrobel/Add-support-for-checking-text-x-script.python-in-pycheck
Add support for checking "text/x-script.python" in pycheck
2021-12-12 07:59:51 -07:00
Hosted Weblate
5583a66f80
Merge remote-tracking branch 'origin/master' 2021-12-12 15:48:45 +01:00
741e986452
Merge pull request #1440 from petterreinholdtsen/irc-contributor-link
Add irc: link to IRC channel in documentation on how to contribute.
2021-12-12 07:48:40 -07:00
Hosted Weblate
195df414d0
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/
2021-12-12 15:44:48 +01:00
Petter Reinholdtsen
1287541949
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.4% (52 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-12 15:36:20 +01:00
Petter Reinholdtsen
a212c18ae2
Translated using Weblate (Norwegian Bokmål)
Currently translated at 39.0% (150 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-12 15:36:19 +01:00
Horváth Csaba
3125be9ab9
Translated using Weblate (Hungarian)
Currently translated at 87.3% (386 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2021-12-12 15:36:19 +01:00
Horváth Csaba
bac1e9a81c
Translated using Weblate (Hungarian)
Currently translated at 24.3% (885 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2021-12-12 15:36:18 +01:00
CMorley
aac09225e8 qtvcp -qtdragon/hd: improve code for single axis homing
XYYZ machines don't home/unhome properly in qtvcp.
One needs to use XYZY

In investigating this problem the code was not really clear.
joint/axis is still fragile in qtvcp
2021-12-11 23:27:10 -08:00
CMorley
41888a1960 qtvcp -add joint/axis conversion function 2021-12-11 23:27:10 -08:00
CMorley
eb9d3f8733 hal_glib -is_joint_homed should return a bool 2021-12-11 23:27:10 -08:00
Petter Reinholdtsen
c5dd7fe2ab Add Weblate backlinks to toplevel README
Weblate ask free software projects with free hosting of their translation
to include backlinks to the Weblate site.
2021-12-12 06:56:51 +01:00
Sebastian Kuzminsky
e2809f6bc0 Merge remote-tracking branch 'weblate/master'
* weblate/master:
  Translated using Weblate (Hungarian)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Spanish)
  Translated using Weblate (German)
2021-12-11 14:47:21 -07:00
Horváth Csaba
2180ee3851
Translated using Weblate (Hungarian)
Currently translated at 86.4% (382 of 442 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2021-12-11 22:44:22 +01:00
Horváth Csaba
9c427e1dac
Translated using Weblate (Hungarian)
Currently translated at 17.6% (641 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/hu/
2021-12-11 22:44:20 +01:00
Leonardo Daniel Marsaglia
02ebcbd8db
Translated using Weblate (Spanish)
Currently translated at 95.2% (3458 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2021-12-11 22:44:16 +01:00
Rainer Stelzer
27ae03570d
Translated using Weblate (German)
Currently translated at 50.4% (1836 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-11 22:44:14 +01:00
Sebastian Kuzminsky
319ced032c Merge 2.8 at commit '1c0bc247bd19ebd565da08517c1dd985b0bd822e'
* commit '1c0bc247bd19ebd565da08517c1dd985b0bd822e':
  plasmac: fix date typo
  plasmac: fix reconfigure mode for breakaway switch
  gscreen -fix INI parsing of jog increments that uses space as a delimiter
  Update axis.tcl
  runtest: fix remap introspection
  emc: add a system param :_metric_machine
  FIxed IRC webclient URL
  Remove use of unknown .HTML macro.
  Docs: spell out abbreviation at least once
  Update M51 description
2021-12-11 14:23:19 -07:00
Sebastian Kuzminsky
835224be86
Merge pull request #1430 from smoe/witch2which
witch defenestration
2021-12-11 14:17:03 -07:00
Petter Reinholdtsen
ed890f5158 Add irc: link to IRC channel in documentation on how to contribute.
Make sure to exclude irc:// links from checkref run, to avoid breaking the
build.
2021-12-11 22:11:06 +01:00
Sebastian Kuzminsky
bcb0b7c4eb
Merge pull request #1441 from hansu/translation-de
german translation improvements
2021-12-11 14:09:42 -07:00
Hans Unzner
16755deba8 improved german translation 2021-12-11 21:43:12 +01:00
Sebastian Kuzminsky
4023af6210 Merge remote-tracking branch 'weblate/master'
* weblate/master:
  Translated using Weblate (German)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (German)
  Translated using Weblate (German)
2021-12-11 09:35:33 -07:00
Rainer Stelzer
7210c2b04e
Translated using Weblate (German)
Currently translated at 50.0% (1823 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-11 09:22:28 +01:00
Petter Reinholdtsen
ff0f6488b0
Translated using Weblate (Norwegian Bokmål)
Currently translated at 1.0% (39 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-11 09:22:28 +01:00
Petter Reinholdtsen
a4d40ee20c
Translated using Weblate (Norwegian Bokmål)
Currently translated at 38.2% (147 of 384 strings)

Translation: LinuxCNC/LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-11 09:22:28 +01:00
Steffen Möller
cda4a16b97
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-11 09:22:28 +01:00
Steffen Möller
86868eb2f8
Translated using Weblate (German)
Currently translated at 49.0% (1785 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-11 09:22:28 +01:00
Chris Morley
ad69526cb8 rs274 -add tool change and spindle properties to python interface
num_ spindles
tool_change_with_spindle_on
tool_change_with_quill_up

for remap
2021-12-10 22:36:55 -08:00
Chris Morley
e0a723be3a rs274 -interp python: add tool_change_at_30 property
will be needed to replicate tool changes in python
Will need a few more too this was a test
2021-12-10 22:36:55 -08:00
Sebastian Kuzminsky
0578031cd9 docs: add a section on Translations to Contributing 2021-12-10 22:14:05 -07:00
Sebastian Kuzminsky
c3457f52a7 docs: update irc in Contributing to LinuxCNC 2021-12-10 22:11:25 -07:00
CMorley
f70fa79e55 qtdragon -sim: remove unused and wrong formated file 2021-12-10 20:48:17 -08:00
CMorley
6564fc5c56 qtdragon -docs: update about touchplate probing 2021-12-10 20:48:17 -08:00
CMorley
ea22cbdc9a qtvcp -qtdragon/hd: fix function call signature to TOUCHPLATE_PROBE 2021-12-10 20:48:17 -08:00
Sebastian Kuzminsky
251d50b193 rename gmoccapy's Norwegian po file 2021-12-10 21:11:32 -07:00
Sebastian Kuzminsky
4b443b3236 fix name of Norwegian translation po file 2021-12-10 21:00:41 -07:00
Phillip Carter
56d895e258 qtplasmac: fix feed rates for non native gcode units
fix mdi history append
2021-12-11 13:54:51 +11:00
Sebastian Kuzminsky
b488342c32 Merge remote-tracking branch 'weblate/master'
* weblate/master:
  Translated using Weblate (Italian)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (Serbian)
  Translated using Weblate (Polish)
  Translated using Weblate (Hungarian)
  Translated using Weblate (French)
  Translated using Weblate (Spanish)
  Translated using Weblate (German)
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (Polish)
  Translated using Weblate (Japanese)
  Translated using Weblate (Italian)
  Translated using Weblate (French)
  Translated using Weblate (Spanish)
  Translated using Weblate (German)
  Translated using Weblate (German)
  Translated using Weblate (German)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (German)
  Translated using Weblate (German)
  Translated using Weblate (German)
  Added translation using Weblate (Norwegian Bokmål)
  Added translation using Weblate (Norwegian Bokmål)
  Translated using Weblate (German)
2021-12-10 19:46:08 -07:00
c-morley
a55c50cf38
Merge pull request #1352 from satiowadahc/cw-namecalling
motion - Adding Names Arrays
2021-12-10 18:23:15 -08:00
Phillip Carter
ed84994455
Merge pull request #1439 from snowgoer540/gregc/cut-recovery
qtplasmac: cut recovery enhancements
2021-12-11 13:00:32 +11:00
c-morley
7653cbcea3
Merge pull request #1433 from smoe/patch-2
matching python code with translation
2021-12-10 17:40:13 -08:00
c-morley
a740a21a85
Merge pull request #1434 from luzpaz/typo/emc
emc: fix source typo
2021-12-10 17:38:47 -08:00
c-morley
f3f9442455
Merge pull request #1435 from comradekingu/patch-3
Corrected formatting of finished.glade messages
2021-12-10 17:36:23 -08:00
c-morley
ffc329ff33
Merge pull request #1437 from smoe/patch-3
Wording in gmoccapy, pointer to weblate
2021-12-10 17:30:31 -08:00
Greg Carl
d65e5c7f24 qtplasmac: cut recovery enhancements 2021-12-10 20:13:36 -05:00
CMorley
ec64ae5424 qtdragon_hd -cancel screen keyboard with tab press
If you press the current tab, then the on screen keyboard will disappear
2021-12-10 04:09:02 -08:00
CMorley
05420257c7 qtdragon_hd - fix touchplate probe error.
touchplate routine always backed off then quit.
Now use subprogram style proberoutine just like qtdragon
2021-12-10 04:03:18 -08:00
Ernesto Lo Valvo
5cc500b063
Translated using Weblate (Italian)
Currently translated at 97.2% (3533 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/it/
2021-12-10 09:20:41 +01:00
Steffen Möller
b27040fff9
Corrected (?) .adoc syntax
[Note:] -> NOTE:
2021-12-10 02:22:07 +01:00
Steffen Möller
e899be33be
Wording in gmoccapy, pointer to weblate 2021-12-10 01:34:20 +01:00
Allan Nordhøy
1be9dde885
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.7% (29 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-09 07:45:50 +01:00
Petter Reinholdtsen
b86330d565
Translated using Weblate (Norwegian Bokmål)
Currently translated at 36.1% (139 of 384 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
b4e1b338d4
Translated using Weblate (Chinese (Simplified))
Currently translated at 75.5% (334 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/zh_Hans/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
bb40a94034
Translated using Weblate (Serbian)
Currently translated at 67.8% (300 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/sr/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
669950d603
Translated using Weblate (Polish)
Currently translated at 68.3% (302 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/pl/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
b90126b1d0
Translated using Weblate (Hungarian)
Currently translated at 65.8% (291 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/hu/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
f8bded3d5b
Translated using Weblate (French)
Currently translated at 68.5% (303 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/fr/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
4c56a3e024
Translated using Weblate (Spanish)
Currently translated at 98.8% (437 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/es/
2021-12-09 07:45:50 +01:00
Steffen Möller
bee80dda48
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
c4ce0f4d3c
Translated using Weblate (Chinese (Simplified))
Currently translated at 83.8% (3045 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/zh_Hans/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
1d4eb13852
Translated using Weblate (Polish)
Currently translated at 28.4% (1033 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/pl/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
b46a1a3f3a
Translated using Weblate (Japanese)
Currently translated at 2.9% (108 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/ja/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
2748027a91
Translated using Weblate (Italian)
Currently translated at 94.4% (3431 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/it/
2021-12-09 07:45:50 +01:00
Allan Nordhøy
7abe00b4c9
Translated using Weblate (French)
Currently translated at 66.6% (2421 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/fr/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
0bfa5e88f9
Translated using Weblate (Spanish)
Currently translated at 92.5% (3362 of 3632 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/es/
2021-12-09 07:45:49 +01:00
Steffen Möller
b5912621bf
Translated using Weblate (German)
Currently translated at 48.1% (1754 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
c36488aaab
Translated using Weblate (German)
Currently translated at 99.7% (441 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-09 07:45:49 +01:00
Steffen Möller
1a35e086da
Translated using Weblate (German)
Currently translated at 99.7% (441 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
612bae1e3c
Translated using Weblate (Norwegian Bokmål)
Currently translated at 34.8% (134 of 384 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
b84ef5afa4
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.1% (7 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-09 07:45:49 +01:00
Petter Reinholdtsen
63382b919a
Translated using Weblate (Norwegian Bokmål)
Currently translated at 0.1% (7 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/nb_NO/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
9e464085ed
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.0% (8 of 384 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-09 07:45:49 +01:00
Petter Reinholdtsen
2bc035212b
Translated using Weblate (Norwegian Bokmål)
Currently translated at 2.0% (8 of 384 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/nb_NO/
2021-12-09 07:45:49 +01:00
Steffen Möller
52e8925e10
Translated using Weblate (German)
Currently translated at 100.0% (442 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-09 07:45:49 +01:00
Steffen Möller
d1c7d22d84
Translated using Weblate (German)
Currently translated at 47.7% (1739 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-09 07:45:49 +01:00
Allan Nordhøy
b4d6c847b9
Translated using Weblate (German)
Currently translated at 47.1% (1715 of 3641 strings)

Translation: LinuxCNC/LinuxCNC
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/linuxcnc/de/
2021-12-09 07:45:49 +01:00
Petter Reinholdtsen
2e01dadcce
Added translation using Weblate (Norwegian Bokmål) 2021-12-09 07:45:49 +01:00
Petter Reinholdtsen
5bedb242fa
Added translation using Weblate (Norwegian Bokmål) 2021-12-09 07:45:49 +01:00
Steffen Möller
16c98d4480
Translated using Weblate (German)
Currently translated at 99.5% (440 of 442 strings)

Translation: LinuxCNC/Gmocappy
Translate-URL: https://hosted.weblate.org/projects/linuxcnc/gmocappy/de/
2021-12-09 07:45:49 +01:00
Phillip Carter
1c0bc247bd plasmac: fix date typo 2021-12-09 12:58:54 +11:00
Phillip Carter
1cc45e2643 plasmac: fix reconfigure mode for breakaway switch 2021-12-09 12:54:37 +11:00
Phillip Carter
ca431725da qtplasmac: fix versions 2021-12-08 14:39:11 +11:00
Phillip Carter
ecfda60ea6 qtplasmac: improve powermax comms error checking
g-code filter fix cut recovery bug
g-code filter add more illegal character checks
update example wrenches
2021-12-08 14:35:19 +11:00
Allan Nordhøy
51676d1663
Corrected formatting of finished.glade messages 2021-12-08 03:23:23 +00:00
Phillip Carter
07f8e0af36 qtplasmac: gcode filter
fix cut recovery bug
add more illegal character checks
2021-12-08 14:22:01 +11:00
luz paz
418296e70c emc: fix source typo
Correct typo `DBG_supress` -> `DBG_suppress`
2021-12-07 14:17:32 -05:00
CMorley
c4039741cd gscreen -fix INI parsing of jog increments that uses space as a delimiter
adding a missing ', continuous' before parsing broke the assumptions.
Now we add a missing 'continuous' after parsing.
2021-12-07 01:29:50 -08:00
CMorley
62f1222779 qtvcp -designer readme: fix wrong package name. 2021-12-07 01:28:28 -08:00
CMorley
aba660a2f2 gscreen -fix INI parsing of jog increments that uses space as a delimiter
adding a missing ', continuous' before parsing broke the assumptions.
Now we add a missing 'continuous' after parsing.
2021-12-07 01:22:56 -08:00
c-morley
d239af9aee
Merge pull request #1432 from satiowadahc/patch-2
Status - Add Call Level Documentation
2021-12-07 00:53:57 -08:00
Dewey Garrett
dda070e79c db_demo:db.py updates for more functionality
to incorporate sync requests (g10l1)
2021-12-06 17:49:14 -07:00
Dewey Garrett
d8c823d53e tooldb.py updates to improve err reporting 2021-12-06 17:49:14 -07:00
Dewey Garrett
c2e3909297 G10 L0 reload_tool_data (new gcode)
When using the tool database interface ([EMCIO]DB_PROGRAM)
it may be useful to reload tooldata from within
long-running auto-mode gcode programs to benefit
from updates in the database.

This commit uses: #define ALWAYS_ALLOW_RELOAD_TOOLDATA
with a sync and updates of actual position.

Alternate provisions:

Use #undef ALWAYS_ALLOW_RELOAD_TOOLDATA
to disallow tooldata reload if there is a
currently loaded tool
2021-12-06 17:49:13 -07:00
Dewey Garrett
5be3dc4731 tooldata_format_toolline(): ignore_zero_values
When writing to a tool table file, ignore zero value items
(legacy behavior) but report zero values when communicating
to a database ([EMCIO]DB_PROGRAM) using
tooldata_format_toolline() in order to maintain
synchronization with gcodes like G10 L1 Pn ...
2021-12-06 17:49:13 -07:00
Steffen Möller
943ff803a2
matching python code with translation
Is this how translators should give feedback?
2021-12-06 22:07:11 +01:00
Chad A. Woitas
8aff21397e
status - Add Call Level Documentation 2021-12-06 09:58:13 -06:00
c-morley
a71d4c6bef
Merge pull request #1428 from petterreinholdtsen/add-pot
Added POT files to git repository
2021-12-06 04:26:34 -08:00
Steffen Moeller
30459f1fca witch -> which 2021-12-06 13:12:54 +01:00
Petter Reinholdtsen
242b694889 Added POT files to git repository
These files are generated by strings extracted from the code, and
are used as the template for new translations.  Including them in
the git repository make it possible for translators to get started
without doing a build, and allow Weblate to add new translations
when requested.
2021-12-06 08:02:49 +01:00
CMorley
22ee08c307 qtvcp -docs: update about customuzation options in qtvcp 2021-12-05 20:46:24 -08:00
CMorley
d1264fbb50 qtvcp -add user_command_file option for modifications
Simliar to AXIS's .axisrc option
2021-12-05 20:46:24 -08:00
Sebastian Kuzminsky
68ff1e3519
Merge pull request #1425 from luzpaz/typos/tcl
tcl: fix typo
2021-12-05 14:18:46 -07:00
Sebastian Kuzminsky
3fb9bc67a0
Merge pull request #1426 from luzpaz/typos/hal
hal: fix source typos
2021-12-05 14:18:16 -07:00
Sebastian Kuzminsky
1cea40a877
Merge pull request #1427 from ddotldot/master
HAL: some small fixes in halmodule.cc
2021-12-05 14:16:35 -07:00
D.L
092e455471 HAL: some small fixes in halmodule.cc 2021-12-05 22:50:02 -03:00
luz paz
60282d4316 hal: fix source typos 2021-12-05 11:14:53 -05:00
luz paz
1fc1a296ee tcl: fix typo 2021-12-05 11:12:10 -05:00
Hans Unzner
840b1cf821 de.po: merge from master and update from pot 2021-12-04 20:43:01 +01:00
Sebastian Kuzminsky
c1bd404204
Merge pull request #1424 from petterreinholdtsen/lang-code-zh
Use correct language code zh_CN for the Chinese documentation
2021-12-04 12:34:20 -07:00
Petter Reinholdtsen
57c946feaf Detect xetex at build time and build Chinese PDF when present
This make sure the Chinese PDFs are built when we can, while skipping
them when building for Debian Stretch.
2021-12-04 08:47:38 +01:00
Phillip Carter
b03193c1e5 qtplasmac: fix requested feed rate calulation 2021-12-04 18:01:49 +11:00
Phillip Carter
e6dfc07807 qtplasmac: fix cut recovery with offset probing 2021-12-04 15:31:08 +11:00
Phillip Carter
767f68a524 qtplasmac: fix offset probing
offset probing was preventing a cut recovery restart when probing with a 
float switch
2021-12-04 11:12:42 +11:00
Petter Reinholdtsen
c2f7603772 Use correct language code zh_CN for the Chinese documentation
The 'cn' code is for the country (China), while the language code is 'zh'.
This bring the language code in line with the code used in src/po/, which
already include zh_CN.po, zh_HK.po and zh_TW.po.

The linuxcnc-doc-cn package is renamed to linuxcnc-doc-zh-cn, as _ is not
valid in package names.  The new package is set to conflict and replace
on the old package.
2021-12-03 22:27:50 +01:00
Phillip Carter
af2e71ae93
Merge pull request #1423 from snowgoer540/gregc/m3beforemove
qtplasmac: allow gcode filter to check if m3 happens before movements
2021-12-03 12:16:22 +11:00
Greg Carl
235d24091d qtplasmac: allow gcode filter to check if m3 happens before movements 2021-12-02 19:43:21 -05:00
Phillip Carter
8b26250efc qtplasmac: beginnings of illegal character checks in gcode filter
fix line number variable names
2021-12-03 10:02:30 +11:00
CMorley
6baeb86f9b qtdragon - docs update intro text 2021-12-01 23:07:27 -08:00
Phillip Carter
4fc3a7a687 qtplasmac: highlight lines with qtplasmac faults in the editor 2021-12-02 11:42:01 +11:00
Phillip Carter
6e35b576be
Merge pull request #1421 from snowgoer540/gregc/flash_error
qtplasmac: allow status bar error message to flash via ini file setting
2021-12-01 12:16:44 +11:00
Greg Carl
c0dc9c3051 qtplasmac: allow status bar error message to flash via ini file setting 2021-11-30 17:58:59 -05:00
c-morley
74c1c28147
Merge pull request #1420 from ddotldot/master
pncconf: fix strings in s_motor.glade
2021-11-30 04:17:39 -08:00
Phillip Carter
4e7c335dbf qtplasmac: edit original file rather than filtered file
stylesheet change for progress bar
stylesheet change for buttons and checkbuttons
2021-11-30 09:44:55 +11:00
D.L
076ee4baad pncconf: fix strings in s_motor.glade 2021-11-29 11:38:02 -03:00
Phillip Carter
669e332a36
Merge pull request #1419 from snowgoer540/gregc/editor-cycle-start
qtplasmac: disable CYCLE START when the editor is open
2021-11-29 13:33:56 +11:00
Greg Carl
b8080168fc qtplasmac: disable CYCLE START when the editor is open 2021-11-28 19:38:47 -05:00
Phillip Carter
5867a18f28 qtplasmac: stylesheet change for new led option 2021-11-29 11:30:10 +11:00
Phillip Carter
b2fa9d0d7e
Merge pull request #1414 from phillc54/phillc54/led
qtvcp: led_widget fix off color and add border color
2021-11-29 11:23:47 +11:00
Phillip Carter
8f8ab15fff qtvcp: led_widget fix off color and add border color 2021-11-29 10:44:24 +11:00
Rene Hopf
28299d9de1
Merge pull request #1415 from ddotldot/master
stepconf: fix url in finished.glade
2021-11-29 00:31:29 +01:00
CMorley
c93277a206 qtvcp -qt_action: remove mode change to auto when loading
it's not nessasary.
Thanks Greg C of qtplasmac fame
2021-11-28 14:55:35 -08:00
D.L
3d1ef66ea6 stepconf: fix url in finished.glade 2021-11-28 12:06:03 -03:00
Phillip Carter
ba28f901e1
Merge pull request #1412 from snowgoer540/gregc/status-sheets
qtplasmac: allow additional customization of status bar via stylesheets
2021-11-28 17:05:40 +11:00
Greg Carl
8a467be8b5 qtplasmac: allow additional customization of status bar via stylesheets 2021-11-27 23:22:42 -05:00
Phillip Carter
170b2926b1 qtplasmac: improve z motion handling in g-code filter and conversational block 2021-11-28 14:23:16 +11:00
Phillip Carter
2241985e9c qtplasmac: move conversational to a module 2021-11-28 13:22:10 +11:00
CMorley
6c3acfcd93 qtvcp -docs- add mouseButtonMode property to gcode_graphics 2021-11-27 16:07:51 -08:00
CMorley
51c1a9ad5d qt vcp -qtdragon: add Versa probe pins 2021-11-27 16:07:25 -08:00
CMorley
b948e65d57 qtvcp -gcode_graphics:fix typo in mousebuttonMode function 2021-11-27 15:57:06 -08:00
Hans Unzner
2b1bf4bf6e halshow: add menu for update rate, set default update rate to 100 ms 2021-11-27 13:37:13 +01:00
Hans Unzner
92a30d39a9 halshow: set title to HAL Show 2021-11-27 13:00:40 +01:00
Phillip Carter
1365386aeb qtplasmac: move run from line to a module 2021-11-27 11:52:13 +11:00
CMorley
31f864b817 qtvcp -gcode_display: add mouse button control property
Some people prefer the buttons controls differently
2021-11-26 15:32:47 -08:00
Phillip Carter
c74198db6c qtplasmac: change progress bar appearance 2021-11-27 10:19:25 +11:00
Rene Hopf
cf5686b59c fix python3 problem in modsilent.py closes #1408 2021-11-26 22:28:03 +01:00
Dmitry S. aka D.L
b68d5a557e
Merge pull request #1 from LinuxCNC/master
Update from original
2021-11-26 16:29:36 +03:00
Rene Hopf
1c07bd2659
Merge pull request #1406 from hansu/halshow
Halshow: further improvements
2021-11-26 14:09:05 +01:00
Phillip Carter
80921814be qtplasmac: gcode filter remove trailing periods
fix absolute and incremental in run from line
remove text from progress bar
2021-11-26 12:46:21 +11:00
Phillip Carter
31c123106a
Merge pull request #1405 from snowgoer540/gregc/error_msgs
qtplasmac: add carriage return to handler OPERATOR_ERROR messages
2021-11-26 11:04:20 +11:00
Hans Unzner
86e8243ca4 halshow: changed title 2021-11-25 18:19:02 +01:00
Hans Unzner
fc805256ce halshow: remove flickering on reload/resize
Values are now read and refreshed after drawing of each item
2021-11-25 17:23:35 +01:00
Sebastian Kuzminsky
eacac58016 update docs/README to match reality 2021-11-25 08:25:43 -07:00
Sebastian Kuzminsky
d7286bb437 remove stray chinese translation of Getting Started 2021-11-25 08:25:43 -07:00
Hans Unzner
c8fea10bdb halshow: Fix for duplicated entry-windows, changed/extended menues 2021-11-25 16:16:46 +01:00
CMorley
9480c41915 qtvcp -gcode_display: fix GObject unblock warning
Now we don't try to unblock a signal that was never blocked in the first place
2021-11-25 06:40:27 -08:00
Hans Unzner
d19c9ad894 halshow: translation (de), code cosmetics 2021-11-25 14:39:05 +01:00
Greg Carl
220986be2c qtplasmac: add carriage return to handler OPERATOR_ERROR messages 2021-11-25 07:30:08 -05:00
Hans Unzner
89d9a6bc8c halshow: align buttons on window resize 2021-11-25 13:19:17 +01:00
Sebastian Kuzminsky
e16fdf35f1
Merge pull request #1403 from dwrobel/Unify-realtime-script-installation
Unify realtime script installation
2021-11-24 19:15:18 -07:00
Phillip Carter
b2724bac7c qtplasmac: prevent multiple file loads 2021-11-25 11:15:27 +11:00
Phillip Carter
7bc68356b7 qtplasmac: gcode filter allows absolute and incremental with hole sensing 2021-11-25 11:15:27 +11:00
c-morley
c6df6e975e
Merge pull request #1400 from dwrobel/pncconf-Add-tab-names-for-7i92-mesa-card
pncconf: Add tab names for 7i92 mesa card
2021-11-24 15:52:02 -08:00
CMorley
f248ae66db qtvcp -simple_widgets: stop calling internal functions twice 2021-11-24 14:08:43 -08:00
CMorley
1302d0ad6d qtvcp -add a disable_STATUS_signal property
Allows a user to use the plotter without it responding to auto loading/reloading/
line selection or view change signals from STATUS

This property can be changed at runtime too
2021-11-24 14:06:00 -08:00
Damian Wrobel
9a2a428e5c Unify realtime script installation
Unifies installation of 'realtime' script in the same
directory as expected by the configure.ac script.

Fixes regression introduced on #1326 which causes 'realtime'
script being installed in directory referred by ${libdir}
while the configure.ac expected it to be installed on 'lib' directory.
On systems (e.g. Fedora, CentOS) where ${libdir} != 'lib'
this generates discrepancy.

Also fixes proper $(prefix)/lib/linuxcnc directory creation.
When this was not created it caused 'realtime' script to be installed
as $(prefix)/lib/linuxcnc instaed of $(prefix)/lib/linuxcnc/realtime.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-11-24 19:11:15 +01:00
Damian Wrobel
7c248194fd Add support for checking "text/x-script.python" in pycheck
Fixes pycheck error on Fedora >=35:
 Checking "text/x-python" (by MIME type) files python3 compatibility...
 make: Leaving directory '/builddir/build/BUILD/linuxcnc-39d63664bee51ce4fed43d2f46ea71b5e1f4f3bc/src'
 usage: py_compile.py [-h] [-q] filenames [filenames ...]
 py_compile.py: error: the following arguments are required: filenames
 make: *** [Makefile:541: pycheck-python-script] Error 123
 error: Bad exit status from /var/tmp/rpm-tmp.DkTMua (%check)
     Bad exit status from /var/tmp/rpm-tmp.DkTMua (%check)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-11-24 19:06:24 +01:00
Damian Wrobel
55e3e38f5f pncconf: Add tab names for 7i92 mesa card
Adds tab names (P1 and P2) for 7i92 mesa card as per:
 - http://www.mesanet.com/pdf/parallel/7i92man.pdf
 - http://www.mesanet.com/graphics/parallel/7i92colo.png

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2021-11-24 19:00:00 +01:00
Hans Unzner
9b9e180437 halshow: using now halcmd for command input 2021-11-23 21:00:10 +01:00
Rene Hopf
8a9665315c
add note about diameter mode for variables. closes #1348 2021-11-22 00:46:13 +01:00
Phillip Carter
425a1c1f27
Merge pull request #1394 from snowgoer540/gregc/commitfix
qtplasmac: fix copy/paste error in commit 37130e9
2021-11-22 09:09:38 +11:00
Rene Hopf
5b7c344763
Merge pull request #1395 from hansu/halshow
Enhance halshow tool
2021-11-21 19:53:56 +01:00
Hans Unzner
644dc601be halshow: improve buttons when disabled 2021-11-21 16:19:41 +01:00
Hans Unzner
57245760aa halshow: remove lines in watchlist also by label 2021-11-21 16:19:41 +01:00
Hans Unzner
f224bbcb88 halshow: added entry window 2021-11-21 16:19:41 +01:00
Hans Unzner
43af45ee10 halshow: added delete + unlink pin to popup menu
unlinkp refreshes list
2021-11-21 16:19:07 +01:00
Hans Unzner
4f8aa8b085 halshow: added buttons + popupmenu 2021-11-21 15:55:41 +01:00
Hans Unzner
5dc22cb739 halshow: made text in show window copyable 2021-11-21 15:45:45 +01:00
Hans Unzner
5d419533ce halshow: some translation fixes 2021-11-21 15:45:31 +01:00
Hans Unzner
4d96849d29 halshow: fixed bug in watchReset() 2021-11-21 15:33:08 +01:00
Greg Carl
ade414d784 qtplasmac: fix copy/paste error in commit 37130e9 2021-11-21 07:00:14 -05:00
Hans Unzner
5ca6f8fc81 halshow: added history for command entry 2021-11-21 12:12:22 +01:00
Rene Hopf
ba9ec16943
Merge pull request #1391 from smoe/debian/build_with_Python3.10 2021-11-21 11:58:13 +01:00
Rene Hopf
e2e0d1a0d0
Merge pull request #1393 from smoe/debian_copyright_refinements 2021-11-21 11:55:11 +01:00
Steffen Moeller
c44a6a8b70 More GPL-2 licensed files 2021-11-21 03:10:48 +01:00
Steffen Moeller
906a71c8ec Separated GPL-2-licensed files from the GPL-2+ 2021-11-21 02:59:21 +01:00
Phillip Carter
311dbebfbc
Merge pull request #1392 from snowgoer540/gregc/file_clear
qtplasmac: add CLEAR button and allow .tap files to load automatically
2021-11-21 11:15:46 +11:00
Greg Carl
37130e980d qtplasmac: add CLEAR button and allow .tap files to load automatically 2021-11-20 18:32:03 -05:00
Steffen Moeller
25f17c923c Specify PYTHON env also for configure
Python was not properly detected on my system by ax_python_devel.m4 without passing the same environment variable as it is also passed for the build.
A reason could be the parallel installation of Python 3.9.
2021-11-20 22:28:08 +01:00
Rene Hopf
a2b87d299a
Merge pull request #1384 from smoe/debian/copyright_reaction_FTPmasters
d/copyright: Reaction to FTPmasters
2021-11-20 20:15:14 +01:00
Rene Hopf
3e9f38fa87
Merge pull request #1390 from hansu/mb2hal-fix
mb2hal: Fixed error message HAL: ERROR: pin_new() called with already-initialized memory
2021-11-20 20:13:48 +01:00
Rene Hopf
1ed967b874
Merge pull request #1388 from ddotldot/2.8
Update axis.tcl
2021-11-20 20:13:22 +01:00
Hans Unzner
b28654e9e4 halshow: moved command input field to main frame 2021-11-20 17:07:06 +01:00
Steffen Moeller
f8b8521d44 d/copyright: Added petter and silopolis do docs section 2021-11-20 16:33:50 +01:00
Hans Unzner
b9d354bf73 mb2hal: Fixed error message HAL: ERROR: pin_new(...) called with already-initialized memory
for following modbus commands:

01_READ_COILS
02_READ_DISCRETE_INPUTS
05_WRITE_SINGLE_COIL
15_WRITE_MULTIPLE_COILS
2021-11-20 16:21:55 +01:00
CMorley
a8ced9b0b1 qtvcp -add HAL pins to versa probe
The existing remap to autotool height probing requires HAL pins.
Also make the check buttons indicate properly
2021-11-19 18:04:19 -08:00
CMorley
7cc3feab33 pncconf -fix signal direction indicator 2021-11-19 18:04:19 -08:00
Peter Wallace
897fad186e Merge branch 'master' of github.com:linuxcnc/LinuxCNC 2021-11-19 10:44:36 -08:00
Peter Wallace
dbaa51e484 Add invert option to SSR outputs 2021-11-19 10:43:32 -08:00
ddotldot
dafdb9f1f4
Update axis.tcl
Fix alignment slider labels
2021-11-19 12:32:15 +03:00
Steffen Moeller
80861a56f8 Iteration through copyrights and authors again. 2021-11-19 01:22:05 +01:00
Phillip Carter
b7d26dd5cc qtplasmac: change motion.requested-velocity to motion.feed-upm 2021-11-19 11:05:18 +11:00
Phillip Carter
cc6813c7f0 stepconf: use motion.feed-upm for qtplasmac configs 2021-11-19 10:59:36 +11:00
Phillip Carter
931553cc86 pncconf: use motion.feed-upm for qtplasmac configs 2021-11-19 10:58:14 +11:00
Steffen Moeller
c65a20a6b7 Added Marius and configs directory 2021-11-18 23:27:02 +01:00
Rene Hopf
ea7274be98
Merge pull request #1387 from ddotldot/master
Update axis.tcl
2021-11-18 22:39:05 +01:00
Steffen Moeller
7f209d9277 Added notion on false-positive CC-2.5 2021-11-18 22:31:52 +01:00
Steffen Moeller
77a35246ac Added Rene. 2021-11-18 22:31:35 +01:00
Steffen Moeller
af1777cd67 Fixed d/copyright format 2021-11-18 22:07:12 +01:00
ddotldot
880ddb4518
Update axis.tcl
Fix alignment slider labels
2021-11-18 23:57:42 +03:00
Steffen Moeller
fa00afe51b Revisited src/hal 2021-11-18 19:36:34 +01:00
Steffen Moeller
fa1d415c24 Added docs/AUTHORS, undid git log 2021-11-18 13:55:56 +01:00
Steffen Moeller
450c235720 Added autogenerated list of contributors
git log|grep ^Author|sed -e 's/Author: //' -e 's/ <.*//' -e 's/ö/oe/g' -e 's/ü/ue/g' -e 's/ä/ae/g'| sort | uniq -c > contributors.txt
2021-11-18 12:47:29 +01:00
CMorley
5c3942cc47 qtvcp -qtdragon: give a little more vertical space for tab objects 2021-11-17 17:16:55 -08:00
CMorley
c6c3805442 qtvcp -versa probe: make lower button area adjust height more
Now it can just fix in qtdragon
2021-11-17 17:16:55 -08:00
Sebastian Kuzminsky
0ecbd44e2e
Merge pull request #1386 from luzpaz/misc-typos
Fix typos in misc. source comments and docs
2021-11-16 09:28:48 -07:00
Sebastian Kuzminsky
8440b96920
Merge pull request #1385 from LinuxCNC/backport-metric_machine
Backport metric machine
2021-11-16 08:55:15 -07:00
luz paz
7009d49ece Fix typos in misc. source comments and docs
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.* -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ser,te,ue,wille,wont`
2021-11-16 08:04:22 -05:00
CMorley
6c474ea903 pncconf -set the backlash upper/lower range based on units 2021-11-15 21:30:11 -08:00
CMorley
9a3997412f pncconf -fix selection of backlash/compensation on y, x and a axis 2021-11-15 21:29:39 -08:00
Chris Morley
88ba23a147 runtest: fix remap introspection
I forgot to run these testa again. broken it when I added '_metric_machine'

(cherry picked from commit bf4012b9c3)
2021-11-15 18:33:18 -07:00
Chris Morley
33dec06b30 emc: add a system param :_metric_machine
we read the INI file to check [TRAJ]LINEAR_AXES for 'inch'.
and then set th eparam accordingly.

Useful for remaps to decide how some varibles should be interpreted.

(cherry picked from commit fc0170259c)
2021-11-15 16:15:33 -07:00
Steffen Möller
30f7380c8d FIxed IRC webclient URL
Somewhat ironic that it is me fixing this.
2021-11-15 16:05:25 -07:00
Petter Reinholdtsen
f599a9be99 Remove use of unknown .HTML macro.
As far as I can tell this <br> do not make it into HTML pages, and
it is useless in the 'man' rendering of the text.
2021-11-15 15:50:45 -07:00
Steffen Moeller
2bd0b959ac Further extension of d/copyright 2021-11-15 21:35:58 +01:00
Steffen Moeller
040ad4a365 d/copyright: Reaction to FTPmasters 2021-11-15 18:25:15 +01:00
Dewey Garrett
e452c3803d millturn.comp: clarifications, param examples
note re dummy pin necessity
param_ro,param_rw
use HAL_PREFIX for hal names
rm #if 0
consolidate EXPORT_SYMBOL statements
2021-11-15 10:10:13 -07:00
Dewey Garrett
bbc87f960e userkins.comp: clarifications, param examples
manpage NOTE
note re dummy pin necessity
hal parameter examples (param_ro,param_rw)
use HAL_PREFIX for hal names
rm #if 1
add reference to millturn.comp switchable kinematics
2021-11-15 09:49:52 -07:00
Rene Hopf
f9058df6a1
Merge pull request #1380 from luzpaz/typos-src-libnml
Fix typos in src/libnml
2021-11-15 15:01:12 +01:00
Phillip Carter
af5457896d qtplasmac: gcode filter rework error messaging
gcode filter allow comments after parameters
2021-11-15 16:42:12 +11:00
CMorley
110672050a qtvcp -fix verbose level logging.
Actually it still doesn't print 'VERBOSE', it print 'DEBUG'.
But at least it prints something
2021-11-14 20:27:14 -08:00
luz paz
4971330548 Fix source typos within src/libnml 2021-11-14 06:29:34 -05:00
luz paz
5207d77ead Fix typos in src/libnml
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.*,*_es -L ans,ba,breal,bulle,componentes,currenty,dashs,doubleclick,dout,dum,extint,fo,fpr,halp,ihs,inout,parm,parms,ser,te,ue,wille,wont`
2021-11-14 06:27:42 -05:00
Phillip Carter
b0cae2ce5a
Merge pull request #1378 from snowgoer540/gregc/small-doc-change
qtplasmac: small docs clarification
2021-11-14 14:00:35 +11:00
Greg Carl
cbda3c4e78 qtplasmac: small docs clarification 2021-11-13 21:25:34 -05:00
Phillip Carter
3c88ad8f55
Merge pull request #1377 from snowgoer540/gregc/debug-comment
qtplasmac: comment out converational reload test lines
2021-11-14 13:19:45 +11:00
Greg Carl
bae08605b2 qtplasmac: comment out converational reload test lines 2021-11-13 20:06:27 -05:00
Sebastian Kuzminsky
9f0ad4c8eb
Merge pull request #1360 from smoe/Improve_d_README.source
d/README.source: Instruction how to prepare git snapshot
2021-11-13 08:58:16 -07:00
Sebastian Kuzminsky
9e28b3d8fe
Merge pull request #1373 from luzpaz/typos-src-hal
Fix typos in src/hal
2021-11-13 08:56:21 -07:00
luz paz
7e4a4b500c Revert typo introduced in previous commit + whitespace fix 2021-11-13 04:26:52 -05:00
Phillip Carter
39ec0f6683 qtplasmac: allow run from line with temporary materials 2021-11-13 17:57:57 +11:00
CMorley
beec9cabc6 qtvcp -qtaxis_mpg sample: sample to show screen controls by MPG
We also use focus to steer the MPG control selection.
set enable pin true, connect MPG to MPG-in pin.

select gcode display, gcode editor or MDI history and then the MPG
will control movement of the widget.
2021-11-12 17:10:44 -08:00
CMorley
166afc05f4 qtvcp -qtaxis: use focus to steer MPG control of screen widgets.
you can:
scroll the MDI history or Gcode program display
zoom in/out of the gcode grahics display
2021-11-12 17:10:44 -08:00
CMorley
47e8cbace4 qtvcp -docs: add detail of POSTGUI_HALCMD 2021-11-12 16:59:52 -08:00
CMorley
433caec581 qtvcp -docs: add detail of focus detection 2021-11-12 16:59:11 -08:00
CMorley
f51d8b5d2c qtvcp -add POSTGUI_HALCMD option for INI
POSTGUI_HALCMDs are called after all POSTGUI_HALFILEs are finished.
Multiple commands are run one after another.
2021-11-12 15:53:44 -08:00
CMorley
457b0cd434 qtvcp -add signal of focus change to app 2021-11-12 14:00:25 -08:00
Phillip Carter
b58e0b62ca add man9/ton.9, man9/tof.9, and man9/tp.9 to .gitignore 2021-11-12 17:49:10 +11:00
Phillip Carter
d9ba6800ec qtplasmac: add ofset probing option 2021-11-12 17:47:29 +11:00
Phillip Carter
71d6eb3c1e qtplasmac: fix incremental jog stopping when button released 2021-11-12 17:35:43 +11:00
Phillip Carter
9469551b45 docs: clarify connections to qtplasmac gui hal pins 2021-11-12 17:34:10 +11:00
andypugh
6158df4ea7 Fix the Makefile after PR #1370
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-11-11 20:57:44 +00:00
andypugh
358a08fe55
Merge pull request #1370 from mbjohnston/refactor-iec-timers
Refactor IEC Timers
2021-11-11 16:13:40 +00:00
luz paz
bab0790f26 Fix typos in src/hal
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.* -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,ihs,inout,parm,parms,ser,te,ue,wille,wont`
2021-11-11 07:41:40 -05:00
CMorley
61f583e356 qtvcp -qtdefault_9_axis: fix errors in sample 9 axis screen 2021-11-10 20:39:56 -08:00
CMorley
f185973b3b qtvcp -work around error caused by mising TRAJ entry
If the the MAX_LINEAR_VELOCITY  is missing from the TRAJ entry,
 the default in linuxcnc is 1e99 which GObject doesn't like.
2021-11-10 20:39:56 -08:00
Phillip Carter
41044c01fe qtplasmac: fix scribe offset setting error if no tool table entry for axes 2021-11-11 11:52:09 +11:00
Matthew Johnston
9ddd09c7ad Use component name in error messages 2021-11-10 09:11:27 -06:00
Matthew Johnston
d791e36c16 Update last change doc 2021-11-10 09:11:20 -06:00
Matthew Johnston
6dd35ecd35 Convert TP to comp format 2021-11-10 09:11:12 -06:00
Matthew Johnston
2b91954fe1 Convert TOF to comp format 2021-11-10 09:11:06 -06:00
Matthew Johnston
ae5d25fd69 Convert TON to comp format 2021-11-10 09:10:54 -06:00
Matthew Johnston
1b8ddfa220 Update documentation headers 2021-11-10 09:10:46 -06:00
Matthew Johnston
37758168e5 Start conversion to comp format - rename files 2021-11-10 09:10:39 -06:00
Rene Hopf
39d63664be
Merge pull request #1369 from spike77453/fix-remove-initd_dir
Remove initd_dir since it's no longer used
2021-11-10 15:22:16 +01:00
spike
4673c60406 Remove initd_dir since it's no longer used 2021-11-10 14:46:10 +01:00
Rene Hopf
df9266ff20
Merge pull request #1368 from luzpaz/typos-config-sim
Fix typos in config/sim
2021-11-10 14:38:11 +01:00
Rene Hopf
f1af21104e
Merge pull request #1365 from luzpaz/API-typos
Fix source typos
2021-11-10 14:36:17 +01:00
luz paz
e14c389175 Fix typos in config/sim
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic,*_fr.*,*_es.* -L ans,ba,bulle,componentes,doubleclick,dout,dum,fo,halp,inout,parm,parms,te,ue,wille`
2021-11-10 07:03:13 -05:00
luz paz
9d5d892847 Added more typos 2021-11-10 06:32:09 -05:00
luz paz
3868020263 Added more API typos 2021-11-10 06:32:09 -05:00
luz paz
65f66f10ab Typos in API for consideration 2021-11-10 06:32:09 -05:00
Phillip Carter
dff9bc8046
Merge pull request #1362 from snowgoer540/gregc/chips
qtplasmac: add chips icon to sim panel window title bar
2021-11-10 17:46:44 +11:00
Sebastian Kuzminsky
bf8381b8d0 ignore generated file 2021-11-09 22:58:09 -07:00
Sebastian Kuzminsky
70ed14fcc7 docs: restore PATH, so linuxcnc-checklink is found 2021-11-09 22:56:51 -07:00
Greg Carl
df6c3b26fd qtplasmac: add chips icon to sim panel window title bar 2021-11-08 23:03:47 -05:00
Phillip Carter
2c2902006b qtvcp: fix install_script - need a directory first 2021-11-09 14:21:46 +11:00
Rene Hopf
9c05629c9c remove linuxcnc-python script workaround. 2021-11-09 03:27:08 +01:00
Phillip Carter
1fe3119b1f qtvcp: fix path to install script 2021-11-09 12:49:38 +11:00
Rene Hopf
2b2200a759
Merge pull request #1361 from spike77453/fix-ax-python-devel-serial-23
Fix ax python devel serial 23
2021-11-09 02:15:50 +01:00
Steffen Moeller
0ef9d0e9ca Fix removal of epoch, also added quotes to tolerate the colon in filename 2021-11-09 02:01:36 +01:00
Petr Menšík
2f350d8719 Define PYTHON_PLATFORM_SITE_PKG=
Python site-path is defined only for platform independent modules.
Platform dependent modules might need autoconf more often, export also
site-path for platform dependent code, such as compiled C libraries
wrappers.
2021-11-09 01:30:27 +01:00
Petr Menšík
0308a4d4a6 Support sysconfig python module in python_devel
distutils are going to be deprecated in Python 3.12. Support and prefer
sysconfig module over distutils.sysconfig for fetching system
definitions.
2021-11-09 01:30:22 +01:00
Steffen Moeller
3a85caf7ff d/README.source: Instruction how to prepare git snapshot 2021-11-09 01:08:16 +01:00
Dewey Garrett
cf14c89a96 control.c:handle_kinematics() refactor
promote handle_kinematics() to mainline of functions
revise SWITCHKINS_DEBUG provisions

Ref:
https://forum.linuxcnc.org/10-advanced-configuration/43931-switchkins-master-possible-malfunction-bug?start=20#225567
2021-11-08 15:41:13 -07:00
Dewey Garrett
4e34a1c482 control.c:handle_kinematics use pos_cmd not pos_fb
tpSetPos() now uses pos_cmd to establish tp's current & goal pos

pos_fb was used in initial (2019) work on switchkins:
Ref:
https://github.com/rushabhGH/linuxcnc/commit/60cab25774
2021-11-08 15:41:09 -07:00
Sebastian Kuzminsky
530f9c17de docs: use a2x invocation for asciidoc 10.0.1 (in debian unstable) 2021-11-08 13:47:54 -07:00
Sebastian Kuzminsky
925475abeb remove a bunch of stray execute bits 2021-11-08 12:55:13 -07:00
Sebastian Kuzminsky
9251bd89d5
Merge pull request #1327 from smoe/test-dh-install
Eliminate dh_movefiles, install directly from d/rules
2021-11-08 12:52:31 -07:00
Steffen Moeller
ea91c30960 Cannot remove d/configure-generated files in clean
dpkg-buildpackage executes clean prior to build.
Thanks go to Petter and Sebastian for spotting and fixing this.
2021-11-08 20:10:50 +01:00
Sebastian Kuzminsky
9dbff69348
Merge pull request #1358 from petterreinholdtsen/man-es-gs2-rename
Renamed gs2(1) Spanish translation to gs2_vfd(1) to match original.
2021-11-08 08:51:47 -07:00
Phillip Carter
fe0c9ae031 qtplasmac: add offset setup for laser, camera, and scribe 2021-11-08 18:03:32 +11:00
Phillip Carter
d2c6725e61 pncconf: remove redundant qtplasmac settings 2021-11-08 17:14:41 +11:00
Phillip Carter
8c5710311c stepconf: remove redundant qtplasmac settings 2021-11-08 17:14:17 +11:00
CMorley
1c9264fb59 qtvcp -qtaxis: allow an external MPG to scroll the gcode editor 2021-11-07 19:24:42 -08:00
CMorley
99f05eb4f5 qtvcp -qtaxis: allow manual tab panel to draw focus
So you can take focus from the gcode editor.
this could become more useful if we use focus to direct MPG screen controls
2021-11-07 19:24:42 -08:00
CMorley
dfcdb9e501 qtvcp -qtaxis: don't switch geditor to display MDI commands 2021-11-07 19:24:42 -08:00
CMorley
0cb2b48734 qtvcp -qtaxis: add joint/axis selection pins
So one can select MPG steering etc.
2021-11-07 19:24:42 -08:00
Sebastian Kuzminsky
d2f0f6ae2c hm2_eth: fix shell syntax error
Thanks to sparafuc1le on irc for the bug report.
2021-11-07 19:44:41 -07:00
Sebastian Kuzminsky
3551cc3c11 d/configure: simplify generation of subst files 2021-11-07 09:43:42 -07:00
Sebastian Kuzminsky
481c814696 better comments in debian/linuxcnc.lintian-overrides.in 2021-11-07 09:43:42 -07:00
Sebastian Kuzminsky
e77bd61c9f d/rules: don't delete other desktop files 2021-11-07 09:43:39 -07:00
Sebastian Kuzminsky
75359e6393 packaging: remove drivers.files, unused 2021-11-07 09:13:34 -07:00
Sebastian Kuzminsky
d5130cf49c remove extra linuxcnc-doc-*.files 2021-11-07 09:13:34 -07:00
Sebastian Kuzminsky
a1452ed638 d/control: capitalize Vcs-Git URL properly 2021-11-07 09:13:34 -07:00
Steffen Moeller
29f05ada07 Rebased on master, Eliminate dh_movefiles, install directly from d/rules
The .install scripts and .files files are no longer reqired.

Another iteration substitute dh_movefiles

d/rules: Transition to Debhelper

fakeroot is still required for suid binaries

Fixing redundancy between -doc packages

Separated -arch from -indep,

Remove .files files

Adopting omitted instruction from .files

Overriding lintian warning on dh-python3 not seen executed

Reintroduced installation of metainfo data

Overriding warning about --parallel

Adopted Petter's PACKAGE_ elimination in config.h

Addressed linuxcnc.tcl permission, lintian overrides

Followed Petter's revision to rename not delete

Moving overrides from source to linuxcnc-uspace

Fixing date+timestamps - needs way back to master

SOURCE_DATE_EPOCH shall be sufficienct for immediate reproducibility

Eliminate dh_movefiles, install directly from d/rules

The .install scripts and .files files are no longer reqired.

Another iteration substitute dh_movefiles

d/rules: Transition to Debhelper

Remove .files files

Adopting omitted instruction from .files

Reintroduced installation of metainfo data

Fixing date+timestamps - needs way back to master

SOURCE_DATE_EPOCH shall be sufficienct for immediate reproducibility

Have metainfo dependent on d/configure

Better deal with .includes-file generation

config.h no longer distributed

Stop configuration upon erro (set -e)

lintian overrides not longer required since files removed

MAIN-PACKAGE-NAME.lintian-overrides generated from .in

everyone's git access is via https

Augmented list of autogenerated files to remove d/MAIN_PACKAGE_NAME.lintian-overides

language-specific files now have underscores as separators
2021-11-07 09:13:34 -07:00
Sebastian Kuzminsky
f7704651a1 d/control: move DOC_DEPENDS from Build-Depends: to Build-Depends-Indep: 2021-11-07 09:13:34 -07:00
Sebastian Kuzminsky
d4f011e72b d/configure: use set -e to stop on error 2021-11-07 09:13:34 -07:00
CMorley
c5a49ff846 qtvcp -docs: small update about qsetting variable 2021-11-07 01:03:38 -07:00
CMorley
eab88194c0 qtvcp -qtaxis:: record toolbar locations on the main window
split the tool bars into four toolbars si they can be moved around or hidden
2021-11-07 01:00:11 -07:00
CMorley
166f249f31 qtvcp -call _hal_cleanup in handler before closing anything.
recording toolbar settings must be done before the gui closes anything.
out usual closing_cleanup__ function was run too late.
2021-11-07 00:56:27 -07:00
ChrisM
fe8d7d670a qtvcp -qtaxis: switch to geditor widget 2021-11-06 21:09:05 -07:00
ChrisM
362dc32795 qtvcp -add geditor: uses moveable toolbars 2021-11-06 21:09:05 -07:00
ChrisM
d4c2fd6eda qtvcp -qtvcp<-plugin: add a switch for qt version for joypad
older versions of qt can't use enum
2021-11-06 21:09:05 -07:00
CMorley
56b5166fc8 qtvcp -docs: add Qsettings/messages to code snippets 2021-11-06 15:43:32 -07:00
CMorley
833f4c75c8 qtvcp -core: add constants for operator messages
easier to emit errors with the STATUS library rather then
also importing linuxcnc module
2021-11-06 15:43:32 -07:00
CMorley
cdfcdf8112 qtvcp -qtdragon/hd: add calibration launch button 2021-11-06 15:43:32 -07:00
Phillip Carter
de9eb6bfc0
Merge pull request #1359 from snowgoer540/gregc/laser-rotation
qtplasmac: fix origin for rotated WCS set via laser/camera
2021-11-07 09:18:31 +11:00
Greg Carl
791b633e8c qtplasmac: fix origin for rotated WCS set via laser/camera 2021-11-06 12:57:58 -04:00
Petter Reinholdtsen
e5a79eb49f Renamed gs2(1) Spanish translation to gs2_vfd(1) to match original. 2021-11-06 07:28:56 +01:00
Rene Hopf
75b03131e4
Merge pull request #1357 from luzpaz/typos-src-emc
Fix typos in src/emc
2021-11-06 00:36:28 +01:00
Rene Hopf
25127d721a fix crash in halmodule when comp name does not exists 2021-11-06 00:13:11 +01:00
luz paz
2060c050a2 Fix other typos in src/emc 2021-11-05 19:12:58 -04:00
luz paz
45be96b2c9 Fix typo and whitespace in doxygen 2021-11-05 19:12:58 -04:00
luz paz
bef67ad36c Fix typos in src/emc
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic -L ans,doubleclick,dout,halp,parm`
2021-11-05 19:12:58 -04:00
Rene Hopf
1626093293
Merge pull request #1354 from smoe/READMEs_are_.adocs_by_heart
Readmes are .adocs by heart
2021-11-05 23:44:28 +01:00
Phillip Carter
18131007a1 qtplasmac: fix errors 114 framing 2021-11-06 09:22:03 +11:00
Rene Hopf
1f5dcf1ff7
rename readme file in debian package 2021-11-05 22:42:34 +01:00
Rene Hopf
685963cbd3
Merge pull request #1355 from smoe/documentation-refinement
Documentation refinement - just what the eye caught
2021-11-05 22:36:09 +01:00
Phillip Carter
594733913b qtplasmac: update version 2021-11-05 18:00:35 +11:00
Phillip Carter
3834ef1e67 qtplasmac: add load latest file
simplify framing setup code
2021-11-05 17:52:52 +11:00
Phillip Carter
bceb99c85b qtplasmac: fix conversational origin settings 2021-11-05 15:48:03 +11:00
Phillip Carter
1bff825165 docs: qtplasmac update for user buttons 2021-11-05 09:59:19 +11:00
Sebastian Kuzminsky
dae744d3b1
Merge pull request #1291 from smoe/debian/README.source
Introducing d/watch, d/TODO and d/README.source
2021-11-04 13:55:33 -06:00
Steffen Moeller
29c8fcb753 README->.adoc in src/Makefile 2021-11-04 20:16:46 +01:00
Steffen Moeller
ee9b8c06ab Transformed READMEs to adoc 2021-11-04 19:59:00 +01:00
Steffen Möller
85980165cd
Update running-linuxcnc.adoc
Added hyphens and gave a direction from Applications with an arrow to the menu entry.
2021-11-04 19:54:29 +01:00
Steffen Möller
ef4354cef1
FIxed IRC webclient URL
Somewhat ironic that it is me fixing this.
2021-11-04 19:36:03 +01:00
Sebastian Kuzminsky
1c1ea011b3 fix desktop menu entries
This makes all PDFs open with `xdg-open`, instead of having some of them
try to open with `see` which doesn't work right for me.

Also fixes the filename of the french HAL manual, which had bit-rotted.
2021-11-04 12:30:55 -06:00
Steffen Möller
eb92bb7294
Update g-code.adoc 2021-11-04 19:27:17 +01:00
Sebastian Kuzminsky
46ef66cc04
Merge pull request #1346 from petterreinholdtsen/consistent-translation-name
Use consistent file naming of documentation translations.
2021-11-04 11:49:41 -06:00
Steffen Moeller
f93f9ec723 Wording, simplifcations. 2021-11-04 18:40:38 +01:00
Steffen
7324f4529b Introducing d/watch and d/README.source
Add pointer to missing source/format

Further refinements and get-orig-source target

d/compat now addressed by d/configure
2021-11-04 18:33:12 +01:00
Petter Reinholdtsen
32b2aec2e4 More updates to consistently name files in documentation translations.
Use '_XX' instead of '-XX' consistently, as _XX was already used by the
majority of translated and language specific files.

This change make the build rules for handling translations using po4a easier
to write, as there is no longer any need for special case handling.

Fixes #1331
2021-11-04 16:31:59 +01:00
Steffen
16822b4ea1 docs: rename three more doc source files 2021-11-04 08:34:24 -06:00
Steffen
b4c272942f docs: make svgs from dot on demand, don't store in git 2021-11-04 08:34:24 -06:00
Steffen
94cb7d520c docs: update references between .adoc files, Makefiles 2021-11-04 08:34:15 -06:00
Steffen
b6c4b67bd7 docs: rename doc source files from .txt to .adoc
This follows the advise on best practives from the asciidoc documentation on
https://asciidoctor.org/docs/asciidoc-recommended-practices/
2021-11-04 08:33:59 -06:00
Chad Woitas
3970082034 motion - Adding Names Arrays 2021-11-03 17:49:47 -06:00
Phillip Carter
16736d865f
Merge pull request #1351 from snowgoer540/gregc/laser-bounds
qtplasmac: laser framing and bounds check
2021-11-04 10:22:33 +11:00
Greg Carl
49957f1229 qtplasmac: laser framing and bounds check
1. fix issue where framing with a laser was offset the opposite 
direction
2. fix issue where cycle start was enabled after a bounds check 
determined a program would be outside the machine's boundaries
2021-11-03 17:26:34 -04:00
luz paz
36a7c0ba71 Fix qtvcp related typos
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic -L ans,doubleclick,dout,halp,parms`
2021-11-03 11:33:06 -07:00
CMorley
59fd277721 qtvcp -IndicatedPushButton: fix calling of functions on state change
All the special code was not called because the connecting function
was not included on the last code shuffle
2021-11-03 11:11:38 -07:00
Sebastian Kuzminsky
62c48d8c6e d/control: fix section of linuxcnc-dev package
It belongs in "devel", not "libs", per
<https://packages.debian.org/unstable/>.
2021-11-01 23:27:49 -06:00
Sebastian Kuzminsky
d225589fb1 d/control: update Vcs-Git to fix a lintian warning 2021-11-01 22:36:35 -06:00
Phillip Carter
7668dd88e4 qtplasmac: enhanced mode 0 arc ok establishment 2021-11-02 09:58:32 +11:00
Sebastian Kuzminsky
7cc9950d21
Merge pull request #1343 from petterreinholdtsen/common-header-linuxcnc
Moved use of compile time detected values (config.h) out of installed header files
2021-11-01 13:22:47 -06:00
Sebastian Kuzminsky
a02624559f
Merge pull request #1288 from smoe/patch-1
Update control.top.in
2021-11-01 13:07:29 -06:00
CMorley
0b210fd499 qtvcp -qt_makegui: add qsettings file path info 2021-10-31 22:31:28 -07:00
CMorley
a78af93094 qtvcp -filemanager: change the Qsettings recorded names 2021-10-31 22:30:16 -07:00
Petter Reinholdtsen
0c5a0a010a Moved use of compile time detected values (config.h) out of installed header files
Values not detected at compile time, ie LINELEN, BUFFERLEN, MM_PER_INCH
and INCH_PER_MM, are moved into a new file linuxchc.h.

To avoid having to install the architecture specific config.h file,
restructure includes and introduce linuxcnc.h for definitions used
across the code.  Drop the redundant MM_PER_INCH from
interp_internal.hh and CMS_CONFIG_LINELEN from cms_cfg.hh and use the
value from linuxcnc.h instead.  Made sure all C files depending on
config.h values include it directly.  Make sure no header file include
config.h.

As uspace_common.h is not exposed to API clients, and is a code
fragment and not a normal include file, the use of config.h is left
as it is there.
2021-11-01 06:18:07 +01:00
ChrisM
e3d274f88c qtvcp -force sync of Qsettings on shutdown
newer versions of qt seem to do this automatically.
This seems to fix those that do not.
2021-10-31 21:51:55 -07:00
ChrisM
06338527bf configure -python 3.6.9 works fine (mint 19) 2021-10-31 21:51:55 -07:00
Sebastian Kuzminsky
a790a11689 docs: simplify docs makefile, all files named "_lang" now
There are no longer any translated docs source files with "-", so don't
bother looking.
2021-10-31 21:33:41 -06:00
Sebastian Kuzminsky
2d05b0740e docs: switch french translations to use "_fr" suffix
Before this, some french translations used the "-fr" suffix.
2021-10-31 21:33:41 -06:00
Sebastian Kuzminsky
3f15016289 docs: get rid of a duplicate, untranslated screenshot
`configuration-selector-cn.png` is identical to
`configuration-selector.png`, so just use the english one.
2021-10-31 21:24:19 -06:00
Sebastian Kuzminsky
19a5c0ae3c docs: switch chinese translations to use "_cn" suffix
This makes them conform to our "standard" of separating the filename
from the language using "_", instead of "-" like before.
2021-10-31 21:21:11 -06:00
Sebastian Kuzminsky
301a507a86 docs: get rid of duplicate/out-of-date spanish translations
Standardize on "<filename>_<language>.txt", instead of having some with
"-" and some with "_".

None of the old "-es.txt" files were built by the build system or used
in any of the user-facing docs.
2021-10-31 21:06:51 -06:00
Sebastian Kuzminsky
59435eaeeb docs: fix a copy/paste error in chinese index
It was referencing and old obsolete spanish translation of the Stepper
Quickstart docs for some reason, switched it to english since there's
no chinese translation of this one yet.
2021-10-31 21:06:51 -06:00
Sebastian Kuzminsky
d0067a579b
Merge pull request #1345 from smoe/Install_deps_on_tarballs_removed_from_archive
Install still depends on qtdesigner files
2021-10-31 16:51:19 -06:00
Steffen
0e44c867bf Install still depends on qtdesigner files
Follow-up on
ba62f3d9ba
2021-10-31 15:24:44 +01:00
CMorley
ba62f3d9ba qtvcp -remove python qtdesigner files
Not needed anymore and probably would cause more trouble to keep them
2021-10-30 20:22:29 -07:00
CMorley
930dd0f11b qtvcp -qtplasmac: allow filemanager column sort setting
filemanager now remembers the last sorting of the filemanager.
The removed line overrode it.
2021-10-30 20:22:29 -07:00
Sebastian Kuzminsky
608e5d8e5b configure: fix a misleading error message 2021-10-30 19:45:03 -06:00
Sebastian Kuzminsky
edfd9f7b3d configure: reflow an error message for clarity 2021-10-30 19:40:22 -06:00
CMorley
b3ee4a073f qtvcp -widget_baseclass: fix error when using qtdesigner 2021-10-30 14:40:41 -07:00
CMorley
e8d5c5d837 qtvcp -core: add sep to Qhal 2021-10-30 14:06:03 -07:00
CMorley
a4f38c0458 qtvcp -qtdragon/hd: we don't need to record probe like this.
It's registered so cleanup functions are called automatically
2021-10-30 13:58:19 -07:00
CMorley
9a4cac1436 qtvcp -have basewidget register the widget for special treatment later 2021-10-30 13:57:35 -07:00
CMorley
75073edd50 qtvcp -filemanager - remember what column is sorted 2021-10-30 13:57:11 -07:00
CMorley
4f0952fde9 qtvcp -add qt settings instance to qtvcp's widget baseclass 2021-10-30 13:56:12 -07:00
CMorley
dce3c7b63e qtvcp -don't let closing errors in handler stop widget work
An error in the handler's closingcleanuo function would stop the
widgets from doing cleanup work.
Also quietly print the errors
2021-10-30 13:55:28 -07:00
Sebastian Kuzminsky
05c6774785 docs: fix path to d/changelog when building outside git
Thanks to Petter Reinholdtsen for the bug report.
2021-10-30 12:28:06 -06:00
Sebastian Kuzminsky
82eeb08bca docs: use date of latest release in d/changelog as doc date
Note: we can't use {localdate}, asciidoc 9.0.0~rc2-1 in Bullseye doesn't
allow it to be overridden.

Based on work by Steffen Moeller.
2021-10-29 21:37:05 -06:00
Sebastian Kuzminsky
479df775c1 d/rules: set date & time to the most recent debian release
This is a step towards repeatable builds.

Based on work by Steffen Moeller.
2021-10-29 21:36:41 -06:00
Phillip Carter
05e7e47a69
Merge pull request #1341 from snowgoer540/gregc/qtplasmac_docs_5
qtplasmac: docs update
2021-10-29 10:02:10 +11:00
Greg Carl
97d740dec0 qtplasmac: docs update 2021-10-28 16:55:49 -04:00
c-morley
2b37c83ad4
Merge pull request #1339 from luzpaz/pncconf-typos
Fix typos in src/emc/usr_intf/pncconf
2021-10-28 12:34:48 -07:00
CMorley
037c47aab8 pncconf -partial fix for joystick device driver
it now adds the device driver but the HAL code does not
print the pins to the help page. I don;t have time to work on it
further at this time.
2021-10-28 12:24:22 -07:00
luz paz
e5224adb3d Fix typos in src/emc/usr_intf/pncconf
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic -L ans,doubleclick,dout,halp,parms src/emc/usr_intf/pncconf/`
2021-10-28 11:04:54 -04:00
Phillip Carter
a0548d5cb3 docs: add missing man pages for qtplasmac assistants 2021-10-28 15:17:03 +11:00
Phillip Carter
1b9335f831
Merge pull request #1338 from snowgoer540/gregc/end_key
qtplasmac: allow end key to touchoff X and Y to 0
2021-10-27 20:16:17 +11:00
Greg Carl
940d24de43 qtplasmac: allow end key to touchoff X and Y to 0 2021-10-27 04:44:49 -04:00
CMorley
3d8695b039 qtvcp -docs: add writeup about Z axis raise with external offsets 2021-10-26 22:57:38 -07:00
CMorley
631891abe0 qtvcp -qtdragon/hd: add Z axis raise with external offset
demostration code.
2021-10-26 22:57:38 -07:00
Phillip Carter
6baeea560b qtplasmac: updated qtvcp IndicatedPushButton 2021-10-27 14:21:44 +11:00
Sebastian Kuzminsky
02f3bdea95
Merge pull request #1337 from snowgoer540/gregc/carriage_returns
halscope:
2021-10-26 19:17:44 -06:00
Sebastian Kuzminsky
f684a8b316
Merge pull request #1335 from smoe/patch-3
LinuxCNC was assigned RRID:SCR_021787
2021-10-26 19:07:47 -06:00
Greg Carl
6b1831162b halscope:
Allow halscope to load configurations containing CRLF (dos/windows) 
carriage returns without error by stripping them from the string. LF 
carriage returns can inadvertantly be changed to CRLF carriage returns 
by exchanging these files via email, etc. which can cause confusion for 
novice users seeking help. This change would also prevent the error 
messages from being manipulated by the CRLF carriage return.
2021-10-26 19:58:56 -04:00
Phillip Carter
0084a25623 qtvcp: install script can update from a python2 install 2021-10-26 16:28:22 +11:00
Phillip Carter
8790f24018 qtplasmac: change sim postgui files for consistency 2021-10-26 16:28:22 +11:00
Sebastian Kuzminsky
32ac97bee8
Merge pull request #1326 from LinuxCNC/move-realtime
Move realtime
2021-10-25 18:02:10 -06:00
Steffen Möller
cd2dee69db
LinuxCNC was assigned RRID:SCR_021787
RRID stands for "Research Resource Identifier" and help referencing work when a URL is to long.
2021-10-26 00:50:10 +02:00
Sebastian Kuzminsky
2cfa35f581
Merge pull request #1334 from smoe/Remove__pycache__directories_upon_clean
Clean src/emc/usr_intf/gremlin/__pycache__
2021-10-25 14:36:28 -06:00
Steffen Moeller
4e23e37236 Clean src/emc/usr_intf/gremlin/__pycache__
and future __pycache__ folders. The patch originally aimed at
src/emc/usr_intf/gremlin/__pycache__/gremlin-runcpython-39.pyc
2021-10-25 21:23:11 +02:00
Sebastian Kuzminsky
cd56c5fc56
Merge pull request #1332 from smoe/debian/Reorder_deps_in_control_files
Order of dependencies now alphabetically ordered
2021-10-25 11:19:07 -06:00
Steffen Moeller
0ab36f6ab8 Order of dependencies now alphabetically ordered
Also removing myself from uploaders.
2021-10-25 13:34:24 +02:00
CMorley
d5c3f1d6a8 qtvcp -preference library: automatically convert data types
ie a List would always comeback none - now it gets evaluated to list
2021-10-25 00:14:51 -07:00
Phillip Carter
da6295321c qtplasmac: fix virtual keyboard error message 2021-10-25 14:43:27 +11:00
CMorley
b4eabbe1a5 qtvcp -qtdragon: change miss-leading error touchplate message
it could actually used for touchplate or sensor
2021-10-24 14:23:52 -07:00
CMorley
a00969af4f qtvcp -fix widget and plugin paths
They didn;t point properlyon an installed version.
2021-10-24 14:23:52 -07:00
Sebastian Kuzminsky
b6552e9c7b
Merge pull request #1329 from smoe/debian/create_u_metadata_file
Rough first shot at a d/u/metadata file
2021-10-24 11:16:13 -06:00
Phillip Carter
ee4b13cf51 qtplasmac: make sims consistent with current configurations 2021-10-24 19:02:55 +11:00
Phillip Carter
70e2ac45e4
Merge pull request #1330 from snowgoer540/gregc/dinosaur_units
qtplasmac: set kerf width and height per volt to 3 places on imperial
2021-10-24 12:09:25 +11:00
Greg Carl
c2e858c4a9 qtplasmac: set kerf width and height per volt to 3 places on imperial 2021-10-23 19:14:47 -04:00
CMorley
d41e6a0701 qtvcp -pstat: fix widget library path on installed systems
This always pointed to RIP path
2021-10-23 14:23:21 -07:00
Steffen Moeller
37803771fe Rough first shot at a d/u/metadata file
Details on https://wiki.debian.org/UpstreamMetadata
2021-10-23 15:07:07 +02:00
CMorley
be96bf6d6f docs -update qtdragon information after pin name changes
Also abandon silverdragon name - sorry Jim -it's a great name.
2021-10-22 23:09:50 -07:00
CMorley
20f70f6ea1 qtvcp -qtdragon_hd: The great pin rename
remove useless pins and match pinnames with qtdragon
2021-10-22 23:09:50 -07:00
CMorley
0c79d367b0 qtvcp -qtdragon: the great HAL pin reduction
There were many HAL pins that were useless.
Switch the base widget to override use of them.
Moving towards qtdragon and qtdragon_hd having common pin names
2021-10-22 23:09:50 -07:00
CMorley
af0854e880 qtvcp -add ability to set halpin name in designer.
Before this it used the widget name, now you can use either.
2021-10-22 23:09:50 -07:00
CMorley
58af0e749d qtvcp -add indicatedPushButtons to designer editor
changed the name from indicated_PushButton
It was the hidden base widget for PushButton and actionButton.
IndicatedPushButton has no output HAL pin nor builtin selectable actions.
2021-10-22 23:09:50 -07:00
CMorley
d5ae4fd5c1 qtvcp -stylesheet editor: fix loading of Qss files
When removing python2 code the loading got changed a bit but I would have thought it would
work the same anyways - but it didn't. It wuldn't load the text into the text edit widget.
2021-10-22 23:09:50 -07:00
Phillip Carter
d61d36a9f7
Merge pull request #1328 from snowgoer540/gregc/rfl
qtplasmac:
2021-10-23 12:48:54 +11:00
Greg Carl
170c20f27b qtplasmac:
attempt to prevent erroneous run from line text on cycle start button
return to line 1 when canceling rfl selection
2021-10-22 21:08:57 -04:00
Sebastian Kuzminsky
a5b2222d70 fix a hardcoded path in runtests 2021-10-22 16:04:14 -06:00
Sebastian Kuzminsky
eb7997d239 install realtime in /usr/lib/linuxcnc/, not in /etc/init.d/. 2021-10-22 15:45:50 -06:00
John
2e94d346a3 Docs: spell out abbreviation at least once
Signed-off-by: John <jthornton@gnipsel.com>
2021-10-22 06:16:18 -05:00
Rene Hopf
faab5f10ee remove bundled filed from boost 2021-10-22 01:01:25 +02:00
andypugh
1d0343e3ad
Update M51 description
M61 works in auto mode in addition to manual and MDI. The description indicated that this was not the case.
2021-10-21 22:55:15 +01:00
CMorley
0fbbb29102 qtvcp -screenOptions: add property to set HAL component basename
This is more apropriate then setting it in the handlerfile, I think.
setting in the handler file still works though.
2021-10-20 20:30:36 -07:00
Phillip Carter
b1d713991e
Merge pull request #1324 from snowgoer540/gregc/preamble
qtplasmac: docs update
2021-10-21 12:00:44 +11:00
CMorley
c738dbba1d qtvcp -qtaxis stylesheet: remove debugging test code 2021-10-20 17:53:18 -07:00
CMorley
3ea287c24d qtvcp -gcode_editor: account for ; being a comment 2021-10-20 17:53:18 -07:00
Greg Carl
ee1b3a33c1 qtplasmac: docs update 2021-10-20 19:46:09 -04:00
Phillip Carter
a7247a9223 qtplasmac: fix ihs skip 2021-10-21 09:36:37 +11:00
Phillip Carter
b1a9f73492 qtplasmac: fix startup display of kerf width zero
add new styles for gcode editor
change version numbers
2021-10-21 09:32:52 +11:00
Phillip Carter
cb05651caf
Merge pull request #1321 from fupe/add-external-pins
Add external pin for THC, Auto Volts, Cut Rec move etc
2021-10-21 09:18:52 +11:00
andypugh
9ebb5117d4
Merge pull request #1290 from satiowadahc/cw-errors
motion - Adding Misc Error
2021-10-20 23:00:49 +01:00
andypugh
fabf1a3d6a
Merge pull request #1319 from snowgoer540/gregc/g74g84docs
gcode docs: clarify g74 and g84
2021-10-20 13:44:55 +01:00
CMorley
d67b241f8f qtvcp -gcode_editor: fix search/replace error.
Thanks Phill
2021-10-19 23:42:19 -07:00
CMorley
2431f5adcc qtvcp -qtaxis: update stylesheet for new gcode hihlight colors 2021-10-19 22:50:27 -07:00
CMorley
7c6732fa0b qtvcp -gcode_editor: improve gcode syntax highlighter
more colors.
separate colors for codes 'gst', 'mfpq' and for axis letters
can change what letters are in the two code colors.
fix coloring for []
2021-10-19 22:50:27 -07:00
CMorley
ff6919e5b1 qtvcp -qtdragon_hd: set a reasonable default for max_spindle_power 2021-10-19 22:50:27 -07:00
CMorley
a3d955e999 qtvcp -qtdragon_hd: add max spindle power entry to INI 2021-10-19 22:50:27 -07:00
andypugh
df78b69c0d
Merge pull request #1312 from satiowadahc/cw-halpin
halmodule - adding getpins function
2021-10-19 20:28:07 +01:00
Martin Kaplan
34348192a9 Add external pin for THC, Auto Volts, Cut Rec move etc 2021-10-19 07:23:16 -05:00
Greg Carl
ff7c44d601 gcode docs: clarify g74 and g84 2021-10-18 20:18:26 -04:00
Sebastian Kuzminsky
8afb6532a2 Revert "Debian needs /usr/bin/python3 in shebang line"
This reverts commit 63a209248b.

`sed -i` removes the setuid bit from rtapi_app and linuxcnc_module_helper,
which breaks everything.
2021-10-18 14:49:16 -06:00
Rene Hopf
02fb25a971
Merge pull request #1317 from LinuxCNC/qtvcp-cleanup
remove python version checks from qtvcp
2021-10-18 18:12:45 +02:00
Phillip Carter
948693d0ab qtplasmac: increase resolution of thc delay and change start time 2021-10-18 15:56:14 +11:00
c-morley
b6a59e18cc
Update core.py
These are unneeded too. Thanks
2021-10-17 20:52:32 -07:00
Sebastian Kuzminsky
9b6ae3453f ignore some generated qtplasmac files 2021-10-17 20:23:08 -06:00
Sebastian Kuzminsky
be32479edb ignore generated files for pi500 driver 2021-10-17 20:23:08 -06:00
Sebastian Kuzminsky
2d885caf80 ignore some new manpages 2021-10-17 20:23:07 -06:00
Sebastian Kuzminsky
10788b7ee1 sort .gitignore, no additions or removals 2021-10-17 20:23:07 -06:00
Phillip Carter
15348f62b1 qtplasmac: add mirror and flip to converstional 2021-10-18 12:07:57 +11:00
Sebastian Kuzminsky
a80c772546
Merge pull request #1296 from smoe/debian/lintian-rootPriv
Initial set of lintian overrides
2021-10-17 16:13:59 -06:00
Sebastian Kuzminsky
2b55ab53fc
Merge pull request #1316 from smoe/d/rules_fixes_Python_shebang
Debian needs /usr/bin/python3 in shebang line
2021-10-17 16:11:36 -06:00
Phillip Carter
c9ed8ecec2
Merge pull request #1315 from snowgoer540/gregc/abort
qtplasmac: remove redundant abort code
2021-10-18 09:02:22 +11:00
Rene Hopf
21e5aaadaf remove python version check from pncconf 2021-10-17 22:09:25 +02:00
Rene Hopf
2270aea6a3 remove python version checks from qtvcp 2021-10-17 22:06:38 +02:00
Rene Hopf
b8072ef0fd remove py2 version check from pncconf and stepconf 2021-10-17 22:01:32 +02:00
Steffen Moeller
03f3627e86 Expected to improve compat with Python 3.10 2021-10-17 21:07:26 +02:00
Rene Hopf
c1aee77a08 remove future division import 2021-10-17 18:55:34 +02:00
Rene Hopf
c81d03c5bf removed future print function imports 2021-10-17 16:50:07 +02:00
Rene Hopf
1c3a731e05 remove extra shebang from halcompile 2021-10-17 16:47:25 +02:00
Steffen Moeller
63a209248b Debian needs /usr/bin/python3 in shebang line 2021-10-17 16:45:57 +02:00
Steffen Moeller
b197b0ddd0 Initial set of lintian overrides
Addressing
 - buttons for manuals invoking external applications.
 - suid root binaries

Not expecting the package name to match the library
Invoking dh_lintian
2021-10-17 16:07:26 +02:00
Greg Carl
891c871d60 qtplasmac: remove redundant abort code 2021-10-17 06:16:32 -04:00
CMorley
397bb24132 qtvcp -docs: update JoyPad/HALPad 2021-10-17 00:15:46 -07:00
CMorley
779587a227 qtvcp -joypad: adjust property name to match surounding style 2021-10-17 00:15:46 -07:00
Phillip Carter
fd4a7d068e
Merge pull request #1313 from snowgoer540/gregc/kb_shortcuts
qtplasmac:
2021-10-17 11:18:33 +11:00
Greg Carl
1602af800d qtplasmac:
make all keys follow kb_shortcuts status
general code housekeeping
allow grid size to be returned to 0 in conversational
docs updates
2021-10-16 19:36:59 -04:00
Sebastian Kuzminsky
7c60ea8b82 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  plasmac: docs update to add heights diagram
  Adjusted udev rules to flag xhc units as user accessable.
  Put the English version of rtfaults.txt back

Conflicts:
    docs/src/plasma/plasmac-user-guide.txt
        (plasmac was removed in master in commits
        bae75c8b1f and
        ac03a9aeca, i also removed the
        new plasmac image that was added in 2.8)
2021-10-16 14:28:50 -06:00
Sebastian Kuzminsky
2c0c592ebe
Merge pull request #1308 from petterreinholdtsen/lintian-udev-uaccess-2.8
Adjusted udev rules to flag xhc units as user accessable.
2021-10-16 14:21:38 -06:00
Peter Wallace
aa6536c5c3 Fix stepgen table mode 2021-10-16 12:40:52 -07:00
CMorley
ecb9829291 qtvcp -add ability to set feed, rapid, jog plot colors in stylesheets 2021-10-16 12:04:36 -07:00
CMorley
da96706b0e emc module: add get_colors to get the current plot colors
I should have added this when I added set_colors
2021-10-16 12:04:36 -07:00
Chad Woitas
fcb76e809b halmodule - adding getpins function 2021-10-16 08:51:35 -06:00
Phillip Carter
ed1f4ddf7f missed a comma 2021-10-16 15:35:11 +11:00
CMorley
6fd46487f9 qtvcp -remove accidentally commited diff file 2021-10-15 21:04:18 -07:00
Phillip Carter
11a05b498b add qtvcp dependencies for packaging 2021-10-16 14:54:27 +11:00
Phillip Carter
3aa030e518 qtplasmac: Improved overall conversational workflow
Combined array, rotate, and scale

Allow multiple manipulations of saved conversational files across 
sessions
2021-10-16 09:50:10 +11:00
Phillip Carter
54aa272853
Merge pull request #1310 from snowgoer540/2.8
plasmac: docs update to add heights diagram
2021-10-16 09:18:31 +11:00
Greg Carl
c573452f88 plasmac: docs update to add heights diagram 2021-10-15 13:50:04 -04:00
Sebastian Kuzminsky
c244d7505c
Merge pull request #1306 from petterreinholdtsen/lintian-appstream-provides
Added Appstream metadata announcing supported USB IDs
2021-10-15 10:32:16 -06:00
Petter Reinholdtsen
c90a72aef5 Added Appstream metadata announcing supported USB IDs
See https://wiki.debian.org/AppStream/Guidelines for information about
the format and setup.
2021-10-15 07:11:54 +02:00
Petter Reinholdtsen
9c2a80cf24 Adjusted udev rules to flag xhc units as user accessable.
This is an alternative to using the plugdev group, which provide access
to the user logged in on the console without having to statically grant
plugdev membership.
2021-10-15 06:58:10 +02:00
Sebastian Kuzminsky
9753863318
Merge pull request #1302 from petterreinholdtsen/lintian-whatis-xhc-hb04-accels
Added missing whatis information to NAME section of xhc-hb04-accels(1)
2021-10-14 21:44:49 -06:00
Sebastian Kuzminsky
e0120b23bc
Merge pull request #1303 from petterreinholdtsen/lintian-man-typo-encoder
Fixed typo in paragraph macro of encoder(9) manual page.
2021-10-14 15:03:13 -06:00
andypugh
ab788522d4
Put the English version of rtfaults.txt back
But also keep the Spanish translation
2021-10-14 16:19:42 +01:00
Petter Reinholdtsen
155dff4066 Fixed typo in paragraph macro of encoder(9) manual page. 2021-10-14 08:41:58 +02:00
Petter Reinholdtsen
b4ccedcfbb Added missing whatis information to NAME section of xhc-hb04-accels(1)
This will quiet down lintian.  Not quite sure what the script is doing
and the manual page is a bit vague on the topic, so feel free to
improve the description.
2021-10-14 07:53:53 +02:00
CMorley
a6a26ff562 qtvcp -joypad: update-text font, text color,indicator position
we also embrace using ENUMS for position and HAL pin types
2021-10-13 22:24:25 -07:00
Sebastian Kuzminsky
c4345283f9
Merge pull request #1298 from LinuxCNC/per-distro-debhelper-version
Per distro debhelper version
2021-10-12 12:12:34 -06:00
andypugh
119f3fae78
Merge pull request #1301 from smoe/debian/suggestMesaflash
Added mesaflash as a suggestion to d/control
2021-10-12 17:09:19 +01:00
Steffen Moeller
f1393c6c04 Added mesaflash as a suggestion to d/control 2021-10-12 12:07:51 +02:00
c-morley
976e8ba02a
Merge pull request #1300 from phillc54/phillc54/gcode_props
qtvcp: add gcode file units to props
2021-10-11 23:29:13 -07:00
CMorley
5e16d0ff38 qtvcp -joyPad/halPad: move most properties to joyPad
add individual button signals.
Add indicator light slot
add two color properties
add signals to HALPad (as well as HAL pins)
2021-10-11 23:23:49 -07:00
Phillip Carter
1e8ffdbff6 qtvcp: add gcode file units to props 2021-10-12 16:52:32 +11:00
CMorley
1bc4db9b14 qtvcp -docs: update PATH variables
redifined LIBDIR
added:
PYDIR
WIDGETDIR
PLUGINDIR
2021-10-11 22:32:09 -07:00
CMorley
9b0bbc852e qtvcp -move some widgets to the 'linuxcnc widgets' section in designer 2021-10-11 22:30:52 -07:00
CMorley
696c722c91 qtvcp -add nurbs editor designer plugin 2021-10-11 22:18:12 -07:00
Sebastian Kuzminsky
30f9cbb014
Merge pull request #1295 from smoe/debian/DoNotCreateNewFilesWhenCleaning
Do not create new files while cleaning
2021-10-11 20:05:46 -06:00
Sebastian Kuzminsky
e7362c36fe
Merge pull request #1293 from smoe/debian/NoRealtimeInitForUspace
<strike>Not</strike> installing realtime init file for uspace
2021-10-11 20:04:40 -06:00
Bob Bond
234087fea4 Fixup #<_abs_x> named arguments
These named arguments didn't account for G92 offsets or G10 R rotations.
Also added some new tests based on the old (now deleted) 5440 tests that
use these named parameters.
2021-10-11 16:17:56 -07:00
Steffen Möller
611747a72d Adopted description provided by @andypugh 2021-10-12 00:58:32 +02:00
Sebastian Kuzminsky
3e9179e43f if no COMPAT, make sure there's no d/compat 2021-10-11 13:12:50 -06:00
Sebastian Kuzminsky
d7a1ef2da5 fix debhelper & compat on bullseye and newer 2021-10-11 13:12:45 -06:00
Steffen Moeller
3810d12183 Added LSB header (addressing a lintian warning)
Please see https://wiki.debian.org/LSBInitScripts
2021-10-11 12:24:44 +02:00
Steffen Moeller
4e3a238f69 py3clean is always helpful during clean 2021-10-11 12:07:56 +02:00
CMorley
3887c62f32 qtvcp -pstat: change LIBDIR to point to library folder
and add:
PYDIR - lib/python folder
WIDGETS - folder for widgets
PLUGINS - folder for widget plugins
2021-10-10 22:27:42 -07:00
Sebastian Kuzminsky
94ca950400 docs: tooldatabase.txt should only be listed once 2021-10-10 15:23:03 -06:00
Sebastian Kuzminsky
2af673f21a d/configure: let distros override debhelper version & compat level 2021-10-10 15:23:01 -06:00
Bob Bond
be305ae5ef Address interpreter rotation issues
Changes to address G10 Rx xy rotation issues.
- Fix inconsistent application of G92 offsets in rotated systems.
  The G92 offset should always be applied after the rotation. In
  some cases it was being done at the same time as the G5x offsets
  and the tool offsets:
  convert_stop()
  find_ends(), G53 case. This fixes issue #30
  find_relative()
- Add rotation support to G28.1 and G30.1 in convert_savehome()
- Added test cases for the G53 and G28 changes
2021-10-10 14:03:15 -07:00
CMorley
f55d1b7929 qtvcp -add JoyPad widget: the baseclass for HALPad
This widget is useful without HAL pins too.
2021-10-10 14:00:09 -07:00
CMorley
fe17306b1e Revert "qyvcp -overlay: switch overlay to a window over the main window"
This reverts commit 601dac27fd.
It seems on some systems this completely doesn't work.
2021-10-10 13:51:00 -07:00
CMorley
7b5ca18059 qtvcp -gcode utility: updates from Jim Sloot
Looks like it adds units warning to gcode and some ui changes.
2021-10-10 13:48:22 -07:00
Steffen Moeller
72cf91e995 Test on src/Makefile.inc, not the Makefile itself 2021-10-10 19:08:03 +02:00
CMorley
10fd53c0d5 qtvcp -docs: update docs for Qhal code changes 2021-10-09 21:37:10 -07:00
CMorley
46701a4931 qtvcp -Qhal: add function getvalue to read HAL pins
just a wapper for the hal modules's get_value
2021-10-09 21:37:10 -07:00
CMorley
a7790269d8 qtvcp -make Qtvcp's HAL component class only return a single instance
Now it can be imported directy in files - more consistant with other classes
Also added PIN type and direction constants so one doesn;t have to import
the hal module
Qtdragon, Qtdragon_hd, and QtTouchy are modified to use new component.
2021-10-09 21:37:10 -07:00
Sebastian Kuzminsky
e9d8aba264 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  ignore another generated file
  docs: fix asciidoc markup in Running LinuxCNC, update index
  docs: add missing section to Getting Started pdf
  qtvcp: add install script and add v5.11 to makefile
  qtvcp -simplewidgets: fix default template of LCDNumber
  qtvcp -backport master fixes to LCDNumber, Dial, Slider
  github workflow: bump ci runner from 16.04 to 18.04

There was a conflict in `lib/python/qtvcp/designer/install_script`:
one version added in master and a different version added in 2.8.
I opted to keep the version here in master unchanged, I hope that's right.
2021-10-09 21:56:07 -06:00
CMorley
601dac27fd qyvcp -overlay: switch overlay to a window over the main window
originally we made the main window a parent of the overlay window.
Now the window is separate and moves/resizes with the main window.
unfortunately the window manager will stop the the overlay at the far edges.
I'n expecting that must people don't move the window when focus is on.
2021-10-09 18:49:02 -07:00
CMorley
a758782b49 qtvcp -dialog_widgets: make the file dialog always on top. 2021-10-09 18:49:02 -07:00
CMorley
99d469225b qtvcp -widget_baseclass: catch error when testing widgets.
when testing these variables aren't filled in and causes an error.
2021-10-09 18:49:02 -07:00
CMorley
27552210d3 qtvcp -add designer init function to wisget baseclass
Unfortunately the example coded doesn't work as intended, but
that seems to be because of what designer does in the background.
At least the process of setting things during designer editor sessions
has been formalized.
2021-10-09 18:49:02 -07:00
CMorley
d92d931b26 qtvcp -docs: add more detail on custom widget loading/closing process 2021-10-09 18:49:02 -07:00
CMorley
c6c4c2eccf qtvcp -switch widgets from 'closing_cleanup__' to ' _hal_cleanup function'
let baseclass inheritance take care of supplying the empty function.
more consistant naming: _hal_init and _hal_cleanup
2021-10-09 18:49:02 -07:00
Sebastian Kuzminsky
a5f8e5cc02 ignore another generated file 2021-10-09 19:02:34 -06:00
Sebastian Kuzminsky
8054d18d72 docs: fix asciidoc markup in Running LinuxCNC, update index
This removes an unused section tag in running-linuxcnc.txt which confused
asciidoc.
2021-10-09 18:38:05 -06:00
Sebastian Kuzminsky
17d8e9d363 docs: add missing section to Getting Started pdf 2021-10-09 18:36:39 -06:00
Sebastian Kuzminsky
13db0d25f8
Merge pull request #1294 from smoe/debian/RemovePatches
The patch is no longer needed
2021-10-09 15:13:56 -06:00
Steffen Moeller
285463d939 The patch is no longer needed 2021-10-09 20:14:13 +02:00
Steffen Moeller
43e83b96ed Do not create new files while cleaning 2021-10-09 19:57:19 +02:00
Phillip Carter
d7567230df qtvcp: add install script and add v5.11 to makefile 2021-10-09 12:15:45 +11:00
Rene Hopf
3de984f281
Merge pull request #1292 from smoe/TextfilesShouldNotBeExecutable
Fixing permissions - files should not be executable
2021-10-08 23:36:55 +02:00
CMorley
d216fa3a29 hal_glib -add joint follwing error message 2021-10-08 14:22:38 -07:00
Steffen
966c6a83d1 Fixing permissions - files should not be executable 2021-10-08 22:59:42 +02:00
CMorley
0351f6bbb1 qtvcp -add docs for HALPad 2021-10-07 21:04:18 -07:00
Chad Woitas
81d8ba4aea motion - Adding misc error to status 2021-10-06 20:57:47 -06:00
Chad Woitas
75fe692f8c motion - Adding Errors to documentation 2021-10-06 20:24:41 -06:00
CMorley
103e399259 qtvcp -MDITouchy: record MDI commands in history file. 2021-10-06 18:17:24 -07:00
Chad A. Woitas
0c031948af
motion - Allow num misc errors to be 0 2021-10-06 14:51:15 -06:00
Chad Woitas
e6b645f056 motion - Adding Misc Error 2021-10-06 13:12:57 -06:00
CMorley
b07926fdd4 qtvcp -simplewidgets: fix lcdNumber to default to old formatting
While you can set the formatting for float display now - keep it blank
so it works the same as before
2021-10-05 22:45:50 -07:00
CMorley
b0f96cf566 qtvcp -halpad: add text properties/change HAL pin names
now can set text for buttons in designer or stylesheets.
center highlight acts as a two color LED controlled with a HAL pin.
use dots instead of dashes in HAL names.
2021-10-05 22:44:06 -07:00
Chris Morley
38c4d4b215 qtvcp -simplewidgets: fix default template of LCDNumber
This will make it work just as before the upgrade.
Also remove some debug prints
2021-10-05 19:09:56 -07:00
Phillip Carter
13e5ab6b4f
Merge pull request #1289 from snowgoer540/gregc/conv_autorepeat
qtplasmac: allow autorepeat on conversational and parameters tabs
2021-10-06 10:53:18 +11:00
Greg Carl
c3c013d46d qtplasmac: allow autorepeat on conversational and parameters tabs 2021-10-05 19:24:00 -04:00
Rene Hopf
0327eb2f7a fix some pango errors in hal_lightbutton 2021-10-05 19:16:59 +02:00
6c60c06438
Merge pull request #1287 from rgbond/fmt_fix
Better formatting
2021-10-04 20:49:54 -05:00
CMorley
7719a41db1 qtvcp -add joypad widget
Jim Sloot created another beautiful widget that represents a 5 button joy pad.
The base widget can be imported or a HAL-ified version is available in
designer.
2021-10-03 22:00:11 -07:00
CMorley
8c1292e2ed qtvcp -simple_widgets: remve debug print statements 2021-10-03 10:57:18 -07:00
CMorley
d944928736 qtvcp -backport master fixes to LCDNumber, Dial, Slider
LCDNumber: add other in types and add a template for floats
Dial: fix initial HAL output setting.
slider: fix initial HAL output setting.
2021-10-03 10:27:20 -07:00
Bob Bond
568d1d71f4 Better formatting 2021-10-03 10:27:06 -07:00
CMorley
7a21e87de6 qtvcp -remove redundent image files - they have been moved
each screen has it's own version
2021-10-03 01:31:32 -07:00
CMorley
7d7372808d qtvcp -qtdragon_hd: use resource images, add more qss files 2021-10-03 01:29:13 -07:00
CMorley
2b87b37cc8 qtvcp -qtdragon: move images to qtdragon folder and adjust resource file
To facilitate easier customization, I've added the images used by qtdragon
in the folder of qtdragon so they can be copied directly into a user's config folder.
adjusted the ui, qrc, and qss files to use the resource file's new image path names.
2021-10-03 01:28:42 -07:00
CMorley
add51b389b qtvcp -ACTION,touchplate_sub: improve error messages and interpreter state
clean up messages before passing them to user.
record and restore the interpreter state.
2021-10-02 21:12:25 -07:00
CMorley
8a18ca6543 qtvcp -qtdragon: make clicking main tab buttons hide the keyboard.
use to have to touch the 'main' tab button, now if you press the
button of the tab already showing it will toggle the keyboard to hide.
2021-10-02 13:18:49 -07:00
CMorley
18473bcf63 qtvcp -slider/dial widget: fix intial value stting
the ouptut started at 0 regardless of the initial value set in designer.
2021-10-02 13:18:49 -07:00
CMorley
586fd38a32 qtvcp -qtdragon: switch to running touchplate function in background
interrate Jim's code into qtdragon - if no problems then to dragon_hd
2021-10-02 13:18:49 -07:00
CMorley
e8dfd1a5d4 qtvcp -add touchplate touchoff routine to ACTION library
Jim supplied the code to do touch off in the background do that the
screen is still responsive.
Gcode routine is hard coded in metric which probably should be changed
in the future.
2021-10-02 13:18:49 -07:00
CMorley
108bb38603 qtvcp -entry widget: improve layout
Jim updared the entry widget layout to be more like a keyboard
2021-10-02 13:18:48 -07:00
Rene Hopf
69a1f7d90f change dro font to monospace, fixes issue #659 2021-10-01 10:59:54 +02:00
CMorley
b1e5692d99 docs -QtVCP: add info on LCD Widget 2021-09-30 22:09:58 -07:00
CMorley
2f1e22ae72 qtvcp -LCDNumber: add options for other type pins and to format floats 2021-09-30 22:09:58 -07:00
Phillip Carter
9a5feb4222
Merge pull request #1285 from snowgoer540/gregc/qtplasmac_docs
qtplasmac: docs update
2021-10-01 11:53:32 +10:00
Greg Carl
f4ac3c49d7 qtplasmac: docs update 2021-09-30 20:52:54 -04:00
Rene Hopf
b8057221d1
Merge pull request #1282 from LinuxCNC/fix-github-ci
github workflow: bump ci runner from 16.04 to 18.04
2021-09-28 14:02:15 +02:00
65638cc2dd fix latency-test for no-base-thread case 2021-09-27 20:35:07 -05:00
c-morley
464ef09d45
Merge pull request #1283 from snowgoer540/gregc/qtvcpdocs
docs: qtvcp_widgets - fix ScreenOption stylesheet code examples
2021-09-27 17:35:02 -07:00
Greg Carl
0e7d779d3b docs: qtvcp_widgets - fix ScreenOption stylesheet code examples 2021-09-27 19:39:17 -04:00
Phillip Carter
c3cc774946
Merge pull request #1281 from snowgoer540/gregc/probe_paramaters
qtplasmac:
2021-09-28 09:10:09 +10:00
Sebastian Kuzminsky
332325c14a github workflow: bump ci runner from 16.04 to 18.04 2021-09-27 16:25:59 -06:00
Greg Carl
b5eeb462b4 qtplasmac:
allow probe test to remain on parameters tab if started externally
allow external commands buttons to be valid even in estop
update ohmic test run disable logic
add height diagram to docs
2021-09-27 18:24:49 -04:00
Sebastian Kuzminsky
7b6f60ad44
Merge pull request #1280 from LinuxCNC/update-maintainer
switch deb Maintainer to "LinuxCNC Developers"
2021-09-27 16:16:29 -06:00
Sebastian Kuzminsky
519204c8f7 switch deb Maintainer to "LinuxCNC Developers"
It's a group effort after all...
2021-09-27 11:45:53 -06:00
Dewey Garrett
5606fa333b tool_mmap.cc: locate mmap file to user HOME dir 2021-09-27 04:58:52 -07:00
Dewey Garrett
77cdbd8e3e tool_mmap_read.cc: exit if no available mmapped file 2021-09-27 04:58:52 -07:00
CMorley
078a2cf63f qtvcp -qtdragon_hd: fix display of tool diameter in imperial units 2021-09-26 22:58:22 -07:00
CMorley
63fd59a351 qtvcp -vismach: fix missed code changes 2021-09-26 17:47:07 -07:00
CMorley
18c5cd4cbe qtvcp -qtdragon: fix metric/imperial lables
They were opposite of the machine units
2021-09-26 17:31:30 -07:00
CMorley
62832209d8 docs -qtvcp widgets: update state/status label 2021-09-26 17:31:30 -07:00
CMorley
b1965eb268 docs -qtdragon: add info on touch plate probing 2021-09-26 17:31:30 -07:00
CMorley
73a581b453 qtvcp -status_label: update designer dialog 2021-09-26 17:31:30 -07:00
CMorley
d2100a49a2 qtvcp -qtdragon; fix tool diameter units display 2021-09-26 17:31:30 -07:00
CMorley
6f6e29d270 qtvcp -originoffset_view: update view after entry changes 2021-09-26 17:31:30 -07:00
12deb01cbf
Merge pull request #1275 from LinuxCNC/jepler/opengl-without-numpy
Fix "object has no attribute 'tolist'"
2021-09-26 19:30:37 -05:00
8a6458d57a
Merge pull request #1277 from LinuxCNC/jepler/fix-install-root
Undo the need to use quilt source format
2021-09-26 19:22:37 -05:00
04b1c65507 Add me & seb as uploaders 2021-09-26 16:28:32 -05:00
80a58e1d5d remove more traces of quilt 2021-09-26 16:27:39 -05:00
4f3a930479 Merge remote-tracking branch 'origin/2.8' 2021-09-26 12:13:33 -05:00
97c8a4147c Undo the need to use quilt source format
.. by giving an easy way to specify `-o root` out of the invocation of
`install`
2021-09-26 12:02:15 -05:00
Rene Hopf
37c107c47f
Merge pull request #1273 from safarir/2.8
Fix iopl issue with kernel_lockdown (secure boot)
2021-09-26 13:26:47 +02:00
8a7f0deae2
Merge pull request #1174 from jepler/iptables-path
Untested: Invoke iptables via the PATH, so it can reside in /sbin or /usr/sbin
2021-09-25 20:22:12 -05:00
bde0102232
Merge pull request #1270 from smoe/debian1
Smallish changes to help Debian build experience
2021-09-25 20:21:25 -05:00
5da0ee5b39 fix syntax 2021-09-25 20:15:17 -05:00
eb62efcaed Fix "object has no attribute 'tolist'"
This occurs since the switch to pyopengl (yay!) but only if python3-numpy
is not also installed.

I was able to eliminate the conversion of the matrix to its 1D / list form
entirely.

I think I got pretty good coverage of everything _except_ qt vismach
in my testing, both with and without python3-numpy installed.  qt vismach
should be the same as tk vismach, as I made edits with the same intended
effect.
2021-09-25 17:15:26 -05:00
ChrisM
f803e8358e qtvcp -woodpecker screen: fix print statements for python3 2021-09-24 20:53:45 -07:00
ChrisM
408bea3140 qtvcp -MDI_Touchy: allow widget to be smaller 2021-09-24 20:53:23 -07:00
ChrisM
74b9e07f98 pyui -fix function call signature for ZMQ's python type conversion 2021-09-24 20:52:55 -07:00
Phillip Carter
af2b8cba56
Merge pull request #1274 from snowgoer540/gregc/cycle_stop
qtplasmac:
2021-09-25 10:17:01 +10:00
Greg Carl
691f349b16 qtplasmac:
fix cycle stop behavior after probe test timeout
allow cycle stop to cancel a torch pulse
enhance button/tab states for probe test and torch pulse
tidy logic for disabling of keyboard keys
small docs update
2021-09-24 19:24:39 -04:00
Steffen
7b875bec41 simplifying debian build, manual patch application 2021-09-24 17:36:40 +02:00
Charles-Xavier Roy
a3db7e2e6c Fix https://github.com/LinuxCNC/linuxcnc/issues/1272
Ignore iopl error and provide warning message to user
2021-09-24 10:34:06 -04:00
Steffen
6054ff0fc4 Changing from native to quilt 2021-09-24 16:14:25 +02:00
Steffen
2a3792a8c1 Increase compatibility across linux distros 2021-09-24 12:17:49 +02:00
Phillip Carter
c62da43e6b qtplasmac: add forgotten version update 2021-09-24 16:39:20 +10:00
Phillip Carter
2e3a15ba12 stepconf: fix plasmac-ohmic-sense typos 2021-09-24 16:34:30 +10:00
CMorley
ed46c201d1 docs -qtvcp widgets: add stylesheet example code for button text 2021-09-23 22:12:47 -07:00
CMorley
d727ddce78 docs -qtdragon: add a little stylesheet customization example 2021-09-23 22:11:58 -07:00
Phillip Carter
2619ba7a7f plasmac: change default thc delay to 0.5 2021-09-24 10:01:55 +10:00
Phillip Carter
c98e5ed176 qtplasmac: rework for using different units in gcode 2021-09-24 09:33:08 +10:00
Phillip Carter
eed0dd6c9a pncconf: increase limits for linear velocity 2021-09-24 09:29:17 +10:00
Steffen
e66556a461 Build-dependencies cannot be installed, simplifying 2021-09-23 23:47:18 +02:00
Steffen
230341df18 Clean up empty lines in d/control 2021-09-23 23:04:40 +02:00
Steffen
b2f305609f No need to chown root since all is root already
And cowbuild does not allow this.
2021-09-23 21:56:44 +02:00
Steffen
113526af3c Cosmetics and updates for current Debian release. 2021-09-23 21:11:59 +02:00
Phillip Carter
ba982b46ec pncconf: fix plasmac-ohmic-sense typos 2021-09-22 14:07:32 +10:00
Sebastian Kuzminsky
57106b06e8 docs: add missing word to pid.9 manpage 2021-09-19 12:27:07 -06:00
Sebastian Kuzminsky
054c344948 axis gui: fix incremental jog hotkey
This adds a missing global variable that tracks whether a continuous
jog is in progress (and also switches it from int to bool, for clarity).

Before this, attempting to switch from Continuous to Incremental jogging
using `I` or `Shift-I` would produce this error message:

    Exception in Tkinter callback
    Traceback (most recent call last):
      File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1550, in __call__
        return self.func(*args)
      File "/usr/bin/axis", line 3109, in <lambda>
        root_window.bind("i", lambda event: jogspeed_incremental())
      File "/usr/bin/axis", line 1478, in jogspeed_incremental
        if continuous_jog_in_progress: return
    NameError: global name 'continuous_jog_in_progress' is not defined
2021-09-19 11:37:16 -06:00
CMorley
ee44d3669a qtvcp -docs: update screenoptions description 2021-09-18 13:37:23 -07:00
CMorley
1d5da22921 docs -GStat: add some missing message descriptions 2021-09-18 13:35:51 -07:00
CMorley
62f13ea546 qtvcp -docs: add new ActionToolButton 2021-09-18 10:17:24 -07:00
CMorley
c3c9e6d103 qtvcp -qtdragon: fix 'goto machine zero' button calling wrong MDI command 2021-09-18 09:29:43 -07:00
CMorley
13dc52450d qtvcp -qtdragon: change 'goto origin' button labels 2021-09-18 00:50:15 -07:00
CMorley
4d2d2fb30c qtvcp -qtdragon_hd: add userview button to graphics view 2021-09-18 00:21:30 -07:00
CMorley
22f8f8b249 qtvcp -qtdragon: Use 'CYCLE START' label if run-from-line option off 2021-09-18 00:15:12 -07:00
ChrisM
c44c029d50 glnav -don't rotate view unless in perspective mode
I don't think this function was used in linuxcnc.
In lathe mode we don't want the scene rotated.
2021-09-17 23:41:11 -07:00
Dewey Garrett
05ee5fc507 homing.h: consolidate all HOME_* flags 2021-09-17 18:48:28 -07:00
CMorley
660fcb9874 qtvcp -gcode_graphics: record the user view in preference file 2021-09-17 16:49:41 -07:00
CMorley
f94b9d3144 qtvcp -qtdragon_hd: fix z axis homed LED not indicating
user 'soehlrich' from the forum found the problem.
Thanks!
2021-09-17 10:57:42 -07:00
CMorley
b27ab87a10 qtvcp -dialog_widgets: fix dummy function call in LcncDialog
I forgit to change all the function names to the same.
This dummy function is for dialogs that don't want to auto open
details textbox.
2021-09-16 18:22:15 -07:00
Dewey Garrett
be53acf121 tooldata_mmap:unlink TOOL_MMAP_FILENAME at close
closes #1267

Notes:
1) Abnormal LinuxCNC termination (power outage for example)
   may result in the file remaining regardless.
   Manual removal of the the file may be required if LinuxCNC is
   to be started by a user other than the user running
   LinuxCNC at the abnormal termination event if system is
   configured to retain files in /tmp.
2) Related: LinuxCNC uses setuid for critical executables:
     uspace: bin/rtapi_app
     rtai:   bin/pci_write,bin/pci_read
     any:    bin/linuxcnc_module_helper
   The Makefile for the setuid target uses
      'chmod 4750 executable_name'
   but the packaging process results in differences for
   a RIP build and a DEB install like:
                   permissions owner group      executable
                   ----------  ----  ---------- ----------
     RIP build:    -rwsr-x---  root  build_user rtapi_app
     DEB install:  -rwsr-xr-x  root  root       rtapi_app

   Consequently, supporting multiple users for a RIP
   build requires that each user must belong to the 'build_user'
   group to start LinuxCNC from a common git tree.
2021-09-16 17:40:12 -07:00
Phillip Carter
4cca8d4a25 qtplasmac: change pmx485 shutdown message
fix text error in conversational triangle
2021-09-16 16:30:12 +10:00
CMorley
0980ef7334 qtvcp -screenoptions: if details text is set, auto show textbox 2021-09-15 21:10:30 -07:00
CMorley
9030a0ad66 pncconf - we should connect the operation pins to halui (or touchy)
start abort and single-step.
Probably should add pause/resume too
2021-09-14 22:06:13 -07:00
CMorley
7eeca247bd Qtvcp -screenoptions: fix code for details box at shutdown.
shutdown_msg_detail = was recorded in the preference file but not actually used.
maybe it shouldn't be recorded at all and just be an optional at-the-moment info
display?
2021-09-14 20:09:23 -07:00
CMorley
aeb865a4b8 qtvcp -screenoption_plugin: fix dialog box 2021-09-14 19:57:23 -07:00
CMorley
eddf296e14 pyui: with ZMQ messages, convert string to python int,float and bool, if marked
everything is a string from the INI file, but python types are needed for many
called functions.
Now we can specify when we want python types vrs strings
2021-09-13 19:32:04 -07:00
CMorley
b118aba270 qtvcp -screenoptions: fix close overlay color and add close overlay message optiion
close overlay color was defined twice so was always red.
user can set the focus overlay close message from the preference page now.
2021-09-13 19:32:04 -07:00
Phillip Carter
382b2b7ea0
Merge pull request #1265 from snowgoer540/gregc/buttontabstatesfix
qtplasmac: fix disabled states if cycle stopped while cycle paused
2021-09-13 19:11:45 +10:00
Greg Carl
bce5941f51 qtplasmac: fix disabled states if cycle stopped while cycle paused 2021-09-13 04:40:43 -04:00
Phillip Carter
c9dbc39cea stepconf: fix plasma encoder for parport 2
fix hal signal name for plasma arc voltage
2021-09-13 17:37:50 +10:00
Phillip Carter
30cb39aabc qtplasmac: stylesheet fix for qheaderview 2021-09-13 14:12:08 +10:00
Phillip Carter
85f330b032 qtplasmac: more stylesheet fixes 2021-09-13 10:45:28 +10:00
CMorley
7c50b9ce05 pncconf -catch control c signal and quit 2021-09-12 13:18:07 -07:00
CMorley
72bbedb2d7 pncconf -fix manual tool change code for qtdragon/gmoccapy
neither got their builtin dialogs connected properly
2021-09-12 13:18:07 -07:00
Phillip Carter
0152272029
Merge pull request #1264 from snowgoer540/gregc/buttontabstates
qtplasmac: make button/tab states congruent and visually indicated
2021-09-12 22:52:36 +10:00
Greg Carl
dadefcb5d7 qtplasmac: make button/tab states congruent and visually indicated 2021-09-12 08:20:12 -04:00
CMorley
9d948e67cd qtvcp -tool_offsetview: add functions to scroll selection externally
like using an MPG to move selection up and down
2021-09-11 17:19:25 -07:00
Phillip Carter
d0aa3be071
Merge pull request #1263 from snowgoer540/gregc/refineautorepeat
qtplasmac: refine autorepeat in mdi and editor
2021-09-12 09:10:13 +10:00
Greg Carl
3dda522145 qtplasmac: refine autorepeat in mdi and editor 2021-09-11 07:26:48 -04:00
Phillip Carter
f84b96f56c qtplasmac: some workarounds for horrible qt stylesheets 2021-09-11 12:02:09 +10:00
c-morley
4f8acd4865
Merge pull request #1259 from snowgoer540/gregc/qtvcpautorepeat
qtvcp: add number pad jog keys to default autorepeat dictionaries
2021-09-09 18:19:49 -07:00
Phillip Carter
a2be7cd46d qtplasmac: add offset view widget 2021-09-09 17:04:23 +10:00
CMorley
0707c21710 qtvcp -docs: update the information on paths for custom screens 2021-09-08 23:16:04 -07:00
CMorley
fe96dd1a1e qtvcp -copy_dialog panel: add ability to change the base name 2021-09-08 23:13:22 -07:00
CMorley
23aa8dbbf4 qtvcp -origin_offsetview: fix column 0 not setting data
it was the row we wished to not modify.
Thanks Phil for finding the error.
2021-09-08 18:16:51 -07:00
Phillip Carter
68d64d6b2c qtplasmac: rework slow jog functions
tab tracking
2021-09-09 09:45:40 +10:00
Phillip Carter
b4cf5c082c qtplasmac: tab tracking 2021-09-09 09:09:45 +10:00
Phillip Carter
0386023be1
Merge pull request #1262 from snowgoer540/gregc/buttonstates
qtplasmac:
2021-09-08 11:23:16 +10:00
Phillip Carter
edaf598f4d
Merge pull request #1261 from snowgoer540/gregc/autorepeat
qtplasmac: allow autorepeat in editor and mdi disable elsewhere
2021-09-08 11:23:09 +10:00
Phillip Carter
180947a792
Merge pull request #1260 from snowgoer540/gregc/pmxtidy
qtplasmac: pmx485 - remove unused module and variable
2021-09-08 11:23:02 +10:00
Greg Carl
fd304d2142 qtplasmac:
update tooltip
use button states instead of text for conditional checks
2021-09-07 20:45:44 -04:00
Greg Carl
80f2f4b535 qtplasmac: allow autorepeat in editor and mdi disable elsewhere 2021-09-07 20:43:13 -04:00
Greg Carl
e02ba10d31 qtplasmac: pmx485 - remove unused module and variable 2021-09-07 20:40:54 -04:00
ChrisM
520023110e qtvcp -audio_player: fix import error, improve error messages 2021-09-06 16:11:56 -07:00
ChrisM
7d9f80f16f qtvcp -qtdragon: add a user view button
users can record the current view amd reset it later
2021-09-06 16:11:56 -07:00
ChrisM
c7a193dc24 qtvcp -add ability to record/set a user view on graphics display
ocationally you don't quite get the view you asked for.
Not sure why - but very useful otherwise
2021-09-06 16:11:56 -07:00
John
d3bfbb304f missed one change
Signed-off-by: John <jthornton@gnipsel.com>
2021-09-06 18:03:19 -05:00
John
ade80dd4f6 missed one item
Signed-off-by: John <jthornton@gnipsel.com>
2021-09-06 18:01:39 -05:00
John
f255cd3c65 revert previous commit due to lack of information
Signed-off-by: John <jthornton@gnipsel.com>
2021-09-06 17:58:19 -05:00
CMorley
5fb92c8888 qtvcp -probe routines: cleanup/ updates/ improvements
Jim has improved the probe routine to call a sub process
only when needed and close when finished

fixed some images to match the routines
2021-09-06 15:52:18 -07:00
John
4e2a42a025 revert previous commit due to lack of information
Signed-off-by: John <jthornton@gnipsel.com>
2021-09-06 17:50:49 -05:00
john
059184d148 Docs fix incomplete examples 2021-09-06 08:25:34 -05:00
john
4c6437f40c Docs fix incomplete examples 2021-09-06 07:29:22 -05:00
Greg Carl
f1cbb03c35 qtvcp: add number pad jog keys to default autorepeat dictionaries
83 and 85 for X
80 and 88 for Y
81 and 89 for Z
2021-09-06 08:03:34 -04:00
Phillip Carter
276e23ad8f qtplasmac: rename status button 2021-09-06 17:38:04 +10:00
Dewey Garrett
c25f67b9a5 pyngcgui.py Gtk.FileChooserDialog gtk3 update 2021-09-05 19:50:02 -07:00
Dewey Garrett
2c24928afd pyngcgui.py bugfix for expanding nested indents 2021-09-05 10:05:53 -07:00
Dewey Garrett
5a0e007d3a xembed.py use Gdk.EventType.* (py3 updates) 2021-09-05 07:04:31 -07:00
Phillip Carter
df529ffaca
Merge pull request #1258 from snowgoer540/gregc/tooltips
qtplasmac: update tooltip descriptions
2021-09-05 22:19:19 +10:00
Greg Carl
37547246cf qtplasmac: update tooltip descriptions 2021-09-05 07:35:46 -04:00
Phillip Carter
29f6618e2c qtplasmac: reduce cpu usage caused by stylesheet changes 2021-09-04 14:36:08 +10:00
Phillip Carter
74a108a27c
Merge pull request #1257 from snowgoer540/gregc/pmxunload-tool0
qtplasmac:
2021-09-04 11:12:27 +10:00
CMorley
a45c64bf93 qtvcp -improve error message dialog
only open on the first error.
pre-open and scroll the details box, so the user gets the
most import info.
2021-09-03 17:59:05 -07:00
Greg Carl
4962225a08 qtplasmac:
unload pmx485 component if no port was specified
set torch as the active tool on startup
2021-09-03 20:29:46 -04:00
andypugh
9dd7565034
docs: Fix error in RTAI install instructions 2021-09-03 18:12:04 +01:00
andypugh
7f62217aa1
docs: Update RTAI install instructions
A missing "-a" results in over-writing of the sources.list rather than appending of deb-src.
2021-09-03 17:05:01 +01:00
1c39328cd2
Merge pull request #1256 from LinuxCNC/jepler/python3-shebang
use python3 in all #!python lines
2021-09-03 08:12:09 -04:00
CMorley
1dc15e503a qtvcp -tool_editview: fix error caused by spelling mistake 2021-09-03 00:13:44 -07:00
Phillip Carter
227a61b5c0 qtplasmac: change flash rate to ease cpu usage 2021-09-03 14:18:40 +10:00
0c8a0058bf use python3 in all #!python lines 2021-09-02 18:32:58 -05:00
Phillip Carter
795363a722 qtplasmac: fix gcodeprops for axes offsets 2021-09-02 17:49:28 +10:00
CMorley
1c1b0c9e8f qtvcp -tool_editview: Add icons for lathe orientation, red for negative numbers
Added some bad images for orientation too
2021-09-01 20:39:49 -07:00
Phillip Carter
d6446ce7ad qtplasmac: move tooltips to a loadable module
add language translation script
2021-09-02 11:56:41 +10:00
Phillip Carter
c9e8b173b3 qtplasmac: allow editing non gcode files
fix camera rotation
2021-09-01 11:29:15 +10:00
CMorley
168abf68cc pncconf -add hack to autoselect 7i76 internal firmware for 7i76e
more ofy Phill's hard work
2021-08-31 18:25:13 -07:00
CMorley
0dcce5d882 qtvcp -remove unused file for probing routines.
Jim combined them as probe_subprog.py quite a while ago.
2021-08-31 18:12:10 -07:00
c-morley
fe4c78721f
Merge pull request #1255 from snowgoer540/gregc/qtvcpcore
qtvcp: add inspect module to core.py
2021-08-31 18:05:04 -07:00
Phillip Carter
b8b2859d71
Merge pull request #1254 from snowgoer540/gregc/adderrorchecks
qtplasmac: add more custom user button error checking
2021-09-01 10:47:32 +10:00
Greg Carl
b8c9983c8d qtvcp: add inspect module to core.py 2021-08-31 20:32:29 -04:00
Greg Carl
68e8cf88b1 qtplasmac: add more custom user button error checking 2021-08-31 20:11:36 -04:00
CMorley
8e7795daff qtvcp -fix probe_subprog becoming a Zombie when qtvcp crashes
It would cause a high CPU usage zombie.
Jim to the rescue again!
2021-08-30 22:23:33 -07:00
CMorley
b173e6052c qtvcp -tool_offserview: show diameter in lathe mode
should be radius but thats for the future.
2021-08-30 22:23:33 -07:00
c-morley
be19617c7f
Merge pull request #1249 from phillc54/phillc54/pncconf
pncconf: fixes for python3 and board discovery
2021-08-30 21:19:13 -07:00
Rene Hopf
431bbaadf1
Merge pull request #1252 from robertspark/patch-1
fine name error qttools5.dev "."(dot)  to  qttools5-dev "-"(dash)
2021-08-30 18:26:34 +02:00
Rene Hopf
c081c3e3e0
Merge pull request #1253 from robertspark/patch-2
corrected file name error +python3 update
2021-08-30 18:25:52 +02:00
Rene Hopf
8dd5d7323a remove references to python2 2021-08-30 18:25:15 +02:00
Rene Hopf
0cb327dce1 removed references to gtk2 2021-08-30 18:21:28 +02:00
Rob Clegg
0907ae117c
corrected file name error +python3 update
corrected file name error  'sudo apt-get install qttools5.dev'  ("dot") to sudo apt-get install qttools5-dev "-" (dash)
and python3 update libpython3-dev
and removed ref to python2 running with QT5 as no longer required)
2021-08-30 16:19:12 +01:00
Rob Clegg
c91234a799
fine name error qttools5.dev "."(dot) to qttools5-dev "-"(dash)
fine name error qttools5.dev "."(dot)  to  qttools5-dev "-"(dash)
2021-08-30 16:09:44 +01:00
Rene Hopf
e74e8f6096 add python3 and gtk3 notes to updating docs 2021-08-30 16:12:02 +02:00
CMorley
939669e7db qtvcp -audio_player: remove print statement, only cancel if playing 2021-08-29 22:10:28 -07:00
CMorley
8be4bc7bdb qtvcp -qtgraphics: switch DRO to monospace, but make it configurable.
Newer systems don't seem to like courier
2021-08-29 22:07:08 -07:00
CMorley
b6da6a18e3 qtvcp -fix warnings about 'is' used for ==
Designer showed the warning in the terminal when loaded
2021-08-29 18:47:30 -07:00
CMorley
1fc28418c9 qtvcp -qt_action: abort doesn't need to be called from auto mode 2021-08-29 18:27:03 -07:00
CMorley
7062aa5049 qtvcp notify/audio_player: if you cancel/close a dialog, kill the speech 2021-08-29 18:23:21 -07:00
CMorley
675ea53657 touchy -have Touchy conform more to postgui standards
Touchy has been able to use INI based postgui file for ages.
But it used to require touchy.hal was in the config folder even if it was empty.

Now it will still look for the touchy.hal file but won't error if it's not there.
We promote in the docs to use INI based postgui files.
IIRC Touchy is the only modern GUI that did postgui loading differently.
Now (postgui) instructions for all GUIs can be the same.
2021-08-29 11:38:11 -07:00
Phillip Carter
04a3123d3a
Merge pull request #1251 from snowgoer540/gregc/framingbutton
qtplasmac:
2021-08-29 14:38:09 +10:00
Greg Carl
fa10cf0154 qtplasmac:
framing button enhancements:
1. fix framing behavior for hori./vert. lines starting at offset origin
2. enhance button code error checking
3. add ability to have fixed feed rate for framing motion
doc updates
2021-08-29 00:10:45 -04:00
Greg Carl
ffc4cc1ab8 qtplasmac:
EDIT and MDI button enhancements:
1. respective button shows as activate when widget is in use
2. allow editor to be closed by clicking button again
2021-08-29 00:00:52 -04:00
CMorley
c505a7e9e4 qtvcp -vismach: add scara example
Forum User MWork donated his conversion of the tk code.
2021-08-28 14:53:22 -07:00
CMorley
e1d9c603c3 docs -fix function description of return values 2021-08-28 14:19:02 -07:00
CMorley
ebca5347f4 qtvcp -tool_offsetview: disble if unhomed 2021-08-28 14:15:52 -07:00
CMorley
a1e6342476 qtvcp -origin_view: disable when un homed. 2021-08-28 14:11:35 -07:00
CMorley
a61179b464 qtvcp -origin_view: make absolute entries non selectable.
It was never intended to be editable - just for reference.
2021-08-28 14:07:48 -07:00
CMorley
895009200d qtvcp -origin_view: fix error when clicking unavailable rotational entries. 2021-08-28 14:06:14 -07:00
CMorley
887c579a62 qtvcp -probe_routines: fix spelling mistake 2021-08-28 12:58:04 -07:00
CMorley
c73cf2613e qtvcp -probe_routines: add operator error message on command timeout 2021-08-28 10:31:01 -07:00
CMorley
1014c36fe6 qtvcp -probe_routines -add probe_down_fast()
This moves the probe quickly to a safe place to edge probe.

A big whitwspace change was included to make the code better leginble.

Thanks Jim
2021-08-28 10:03:37 -07:00
Rene Hopf
6cc2fdd091 removes minigl and replaces it with libepoxy 2021-08-27 17:13:37 +02:00
Rene Hopf
939cd1b416
Merge pull request #1246 from LinuxCNC/pycleanup
cleanup python modules, remove py3c
2021-08-27 13:34:12 +02:00
Phillip Carter
4dfccf5d68 pncconf: fixes for python3 and board discovery 2021-08-27 14:57:31 +10:00
Phillip Carter
0cf848bc5a
Merge pull request #1248 from snowgoer540/gregc/runcritical-fix
qtplasmac: fix runcritical logic
2021-08-27 12:40:51 +10:00
Phillip Carter
ae35721885
Merge pull request #1247 from snowgoer540/gregc/international
qtplasmac: update internationalization infrastructure
2021-08-27 12:40:40 +10:00
Greg Carl
0aaa153e7e qtplasmac: update internationalization infrastructure 2021-08-26 22:07:10 -04:00
Greg Carl
9d80acfa48 qtplasmac: fix runcritical logic 2021-08-26 21:08:17 -04:00
Dewey Garrett
827de56d20 uspace_rtapi_app.cc pthread_mutex_init() fix
was: attr was not initialized
is:  pthread_mutex_init(&thread_lock, NULL)
     to use default mutex attributes

Fault indications: (Beginning at commit: c1fdb1a58)
1) Spurious failures observed running runtests on a non-rt kernel
2) No similar problems observed with a preempt-rt kernel
3) Failing tests not typically repeatable with independent
   runtests, examples observed in simple hal-only tests
   include these (and others):
	  tests/threads.1
	  tests/biquad
	  tests/edge/rising-starting-high
	  tests/flipflop.0
4) typical error reports to stderr:

rtapi_app: tpp.c:82: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_p
rio >= fifo_min_prio && new_prio <= fifo_max_prio)' failed.

or (less frequently):

rtapi_app: pthread_mutex_unlock.c:88: __pthread_mutex_unlock_usercnt: Assertion `type =
= PTHREAD_MUTEX_ERRORCHECK_NP' failed.
2021-08-26 09:29:07 -07:00
Rene Hopf
4435aac5eb remove legacy __future__ imports 2021-08-26 16:17:55 +02:00
Phillip Carter
af8440a77f qtplasmac: fix backup config 2021-08-26 21:38:23 +10:00
Rene Hopf
d417b5d711
Merge pull request #1242 from dev-git-usr/dev-git-usr/bugfix-1183-font-notification-gmoccapy
Fixed Issue #1183 - Font of notification not changed in gmoccapy
2021-08-26 12:59:47 +02:00
Rene Hopf
ec6ed34118 cleanup python modules, remove py3c 2021-08-26 12:49:35 +02:00
Phillip Carter
fa4efdde90 qtplasmac: fix copyright notices 2021-08-26 11:42:37 +10:00
CMorley
1785f70fb8 qtvcp -versa_probe: update code for python3 2021-08-25 18:40:57 -07:00
CMorley
7641fa8fa7 qtvcp -basic_probe: fix for python3 code. 2021-08-25 18:40:57 -07:00
Phillip Carter
f509454c2e qtplasmac: fix axis limit error message 2021-08-26 11:25:03 +10:00
Dewey Garrett
5fadecccd7 trtfuncs.c fix P.w val in xyzbc inv kins
error noted by Aciera -- thanks
2021-08-25 08:21:16 -07:00
andypugh
1e906924de
Merge pull request #1238 from havardAasen/patch_master
Packaging and other, minor changes.
2021-08-25 12:39:36 +01:00
Phillip Carter
2e01a0789e qtplasmac: initialise runtest text 2021-08-25 15:32:37 +10:00
Phillip Carter
e98d5a06f1
Merge pull request #1245 from snowgoer540/gregc/remove-run-timer
qtplasmac:
2021-08-25 12:20:54 +10:00
Greg Carl
33a3b96ef7 qtplasmac:
tidy manual cut code
add internationalization to error messages added in v1.0.68 and v1.0.69
remove deprecated run button timer work around
docs update
2021-08-24 21:20:24 -04:00
john
f35426946b remove my name from hal components I didn't work on 2021-08-24 07:20:23 -05:00
John
a0a1c237b9 remove my name from hal components I didn't work on
Signed-off-by: John <jthornton@gnipsel.com>
2021-08-24 07:02:09 -05:00
Phillip Carter
fe4be776e7 qtplasmac: remove debug print and fix version 2021-08-24 17:09:12 +10:00
Phillip Carter
502d6560ee plasmac: add internationalisation infrastructure 2021-08-24 16:40:21 +10:00
Phillip Carter
a66da3a462 pncconf: fix qtplasmac prefs file if exising 2021-08-24 13:53:54 +10:00
c-morley
3122213db7
Merge pull request #1244 from mWorkVN/fix-qt_vismach
Update primitives.py
2021-08-23 19:50:07 -07:00
mwork
ad5859f3fb Update primitives.py 2021-08-24 09:36:47 +07:00
Phillip Carter
c049870153
Merge pull request #1243 from snowgoer540/gregc/manual-cut
qtplasmac:
2021-08-24 12:18:42 +10:00
Greg Carl
acbe3cadba qtplasmac:
manual cut enhancements:
1. automatically set the jog slider to the feed rate of the currently 
selected material
2. automatically return the jog slider to the previous value after 
manual cut
3. blink jog speed to show it is being overridden
4. disable jog speed manipulation during manual cut
5. disable Z jog during manual cut to prevent errors
6. CYCLE START will change to MANUAL CUT and blink

docs updates
2021-08-23 21:16:28 -04:00
Michael Langer
3814da876d Fixed Issue #1183 - Font of notification not changed in gmoccapy 2021-08-23 19:38:10 +02:00
Phillip Carter
662de31b09
Merge pull request #1241 from snowgoer540/gregc/toggle-halpin
qtplasmac:
2021-08-23 19:11:05 +10:00
Phillip Carter
eb4de6f2d9 pncconf: fix miscellaneous signals for tandem joints 2021-08-23 17:04:15 +10:00
Phillip Carter
a633753baf pncconf: correctly show/hide thcad screen
fix miscellaneous signals for tandem joints
2021-08-23 16:30:42 +10:00
CMorley
aaa7aa26ac qtvcp -docs: status_slider and ACTION library updates 2021-08-22 22:02:18 -07:00
CMorley
110b1aed06 qtvcp -qtdragon: add probe/halpins/MDI command button details 2021-08-22 22:00:46 -07:00
CMorley
9cf7c7c78a qtvcp -status_slider: allow property setting of under and over alert values
under and over are float values that are used to set changes in the stylesheet
for such things as color changes as warnings.
2021-08-22 20:51:16 -07:00
CMorley
1aa77aab9f qtvcp -dialog_widget: fix error with run-from-line openning on toolchange
We used a hack to open the details message on the tool change dialog.
I think on different versions of qt it clicked different buttons.
one user said the run-from-line dialog would show all by it's self.
this would be consistant with the assummed problem.
anyways we check a little harder to see what button we are pressing
with our hack
2021-08-22 19:38:20 -07:00
Greg Carl
4095ad71c6 qtplasmac:
allow toggle-halpin buttons to be marked "runcritical"
check for spelling errors in a framing button using "usecurrentzheight"
docs updates
2021-08-22 20:09:33 -04:00
CMorley
a2e0d30a6e qtvcp -qtdragon sims: add INI MDI commands for buttons 2021-08-22 11:09:10 -07:00
CMorley
da4f8efa90 qtvcp -qtdragon screen: change to INI based MDI command buttons
goto-g53-zero and goto-origin, both need two commands to be safe.
one to lift Z, one to move the other axes.
Now a user can customize them as they like from thr INI
2021-08-22 11:05:23 -07:00
CMorley
4181129de2 qtvcp -qt_action: add linuxcnc operator message commands/ INI MDI msg
It's helpful to tell the operator why the button didn't do anything.
2021-08-22 11:02:46 -07:00
CMorley
de1b819b01 qtvcp -qtdragon screen: add goto origin/goto machine zero buttons 2021-08-22 00:12:06 -07:00
CMorley
0bcd966a1f qtvcp -action_button: MDI action button should be enabled only after homing. 2021-08-22 00:12:06 -07:00
Phillip Carter
6215021386
Merge pull request #1240 from snowgoer540/gregc/pulse-halpin
qtplasmac:
2021-08-22 13:57:56 +10:00
Phillip Carter
1c11cebaa8
Merge pull request #1239 from snowgoer540/gregc/material-exception
qtplasmac: add material file processing exception handling
2021-08-22 13:57:50 +10:00
Greg Carl
1b3a5d3e67 qtplasmac:
docs update
enhance pulse-halpin button code to:
1. display countdown timer on the button
2. allow canceling of a pulse by clicking the button again 3. allow 
canceling of a pulse by clicking a toggle-halpin button controlling the 
same halpin
2021-08-21 23:15:26 -04:00
Phillip Carter
3e25f76974 stepconf: add plasma ohmic sense relay 2021-08-22 12:40:47 +10:00
Greg Carl
4fbc1fb6f2 qtplasmac: add material file processing exception handling 2021-08-21 22:28:59 -04:00
Phillip Carter
9b8ff68afb pncconf: add plasma ohmic sense relay 2021-08-22 12:06:49 +10:00
Phillip Carter
7180861923 qtplasmac: save machine log files 2021-08-22 11:54:03 +10:00
CMorley
f2c36fa3cb qtvcp -audio_player: remove QtMultimedia module requirement
left over from testing.
no need to require package.
2021-08-21 17:45:05 -07:00
CMorley
40dbaca6a5 qtvcp -screenoptions: option to speak operator messages only.
You can speak error messages and/or operator messages.
switch to bell sound alert for messages - not so distracting.
2021-08-21 14:39:18 -07:00
CMorley
5fb4611558 qtvcp -audio_player: have speech sentences queue, add a bell sound
hard to understand speech, if it speaks over it's self.
2021-08-21 14:36:20 -07:00
Håvard Flaget Aasen
6119db46fc
man-page: Display SI unit of time. 2021-08-21 19:29:01 +02:00
Håvard Flaget Aasen
8c8ec12d85
Indent the code and remove some whitespace 2021-08-21 19:16:35 +02:00
Håvard Flaget Aasen
085fc7d00e
Remove unnecessary if statement
There is no point setting a variable to 0, for then to check that it
really is 0.
2021-08-21 18:59:27 +02:00
Håvard Flaget Aasen
71ac5c6743
Packaging: Remove PYTHON_VERSION variable.
The variable was inserting the full Python version, when we only needed
the major version. Since we only support Python3, we can remove
the variable and hard code the major version in d/control.main-pkg.in
2021-08-21 18:59:24 +02:00
Håvard Flaget Aasen
5625c7028e
Packaging: minor clean up in dependencies.
Removed duplicated build-dependency.
Removed a Python2 package which was listed as a alternative
runtime-dependency. The package isn't compatible and would have
failed at runtime.
2021-08-21 18:59:21 +02:00
Håvard Flaget Aasen
0ec6f32159
Packaging: Move dh_python3 to d/rules.in
Since we only support Python3, there is no need to have the
configuration file insert this as a variable.
2021-08-21 18:59:17 +02:00
Håvard Flaget Aasen
0433582990
Packaging: Set Standards-Version to 3.9.8 in d/control.top.in
Since we comply with version 3.9.8 which is in stretch, we can use this version
in all currently supported distros.
2021-08-21 18:59:14 +02:00
Håvard Flaget Aasen
ef5fb247a2
halscope: Change how text box is displayed when inactive.
Changed to gtk_widget_set_sensitivity. This makes it easier to see
if the text box is editable or not.
2021-08-21 18:59:10 +02:00
CMorley
7c434c2715 qtvcp -audio_player:use python3 espeak library if available 2021-08-21 00:17:18 -07:00
CMorley
a38f1e5114 qtvcp -audio_player: switch to python3 gstreamer 2021-08-20 23:29:56 -07:00
CMorley
8458499bdc qtvcp -status_label: fix python warning 2021-08-20 18:32:36 -07:00
Chris Morley
464069b311 qtvcp -status slider: add a HAL pin for current value
useful for example, getting jog rate for external controls
2021-08-20 18:25:11 -07:00
Chris Morley
9592b339cd qtvcp -detect machine units from joints rather the axis
Now that joints are separate, only joints have units info.
2021-08-20 18:22:36 -07:00
Chris Morley
da89022b89 qtvcp -status slider: add a HAL pin for current value
useful for example, getting jog rate for external controls
2021-08-20 18:03:19 -07:00
Chris Morley
d048960c94 qtvcp -detect machine units from joints rather the axis
Now that joints are separate, only joints have units info.
2021-08-20 18:01:28 -07:00
9b97642240
Merge pull request #1172 from oMtQB4/feature/PI500_VfD
Support for PI500 and equivalent VFDs via Modbus RTU
2021-08-20 12:52:53 -05:00
Jeff Epler
5a59816b77 Merge remote-tracking branch 'origin/2.8' 2021-08-20 10:39:32 -05:00
Jeff Epler
4eb0d2cb51 Merge remote-tracking branch 'origin/master' into feature/PI500_VfD 2021-08-20 10:31:22 -05:00
ac779c49b3
Merge pull request #1226 from LinuxCNC/jepler/modernize-autoconf-boost-python
configure.in: Modernize detection of python & boost
2021-08-20 10:20:46 -05:00
1efe486baf
Merge pull request #1235 from havardAasen/man-page_2.8
Update man-pages for latency-* scripts.
2021-08-20 10:20:25 -05:00
144f9dfbd6
Merge pull request #1236 from jepler/event-python3
Fix hal_input for python3
2021-08-20 10:19:20 -05:00
Phillip Carter
b353d6e1b8
Merge pull request #1237 from snowgoer540/gregc/qtdocs_rfl
docs: qtplasmac
2021-08-20 22:11:16 +10:00
Greg Carl
6499de74fb docs: qtplasmac 2021-08-20 07:28:55 -04:00
Phillip Carter
b5ed9526df pncconf: debug print and whitespace tidy up 2021-08-20 13:24:56 +10:00
Chris Morley
c95c6f440d pncconf -fix error with encoder name in tune test 2021-08-19 18:09:16 -07:00
bc4ba19f7b linux_event: python3 compatibility, allow specifying full path 2021-08-18 14:03:29 -05:00
c1fdb1a58f uspace_rtapi_app: thread_lock should have been shared among all threads
.. but it never was.
2021-08-18 13:35:22 -05:00
Håvard Flaget Aasen
cdd14572a9
Update man-pages for latency-* scripts.
Create content for man-page latency-histogram and latency-plot. The
man-pages consist of information found in '--help' option in the
actual script, and documentation found in 'docs/' path in LinuxCNC
repository.
2021-08-17 10:49:04 +02:00
Phillip Carter
e060ed4418 pncconf: test panel gtk3 fixes 2021-08-17 17:54:58 +10:00
andypugh
f8a0faf402 Docs: Update RTAI install instructions.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-08-16 23:00:53 +01:00
andypugh
1e82058fb0
Merge pull request #1234 from LinuxCNC/fix-md5-sum
Fix MD5 / SHA256 sums
2021-08-16 22:42:29 +01:00
andypugh
06cff4c97b
Update getting-linuxcnc_es.txt 2021-08-16 22:39:30 +01:00
andypugh
85436a81d3
Update getting-linuxcnc-cn.txt 2021-08-16 22:38:44 +01:00
andypugh
2a28f188ea
Fix MD5 / SHA256 sums 2021-08-16 22:35:35 +01:00
ChrisM
2f165c809d qtvcp -qt_action: only restore the machime mode after all MDI commands 2021-08-15 21:10:32 -07:00
ChrisM
685a9c5ff2 qtvcp -screenoptions: fix ZMQ messages for python3
need bytes not string for topic.
2021-08-15 21:10:32 -07:00
ChrisM
0cc46338f6 qtvcp -tooloffsetview: add function to deselect all tools
If the user selected tools for action, now we can de select them all
when we finishe/cancel the action.
2021-08-15 21:10:32 -07:00
ChrisM
13bf95c7f7 pyui: fix zmq messaging for python3
ZMQ requires bytes not strings
2021-08-15 21:10:32 -07:00
ChrisM
5090e3ec60 panelui.c - fix python3 printing error message 2021-08-15 21:10:32 -07:00
ChrisM
bff8b102db mitsub_vfd - add volts pin, user monitoring.
User can set vfd to monitor many parameters.
defaults to power in watts (from vfd calculation)

volts pin is now available.
using volts and amps and power factor .9, calculate power.
this is available as motor.power in watts

If serial is already open at start up - close and try to reopen
Had this problem crop up in linux mint 19
2021-08-15 21:10:32 -07:00
ChrisM
f864cfe31c remap lib -fix lathe tool change to use generator 2021-08-15 21:10:32 -07:00
Peter Wallace
3660a2613b Write GPIO DDR after invert and data source option to avoid startup glitch 2021-08-15 11:41:45 -07:00
Phillip Carter
4cb156359e pncconf: fix bugs in advanced config
found by user crowloy from the forum

https://forum.linuxcnc.org/plasmac/43271-pncconf-wizard-doesn-t-launch?start=10#217747

https://forum.linuxcnc.org/plasmac/43271-pncconf-wizard-doesn-t-launch?start=10#217750
2021-08-15 13:24:32 +10:00
Sebastian Kuzminsky
0370a6f8f3 docs: fix some minor glitches in INI config docs.
Fixing broken asciidoc syntax, & prettier words.
2021-08-14 15:26:14 -06:00
Phillip Carter
2e745a3dbb qtplasmac: sim finer grained voltage control 2021-08-14 18:09:23 +10:00
Phillip Carter
75ff774274 Merge branch 'phillc54/pncconf-gtk3' 2021-08-14 10:32:06 +10:00
Phillip Carter
9010f56428 pncconf to gtk3 - progress bar 2021-08-14 10:20:44 +10:00
Phillip Carter
0cea9fe9ff pncconf to gtk3 - set window size 2021-08-13 15:34:25 +10:00
Phillip Carter
b8617a48d4 pncconf to gtk3 - remove redundant gtkcellrenderertext 2021-08-13 15:00:34 +10:00
Phillip Carter
520f89d2e3 qtplasmac: fix mdi to manual mode change 2021-08-13 11:30:18 +10:00
Phillip Carter
0b330fa458 pncconf to gtk3 - parallel port updates 2021-08-12 14:48:33 +10:00
Phillip Carter
c6b658ba84 pncconf to gtk3 - update most glade files and get a working base 2021-08-12 13:02:42 +10:00
Phillip Carter
f795a66c94
Merge pull request #1230 from snowgoer540/gregc/rfl_enhance
qtplasmac:
2021-08-12 12:45:02 +10:00
c-morley
5998ad0774
Merge pull request #1227 from satiowadahc/cw-detach_tabs
qtvcp - DetachTabs backwards equality
2021-08-11 19:36:16 -07:00
Greg Carl
72eac86eaf qtplasmac:
run from line enhancements load default material after a successful run 
with a temp material docs update
2021-08-11 22:01:45 -04:00
Phillip Carter
9216fe8342
Merge pull request #1229 from fupe/add-scale-height-ovr
Add scale for Z height override by MPG
2021-08-12 09:04:29 +10:00
cnc
0bf83f3a12 Add scale for Z height override by MPG 2021-08-11 08:27:19 -05:00
Phillip Carter
a1e811a3ed qtplasmac: improve error handling in gcode filter 2021-08-11 19:24:34 +10:00
ac0cf10c98 punctuation 2021-08-10 21:11:25 -05:00
ac1376ad21 Check for BLT with TCLSH, not hard-coded 8.5
The very old commit history indicates that using hard-coded 8.5 was
a workaround for a problem on Ubuntu Hardy (2008!)
2021-08-10 21:04:47 -05:00
Phillip Carter
6b193dfc0a Merge branch 'pncconf-gtk3' into phillc54/pncconf-gtk3 2021-08-11 09:43:15 +10:00
Jeff Epler
626d23e2f7 tidy up 2021-08-10 10:24:45 -05:00
Jeff Epler
228dcc3d65 Remove traces of some unused @VARS@ in .in files 2021-08-10 10:06:01 -05:00
Jeff Epler
848c889832 Restore finding SITEPY 2021-08-10 10:01:08 -05:00
Chad Woitas
b438ae716a qtvcp - DetachTabs backwards equality 2021-08-10 08:54:20 -06:00
Jeff Epler
556bf5386b drop configure-time python version check, it caused trouble 2021-08-09 20:27:49 -05:00
Jeff Epler
aeb1c09ea7 configure.in: Modernize detection of python & boost
Hopefully, this helps with autodetecting the right boost library version.
It also enforces the minimum Python version of 3.4.

This brings us deeper into the autoconf "ecosystem" so the files
config.guess et al had to be added.  Oh well!
2021-08-09 20:20:47 -05:00
Phillip Carter
5b8953b9e4
Merge pull request #1225 from snowgoer540/gregc/manual_button
qtplasmac:
2021-08-10 09:08:22 +10:00
Greg Carl
0dfc8b2c50 qtplasmac:
fix manual cut AttributeError for those without a Manual Cut button
2021-08-09 16:29:14 -04:00
Phillip Carter
55d8bbffd5
Merge pull request #1224 from snowgoer540/gregc/currentz
qtplasmac: fix usecurrentzheight for framing button code
2021-08-09 10:08:06 +10:00
Greg Carl
5a88706ce6 qtplasmac: fix usecurrentzheight for framing button code 2021-08-08 19:19:46 -04:00
Phillip Carter
3446f90d5c qtcvp: install script python3 fix plus readme changes for python3 2021-08-08 18:24:51 +10:00
Phillip Carter
aa3abb160b stepconf: rework some deprecated code 2021-08-08 16:35:15 +10:00
Phillip Carter
c2838822ca qtplasmac: remove redundant gettext format 2021-08-06 19:21:14 +10:00
Phillip Carter
cef5b11ec7 qtvcp: remove redundant gettext formats 2021-08-06 13:58:41 +10:00
Dewey Garrett
91dee3fade pyngcgui: drop gtk-based gcmc sim configs
due to no known users and effort to test with gtk3

Notes:

1) gcmc is a GPL3 project for "G-Code Meta Compiler"
   (NOT part of LinuxCNC)
   Ref: https://www.vagrearg.org/content/gcmc

2) The remaining sim config: configs/sim/axis/ngcgui/ngcgui_gcmc.ini
   works with gcmc built at commit:
        e01a24f Thu Jul 25 20:42:27 2019 +0200
   from the source repository:
        https://gitlab.com/gcmc/gcmc.git

3) The remaining axis-gui sim config and support for gcmc in
        lib/ngcgui.tcl         (gcmc support working)
        lib/python/pyngcgui.py (gcmc support untested)
    may be removed in the future.
2021-08-05 18:26:23 -07:00
Dewey Garrett
ecd2e54923 pyngcgui gtk3 updates
nonworking items marked 'wip: gtk3 notworking'

wip: numerous messages to stderr from gladevcp app:
(gladevcp:*): Gtk-CRITICAL ...
(gladevcp:*): Gtk-WARNING  ...
2021-08-05 18:25:16 -07:00
Dewey Garrett
ee7701ba80 popupkeyboard.py gtk3 updates 2021-08-05 18:08:10 -07:00
Dewey Garrett
9642bfb091 gremlin_view.py gtk3 updates
crippled: settings.set_string_property(gtk-theme-name)
msg if LinuxCNC not running
2021-08-05 12:56:56 -07:00
Dewey Garrett
6d92c9bb97 sim .ui files: abandon gtk_theme_name for gtk3 2021-08-05 12:56:27 -07:00
Dewey Garrett
bda8be8b56 gladevcp/__init__.py gtk3 decode subprocess output 2021-08-04 15:41:55 -07:00
Phillip Carter
9d3c76803f docs: install_script is python 3 2021-08-04 21:17:22 +10:00
Phillip Carter
8a6e9aaacc qtvcp: modify install script for python3 2021-08-04 21:14:58 +10:00
Phillip Carter
d80a86a5be qtplasmac: split component cut case into two 2021-08-04 17:21:55 +10:00
Phillip Carter
32780aa9da qtplasmac: set manual mode after mdi
fix for external probe test pin
2021-08-04 13:31:52 +10:00
Phillip Carter
0af75ed5d0
Merge pull request #1219 from snowgoer540/gregc/exception
qtplasmac: fix exception handling for button code
2021-08-04 12:38:44 +10:00
Greg Carl
7a8d4695f8 qtplasmac: fix exception handling for button code 2021-08-03 21:38:26 -04:00
Phillip Carter
1a5ae8ce3a add relay ohmic to plasmac component 2021-08-04 11:30:32 +10:00
CMorley
f6fea2648e sim config -fix axis/panelui demo for python3 2021-08-02 23:40:25 -07:00
CMorley
bddd1c2836 qtvcp -fix jog_increments to help with translations
We used to look for the string 'cont' to set a continuous jog.
it was always the first selection in the comobox so now we assume that
selection 0 is continuous.
Phill wrote this - I just added some comments and fixed my spelling mistakes.
2021-08-02 21:21:22 -07:00
CMorley
cae317f7c5 qtvcp -qt_pstat: update search path to include a 'languages' directory
lets hide all those trannslation files in a folder.
2021-08-02 20:32:39 -07:00
CMorley
c419278c52 docs -update qtvcp widget dro label docs 2021-08-02 20:30:32 -07:00
CMorley
d6470d4e59 qtvcp -dro_label: force update after format property changes 2021-08-02 20:30:32 -07:00
Phillip Carter
e7463757b9 qtvcp: qt5_graphics.py remove gettext coding 2021-08-03 13:00:47 +10:00
Phillip Carter
be7c1707c9
Merge pull request #1218 from snowgoer540/gregc/convention
qtplasmac: tidy previously submitted handler code, update docs
2021-08-03 11:31:30 +10:00
Greg Carl
343c51cdb2 qtplasmac: tidy previously submitted handler code, update docs 2021-08-02 20:50:25 -04:00
Phillip Carter
0e4582b097 qtplsmac: add external hal pin for slow jog
set cut amps minimum to 10
2021-08-02 17:50:35 +10:00
Phillip Carter
f76680d597 qtplasmac: add tooltips option 2021-08-02 12:17:26 +10:00
CMorley
663fd0b3a2 qtvcp -add translation search/apply code
It looks in the standard places builtin/local folder for .qm files.
Then allpies them to the app.
It's a start.
2021-08-01 15:49:56 -07:00
Rene Hopf
e0c3d05aa8 remove various python2 workarounds 2021-08-01 12:36:41 +02:00
Phillip Carter
ac03a9aeca remove redundant plasmac files 2021-08-01 10:41:26 +10:00
Rene Hopf
a2f1fddfd3
Merge pull request #1164 from LinuxCNC/master-gtk3
Master gtk3
2021-08-01 01:52:14 +02:00
Rene Hopf
86f6b61dff Merge branch 'master' into master-gtk3 2021-08-01 00:17:05 +02:00
john
3c61dfc263 Docs add axis lathe info and images 2021-07-31 07:23:56 -05:00
andypugh
acab27a90c
Docs: Typo in sendkeys manpage 2021-07-30 12:57:31 +01:00
Chris Morley
14d07b66d3 qtvcp -qt_action: remove python 2 debug print statements 2021-07-27 19:04:11 -07:00
Rene Hopf
57246b7b92 update abs parameters in test 2021-07-27 16:54:19 +02:00
Rene Hopf
7c9d834c14 add named parameters for absolute tool position 2021-07-27 16:09:41 +02:00
Phillip Carter
0d281b99f8
Merge pull request #1217 from snowgoer540/gregc/docs_1
docs: qtplasmac
2021-07-27 19:42:52 +10:00
Greg Carl
e1cbcd3364 docs: qtplasmac 2021-07-27 04:50:28 -04:00
Phillip Carter
408289e885
Merge pull request #1216 from snowgoer540/gregc/thcfeedratepin1
qtplasmac:
2021-07-27 12:03:28 +10:00
Greg Carl
6051ad3c19 qtplasmac:
create qtplasmac.thc_feed_rate pin and net to plasmac.thc-feed-rate for 
setting with the handler
remove whitespace from handler
2021-07-26 21:12:43 -04:00
Phillip Carter
3c57a16f6e qtplasmac: fix thc feed rate error for some locales 2021-07-26 11:33:59 +10:00
Chris Morley
0d6377646b qtvcp -try to have the macro widget be reasonably sized by default. 2021-07-25 15:36:09 -07:00
Chris Morley
023682a037 qtvcp -qt_action: add a return-to-mode-after MDI function
ie. a tool change requires a different strategy to catch when it's finished.
2021-07-25 15:32:34 -07:00
Chris Morley
c59e8e85b4 nc_files -update mill macro to show an image 2021-07-25 15:29:52 -07:00
Chris Morley
c25ec88e36 hal_glib: add g90/91 to messages 2021-07-24 10:12:06 -07:00
Phillip Carter
e59a56a04a qtplasmac docs: add mpg height control 2021-07-23 10:08:54 +10:00
Phillip Carter
42c38a36f5
Merge pull request #1215 from fupe/add-height-override-MPG
Add external pin for MPG arc height everride
2021-07-23 09:42:56 +10:00
Martin Kaplan
45182cec52 Add external pin for MPG height everride 2021-07-22 06:47:02 -04:00
Phillip Carter
7f512f63b4 qtplasmac: add help screen to sim panel 2021-07-20 19:57:45 +10:00
Phillip Carter
218731195b
Merge pull request #1213 from snowgoer540/gregc/probe_cancel_2
qtplasmac: various enhancements
2021-07-20 19:56:23 +10:00
Phillip Carter
1f59df3476
Merge pull request #1212 from fupe/add-external-pin-height-everride
Add external pin for qtplasmac height override
2021-07-20 19:56:15 +10:00
Greg Carl
704842ee5b qtplasmac: various enhancements
add external pins ext_height_ovr_plus, ext_height_ovr_minus, 
ext_height_ovr_reset to docs
probe test can be canceled via cycle stop or esc key
make manual cut button activate during manual cut
2021-07-20 05:06:43 -04:00
andypugh
c73b402ad5 encoder: Add missing-tooth index
This allows a single channel to supply both position and index, most likely
to be useful for IO-limited lathe configurations.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-07-19 23:23:34 +01:00
Martin Kaplan
b4f9d233b5 Add external pin for qtplasmac height override 2021-07-19 06:47:00 -04:00
Phillip Carter
e7644268d6 qtplasmac sim: add automatic probe signals 2021-07-18 17:58:16 +10:00
Phillip Carter
e01cdde539 qtplasmac: add manual cut user button
more work on button interlocking
2021-07-18 11:53:47 +10:00
D. Mueller
2b65958469 xyz[ab]c-trt.txt sims: fix offset descriptions 2021-07-17 06:50:37 -07:00
Dewey Garrett
a68cb9007e Merge remote-tracking branch 'origin/2.8' 2021-07-17 06:50:21 -07:00
Dewey Garrett
908d167679 docs: specify a working keyserver
Ref: #1209 https://github.com/LinuxCNC/linuxcnc/issues/1209
2021-07-17 06:42:54 -07:00
CMorley
72d4d047da qtvcp -qtaxis: fix python 3 debug print error 2021-07-16 23:58:07 -07:00
ChrisM
15d0e5c490 panelui -add error checks for miss-configured jogging 2021-07-16 18:40:33 -07:00
ChrisM
fbe32a4520 panelui: add error messages for trouble shooting 2021-07-16 18:34:00 -07:00
ChrisM
7e108ce3d5 qtvcp -system_too_button: add a default case 2021-07-16 18:33:11 -07:00
ChrisM
2d5be10a45 qtvcp -sceen_options: fix ZMQ errors
subscribe and publish intialization were reversed.
function calls did not parce the arguments properly.
added error messages to help trouble shooting
2021-07-16 18:24:37 -07:00
Chris Morley
1faa06b922 docs -update panelui for ZMQ messaging 2021-07-16 00:23:13 -07:00
Chris Morley
439f1da15e docs -add info about offsetview widgets
tool offset view and origin offset view now have basic docs.
2021-07-16 00:23:13 -07:00
Phillip Carter
4bdbd027b0 qtplasmac: remove debug print 2021-07-16 14:23:54 +10:00
Phillip Carter
89f08b4c65 qtplasmac: change resolution of offset comparison 2021-07-16 14:03:11 +10:00
Phillip Carter
b54a9f3bde qtplasmac: check for kinematics error in ini file 2021-07-14 15:09:09 +10:00
Chris Morley
706064b6e8 pyui: fix wrong HAL name on handler objects.
I called the handler code before checking if HAL
prefix was to be changed.
2021-07-13 20:04:50 -07:00
Chris Morley
29082e75db qtvcp -tooloffsetview/orinoffsetview: add highlight color option
can set the color of highlight/selected by function or property.
So can be set in designer or stylesheet
2021-07-13 20:00:00 -07:00
Phillip Carter
d1b8708394
Merge pull request #1208 from snowgoer540/gregc/plasmac_probetest
qtplasmac:
2021-07-13 12:12:10 +10:00
Greg Carl
54c1180810 qtplasmac:
add probe test specific error messages
update error message section of docs
2021-07-12 21:14:35 -04:00
andypugh
2e7391e3b4 Docs: New ISO
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-07-13 00:08:32 +01:00
Chris Morley
5918af4e80 pyui -add ZMQ output option
Qtvcp can listen for ZMQ output - so pyui can talk directly.
2021-07-11 20:01:49 -07:00
Dewey Garrett
7447445b2f latency-test: show info for host/kernel/date
Sometimes users post screenshot without supply much info
(and may be inadvertently running a non-realtime kernel)
2021-07-10 16:57:05 -07:00
Dewey Garrett
61bf497b88 latency-test rm dead code 2021-07-10 16:57:05 -07:00
Dewey Garrett
efdfcbad83 hal_lib.c: print hal versions if mismatch error
to aid in identifying problems typically caused
by having a RIP and a deb install with different
versions (and not sourcing rip-environment properly)
2021-07-10 16:57:05 -07:00
Chris Morley
4d3a57a406 qtvcp -toolbar_action: fix machine on action to follow state
the button wouldn't toggle if the state changed externally
2021-07-10 16:02:56 -07:00
Chris Morley
28e59aa961 qtvcp -tool dialog: force the details box to show the first time.
Qt has no easy way to do this by default!
2021-07-10 15:05:18 -07:00
Chris Morley
0dbbd44a0a qtvcp -fix system shutdown dialog choice
custon dialog buttons don't follow normal return rules.
usually the button type is returned. (qt docs say button role)
on a custom button the return is always 0.
so we return the button role instead
2021-07-10 13:31:34 -07:00
Phillip Carter
56731c3b66
Merge pull request #1207 from snowgoer540/gregc/qtdocs_clarity
docs: qtplasmac, add clarity
2021-07-10 20:48:13 +10:00
Greg Carl
66fbb13a69 docs: qtplasmac, add clarity 2021-07-10 06:12:33 -04:00
andypugh
74a8ee39f2
Docs: Latency-test, make text description match image 2021-07-09 14:23:12 +01:00
Phillip Carter
e6781529c7 pncconf: hide thcad page unless required 2021-07-08 16:36:36 +10:00
Phillip Carter
cf235ab21f qtplasmac: replace inadvertntly removed probe test error code 2021-07-08 16:36:36 +10:00
Chris Morley
c1bbabfeb8 pncconf -use mutilple POSTGUI_HALFILE entries
much neater then call lists.
gladevcp still uses call lists as it loads differently
2021-07-07 20:30:28 -07:00
Chris Morley
d5c429953d docs -add Qtvcp Panels page
As we add Builtin panels we can document them here
2021-07-07 20:30:28 -07:00
Rene Hopf
b0cbb0f9d9 fix vismach vmc toolchange config for python3 2021-07-07 13:22:52 +02:00
Rene Hopf
b3566de791 fix ci 2021-07-07 11:04:11 +02:00
Rene Hopf
32bcd9db61 Merge branch 'master' into master-gtk3 2021-07-07 09:19:06 +02:00
Rene Hopf
4608a7d6d8 Merge branch 'havardAasen-changelog' 2021-07-07 09:07:20 +02:00
Rene Hopf
89ff6269ae Merge branch 'changelog' of https://github.com/havardAasen/linuxcnc into havardAasen-changelog 2021-07-07 09:07:04 +02:00
Phillip Carter
be1cbc9c72 qtplasmac: complete documenation for external hal pins 2021-07-07 15:51:16 +10:00
Phillip Carter
c40c464a0b qtplasmac: add three hal bit output pins 2021-07-07 14:07:24 +10:00
Rene Hopf
f2434f3304 add missing includes to uspace_spawn test 2021-07-06 14:22:17 +02:00
Phillip Carter
1abaf85667 qtplasmac: fix probe test error handling 2021-07-06 15:26:27 +10:00
Phillip Carter
a2d40c3c9b qtplasmac: run from line enhancements 2021-07-06 15:02:36 +10:00
Phillip Carter
eff9da0dfe qtplasmac: change gcode filter z axis 2021-07-06 15:02:36 +10:00
Chris Morley
5e9c1df4d7 Merge branch '2.8' 2021-07-05 18:33:58 -07:00
c-morley
51ebe31b8d
Merge pull request #1203 from phillc54/phillc54/pncconf28
pncconf: multiple commits.
2021-07-05 18:33:10 -07:00
c-morley
11dde05a01
Merge pull request #1204 from phillc54/phillc54/pncconf29
pncconf: multiple commits.
2021-07-05 18:25:54 -07:00
Dewey Garrett
17886d3ee5 Merge 'origin/2.8' to master 2021-07-05 14:38:41 -07:00
Dewey Garrett
6a3d0a434e check_config.tcl: warn multiple [section]name vals
for JOINT_*,AXIS_* sections

Example:
Duplicating a [JOINT_n]MAX_LIMIT item may result in an error
for limit violation.  With this commit, a warning will precede
the error to aid in isolating the ambiguous duplicated limit
setting

Ref:
https://forum.linuxcnc.org/27-driver-boards/42972-y-axis-setup-trivkins-kinematics-error-with-max-limit#213689
2021-07-05 14:35:21 -07:00
Phillip Carter
6f0a202731 merge 2.8 into master 2021-07-05 12:24:25 +10:00
Phillip Carter
842a5137a6 pncconf: rename 7i80 hal name 2021-07-05 12:15:44 +10:00
Phillip Carter
9851451ccd pncconf: add a 7i80db and a 7i90hd firmware 2021-07-05 12:14:09 +10:00
Phillip Carter
fb90374eeb pncconf: fix dual mesa card config settings 2021-07-05 12:11:27 +10:00
Phillip Carter
2f8fa89b57 pncconf: fix all-limit-home config settings 2021-07-05 11:59:14 +10:00
Phillip Carter
f7f7abe316 prevent changelog date error 2021-07-05 11:18:22 +10:00
Dewey Garrett
0a9edf2e1e glcanon.py no warn for ';' in [DISPLAY]GEOMETRY
docs/src/config/ini-config.txt indicates indicates
GEOMETRY may include the ';' character and might define
some usage in the future (doubtful).

For now, eliminate confusing warning message.

ini-config.txt:
"Foam-cutting machines (FOAM = 1) should specify "XY;UV"
or leave the value blank even though this value is
presently ignored in foam-cutter mode.  A future
version may define what ";" means, but if it does
"XY;UV" will mean the same as the current foam
default."
2021-07-02 19:49:36 -07:00
john
6d29f1458c Merge branch '2.7' into 2.8 2021-07-02 19:14:08 -05:00
john
ee4cacf1b0 fix author name 2021-07-02 19:12:32 -05:00
oMtQB4
00a884886e
Changed wj200_vfd log to pi500_vfd 2021-07-02 21:17:12 +02:00
Dewey Garrett
1174134cee linuxcnc.in: add '-H dirname' for halfile search
close #1197

1) linuxcnc.in new option: -H dirname
   to prepend 'dirname' to search path (HALLIB_PATH)
2) linuxcnc.in update usage() message
3) update docs: ini-config.txt
4) update docs: updating-linuxcnc.txt

Revised:
  print HALLIB_PATH when '-H dirname' used
  exit if specified dirname is invalid

Note: the dirname specified with '-H dirname' may be
absolute or relative to the working directory
where linuxcnc is invoked (not necessarily the ini
config dir).  Example:
   $ cd /tmp
   $ mkdir try
   $ echo "show pin axis.z" >|try/test.hal
   $ linuxcnc -H try /somewhere/example.ini # uses test.hal
test.hal will be found as /tmp/try/test.hal
2021-07-01 05:40:09 -07:00
Chris Morley
cfe3ccef98 Merge branch '2.8' 2021-06-30 18:05:54 -07:00
Chris Morley
a17ba27b8f pncconf -raise the stepper timing maximuim to 50000 2021-06-30 18:04:41 -07:00
Sebastian Kuzminsky
a27679a578
Merge pull request #1199 from LinuxCNC/shuttle
update shuttle docs & driver
2021-06-29 18:02:05 -06:00
Phillip Carter
8246cc0ba6 qtplasmac: add ellipse to conversational 2021-06-30 10:00:50 +10:00
andypugh
f5751a5a35 Merge branch '2.8' 2021-06-29 00:20:55 +01:00
andypugh
7bd5bafeca parport: Clarify messages when parport_pc has not found the device.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-06-29 00:17:30 +01:00
andypugh
ef374ca624 Docs: Bump kernel version for RTAI in "Getting LinuxCNC"
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-06-28 15:46:22 +01:00
andypugh
616259b8a7
Merge pull request #1196 from arvidbrodin/master
Display SI standard units in halscope
2021-06-28 15:11:57 +01:00
Håvard Flaget Aasen
19f6779b88
GitHub action: Add new changelog entry during workflow.
Creates a new changelog entry with correct timestamp and distribution
before package is being built.
This will preserve the correct timestamp in the repository, while
allowing lintian to succeed when we build and test the package using
GitHub action.
2021-06-27 14:00:30 +02:00
Håvard Flaget Aasen
5dcf33c38d Revert "fix changelog date"
The timestamp was updated so the GitHub action tests passed. lintian
throws an error when the release date for the previous release, is newer
then the current release date.

This is likely to break every time the 2.8 branch gets updated and the
changelog is merged into master branch. Instead, we will update the
timestamp when we run GitHub action.

This reverts commit 7c4181bdba.
2021-06-27 13:57:59 +02:00
Håvard Flaget Aasen
6f9f5f3d71 Packaging: Minor fixes in changelog
Remove executable flag
Remove end og line whitespace
2021-06-27 13:57:51 +02:00
Chris Morley
d7a306356d changelog -try fixing again 2021-06-27 04:41:08 -07:00
Chris Morley
d3170e2472 changelog: fix bad merge
github tests failed
2021-06-26 21:32:34 -07:00
Chris Morley
36e68f75fc Merge branch '2.8' 2021-06-26 20:55:33 -07:00
Phillip Carter
1dd40c5afc qtplasmac: fix error messaging 2021-06-27 13:46:34 +10:00
Chris Morley
2493d191ba qtvcp -panel: add standalone toolchange component
This is the 2.8 version
2021-06-26 20:44:57 -07:00
Arvid Brodin
2f81b5b752 Change to greek character for micro prefix in halscope.
This required adding --from-code=UTF-8 parameter to xgettext call,
as well as fixing all the translation (.po) files. 'make pofiles'
did a bad job, sometimes auto-translating "ms" to e.g. "mm" or
just "s", so I had to check all languages. For roman languages I
assumed all follow the SI standard; for russian I managed to look
up the prefixes on ru.wikipedia.org (I hope); for the chinese
variations (CN, HK, TW) I simply used the original translations
where available.
2021-06-26 22:47:36 +02:00
Phillip Carter
dd36475edc qtplasmac: clear notification color on button press 2021-06-26 16:42:00 +10:00
Chris Morley
1777b2d978 qtvcp -add STATUS message for notify dialog buttons/ limit # displayed
if using notify dialogs, it's difficult to catch the response from the handler file.

also limit the number of displayed messages (configurable)

Phill did the hard work - I just adjusted things.
Hope I didn't break the premise
2021-06-25 21:38:00 -07:00
Chris Morley
26ec3bfcc2 qtvcp -panels: add a stand alone manual tool change dialog
This one will show the comments for the tool from the tool file.
2021-06-25 20:39:35 -07:00
Chris Morley
fb0dc8d04e qtvcp -toolchange dialog: catch some possible exceptions 2021-06-25 20:35:44 -07:00
andypugh
2b9ee91a1f
Merge pull request #1195 from satiowadahc/cw-warnings
Replacing Deprecated Flag
2021-06-25 09:01:06 +01:00
Chris Morley
1d0395489f qtvcp -fix failed tool change on certain systems
We were comparing button text and on some versions of
qt?
python?
distributions?
the comparison failed.

Now we check the button type.
2021-06-24 21:39:15 -07:00
Chris Morley
9ba67ba125 qtvcp -tooloffset view: high light current tool, selected tools
The current tool will be blue.
the selected tools will be green
2021-06-24 18:32:47 -07:00
Chris Morley
4df1326d48 qtvcp -originoffset: high light user system
Now you can know the current system
2021-06-24 18:32:47 -07:00
Phillip Carter
5310f8c6ad
Merge pull request #1198 from snowgoer540/gregc/gcode_3dec
g-code parser - limit first Z move number of decimal places to 3
2021-06-25 09:45:45 +10:00
Sebastian Kuzminsky
ec6f65e029 shuttle: finish support for Shuttle PRO2
It's much like the Shuttle PRO, but with two more buttons and a different
USB ID.
2021-06-24 17:43:12 -06:00
Sebastian Kuzminsky
992f3dedaf docs: fix out-of-date info about shuttle HAL pin names
They all begin with just `shuttle` now (like the component name), not
different HAL pin names for different shuttle devices.
2021-06-24 17:41:11 -06:00
Sebastian Kuzminsky
3dacc7ff12 docs: add a note about reloading udev rules for shuttle driver 2021-06-24 17:21:48 -06:00
Greg Carl
d64ffece68 g-code parser - limit first Z move number of decimal places to 3 2021-06-24 19:11:06 -04:00
Phillip Carter
8d6fc56d9c qtplasmac: allow hiding start, pause, and stop gui buttons
add external start/pause button
2021-06-24 13:36:52 +10:00
Arvid Brodin
c7bd2ab6a1 Display SI standard units in halscope
Fixes:

"kelvin-hertz" (KHz) -> kilohertz (kHz)
"mSec" -> ms
"uSec", "uS" -> us
"nSec" -> ns
"Mhz" -> "MHz".
2021-06-23 21:32:32 +02:00
Chad Woitas
1dfaa97e15 core - Deprecating flag 2021-06-23 08:23:38 -06:00
Chad Woitas
27efbce578 hal_glib - Replacing Deprecated Flag 2021-06-23 08:22:21 -06:00
andypugh
8abbff0025 2.8.2 Release 2021-06-22 23:29:59 +01:00
Phillip Carter
0ee9c155a9 qtplasmac: fix external abort pin
add external power pin
2021-06-22 17:21:03 +10:00
Phillip Carter
5b44f41a2a qtplasmac: add hal pins for pendants/external buttons
add pulse hal pin to user buttons
2021-06-22 14:50:30 +10:00
Phillip Carter
ab744ff651 qtplasmac: change statistics tab color on error 2021-06-22 14:27:53 +10:00
spike
82da0fab9d Fix compilation with '-Werror=format-security'
thanks, closes #1193
2021-06-21 08:27:30 -07:00
Dewey Garrett
c4671cb39f db.py fix range() usage for py3 2021-06-21 08:24:31 -07:00
andypugh
cb58a0033f
Merge pull request #1169 from alkabal/patch-1
add missing information to manual 2.8 for xhc-whb04b-6
2021-06-20 19:03:15 +01:00
andypugh
6862cce767
Merge pull request #1161 from alkabal/alkabal-patch-axis-abort
Alkabal patch add an axisui.abort pin
2021-06-20 19:02:50 +01:00
D. Mueller
325caafff4 millturn.ini sim config (new) 2021-06-19 18:22:49 -07:00
D. Mueller
4f47b88647 melfa.ini sim config (new) 2021-06-19 18:22:49 -07:00
Dewey Garrett
135b0ce522 switchable kinematics
1) Control kinematics type by hal pin: motion.switchkins-type
   The _integer_ value of this float hal pin is passed
   to the kinematicsSwitch() function to select a
   kinematics type.
2) Uses M68 (analog out) in a hal net like:
     net :kinstype-select <= motion.analog-out-0N
     net :kinstype-select => motion.switchins-type
3) Supports 3 switchable kinematic types (0,1,2)
   Switching kinstype is managed by user supplied mcodes
   that provide for interp-motion syncrhonization:
     M428/M429/M130 (remap Mcode examples)
     M128/M129/M130 (user  Mcode examples with limits updates)
4) API change for kinematics:
   All kinematics modules must export functions:
          kinematicsSwitchable() (return 1 if supported)
          kinematicsSwitch()     (return 0 if ok)
       or use macro (from kinematics.h):
          KINS_NOT_SWITCHABLE
5) Provide a template (userkfuncs.c) and support building a
   user kinematics module for RIP builds
6) Supported modules:
     xyz[ab]c-trt-kins
     pumakins
     scarakins
     genserkins
     genhexkins
     5axiskins (bridgemill)
7) file updates for src/emc/kinematics/:
     genserfuncs.c: separated out genserkins functions
     trtfuncs.c:    separated out xyz[ab]c-trt-kins functions
     userkfuncs.c:  template user kins functions
     ugenserkins.c: separated user program bin/genserkins
                    (declining support, not working)
8) Docs (asciidoc fmt): docs/src/motion/switchkins.txt

******************************************************
Initial branch 24nov19
Based on work of rushabh,plopes9000,jskangas
particularly:
https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=90#124848
******************************************************

misc updates:
  scara use 6 joints as supported by vismach scaragui

  switchkins sims: [RS274NGC]FEATURES=8 obsolete
        [RS274NGC]HAL_PIN_VARS (default is 1(enable))

  update genserkins jts 6,7,8 == u,v,w
        with appropriate [KINS]JOINTS value

  support for 5axiskins (bridgemill), refactor to:
        1) support module 'coordinates' parameter and allow duplicate
           letters for multiple joints for an axis letter
        2) support A,U,V one-to-one to assigned joint
        3) support switchkins

  puma560gui: message if missing .obj files
2021-06-19 18:22:49 -07:00
Chris Morley
fd1611493b qtvcp -fix error when using state_led/simple_widgets; hard limits
error:
TypeError: <lambda>() takes exactly 2 arguments (3 given)
do to wrong lambda signature. there were two varibles sent not one.
2021-06-18 21:35:19 -07:00
andypugh
c91968b2ea
Merge pull request #1192 from havardAasen/halscope
Halscope
2021-06-19 00:53:29 +01:00
andypugh
d36a03d05a
Merge pull request #1160 from alkabal/2.8
2.8 Typo correction Axis.py "Geometry reading" XYZBCUVW > XYZABCUVW
2021-06-18 16:03:25 +01:00
andypugh
582cbb7c15
Merge pull request #1191 from luzpaz/typos
Fix source comment typos
2021-06-18 16:01:05 +01:00
Håvard Flaget Aasen
c5d7976d0b
halscope: Update file header for miscgtk.? files.
Remove information about compatibility and older GTK version which is
not supported anymore.
2021-06-18 08:47:11 +02:00
Håvard Flaget Aasen
662aa87de5
halscope: Clean up and remove dead code from miscgtk.? files.
Remove old 'compatibility code' and the now unused dialog_generic
functions.
2021-06-18 08:47:08 +02:00
Håvard Flaget Aasen
f16badb8e5
halscope: Refactor the remaining dialog windows.
The dialog windows, consist of, and exists in these functions:
    dialog_realtime_not_linked()
    dialog_select_trigger_source()
    dialog_set_offset()
    dialog_select_source()
2021-06-18 08:47:05 +02:00
Håvard Flaget Aasen
c84e092edd
halscope: Refactor message dialog windows. 2021-06-18 08:47:01 +02:00
Håvard Flaget Aasen
5c341e4096
halscope: Pass 'NULL' to function, change function parameter to 'void'. 2021-06-18 08:46:58 +02:00
Håvard Flaget Aasen
04f67bc99e
halscope: Change website address to https 2021-06-18 08:46:23 +02:00
Phillip Carter
204d7b05b7 qtplasmac migration from plasmac 2021-06-18 12:55:53 +10:00
luz paz
e716f28359 Fix source comment typos
Found via `codespell`
2021-06-17 20:14:29 -04:00
Håvard Flaget Aasen
15f565088f
halscope: Remove end of line whitespace 2021-06-17 23:27:31 +02:00
c-morley
b47965d83f
Merge pull request #1184 from satiowadahc/cw-IEC-timers
Create IEC Timers
2021-06-16 17:04:34 -07:00
andypugh
9c9bb17f17 Python3: modsilent.py appears to need a byte string converting to a text
string in python3.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-06-17 00:35:46 +01:00
andypugh
b6e3c068b9
Merge pull request #1189 from jepler/rbf2h-python3
Rbf2h: update to python3(only)
2021-06-16 09:18:40 +01:00
Phillip Carter
5afa1cb9ef
Merge pull request #1190 from snowgoer540/gregc/qtdocs_keyboard
docs: qtplasmac add warning about disconnecting/connecting keyboard
2021-06-16 12:15:30 +10:00
Greg Carl
fd599281b6 docs: qtplasmac add warning about disconnecting/connecting keyboard 2021-06-15 19:17:54 -04:00
db76f8958c update to python3(only) 2021-06-15 16:21:12 -05:00
Chad Woitas
16b90c35ee Set Floating Point Bit 2021-06-15 12:06:56 -06:00
andypugh
26bbb98364
Merge pull request #1152 from alkabal/2.8
update 2.8 from master for xhc-whb04b-6
2021-06-15 10:26:07 +01:00
Chris Morley
83bed5fdbe qtvcp -allow DRO scaled text to be bigger
Still not nicely layed out though.
2021-06-14 23:27:22 -07:00
Chris Morley
b0c22b1d6d qtvcp -allow the tool offset toolbutton to set a particular axis
used to just set the selected axis
2021-06-14 23:27:22 -07:00
Chris Morley
b149dc61d2 hal_glib -protect against HAL component error.
In designer the HAL component might not be initialized.
2021-06-14 23:27:22 -07:00
Phillip Carter
99ca4e0a45 qtplasmac: ensure no temporary material numbers in material file 2021-06-15 14:06:59 +10:00
Phillip Carter
a1ad1e9064
Merge pull request #1186 from snowgoer540/gregc/gcode_errors
qtplasmac: G-Code parser error messages
2021-06-15 12:40:28 +10:00
Greg Carl
3aa94e44d1 qtplasmac: G-Code parser error messages
Added a specific error message for G-Code files that contain material 
numbers >= 1000000.  Tidied up some of the other error messages for 
consistency.
2021-06-14 22:16:24 -04:00
Phillip Carter
7a3db048a1
Merge pull request #1185 from phillc54/phillc54/start-error-msg
qtvcp: don't show unnecessary startup error messages
2021-06-15 12:09:12 +10:00
alkabal
604d34e9c4
full update xhc-whb04b-6 for 2.8 2021-06-15 02:09:26 +02:00
Phillip Carter
ac4ca436b6 qtvcp: don't show unnecessary startup error messages 2021-06-13 17:01:02 +10:00
Phillip Carter
3a92cfc87f qtplasmac: add machine log to statistics tab and configuration backups 2021-06-12 10:54:05 +10:00
Chad Woitas
712495ad16 Converted Timers to Floats with base unit seconds per request 2021-06-11 12:21:55 -06:00
Chad Woitas
5baee909d5 Documentation was still off 2021-06-11 08:13:21 -06:00
Chad Woitas
4ff4580867 Documentation Correction 2021-06-11 08:11:13 -06:00
Rene Hopf
f0ca7ac036
Merge pull request #1175 from jepler/nortai
debian/configure: Drop outdated support for rtai and xenomai
2021-06-11 12:38:08 +02:00
Rene Hopf
6499930b40 update python scripts in example configs for py3 2021-06-11 12:30:57 +02:00
Rene Hopf
cec035b90a fix various gtk3 deprecated warnings 2021-06-11 12:25:37 +02:00
Chad Woitas
a6f3e6e7f0 TP Added 2021-06-10 15:25:19 -06:00
Chad Woitas
9bd5bc7c24 Removing Redundant Code 2021-06-10 14:50:38 -06:00
Chad Woitas
cfafd17183 Adding T_Off Function 2021-06-10 14:50:17 -06:00
Chad Woitas
85f0353f13 Revert "Auto stash before cherry pick of "Adding T_On Timer""
This reverts commit 87860561dd.
2021-06-10 14:28:46 -06:00
Chad Woitas
87860561dd Auto stash before cherry pick of "Adding T_On Timer" 2021-06-10 14:28:17 -06:00
Chad Woitas
c35c7e41ea Adding T_On Timer 2021-06-10 14:28:07 -06:00
Phillip Carter
2080281db3 qtplasmac: migration changes 2021-06-10 16:54:27 +10:00
Phillip Carter
6fea9ae23b qtplasmac: rework migration assistant 2021-06-10 13:18:20 +10:00
Phillip Carter
bae75c8b1f remove plasmac configuration 2021-06-09 16:48:31 +10:00
Phillip Carter
99aa9b9324 docs: prep for plasmac removal 2021-06-09 12:34:18 +10:00
andypugh
aeb17483fa Touchy: Show X and Z offsets in status in lathe mode.
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2021-06-06 22:35:20 +01:00
andypugh
2b1066a13b Touchy: GTK3 fixes
This makes Touchy functional with GTK3. It still uses a number of
deprecated methods, as there seems to be a policy of all styling being
via CSS and Touchy is not really designed that way.

Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2021-06-06 22:35:20 +01:00
Norbert Schechner
d228a99d12 gmoccapy_3_1_3_10 - fix keyboard image in MDI Mode running macros
ver 3.1.3.10
- fix behavior in MDI mode running macro keyboard image
  This fixes issue #1180

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-06-06 21:29:40 +02:00
Norbert Schechner
7c42be9e43 gmoccapy_3_1_3_9 - fix issue 1177 - stop button in auto mode
ver 3.1.3.9
- added missing hal status signals to glade file to set
  button sensitive states in AUTO mode correct
  This fixes issue #1177

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-06-06 21:11:18 +02:00
3313f1004a more buildability fixing 2021-06-05 21:29:34 -05:00
1c40cd7203 allow sim/uspace args to be given anyway 2021-06-05 21:25:15 -05:00
6f285604ac debian/configure: Drop outdated support for rtai and xenomai
There are no packaged rtai or xenomai kernels available.

This does NOT drop support for building with src/configure.

It can be restored if there are ever properly packaged rtai or xenomai
kernels again.
2021-06-05 21:23:55 -05:00
2a40e89978 remove old T_BOOL workaround 2021-06-05 21:01:44 -05:00
ccdecb4c98 axis: Fix warning about comparing string literals with 'is' 2021-06-05 20:48:14 -05:00
42ccb61545 axis: Fix warnings about PY_SSIZE_T_CLEAN 2021-06-05 20:48:07 -05:00
3282ff1c1c Untested: Invoke iptables via the PATH, so it can reside in /sbin or /usr/sbin 2021-06-04 18:10:12 -05:00
28f3d59f01
Merge pull request #1173 from LinuxCNC/jepler/python3-halmodule-32bit-bug
Python3 doesn't really have 'int's anymore
2021-06-04 09:09:22 -05:00
06521dff7e Python3 doesn't really have 'int's anymore 2021-06-03 19:15:35 +02:00
667b4ead6b Python3 doesn't really have 'int's anymore 2021-06-03 11:37:53 -05:00
Rene Hopf
b9f944a35f add debian testing to debian/configure 2021-06-03 17:23:39 +02:00
Rene Hopf
bf688f182e update debian configure file for debian 11 2021-06-03 16:50:28 +02:00
Rene Hopf
271a88bf53 update platform-is-supported for python3 2021-06-03 16:46:48 +02:00
Rene Hopf
9cc2c9f7af run pyclean before packaging 2021-06-03 16:46:19 +02:00
Rene Hopf
a722715a5e run py3clean in packaging script 2021-06-03 15:43:57 +02:00
Rene Hopf
35d09fb0f2 fix format string problem in pyvcp_dial 2021-06-03 12:36:42 +02:00
Rene Hopf
2e5d1236f3 use py_compile in makefiles for syntax checking 2021-06-03 11:57:27 +02:00
Rene Hopf
43f4147ebd remove python2 references in various places 2021-06-03 11:56:24 +02:00
Jan Roters
a81d67703b Merge branch 'feature/PI500_VfD' of github.com:oMtQB4/linuxcnc into feature/PI500_VfD 2021-06-03 10:30:45 +02:00
cnc
15e63c2201 Removed timeout setting since it is not required 2021-06-03 10:29:51 +02:00
oMtQB4
63bb3c56a4 Merge branch 'LinuxCNC:master' into feature/PI500_VfD 2021-06-03 10:26:06 +02:00
cnc
f6966f2eba Merge branch 'feature/PI500_VfD' of github.com:oMtQB4/linuxcnc into feature/PI500_VfD 2021-06-03 10:16:07 +02:00
cnc
c68195f633 Cleanup, removed debug outputs 2021-06-03 10:15:17 +02:00
Rene Hopf
f44d950b49 gscreen starting with gtk3 2021-06-02 23:00:08 +02:00
Rene Hopf
c325f8f6bb Revert "rename gmoccapy glade file to avoid merge conflicts"
This reverts commit 8c18c2cff3.
2021-06-02 20:47:16 +02:00
Rene Hopf
c5182ca3dc Merge branch 'master' into master-gtk3 2021-06-02 20:39:30 +02:00
Rene Hopf
8c18c2cff3 rename gmoccapy glade file to avoid merge conflicts 2021-06-02 20:33:11 +02:00
Rene Hopf
9eada6bb3b add missing includes to halcmd 2021-06-02 20:29:05 +02:00
oMtQB4
2007a26d67 Merge branch 'LinuxCNC:master' into feature/PI500_VfD 2021-06-02 20:21:37 +02:00
cnc
ea43834fde PI500 VFD working 2021-06-02 19:48:45 +02:00
Rene Hopf
efa2fe8d8e fix building classicladder with gtk2, closes #1170 2021-06-02 15:10:10 +02:00
Chris Morley
d14c996076 Merge branch '2.8' 2021-06-02 00:50:23 -07:00
Chris Morley
33dba1af59 remap stdglue: add HAL component to fanuc tool change
now screens can read raw tool number and offset number.

fix error/message handling; can't use:

try;
except Exception as e:

remap always errors.

use something similar to:

try:
except:
    self.set_errormsg("Remap aborted")
    return INTERP_ERROR
2021-06-02 00:45:02 -07:00
Chris Morley
b966e7f025 qtvcp -toolbar library: add many actions
actions that can be connected to toolbars.
such as homing, exit, machine mode

change exit to directlky call .close() rather then use
a STATUS message
2021-06-02 00:45:02 -07:00
Chris Morley
d2ec8d7695 qtvcp -status_image_switcher: add spindle mode option
switches on g96/g97 mode
2021-06-02 00:45:02 -07:00
Chris Morley
74f543e33f qtvcp -status_label: add option to display an arbrtrary HAL object
uses HAL.get_value() function
2021-06-02 00:45:02 -07:00
Chris Morley
0371f7f923 qtvcp -add HAL reference to QComponent
Now you can use all the HAL helper functions
in widgets by using self.HAL_GCOMP_.hal.
ie.
self.HAL_GCOMP_.hal.get_value('some_pin')
2021-06-02 00:45:02 -07:00
Chris Morley
f7b0a4ba35 qtvcp -fix double selection of status options
some properties didn't cancel properly.
2021-06-02 00:45:02 -07:00
Chris Morley
6e3f47854c docs -GStat: update spindle-control-changed info
now has at-speed info and place holder for multiple spindles
(currently always 0)
2021-06-02 00:45:02 -07:00
Chris Morley
ffd2a70001 qtvcp/hal_glib :add at-speed info to message; add more status image switcher states
spindle-control-changed now has the at-speed state.
This is used in status image switcher to change images based on current spindle state.
Also added feedmode states (G93 94 95) to status image switcher
Updated other widgets to use the modified status message
2021-06-02 00:45:02 -07:00
Phillip Carter
05fde015ae qtplasmac: add custom layouts for onboard virtual keyboard 2021-06-01 09:51:17 +10:00
andypugh
48d0f05364 debian.control: Add some GTK3 runtime dependencies.
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2021-05-31 16:46:06 +01:00
andypugh
a3f6c6cc8f GladeVCP.persistence: Make compatible with Python3.
This fix probably belongs in master, but I couldn't even get any configs
which used persistence to load in master.


Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2021-05-31 13:35:49 +01:00
andypugh
208c55c12c gladevcp: Remove debugging print from hal_actions.py
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-31 12:57:56 +01:00
alkabal
c12345e928
add missing information to manual 2.8 for xhc-whb04b-6 2021-05-31 00:40:24 +02:00
Chris Morley
b7e8fc3b34 qtvcp -add g43 when reloading (g61) tool
It has been reported this is more useful
2021-05-29 09:42:55 -07:00
Chris Morley
6d4dccaf32 qtvcp -qtdragon: fix error when autoloading last program 2021-05-29 09:42:55 -07:00
Chris Morley
9e464d7be1 qtvxp -add homeall to toolbar library 2021-05-29 09:42:55 -07:00
Chris Morley
0ea563a358 qtvcp -status_image_switcher: add command and machine state options 2021-05-29 09:42:55 -07:00
Phillip Carter
109d5eee72 qtplasmac: add low cut voltage threshold 2021-05-29 17:14:34 +10:00
Phillip Carter
7f1f4d58c4 qtplasmac: conversational save
make .ngc default extension if not specified
2021-05-29 11:24:25 +10:00
Rene Hopf
d1c03395e7
Merge pull request #1167 from snowgoer540/gregc/versions1
qtplasmac: tidy versions.html
2021-05-28 15:03:17 +02:00
Greg Carl
457467c985 qtplasmac: tidy versions.html 2021-05-28 08:33:26 -04:00
Phillip Carter
7d987a54fd
Update versions.html
qtplasmac: fix versions format
2021-05-28 22:25:55 +10:00
Phillip Carter
50fc6ef149 qtplasmac: fix arc lost delay
fix arc ok in sim panel
add some comments in run from line code
2021-05-28 18:21:40 +10:00
Jan Roters
e26977d97d First adjustments for PI500 2021-05-28 01:11:57 -07:00
Chris Morley
ae7ce4edd5 Merge branch '2.8' 2021-05-26 18:17:15 -07:00
Phillip Carter
e02840b7f6 docs: add more qtplasmac contact information 2021-05-26 09:38:11 +10:00
andypugh
d4798354a6 Fixed a faulty merge resolution
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-25 23:27:15 +01:00
andypugh
0a64af6b04 Merge branch '2.8' 2021-05-25 23:01:02 +01:00
Chris Morley
b49b304edc qtvcp -cam_align panel: allow selection of camera number
and some basic error handling of the camera number
2021-05-25 12:16:00 -07:00
Chris Morley
e1c1007455 qtvcp -camview: fix camera selection
One could not select the camera number.
2021-05-25 12:16:00 -07:00
Chris Morley
ab3760a7de qtvcp -fix command line user option
In master we switched to -o (from -U) so we follow that.
add the code to pass the info to the handler file.
2021-05-25 12:16:00 -07:00
Rene Hopf
04fd615549 fix pointer hide and show in touchy 2021-05-25 00:57:09 +02:00
Rene Hopf
7f6f81f0fc fixed hal_sourceview for gtk3 2021-05-25 00:27:44 +02:00
Rene Hopf
6b06733b90 fix mousewheel zoom in gremlin 2021-05-24 16:39:54 +02:00
Rene Hopf
db7dc77a37 hal_dial.py: gtk3 changes 2021-05-24 15:57:07 +02:00
Rene Hopf
2b580c1af7 jogwheel.py: gtk3 changes 2021-05-24 15:56:57 +02:00
Rene Hopf
21551d00d0 fix touchy bool preferences 2021-05-24 15:56:05 +02:00
Rene Hopf
252ac45f0b
Merge pull request #1166 from havardAasen/gtk3-packaging
Gtk3 packaging
2021-05-23 22:34:15 +02:00
Håvard Flaget Aasen
88b894ed09
Python3: Changed some obvious Python2 syntax.
Needed to get the build going.
2021-05-23 21:38:08 +02:00
Håvard Flaget Aasen
0040bfd607
Packaging: Change distrubution to focal
Made to please lintian..
2021-05-23 21:30:50 +02:00
Håvard Flaget Aasen
78123225db
Packaging: Change to dh_python3. 2021-05-23 21:12:06 +02:00
Håvard Flaget Aasen
a69b725668
Packaging: Fix some Python3 dependencies, and a missing comma. 2021-05-23 20:52:27 +02:00
Rene Hopf
f516f46d61 fix dialog.py 2021-05-23 19:36:02 +02:00
Norbert Schechner
ebc3e7780d Merge branch 'master-gtk3' of https://github.com/LinuxCNC/linuxcnc.git into master-gtk3 2021-05-23 19:23:28 +02:00
Norbert Schechner
d2d7d5d65c gmoccapy - enable auto mode
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 19:22:47 +02:00
Rene Hopf
e6bf3d5241 fix dependencies for python3 2021-05-23 19:20:28 +02:00
Rene Hopf
d42e0faf95
Merge pull request #1165 from rene-dev/master-gtk3
fix xembed
2021-05-23 18:55:00 +02:00
end
3bbb2f52fe fix xembed czechnology 2021-05-23 18:47:35 +02:00
Rene Hopf
2d4c69cd33 change ci to 20.04 2021-05-23 18:00:07 +02:00
Rene Hopf
86f620c1a2 remove broken yapps dependency 2021-05-23 17:12:53 +02:00
Rene Hopf
c8074d7a00 add debug output to mk-build-deps 2021-05-23 17:06:19 +02:00
gmoccapy
2e58fb153c gmoccapy_3_1_3_8 - command hide allows to hide any element of the GUI
ver 3.1.3.8
- changed the hide command to be able to hide any element of the GUI

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-23 15:40:08 +02:00
gmoccapy
9a4d9c016a gmoccapy_3_1_3_8 - command hide allows to hide any element of the GUI
ver 3.1.3.8
- changed the hide command to be able to hide any element of the GUI

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-23 15:39:07 +02:00
Rene Hopf
ef91a0d187 update debian configure for python3 2021-05-23 15:28:59 +02:00
Rene Hopf
c35fc99aca Merge branch 'master' of github.com:LinuxCNC/linuxcnc into master-gtk3 2021-05-23 15:07:46 +02:00
Rene Hopf
88a2c5af9c clean up gremlin.py imports 2021-05-23 15:05:11 +02:00
Rene Hopf
9a7125fc9b restore gmoccapy_postgui.hal from master 2021-05-23 15:00:35 +02:00
Rene Hopf
a26dd01728 add python3-xlib to dependencies 2021-05-23 14:59:35 +02:00
Rene Hopf
37afe6d896 restore glnav and glcanon from master 2021-05-23 14:30:35 +02:00
Rene Hopf
6cd43f52e6 remove trace and bak files 2021-05-23 14:29:32 +02:00
Rene Hopf
5756b71c13 remove extra swapbuffers 2021-05-23 13:47:26 +02:00
end
45464b204b double buffering 2021-05-23 13:30:35 +02:00
gmoccapy
7e5d615734 gmoccapy_3_1_3_7 - bug in embedding customer tabs
ver 3.1.3.7
- bug in embedded tabs, setting box_tool_and_gcode_info"
  as location did hide also the overrides, that was not correct.
  as we do need to hide them i.e. for plasma, I introduced a new
  feature. If you just enter hide as vommand in INI file, the
  corresponding widget will be hidden, without replacing the content.

  Thanks Jasen for reporting

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-23 13:10:42 +02:00
gmoccapy
53b9fc4bdb Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2021-05-23 13:09:20 +02:00
gmoccapy
7a4c8477d6 gmoccapy_3_1_3_7 - bug in embedding customer tabs
ver 3.1.3.7
- bug in embedded tabs, setting box_tool_and_gcode_info"
  as location did hide also the overrides, that was not correct.
  as we do need to hide them i.e. for plasma, I introduced a new
  feature. If you just enter hide as vommand in INI file, the
  corresponding widget will be hidden, without replacing the content.

  Thanks Jasen for reporting

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-23 13:09:13 +02:00
end
102cf6ceb6 fix double swapping buffers 2021-05-23 12:47:39 +02:00
end
73257436de gremlin renders now always 2021-05-23 03:22:38 +02:00
end
1b9d8046e8 Merge branch 'master-gtk3' of github.com:rene-dev/linuxcnc into master-gtk3 2021-05-23 03:16:09 +02:00
end
c65b52a10c YOLO 2021-05-23 03:16:05 +02:00
Rene Hopf
d9fff7de35 fix configparser import 2021-05-23 03:10:26 +02:00
Tim Blume
4a1045b75b yolo 2021-05-23 02:49:29 +02:00
Rene Hopf
f16963b9a7 fix merge errors 2021-05-23 02:38:04 +02:00
Rene Hopf
28b27e65e3 Merge branch 'master' into master-gtk3 2021-05-23 02:19:18 +02:00
Rene Hopf
0d9aa58451 touchy: fix postgui bug, fix config, glib timers 2021-05-23 01:28:22 +02:00
Norbert Schechner
7a0ae0b5e3 gmoccapy_3_3_3_4_2 fixed some RGBA color bugs
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:22 +02:00
Rene Hopf
78f55e6b1f lathehandler.py: gtk3 compatibility 2021-05-23 01:28:22 +02:00
Rene Hopf
aa128aa788 xembed.py: fix gtk warnings 2021-05-23 01:28:22 +02:00
Rene Hopf
40364ec4dc removed note about legacy bug 2021-05-23 01:28:22 +02:00
Rene Hopf
6ec0c97a67 gladevcp: cleanup 2021-05-23 01:28:21 +02:00
Norbert Schechner
2d09678360 gmoccayp closing onboard keyboard
better, but not fully reliable, need to be done in an other way

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:21 +02:00
Norbert Schechner
c3a414ea34 touchy corrected locale settings
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:21 +02:00
Norbert Schechner
c33458e903 gmoccapy - dobble code line in gettext localisation
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:21 +02:00
Norbert Schechner
2a86cd7358 touchy import as changed to just be import
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:21 +02:00
Norbert Schechner
3d576c0928 Touchy import of Gtk and Gdk without version control
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:20 +02:00
Norbert Schechner
12e45ca39a gladevcp.py import of Gtk without requiere Version
and changed import as to just import of Gtk and Gdk
GObject is not needed in this file, so I commented it out

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:20 +02:00
Norbert Schechner
0a90fee694 offsetpage_widget - forgot to enable the timer with the last push and solved deprecated message
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:20 +02:00
Norbert Schechner
3ff874f949 gmoccapy deprecated warning in timer_add
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:20 +02:00
Norbert Schechner
ca7829ee0c Offsetpage widget - fix cell can not be edited
This is only the first step, there are still some stuff to do.
May be even rewrite the complete widget.

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:20 +02:00
Norbert Schechner
393eeb6f65 gmoccapy_3_3_3_4_1 - exceptions dialog used deprecated format
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:19 +02:00
Norbert Schechner
f1abd16921 CombiDRO - deleted unused lines
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:19 +02:00
Norbert Schechner
c488651fcc gmoccapy_3_3_3_4 - hide cursor now working
This fixes issue #951

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:19 +02:00
Norbert Schechner
7f0f8eb1da minor code corrections after fixing onboard 2021-05-23 01:28:19 +02:00
Norbert Schechner
05fadfc5a6 gmoccapy_3_3_3_3_1 - onboard closing without error
This finally fixes issue #949

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:18 +02:00
Norbert Schechner
980d441d69 gmoccapy_3_3_3_3 - onboard did not close closing gmoccapy
this fixes: #949
onboard keyboard stays open after gmoccapy is closed.

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:18 +02:00
Norbert Schechner
69e75579c1 hal_mdi_history : Icon OK was not shown
this fixes issue #952

Strange, that it is not possible to start hal_mdi_history
with python command import error from hal_action

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:18 +02:00
Norbert Schechner
9828ad1410 gmoccapy_3_3_3_2 - edit button error corrected
This close: Issue #953
program edit button not working in gmoccapy in gtk3 #953

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:18 +02:00
Norbert Schechner
7d2d7d3d9c gmoccapy 3.3.3.1
- changes release number to distinguish better
- DRO now do react on changes from settings page
- first changes to use RGBA not RGB
- DRO Size can be adjusted
- for preferences we use HEX colors, all other colors should be RGBA
- introduced helper function to convert colors, IMHO should be in an own module

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:28:15 +02:00
Norbert Schechner
77095c31d0 gmoccapy.glade file
adjustment for DRO font size ws limited to 48 py,
corrected that to be again 96

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:27:56 +02:00
Norbert Schechner
d79a3db4c9 CombiDRo now working with RGBA colors and CSS Style
finally got it done, some times clicking fast, will result in not all
parts of the DRO are colored as they should


Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:27:56 +02:00
Rene Hopf
6d3af3aab3 persistence.py: gtk3 compatibility 2021-05-23 01:27:56 +02:00
Rene Hopf
451b96ddf9 gladebuilder.py: rename gtk to Gtk 2021-05-23 01:27:56 +02:00
Rene Hopf
8e58370dec fix colors in hal_bar 2021-05-23 01:27:56 +02:00
Rene Hopf
8e44197089 dialogs.py: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
927730fae7 tooledit_widget: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
b5e402f6ac status_label: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
05e687bb59 state_label: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
93da1f6bc9 speedcontrol: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
25a40fa5d6 overridewidget: fix gtk warnings 2021-05-23 01:27:55 +02:00
Rene Hopf
17ccf31e46 offsetwidget: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
9f39ee7ab0 offsetpage: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
eef6c2e91f macro_widget: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
55349ca8d9 led: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
0ca4a96798 hal_widgets: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
93693a360a hal_sourceview: fix gtk warnings 2021-05-23 01:27:54 +02:00
Rene Hopf
c623de3a27 hal_pyngcgui: fix gtk warnings 2021-05-23 01:27:53 +02:00
Rene Hopf
0e6b080776 hal_mdihistory: fix gtk warnings 2021-05-23 01:27:53 +02:00
Rene Hopf
9093a16cdb hal_lightbutton: fix gtk warnings 2021-05-23 01:27:53 +02:00
Rene Hopf
386f4dbbea gremlin: fix gtk warnings 2021-05-23 01:27:53 +02:00
Rene Hopf
de8a6557ed hal_graph: fix gtk warnings 2021-05-23 01:27:53 +02:00
Rene Hopf
8917712b3a hal_bar: fix gtk warnings 2021-05-23 01:27:52 +02:00
Rene Hopf
51aa1920f4 hal_actions: fix gtk warnings 2021-05-23 01:27:52 +02:00
Rene Hopf
3f3810c9f8 drowidget: fix gtk warnings 2021-05-23 01:27:52 +02:00
Rene Hopf
5124578e8c calculator: fix gtk warnings 2021-05-23 01:27:52 +02:00
Rene Hopf
88d3b0bd52 hal_glib.py: fix gtk warnings 2021-05-23 01:27:47 +02:00
Norbert Schechner
1118207b2c combi_dro now the DRO is right justified
Missing the ability to change font sizes and colors at this state

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:25:28 +02:00
Rene Hopf
07e41d9f3b hal_meter.py: gtk3 changes 2021-05-23 01:25:12 +02:00
Norbert Schechner
0ef5ed0c5a gmoccapy bug in assigning axis letter
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:24:36 +02:00
Norbert Schechner
1d87f7f055 hal_sourceview do not import as gtk / gobject, but Gtk and GObject
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:23:09 +02:00
Norbert Schechner
9ef854ab2c hal_mdi_history - not import as gtk, bus import Gtk, etc
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:23:09 +02:00
Norbert Schechner
1603099a3f combi_dro - use CSS Style
changed the code to use the new CSS style. and cleaned up,
so that the code is not duplicated.

ToDo: Find out how to modify existing style classes,
      as that is needed to modify the colors
      from an external code

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:23:09 +02:00
Norbert Schechner
1d24346ff2 label for loaded file was not working due to a mistake from RENE-DEV 2021-05-23 01:23:05 +02:00
Norbert Schechner
3217fea2a4 we did not want to show the label number of the messages 2021-05-23 01:22:40 +02:00
Norbert Schechner
ef4533e63d Changed hal_sourceview to gtksourceview to enable run code in auto mode 2021-05-23 01:22:40 +02:00
Norbert Schechner
d64c7b85fd Key Control Mask corrected 2021-05-23 01:22:40 +02:00
Norbert Schechner
b7e6c47ed1 deleted not used sleep import 2021-05-23 01:22:40 +02:00
Norbert Schechner
8d326349a8 uncommented wrongly commented lines in tool change connections from gmoccapy toolchange dialog 2021-05-23 01:22:40 +02:00
Norbert Schechner
6ba298061f changes due to defect dialog 2021-05-23 01:22:39 +02:00
Norbert Schechner
99401a8918 dialogs delete MDi now working 2021-05-23 01:22:39 +02:00
Norbert Schechner
c85d215c56 view button now same size 2021-05-23 01:22:39 +02:00
Norbert Schechner
f9421729bd speedcontrol funktioniert nun fein 2021-05-23 01:22:39 +02:00
sync
680fb1b597 fix button operation 2021-05-23 01:22:39 +02:00
sync
492c58629b fix button label warning, fix adjustment warning 2021-05-23 01:22:38 +02:00
sync
8927a7577f fix colors 2021-05-23 01:22:38 +02:00
sync
bec6a0445b started fixing speedcontrol.py 2021-05-23 01:22:38 +02:00
Norbert Schechner
25c6d1d346 no font changes at this state 2021-05-23 01:22:38 +02:00
Norbert Schechner
3bd4cfc53a pixbuf corrected to get icons on button 2021-05-23 01:22:38 +02:00
Norbert Schechner
bb3ac50bd3 dpppelkllick bei MDI geht nun 2021-05-23 01:22:37 +02:00
Norbert Schechner
e13ba72ec0 combi dro funktioniert nun fein 2021-05-23 01:22:37 +02:00
Rene Hopf
8fad21b812 changed lxml dependency to python3 2021-05-23 01:21:44 +02:00
Rene Hopf
ebb06c5661 changed a2x syntax to be compatible with 9.0.2 2021-05-23 01:20:48 +02:00
Norbert Schechner
1cface73ee some corrections
- iconview
- gmoccapy
- notification

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:19:23 +02:00
Rene Hopf
84671f7b78 package with python3 2021-05-23 01:19:21 +02:00
Rene Hopf
e6e2c60738 build on ubuntu 20.04 2021-05-23 01:16:58 +02:00
Norbert Schechner
f8f367328e iconview on btn selected corrected
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:16:06 +02:00
Norbert Schechner
5f294d0be5 iconview corrected
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-23 01:16:05 +02:00
Rene Hopf
06eff5e80b yapps fix 2021-05-23 01:15:38 +02:00
Rene Hopf
2a2e242377 changed python dependencies to python3 2021-05-23 01:15:38 +02:00
Rene Hopf
8b8be13488 change default python to python3 2021-05-23 01:15:37 +02:00
Rene Hopf
4315058a0c removed debug print in axis 2021-05-23 01:15:29 +02:00
Rene Hopf
d4e42bdc20 added libepoxy to dependencies 2021-05-23 01:14:58 +02:00
Rene Hopf
498dc19223 touchy gtk3 port 2021-05-23 01:14:37 +02:00
Norbert Schechner
2afa01b440 Jog increment button corrected 2021-05-23 01:12:28 +02:00
Rene Hopf
1132406395 fix combi dro 2021-05-23 01:11:21 +02:00
Rene Hopf
f1bed86b5c change masks to gtk3 syntax, fix icon warnings 2021-05-23 01:10:30 +02:00
Rene Hopf
083366aa97 fix Invalid icon size warning 2021-05-23 01:09:44 +02:00
andypugh
1711bd50ce Depends: Don't Reccomend an already-Depended package
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-23 01:05:20 +02:00
andypugh
6a69cff774 Docs: Needed placeholder files after all.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-23 01:04:04 +02:00
andypugh
09fb6265b0 Docs: Using _en docs as placeholders in DOC_SRCS_ES triggers warnings
Remove them

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-23 01:04:01 +02:00
andypugh
89d835051c Launchers: "Encoding" prompts deprecation warning, remove it.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-23 01:03:05 +02:00
andypugh
13827bb7a0 Packaging: Silence some warnings from dh_shlibdeps.
As the things being warned about appear to be put of our control.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-05-23 01:03:05 +02:00
Håvard Flaget Aasen
f7bd25127f Fix minor typos in man-page 2021-05-23 01:03:04 +02:00
Håvard Flaget Aasen
3bf81b60c3 Add whatis entry 2021-05-23 01:03:04 +02:00
Håvard Flaget Aasen
ff28995663 Rename man-page from gs2.1 -> gs2_vfd.1 2021-05-23 01:01:47 +02:00
Rene Hopf
616717e918 tooledit_widget ported to gtk3 2021-05-23 00:57:07 +02:00
Rene Hopf
7d50144e2c port gladevcp xembed to gtk3 2021-05-23 00:56:44 +02:00
Rene Hopf
928047db2f remove unused pygtk import 2021-05-23 00:54:27 +02:00
Rene Hopf
82659e8c36 update search path for glade3 2021-05-23 00:54:02 +02:00
Rene Hopf
dd95e08979 gtk3 wip 2021-05-23 00:51:14 +02:00
Phillip Carter
b07bf12f9e qtplasmac: add long pulse to torch pulse function 2021-05-20 10:08:33 +10:00
Rene Hopf
2ff6c6bde1
Merge pull request #1156 from LinuxCNC/gtk3-halscope
change halscope to Gtk3
2021-05-19 18:46:23 +02:00
Rene Hopf
336ab2d4f3 instructions how to install gtk3 when missing 2021-05-19 18:13:13 +02:00
Rene Hopf
7c4181bdba fix changelog date 2021-05-19 17:37:23 +02:00
alkabal
025e37936c
Alkabal patch add an axisui.abort pin documentation 2021-05-18 21:13:44 +02:00
alkabal
af05f21738
Alkabal patch add an axisui.abort pin 2021-05-18 20:43:51 +02:00
alkabal
e965a86ba7
Typo correction Axis.py "Geometry reading" XYZBCUVW > XYZABCUVW
Master branch use XYZABCUVW
2021-05-18 20:33:39 +02:00
andypugh
0ad07e8675
Merge pull request #1159 from jepler/locale-independent-rs274ngc
rs274: Temporarily force the LC_NUMERIC setting to C as needed
2021-05-17 17:53:48 +01:00
d7666adb7d rs274: Temporarily force the LC_NUMERIC setting to C as needed
Code in the gcode interpreter assumes that number parsing/formatting
is done according to the C locale, as gcode part programs always use
"." as the decimal separator.

However, some of the user interfaces set the LC_NUMERIC to the user's
locale and then call into the interpreter to prepare previews of the
part program.

The last time I addressed this, it was by changing one routine to work via
an ostringstream, which is not affected by locales by default.
This time I took a different approach, which is to temporarily force the
LC_NUMERIC to C at entry to certain functions, and to restore it on exit.

If UIs or other embedders of the interpreter also use threads, they
must use `uselocale` to switch from program-wide to per-thread locale
settings, or the behavior of their program becomes undefined.

This hopefully fixes multiple bugs in affected locales, and closes #1158.
However, I did not actually set up a testing environment that would allow
me to check it.  Additionally, saving & restoring parameters will now
take place in the C locale.
2021-05-17 07:36:22 -06:00
john
7df0583734 Docs add info on loading halscope 2021-05-16 08:31:58 -05:00
Norbert Schechner
380bcd3b25
Merge pull request #1157 from litti/patch-1
Update de.po

IMHo some translations are not longer used, i.e. use screen 2.
I will check that later and may be do an additional push

@litti thanks for your support!
2021-05-16 12:09:09 +02:00
André Litfin
1da85fa73e
Update de.po
fix some typos, use more appropriate translations
2021-05-16 11:55:58 +02:00
Peter Wallace
6f04d0f7cb Add standard encoder shared stepgen/encoder index pin text 2021-05-15 18:00:45 -07:00
Rene Hopf
c47b7ea8c2 change CI to ubuntu 18.04 2021-05-16 01:48:42 +02:00
Rene Hopf
fedf320119 add gtk3 dependencies, change linking to gtk3 2021-05-16 01:41:12 +02:00
Peter Wallace
234afc5243 Fix a few Typos + ommision in YX2 section 2021-05-15 16:10:19 -07:00
Håvard Flaget Aasen
d5fb5b76e9 halscope: Fix deprecation warnings when compiling with GTK3 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
0518fafa2c halscope: Use inline css to set color for channel select buttons 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
8c1befadec halscope: Port the rest to GTK3. The code that didn't fit anywhere else 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
002ef2eb0d halscope: Use cairo to draw the oscilloscope window
Change from GdkDrawable to cairo. This also uses GdkRGBA over GdkColor.
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
3688a3af23 halscope: Use cairo to draw the horizontal trigger window
Dropping the gnome_canvas ifdef since this is deprecated
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
c965e3a5f4 halscope: Change 'Select Channel Source' dialog
To select a new source, a row has to be double-clicked or selected and
pressed enter on the keyboard. This is a change, since previously it was
enough with a single click.
It is easier to search for the correct item, the functionality is also
identical to that in halmeter.

We stopped using the dialog_generic_t struct. Most of the functionality we
used is built in GTK now, so we're using that instead.
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
ffd379bbe2 halscope: Use accessor functions instead of direct access 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
663a58358e halscope: Replace various deprecated functions. 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
73db3b150e halscope: Replace various signals and callbacks 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
04b401fd8a halscope: Replace Select Channel Source, CList to TreeView
Replaces CList with a TreeView in the "Select Channel Source" dialog
window. Search functionality is built-in, and it now correctly finds the
previously selected item.

GTK2 and GTK3 compatible
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
8e405c2c0f halscope: Replace trigger source, CList to TreeView
Compatible with GTK2 and later, replace deprecated CList with TreeView
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
4c89376148 halscope: Replace threads, CList to TreeView
Port to GTK2, replace deprecated clist with TreeView
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
5278eff978 halscope: Replace deprecated window functions
The new gtk_widget_set_size_request sets the minimum size.
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
6eee98eec2 halscope: Replace File/Open and File/Save dialog window
This replaces the open/save dialog which is now called GtkFileChooser.

For the save dialog, it will now prompt if the user tries to overwrite
an existing file. I have also replaced the function "halscope_suffix"
with a built in file filter. This was also added for the "Save Data
File" dialog.
2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
1dcfdb1c9e halscope: Replace deprecated gtk_radio_button functions 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
c531cb430c halscope: Replace deprecated gtk_menu functions 2021-05-16 01:09:47 +02:00
Håvard Flaget Aasen
b54b2a51ab halmeter: Port to GTK3
Replaces deprecated functions. halmeter will now only work with GTK3.

The most significant change is that TreeView has replaced CList.
2021-05-16 01:09:47 +02:00
Chris Morley
67c5880273 qtvcp -fix signature of moved from_internal_linear_unit function
forgot to ad self
2021-05-15 03:39:28 -07:00
Phillip Carter
81b848db7c qtplasmac: make helper files use build python version 2021-05-15 16:46:37 +10:00
Chris Morley
a466b65a69 qtvcp -get foam programs to display better 2021-05-14 16:08:05 -07:00
alkabal
64d87af2df
update 2.8 from master for xhc-whb04b-6 2021-05-14 22:07:42 +02:00
gmoccapy
65503ba214 german translations - some additions and corrections
Too big file to check all entries :-(

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-14 19:38:23 +02:00
gmoccapy
6fbcc86c72 corrected minor translation errors
Signed-off-by: gmoccapy <nieson@web.de>
2021-05-14 18:28:34 +02:00
Norbert Schechner
4c419bbbb7 gmoccapy_translations - corrected some errors reported by hansu
- correction of glade file naming moccapy instead of gmoccapy
- updated German translation file
- updated Spanisch translation file
- rebuild fr, hu, pl, sr and zh_CN po files

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 18:16:39 +02:00
Norbert Schechner
ee642c241a gmoccapy_3_1_3_6 - unnecessary ERROR string
ver 3.1.3.6
- get rid o some "ERROR" strings in translation file
  as the error type is displayed as ICON in self._show_error

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 18:16:11 +02:00
Norbert Schechner
44fbc7b207 gmoccapy_3_1_3_5 - wrong translation System Theme bug
ver 3.1.3.5
- wrong translation of "Follow System Theme" leaded to a wrong
  theme when loading the GUI.
  Will correct the translation files with a different commit

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 18:15:58 +02:00
Norbert Schechner
49dba2d0b8 gmoccapy_3_1_3_4 - pause button also sensitive, if no program was running
ver 3.1.3.4
- PAUSE button was active, even if no program was running

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 18:15:21 +02:00
Norbert Schechner
2d432f7f94 gmoccapy_3_1_3_3 - pause a program - enable gcode preview
ver 3.1.3.3
- pause a program would not allow to jog through the gcode preview
  gcode preview will no be enabled if program is paused, only scrolling,
  it is not possible to edit or select a line!

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 18:13:32 +02:00
andypugh
b7d58bd524
Merge pull request #1024 from kiall/2.8-axis-error-pin
AXIS: Add an axisui.error pin
2021-05-14 15:06:56 +01:00
Norbert Schechner
ac61c241e6 translations - fixed moccapy / gmoccapy errors
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 11:51:36 +02:00
Norbert Schechner
d42e994987 gmoccapy_translations - corrected some errors reported by hansu
- correction of glade file naming moccapy instead of gmoccapy
- updated German translation file
- updated Spanisch translation file
- rebuild fr, hu, pl, sr and zh_CN po files

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 11:40:36 +02:00
Norbert Schechner
83e6e39ea7 gmoccapy_3_1_3_6 - unnecessary ERROR string
ver 3.1.3.6
- get rid o some "ERROR" strings in translation file
  as the error type is displayed as ICON in self._show_error

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 10:19:05 +02:00
Norbert Schechner
69fe5b61e2 gmoccapy_3_1_3_5 - wrong translation System Theme bug
ver 3.1.3.5
- wrong translation of "Follow System Theme" leaded to a wrong
  theme when loading the GUI.
  Will correct the translation files with a different commit

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 10:02:49 +02:00
Norbert Schechner
2c72a56808 gmoccapy_3_1_3_4 - pause button also sensitive, if no program was running
ver 3.1.3.4
- PAUSE button was active, even if no program was running

  Thanks to hansu for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 09:38:46 +02:00
Norbert Schechner
c964455a44 gmoccapy_3_1_3_3 - pause a program - enable gcode preview
ver 3.1.3.3
- pause a program would not allow to jog through the gcode preview
  gcode preview will no be enabled if program is paused, only scrolling,
  it is not possible to edit or select a line!

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-05-14 09:15:27 +02:00
Phillip Carter
7c81df1d44 revert commit 52feebf0c 2021-05-14 13:08:05 +10:00
Phillip Carter
52feebf0c2 qtplasmac: ensure gcode parser uses build python version 2021-05-14 11:39:57 +10:00
andypugh
f77989abc7
Merge pull request #542 from Solitarily/2.8
Modify the Submakefile that extracts the POT file.
2021-05-14 00:05:32 +01:00
andypugh
238296bbc2
Merge pull request #1049 from alkabal/patch-6
xhc-whb04b-6 add is-homed hal pin
2021-05-14 00:02:18 +01:00
andypugh
882ec297f5
Merge pull request #1087 from luzpaz/typos-docs-tests
fix typos in docs/ and tests/
2021-05-14 00:00:23 +01:00
andypugh
381bbfeb5d
Merge branch 'master' into typos-docs-tests 2021-05-14 00:00:13 +01:00
andypugh
186e4da234
Merge pull request #1145 from phillc54/test/plasma-firmware
pncconf: add plasma firmwares for 5i25, 7i76e, 7i92, and 7i96
2021-05-13 23:56:17 +01:00
andypugh
e8f69ef490
Merge pull request #1151 from snowgoer540/gregc/getting_doc
docs: fix typo
2021-05-13 23:56:02 +01:00
alkabal
837c444195
merge master 2021-05-14 00:16:23 +02:00
Greg Carl
70d8473ad7 docs: fix typo 2021-05-13 15:31:33 -04:00
andypugh
da81e8ac17 Merge branch '2.8' 2021-05-13 19:44:03 +01:00
Chris Morley
8ffdadd2fb docs: update python module for operator message functions 2021-05-13 06:13:38 -07:00
c-morley
e41b0d43fd
Merge pull request #1029 from hansu/change-calc-buttonsize
calculator.glade: increased button size for touchscreens
2021-05-13 05:45:42 -07:00
Hans Unzner
082010ae3e calculator widget: removed two debug messages 2021-05-13 14:40:38 +02:00
gmoccapy
2ad48d814a gmoccapy_3_1_3_2 - jog increment change during auto mode misbehavior
ver 3.1.3.2
- change og gmoccapy hal pin gmoccapy.jog.jog-inc-N leaded to an
  aboart() command, so changing that pin i.e. in AUTO mode stops
  Spindle and program execution. That is not the expected behavior.

  I changed this to not throw any error, just change silently the
  jog-increment to the selected one. Just not allowing this, would lead
  to an unsynchronized system between hardware and GUI

  Thanks to ZincBoy for reporting this misbehavior

Signed-off-by: gmoccapy <nieson@web.de>
2021-05-13 12:43:32 +02:00
Phillip Carter
bdbf8ea398 add some files to qtvcp install script 2021-05-13 15:26:06 +10:00
Phillip Carter
39a1f3c6eb qtplasmac: remove python shebangs, version is set by build 2021-05-13 15:26:06 +10:00
Chris Morley
e2820b0f4b linuxcnc module: add python operator message functions
modify emctaskmain to always display messages.
I think that previously, messages were only on the interp_list,
so had to wait for motion to finish?
Now they are immediately processed.
Not sure if that's a problem for Gcode defined messages...
2021-05-12 17:21:16 -07:00
Phillip Carter
d2db30402f qtplasmac: fix pmx485 unicode error 2021-05-12 13:23:36 +10:00
Phillip Carter
5aefc19c48 qtplasmac: comment out temporary module reload 2021-05-12 10:50:13 +10:00
abe2ae0ed8
Merge pull request #1041 from jepler/fifo-null-termination
uspace_rtapi_app: Ensure string is NUL-terminated
2021-05-11 15:31:27 -05:00
andypugh
cf8ebfe3a5
Merge pull request #743 from LinuxCNC/unsupport-old-distros-in-master
unsupport old distros in master
2021-05-11 13:16:15 +01:00
andypugh
9a26e69fe4
Merge pull request #958 from ChrisNisbet01/tune_command_locking_bug_fix
halcmd: fix "tune" command locking.
2021-05-11 13:15:17 +01:00
andypugh
3a7468023b
Merge pull request #987 from alkabal/2.8
Revert bad change inside driver XHC-WHB04B-6 lcnc 2.8
2021-05-11 00:56:40 +01:00
andypugh
56428e5ad5
Merge pull request #1139 from hansu/iocontrol-doc-master
docs: fixed merge errors
2021-05-10 21:27:11 +01:00
andypugh
ad607f03e0
Merge pull request #1138 from hansu/iocontrol-doc
docs: reworked iocontrol/io/iov2 man pages part 2
2021-05-10 21:26:38 +01:00
NhanPham
9922b1426d Update hostmot2.9 2021-05-10 21:21:35 +01:00
NhanPham
d6cf7ccc2e Fix: update manual SSI 2021-05-10 21:21:35 +01:00
NhanPham
faa5b35301 Update abs_encoder.c 2021-05-10 21:21:35 +01:00
john
18f727b5fb Merge branch '2.8' 2021-05-08 08:19:48 -05:00
john
d92d84e1a3 add info on installing mesaflash 2021-05-08 07:30:09 -05:00
e88d491598
Merge pull request #1149 from LinuxCNC/jepler/thread-names
uspace: rtapi: set useful process titles
2021-05-07 21:28:35 -05:00
Phillip Carter
482bf1ec47 qtplasmac: allow multiple temporary materials 2021-05-08 11:11:21 +10:00
Jeff Epler
84e4c2e816 uspace: rtapi: set useful process titles
This allows the realtime threads to be easily distinguished from the
utility threads with `ps`:
```
$ ps -C rtapi_app H -o tid,comm
  TID COMMAND
31568 rtapi_app
31569 rtapi_app:mesg
31570 rtapi_app:T#0
```
(though one can also follow the rule that the first two are the utility
threads and the following are the realtime threads from fastest to
slowest)

pthread_setname_np is nonportable but a cursory search shows it's available
on Linux and FreeBSD.
2021-05-07 11:48:23 -05:00
Phillip Carter
cf7babec50 docs: fix qtplasmac thcad calculations 2021-05-06 14:34:06 +10:00
Phillip Carter
d820aafe7a qtplasmac: inhibit M3 & M5 in MDI mode 2021-05-05 20:14:33 +10:00
Phillip Carter
2dea977ece qtplasmac: various changes
conversational rotate code enhancement
conversational scale add offset capability
conversational change auto preview
conversational add more error checking
fix Z height for metric/imperial cross loading
fix bounds checking for metric/imperial cross loading
change the plasmac wrenches
2021-05-05 14:50:52 +10:00
Phillip Carter
fa9495918b pncconf: add plasma firmwares for 5i25, 7i76e, 7i92, and 7i96 2021-05-02 09:54:48 +10:00
Phillip Carter
9227497559
Merge pull request #1136 from phillc54/phillc54/stepconf-homing
stepconf: prevent limit swich errors when all home switches selected
2021-05-02 09:23:31 +10:00
Phillip Carter
6db089628f
Merge pull request #1144 from snowgoer540/greg/qtplasmac_docs
docs: qtplasmac image update and other minor changes
2021-05-02 09:21:39 +10:00
Phillip Carter
199722e3dd plasmac component code tidy 2021-05-02 09:20:35 +10:00
Greg Carl
96bac7f3f8 docs: qtplasmac image update and other minor changes 2021-05-01 09:10:24 -04:00
Phillip Carter
f997c778b2 qtplasmac: reorder conversational shapes 2021-05-01 17:03:32 +10:00
Phillip Carter
25111b15c8 remove man1/sendkeys.1 and add to .gitignore 2021-04-30 16:51:48 +10:00
Phillip Carter
a377650320 qtplasmac: add scale shape to conversational 2021-04-30 14:02:51 +10:00
Phillip Carter
1e01b9c838 qtlasmac: fix halpin name error 2021-04-29 14:59:17 +10:00
Rene Hopf
81da98db3e
rx_mode typo in hm2_uart_setup 2021-04-29 00:05:09 +02:00
Phillip Carter
8bfe7196bb
Merge pull request #1142 from snowgoer540/gregc/conv_except
qtplasmac: more conversational entry checks and error message tidying
2021-04-28 19:00:40 +10:00
Greg Carl
e29b1f20ce qtplasmac: more conversational entry checks and error message tidying 2021-04-28 04:38:01 -04:00
Rene Hopf
cdb69dd941 add missing import 2021-04-27 10:53:47 +02:00
Phillip Carter
edd7a328dd
Merge pull request #1141 from snowgoer540/gregc/qtplasmac_updates
qtplasmac: various enhancements
2021-04-26 10:23:57 +10:00
Greg Carl
9d56e3e4ed qtplasmac: various enhancements
conversational interlock for unsaved/unsent shapes
change button text for all dialogs
tidy up messages
add more validity checks for custom user buttons
more conversational entry checks
2021-04-25 19:37:36 -04:00
andypugh
808409424c
Docs: Spindle example, fix a some minor errors 2021-04-25 17:28:32 +01:00
Rene Hopf
997174b2f5 change tostring to tobytes, to fix error with py3 2021-04-25 14:40:39 +02:00
Phillip Carter
d0829b95a3 fix mode 2 thc velocity in plasmac component 2021-04-23 16:31:58 +10:00
Phillip Carter
8507181dcd qtplasmac: validate all conversational entries
reset conversational when returning
fix conversational bolt circle leadin/leadout
2021-04-22 13:29:42 +10:00
Phillip Carter
75ad4d9b25 qtplasmac: fix user buttons not executing multiple codes 2021-04-22 11:23:52 +10:00
Phillip Carter
d25eff4ea7
Merge pull request #1140 from snowgoer540/gregc/bounds_error_docs
qtplasmac: fixes/docs
2021-04-22 11:18:40 +10:00
Greg Carl
88cce734bb qtplasmac: fixes/docs
update bounds_check to prevent errors due to language issues
doc updates to explain returning to the default styling and to fix typos
2021-04-21 20:32:26 -04:00
Hans Unzner
5f1500ccef docs: fixed merge errors
Partly regarding this commit: 2dbb2f640f
2021-04-21 20:29:19 +02:00
Chris Morley
2e75b091a2 qtvcp -screenoptions: trap error when reading error channel
Was a report of crash when error channel buffer was not available.
Possibly caused by closing designer on a running system.
2021-04-20 22:08:54 -07:00
Phillip Carter
d079fce777 qtplasmac: various fixes
validate leadins in conversational
fix user buttons gcode code validation
fix user buttons external code validation
fix typos and remove redundant code
2021-04-21 14:27:08 +10:00
Phillip Carter
6691077961 stepconf: correct scale for arc-voltage encoder 2021-04-19 14:02:37 +10:00
Phillip Carter
f3de108bf0 pncconf: remove plasma arc-voltage from inputs 2021-04-19 14:02:37 +10:00
andypugh
1c11906e2b Merge branch '2.8'
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-04-18 12:15:49 +01:00
Hans Unzner
2f2442d2d4 docs: reworked iocontrol/io/iov2 man pages part 2 2021-04-18 12:41:22 +02:00
andypugh
1429b94ced Cocs: Typo in iov2.1
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-04-18 10:52:04 +01:00
andypugh
78a9bceaeb
Merge pull request #1127 from hansu/iocontrol-doc
docs: reworked iocontrol/io/iov2 man pages
2021-04-18 10:41:41 +01:00
Phillip Carter
a316f2dd48 qtplasmac: fix jog keys/buttons for any joint sequence 2021-04-18 14:40:26 +10:00
Phillip Carter
8253886651
Merge pull request #1137 from snowgoer540/gregc/conv-torch
qtplasmac: various improvements
2021-04-18 09:44:19 +10:00
Greg Carl
674d9fec59 qtplasmac: various improvements
conversational: prevent error if leading zero is omitted for lead in 
field
conversational: add material info to preview window
conversational: add kerf width to material info
align torch pulse code with probe test code
doc updates for clarity
2021-04-17 13:27:19 -04:00
Phillip Carter
e77c92446b stepconf: prevent limit swich errors when all-home-switch selected 2021-04-17 16:53:14 +10:00
Chris Morley
e3ecc25948 nc_files -add a PDF setup file example for 3d_chips
Qtdragon can load HTML and PDF setup file automatically.
This is a sample to test with.
2021-04-16 21:29:40 -07:00
Phillip Carter
11255025fa qtplasmac: add keyboard jog keys for fifth axis 2021-04-17 13:00:51 +10:00
Phillip Carter
6d5f73915c
Merge pull request #1125 from phillc54/phillc54/stepconf_tandem
stepconf: add tandem joints for x and y axes
2021-04-16 16:27:33 +10:00
Chris Morley
d297bf0726 qtvcp -qtdragon/hd: load pdfs with system program
some users have pdf setup files - now they can load them
in qtvcp using the system program.
In the future we can load them inside qtvcp - need python 3
2021-04-15 21:20:44 -07:00
Chris Morley
b7fcc93c03 qtvcp -dialogs/screenoptions: tool dialog update
add a change-button HAL pin for external acknowledgement.
add a property for frame/frameless windws. ie window header/controls
add a property for selecting desktop notify for toolchange acknowledgement
revamp dialog geometry code to default to center, but still record changes
for next time.

moify screenoptions to expose the new options
2021-04-15 20:02:25 -07:00
Chris Morley
21a6f825fb qtvcp -notify: add a specific tool change notify message 2021-04-15 19:41:56 -07:00
Chris Morley
54af50bca3 qtvcp -notify: fix callback and spelling mistake 2021-04-15 17:12:05 -07:00
Phillip Carter
57833f598a qtplasmac: add fifth axis 2021-04-15 15:02:50 +10:00
Phillip Carter
2262dbe2e5 qtplasmac: fix a axis gui jogging 2021-04-15 12:28:14 +10:00
Phillip Carter
21b8cb696b qtplasmac: fix jog stop error when manual cutting 2021-04-15 11:22:58 +10:00
Phillip Carter
282d563615 qtplasmac: allow dro to move to top in 16:9 and 4:3 formats 2021-04-14 13:59:01 +10:00
Phillip Carter
1c8577c043 qtplasmac: validate user button code 2021-04-14 13:42:46 +10:00
Phillip Carter
b269f10400 qtplasmac: use qtvcp autorepeat enable/disable 2021-04-14 13:38:11 +10:00
Phillip Carter
f213a24a68 stepconf: add tandem joints for x and y axes 2021-04-14 11:58:55 +10:00
Phillip Carter
f6a1cfbc1b
Merge pull request #1134 from snowgoer540/gregc/bounds
qtplasmac: various enhancements
2021-04-14 10:32:03 +10:00
Greg Carl
3abcb7ed9f qtplasmac: various enhancements
bounding check now handles gcode that contains only X or only Y 
movements without error
added the distance outside of the limits to the bounds error message(s)
added exception handling to the m190 script to prevent erroneous errors 
in terminal
minor docs changes
2021-04-13 19:59:00 -04:00
andypugh
3a28ac7b92 Merge branch '2.8' 2021-04-12 19:36:19 +01:00
andypugh
86b4f1e4cc dlipflop: Add an inverted output pin, like the classic D-type latch
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-04-12 19:31:25 +01:00
john
270825498f Merge branch '2.8' 2021-04-12 08:12:34 -05:00
john
3545970481 fix typo 2021-04-12 08:11:55 -05:00
john
5ae4a2c31a Merge remote-tracking branch 'origin/2.8' 2021-04-12 06:54:27 -05:00
Phillip Carter
718ffbf84b
Merge pull request #1133 from snowgoer540/gregc/docs-arc-on-time
docs: qtplasmac document recently added rs485 pmx arc on time feature
2021-04-12 12:27:14 +10:00
Chris Morley
6dd5c9ac59 docs -halmodule: add description for get_info methods
get info_pins(), get_info_signals(), get info_params()
gets info on HAL system
In the future we could add more info without breaking programs
2021-04-11 17:34:23 -07:00
Chris Morley
ce7a1fc3ea halmodule: add pin/sig/param info methods
find a current list of dics of hal pins
listdict = get_info_pins()
pinname = listdict[0].get('name')
pinvalue = listdict[0].get('value')

find a list of signal/parameter names:
listdict = get_info_signals()
name = listdict[0].get('name')
value = listdict[0].get('value')

listdict = get_info_params()
name = listdict[0].get('name')
value = listdict[0].get('value')
2021-04-11 17:34:22 -07:00
Chris Morley
fc8944ed01 qtvcp -qtaxis: fix typing filename in file dialog, when list pops
suggestion list qould interupt typing in the file name.
2021-04-11 10:28:09 -07:00
Chris Morley
cfc49a6499 qtvcp -styleseditor: only show side link if it's available 2021-04-11 10:26:53 -07:00
Chris Morley
d9ad73e7b6 qtvcp -filedialog: add sidebar quick links to the user directory 2021-04-11 10:19:26 -07:00
Chris Morley
b1921c26b4 qtvcp -gcodeeditor: get the full filename after saving edit
If a user enters a new filename without an ending ACTION.SAVE_PROGRAM
added .ngc and this was not added to the originaly returned name from
the filedialog so caused an error when reloading then file into linuxcnc.
2021-04-11 10:16:30 -07:00
Chris Morley
91a86d2775 qtvcp -qt_action: return a filename after saving file
A filename passed to the function can have an ending added automatically.
if the save was succesful, the name is returned with the ending.
the ending can be specified.
In this way functions after saving can get the full/right filename
2021-04-11 10:12:23 -07:00
Greg Carl
47103a734d docs: qtplasmac document recently added rs485 pmx arc on time feature 2021-04-11 11:20:27 -04:00
john
d45413f60d Merge branch '2.7' into 2.8 2021-04-11 08:09:08 -05:00
john
69c4d11e85 add iov2 documentation 2021-04-11 08:07:09 -05:00
Phillip Carter
d4ed11e176
Merge pull request #1132 from snowgoer540/gregc/debounce_message
qtplasmac: remove unnecessary debounce messages
2021-04-11 11:54:38 +10:00
Phillip Carter
744b13c01b
Merge pull request #1131 from snowgoer540/gregc/esc-fix
qtplasmac: fix abort via escape key
2021-04-11 11:54:32 +10:00
Phillip Carter
3b547ae064
Merge pull request #1130 from snowgoer540/gregc/docs-dash-fix
docs: plasmac - fixed wrong dash type used
2021-04-11 11:54:26 +10:00
Greg Carl
aa46cea86a qtplasmac: remove unnecessary debounce messages 2021-04-10 20:22:15 -04:00
Chris Morley
9a646a2dff qtvcp -fix wrong key number in DISABLE_AUTOREPEAT_KEYS function 2021-04-10 17:14:22 -07:00
Greg Carl
0dbe291ea3 qtplasmac: fix abort via escape key 2021-04-10 19:56:29 -04:00
Greg Carl
0ef1045d64 docs: plasmac - fixed wrong dash type used 2021-04-10 18:54:20 -04:00
Chris Morley
efdb6c9cd0 qt5_graphics -use our own basic lighting to control transparency
Qt reacted differently to the basic lighting used in Axis.
Gtk uses slightly different ones to.
So now we use our own

Now the cone and tools are transparent even looking from the top.
It seems ambient light setting on the material was set too high.
2021-04-10 14:53:49 -07:00
Chris Morley
18cccee9da qtvcp mdi_history: don't wrap scrolling at end of list
I tried to like it but - nope
2021-04-10 10:08:39 -07:00
Chris Morley
699f6e9202 qtvcp -add function for disabling key repeating on the system
On some systems, the repeat rate is uneven causing keyboard jogging problems.
2021-04-10 10:08:39 -07:00
Chris Morley
472310a6c1 qtvcp -fix cone transparency for qtvcp
in qtvcp this is required for the cone to be transparent.
Strangley Axis doesn't need this even though we are using the same function.
Could this could be because of the lower down libraries used?
Axis use mingl qtvcp use qt opengl
Seems not to hurt Axis display anyways.
2021-04-10 10:08:39 -07:00
Phillip Carter
387f41d1df
Merge pull request #1129 from snowgoer540/gregc/pmx485-test
qtplasmac: add arc on time to pmx485-test, fix fault display
2021-04-10 22:41:39 +10:00
Greg Carl
4dc582aba4 qtplasmac: add arc on time to pmx485-test, fix fault display 2021-04-10 07:52:20 -04:00
Phillip Carter
959d658f40 qtplasmac: doc thcad image replace 2021-04-10 16:19:56 +10:00
Phillip Carter
37be548a7c qtplasmac: installation changes due to pncconf & step conf changes 2021-04-10 14:36:13 +10:00
Phillip Carter
b4d194e0e1 qtplasmac: remove autorepeat kludge, use key inhibit instead 2021-04-10 14:36:13 +10:00
Phillip Carter
74aacc72fc qtplasmac: add bounds test on program load 2021-04-10 14:36:13 +10:00
Phillip Carter
ab80ce8e3f qtplasmac: add time count to torch pulse
add some additional button interlocking
2021-04-10 14:36:13 +10:00
andypugh
7e32964c57
Merge pull request #1128 from arvidbrodin/master
Display SI-standard time unit in latency-histogram.
2021-04-09 10:49:56 +01:00
Arvid Brodin
9f64c489e4 Display SI-standard time unit in latency-histogram.
latency-histogram uses a mix of uS and uSec as units of time. But
large case S is the unit Siemens, and second should never be
shortened to "sec" or "Sec".

This patch changes to [greek letter mu]s in the GUI but uses "us" in
the terminal, since not all terminals support UTF-8.
2021-04-09 11:08:53 +02:00
Hans Unzner
3b3b3224ec docs: reworked iocontrol/io/iov2 man pages 2021-04-08 20:05:39 +02:00
Phillip Carter
069eeba048
Merge pull request #1126 from snowgoer540/gregc/keyboard-focus
fix keyboard losing focus under certain circumstances
2021-04-08 08:50:43 +10:00
Greg Carl
ca6232f011 fix keyboard losing focus under certain circumstances 2021-04-07 16:49:41 -04:00
Phillip Carter
ff7dd11a68
Merge pull request #1116 from phillc54/phillc54/stepconf
stepconf: add qtplasmac
2021-04-07 13:38:23 +10:00
Phillip Carter
7436a7aeaf
Merge pull request #1115 from phillc54/phillc54/pncconf
pncconf: add qtplasmac
2021-04-07 13:37:36 +10:00
Phillip Carter
862c15d492 pncconf: add qtplasmac 2021-04-06 20:36:30 +10:00
Chris Morley
d2e2104fae Merge branch '2.8' 2021-04-05 15:58:16 -07:00
Chris Morley
dc57fc5bd4 pncconf -fix inverting of steppers, in the tune axis test 2021-04-05 15:51:44 -07:00
Chris Morley
7f8ea71961 qtvcp -qtaxis: move message control buttons
toolbar buttons are much easier to use on a touch screen
2021-04-05 03:43:52 -07:00
Chris Morley
9863a8524f qtvcp -qtaxis: switch jog buttons around - match Axis 2021-04-05 03:43:28 -07:00
Chris Morley
713b9317fe qtvcp -qtaxis: change controls for lathe configs
lathes need jogging keys different and only show limited views.
2021-04-05 03:42:20 -07:00
Chris Morley
c05a9e8ea4 pyui -make momentary state change more error proof
sometimes a quick switch transition will cause the button
state to be inverted. This tries to avoid that be
setting the states based on pressed vrs released rather then
inverting state on press and release.
2021-04-05 03:39:40 -07:00
Chris Morley
afb57bc58b pyui -fix commands for joints/axis changes
If you tried to use the jog functions it would fail.
2021-04-05 03:39:40 -07:00
Chris Morley
e17b7a95db qtvcp -qtaxis: change controls for lathe configs
lathes need jogging keys different and only show limited views.
2021-04-05 02:16:01 -07:00
Chris Morley
fed8da8971 pyui -make momentary state change more error proof
sometimes a quick switch transition will cause the button
state to be inverted. This tries to avoid that be
setting the states based on pressed vrs released rather then
inverting state on press and release.
2021-04-05 02:10:40 -07:00
Chris Morley
b116dfc602 pyui -fix commands for joints/axis changes
If you tried to use the jog functions it would fail.
2021-04-05 02:09:13 -07:00
Phillip Carter
399ee8b72d stepconf: add qtplasmac 2021-04-05 15:11:28 +10:00
Phillip Carter
bf079b854b qtplasmac: fix unused torch pulse button error 2021-04-05 12:33:25 +10:00
Chris Morley
d95d0108ed docs -update about multiple postgui hal files 2021-04-04 11:06:55 -07:00
Chris Morley
59415419e1 gmoccapy -allow multiple postgui files
run one after another, in the order they appear in the INI
2021-04-04 10:14:37 -07:00
Chris Morley
a6f76d6cfe gscreen -allow multiple postgui files
run one after another, in the order they appear in the INI
2021-04-04 10:14:37 -07:00
Chris Morley
769151af7a touchy -allow multiple postgui files
run one after another, in the order they appear in the INI
2021-04-04 10:14:36 -07:00
Chris Morley
a62766e584 axis -allow multiple postgui files
run one after another, in the order they appear in the INI
2021-04-04 10:14:29 -07:00
Chris Morley
c4bf4ca624 qtvcp -stylesheet editor: improve selection process
add short cuts on side panel.
add filters for only stylesheets
use non native dialog
2021-04-02 16:29:53 -07:00
Chris Morley
4b8fad9183 Merge branch '2.8' 2021-04-01 23:33:09 -07:00
Chris Morley
12fb56f8f8 Merge branch '2.7' into 2.8 2021-04-01 23:32:55 -07:00
Chris Morley
8789861ebc docs -fix gladevcp code example format 2021-04-01 23:32:22 -07:00
Phillip Carter
4f9122f467 qtplasmac / plasmac: fix thc velocity 2021-04-02 11:37:09 +11:00
Chris Morley
c6aaa78f8c hal_glib -set hardlimits message on forced update
otherwise if hard limits are tripped on start up, a message isn't sent
2021-04-01 14:43:22 -07:00
Chris Morley
317d8b64fa qtvcp -limit notify messages to 10 on screen at once
other wise you can't clear them as the buttons are not visible
2021-04-01 14:42:11 -07:00
Chris Morley
8b43501322 qtvcp -fix saving of resource file
The resource file is compiled from the qrc file on demand.
In a installed version of linuxcnc, one can;t save the
compiled file back where the default qrc file is, without
being root.
Now we add a qtvcp directory to the users's config folder
and put the compiled resource file there.
2021-04-01 12:45:54 -07:00
andypugh
70e7180a2b
Merge pull request #1050 from hansu/mb2hal
Mb2hal: added debuglevel 'DBGMAX'
2021-03-31 22:02:13 +01:00
andypugh
51e1ad4300 Merge pull request #1096 from ZincBoy/master
Addresses bug #368, stop on probe
2021-03-31 22:00:28 +01:00
andypugh
ff7ef16f47
Merge pull request #1096 from ZincBoy/master
Addresses bug #368, stop on probe
2021-03-31 21:57:22 +01:00
McCodie
86df9b8158 Update command.c
Fix double check accuracy.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-31 21:50:39 +01:00
andypugh
088b38fab1
Merge pull request #993 from comradekingu/patch-1
Docs README reworked
2021-03-31 21:29:15 +01:00
andypugh
bb36b9a3e8
Merge pull request #989 from mark-v-d/master
Make sure initial move is executed for calling the sub.
2021-03-31 21:26:26 +01:00
andypugh
8a3aaaa8ff Merge branch '2.8' 2021-03-31 20:10:57 +01:00
Chris Morley
8df8c7a82e qtvcp qtdragon/hd: rmove unused function
This code has been replaced by code inside the dro widget
2021-03-31 08:38:58 -07:00
Chris Morley
953d8acd59 qtvcp -qtdragon/hd: fix individual axis unhoming
because of an earlier property change fom homed to isHomed,
the axis would automatically start homing rather then just unhome
2021-03-31 08:34:03 -07:00
CMorley
6812b488d1 qtvcp -qtdragon: remove debug print that broke python3 2021-03-31 07:22:10 -07:00
Chris Morley
d1d119f630 qtvcp -qtdragon/hd: make limits override follow external settings
now I needed to make it follow when the limits override is set
externally too - a notify message can be used to set the override.
2021-03-31 01:11:43 -07:00
Chris Morley
428f9298ec qtvcp -screenoptions: catch hard limit errors specifically
So now we show a specific notify message for hard limit errors.
This is so you can override the limits and turn the machine back on
with one button press.
2021-03-31 01:09:22 -07:00
Chris Morley
288849918e qtvcp -qt_action: switch to a temparary message for limits overriden 2021-03-31 01:07:40 -07:00
Chris Morley
b6dec5fb2f qtvcp -notify: add a message for hard limit error
We can override the limits and restart the machine directly
with this.
2021-03-31 01:05:44 -07:00
Chris Morley
5877cc5dcb qtvcp -sys_notify: don't error if callback is none 2021-03-31 00:58:26 -07:00
Hans Unzner
450dabe191 calculator wigdet: clear text area on new calculation 2021-03-31 08:47:13 +02:00
Chris Morley
4cd3e6ef8b qtvcp -use a constant name for temparary messages
makes it easier to understand the purpose.
Most messages must acknowldged, temparary one disapear after 2 seconds
2021-03-30 23:40:05 -07:00
Chris Morley
0c308bd1fe qtvcp -qtdragon/hd: make overriding limits less confusing
The override limits check button would not always be in synch with
linuxcnc. linuxcnc does not have a way to specicifically set the
override state, only toggle it.

between this and the machine on button color not following linuxcnc state,
could make it very confusing what was on or off.

Also linuxcnc override_limits seems to work slightly different in homed
vrs not homed state. In homed state the override stays active after a jog,
in not homed state, linuxcnc automatically sets the machine off and sets
the override off.

In qtvcp, when the hard limits are cleared, we automatically set
limits override to off.
2021-03-30 23:25:13 -07:00
Chris Morley
a897b2a637 qtvcp -qtdragon/hd: have the machine on button style follow linuxcnc state
It used to follow the button state, which can be out of synch to linuxcnc.
This gives the user a confusing color hint.
2021-03-30 23:21:30 -07:00
Hans Unzner
deb5bc8a0a calculator widget: added Calculations for Inch <--> mm, added backspace button 2021-03-30 20:19:47 +02:00
Hans Unzner
881a0dd482 calculator widget: fixed two errors belonging to locale options
with locale=de_DE:
- entering for exampe (1,5) results in an error
- pressing the "="-button multiple times when an number with a comma is displayed results in multipliying the result by 10
2021-03-30 20:19:47 +02:00
Hans Unzner
88c1b74c60 gmoccapy entry dialog: Increased Ok and Cancel Button height, adjusted spacing of calculator.glade 2021-03-30 20:19:47 +02:00
Hans Unzner
bcb6c939b9 calculator.glade: increased button size for a better experience with touchscreens 2021-03-30 20:19:26 +02:00
andypugh
81a16a1fdd Correct some erroneous permissions.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-29 19:21:54 +01:00
andypugh
0863d435c2 Docs: Note the namespace confusion between the spindle pins created by the
"motion" HAL component, and those of the "spindle" HAL component.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-29 19:21:34 +01:00
Phillip Carter
8580e14e41 qtplasmac: fix offset calc in conversational shapes 2021-03-29 12:29:26 +11:00
Phillip Carter
c604e2cf83
Merge pull request #1119 from snowgoer540/gregc/pmx_chagnes
qtplasmac: add pmx readins and stats to statistics tab
2021-03-28 15:34:29 +11:00
Greg Carl
aea684aec3 qtplasmac: add pmx readins and stats to statistics tab 2021-03-27 22:34:32 -04:00
andypugh
ef0cd62ea3 Merge branch '2.8' 2021-03-27 21:23:47 +00:00
andypugh
b4943ffc5f Merge branch '2.7' into 2.8 2021-03-27 21:21:20 +00:00
andypugh
3bba67f14b Docs: Correct pin direction 14 in the parallel port docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-27 21:20:21 +00:00
Chris Morley
9f37879219 qtvcp -origin/tool_offsetview: fix text dialog input
for entering text one can have a keyboard dialog popup
2021-03-26 03:13:32 -07:00
Chris Morley
bb1e8498b7 qtvcp -origin/tool_offsetview: make text templates a property.
If you wish to change the template of number, for instance to add
significant digits, you can now set the property for imperial or metric
2021-03-26 03:03:35 -07:00
Chris Morley
a9cfbf8686 qtvcp -don't change the machine mode when presetting run-from-line attributes
run-from-line uses MDI code to set spindle settings before running.
If you applied these before actually running from line,
it changed the mode from auto to MDI.
2021-03-26 02:33:21 -07:00
Chris Morley
0957e53705 qtvcp -allow multiple postgui files specified in the INI
Easier to organize some code - probably should change all other GUIs too
2021-03-26 02:29:18 -07:00
Phillip Carter
342111e137 qtplasmac: fix button layout on 16x9 and 4x3 2021-03-26 10:21:24 +11:00
Phillip Carter
f9744b3f59 qtplasmac: add machine name to titlebar
make color picker modal and consistent
2021-03-25 17:36:35 +11:00
Phillip Carter
46d857205d
Merge pull request #1113 from snowgoer540/gregc/qtdocsupdate5
qtdocs: clarity update, typo update
2021-03-24 11:03:25 +11:00
Greg Carl
e6ed3c8286 qtplasmac: remove multi-tool references and fix typo 2021-03-23 18:03:27 -04:00
Phillip Carter
36eca1e5b0 qtplasmac: add close dialog option 2021-03-23 14:31:24 +11:00
Chris Morley
ff57a3ab9e qtvcp -screenoptions: don't pop error message if clode dialog mising
If the close dialog is not available but the close popup is requested,
an error message showed. Now it silently just closes.
2021-03-22 19:50:05 -07:00
Phillip Carter
e214788507 qtplasmac: fix missing THC feed rate 2021-03-22 12:41:13 +11:00
andypugh
946b3bbfb3 Merge branch '2.8' 2021-03-20 19:24:10 +00:00
andypugh
9e63230c7b sendkeys: Remove debug print. Correct docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-20 19:23:22 +00:00
andypugh
16b9003148 Merge remote-tracking branch 'origin/2.8' 2021-03-20 19:16:23 +00:00
andypugh
05f82e72ab Revert "docs: Experimentally unescape the hyphens in man1/halui"
This reverts commit 02387e36e8.

The fix was to switch the documets building buildslave to Buster.
2021-03-20 19:14:44 +00:00
andypugh
d59dc4e2a8
sendkeys: Manpage erroneously has "loadrt"
Change to "loadusr"
2021-03-20 19:11:02 +00:00
Phillip Carter
e6aec2fd29 qtplasmac: fix mode 2 led signal names 2021-03-20 17:37:35 +11:00
Phillip Carter
aff44d63f3 qtplasmac: fix laser hal pin net error 2021-03-19 14:49:02 +11:00
Phillip Carter
4bb3ff71ff qtplasmac: add laser hal pin to setup
fix pmx485 path
2021-03-19 14:27:15 +11:00
Phillip Carter
c9224672ee
Merge pull request #1110 from snowgoer540/gregc/qtvcp_notify
qtvcp: make notification button labels consistent
2021-03-16 13:19:43 +11:00
Phillip Carter
5320ab81e0 qtvcp: pstat paths not needed for designer 2021-03-16 13:16:35 +11:00
Phillip Carter
27782a91b3 docs: qtplasmac index and user buttons 2021-03-16 11:53:20 +11:00
Greg Carl
9f2a42fb8d qtvcp: make notification button labels consistent 2021-03-15 15:20:42 -04:00
Phillip Carter
9a08707b94
Merge pull request #1109 from snowgoer540/gregc/qtdocsupdate4
qtplasmac: tidy up conversational and docs
2021-03-15 19:59:13 +11:00
Greg Carl
16ce969a53 qtplasmac: tidy up conversational and docs 2021-03-15 04:16:07 -04:00
Phillip Carter
c35b860b24
Merge pull request #1107 from snowgoer540/gregc/docupdates3
qtplasmac: tidy up the docs
2021-03-14 12:48:09 +11:00
Phillip Carter
6d6fc4f030 qtplasmac: pre-release tidy up and conforming #1 2021-03-14 12:45:47 +11:00
Greg Carl
31ffa75caa qtplasmac: tidy up the docs 2021-03-13 20:20:34 -05:00
andypugh
2adf6cf9f9
Merge pull request #1105 from hansu/po-readme
updated po readme
2021-03-13 22:02:29 +00:00
Norbert Schechner
6d243848e2 gmoccapy_3_1_3_1 - mot taking care of kinstype BOTH
- when used trivkins together with kinstype=BOTH, there was no
  joint jog buttons, as this way of using trivkins is not recommended
  nor useful. Even so a user might want to use that config so I
  changed gmoccapy to display in this case the joints jog button
  Thanks to Clive S and mucy007 for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-13 14:24:01 +01:00
Norbert Schechner
e2f961be4e Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2021-03-13 13:53:37 +01:00
Hans Unzner
3559dbb008 updated po-readme 2021-03-13 11:04:19 +01:00
Phillip Carter
843a3b57f9
Merge pull request #1104 from snowgoer540/gregc/qtdocsupdate2
qtplasmac: doc updates and clarifications
2021-03-12 14:40:50 +11:00
Phillip Carter
bb5fe2ecd3 qtplasmac: additional user buttons 2021-03-12 14:40:09 +11:00
Greg Carl
7a1cfe32c0 qtplasmac: doc updates and clarifications 2021-03-11 21:39:53 -05:00
Chris Morley
390c933f89 qtvcp -qtdragon/hd: add tooltip for file path 2021-03-10 13:47:46 -08:00
Phillip Carter
ca78e6af16
Merge pull request #1103 from snowgoer540/gregc/qtdocupdates1
qtplasmac: doc updates
2021-03-10 14:44:54 +11:00
Phillip Carter
8235960571 qtplasmac: put all helper scripts in bin directory 2021-03-10 14:44:25 +11:00
Greg Carl
e145a628a4 qtplasmac: doc updates 2021-03-09 20:12:48 -05:00
Phillip Carter
7ee835dc73 qtplamac: forgot to update version 2021-03-09 17:45:06 +11:00
Phillip Carter
d7377006b7 qtplasmac: clear plot after framing
fix migrator radiobutton height
make helper scripts more consistent
2021-03-09 17:43:50 +11:00
Phillip Carter
c1ad578970
Merge pull request #1102 from snowgoer540/gregc/qtdocedits1
qtplasmac: docs update add plasmac2qt text, clarify framing
2021-03-09 12:38:56 +11:00
Phillip Carter
05842ca9f5 qtplasmac: add framing 2021-03-09 12:36:21 +11:00
Phillip Carter
49021c5fe7 qtplasmac: add plasmac to qtplasmac migration tool 2021-03-09 12:03:17 +11:00
Phillip Carter
13a17889ad qtplasmac: fix material file case sensitivity 2021-03-09 12:01:43 +11:00
Greg Carl
d590bbe191 qtplasmac: docs update add plasmac2qt text, clarify framing 2021-03-08 19:54:43 -05:00
Phillip Carter
e2965f42d8 qtvcp: fix install script 2021-03-08 17:09:16 +11:00
Phillip Carter
773ad2e04f
Merge pull request #1101 from snowgoer540/gregc/qtdocs-framing
qtplasmac: docs update to add framing and keyboard shortcuts
2021-03-08 13:29:43 +11:00
Greg Carl
f2f1ec1ee1 qtplasmac: docs update to add framing and keyboard shortcuts 2021-03-07 21:03:19 -05:00
Phillip Carter
5360b7c39a qtplasmac: fix float and ohmic trip errors
fix esc for manual cut
more button interlocking
2021-03-08 12:31:22 +11:00
Norbert Schechner
b8ce6c8230 gmoccapy_translations - new translation files
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 18:14:51 +01:00
Norbert Schechner
fe70ffd0a7 gmoccapy_3_1_3 - added dialog to save changes
ver 3.1.3
- added a dialog asking the user to save changes
- when in min screen resolution the editing page was wrong formated
  while using German language, because of too long strings
  Thanks to Hans470 for reporting this bugs

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 17:50:12 +01:00
Norbert Schechner
dbfff6a956 gmoccapy/notifications - corrected wrong format style
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 17:44:49 +01:00
Norbert Schechner
37b3431a5b hal_sourceview - added change signal
- Added a signal to emit changed, this way GUI can react
  to that signal and ask the user if he want to save
  the changes made.

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 17:43:38 +01:00
Norbert Schechner
ea734727b2 gmoccapy_translation - some words was to long in German translation
- Added some line brakes to show correct in min screen
  resolution. Bug has been reported by hansu (Hans470)
  Thanks for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 14:16:27 +01:00
Norbert Schechner
66106a67d8 gmoccapy_3_1_2_3 - going back from file load leaded in fullsize preview
- when going back from file loading menu without selecting a file
  brought you into fullscreen view.
  Reported by: Hans (Hans470)
  Thanks for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 13:26:36 +01:00
Norbert Schechner
e4b1cac514 gmoccapy_3_1_2_2 : bug reload program while it is running
- while running a program it was possible to click the reload file
  button, resulting in an immediate reloading and stopping the running
  code. Button is no insensitive while running a file

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-03-07 11:58:26 +01:00
Chris Morley
5ecb4d1020 qtvcp -don't walk the folders when looking for local files.
Other wise any stray files get picked up and used.
only search the config folder for a folder named the same as the screen.
2021-03-06 22:46:12 -08:00
Chris Morley
c1dca72692 qtvcp -qt5_graphics: hide Y axis readout with lathe.
Probably should find a better way -surely someone will want a lathe
with a Y axis. Can't think of a way to deduce what the user wants.
Currently linuxcnc needs to include the Y axis so that one can rotate
the coordinate system ie mirror the X axis.
2021-03-06 22:04:02 -08:00
Chris Morley
a8c053139f qtvcp -add a custom qtaxis lathe demo
This show a config that can mirror X on a lathe, has fanuc tool changes.
2021-03-06 20:15:13 -08:00
Chris Morley
0d4ef4e47f qtvcp -qtaxis: fixes for lathe; jogging controls, toolbar icons 2021-03-06 20:15:13 -08:00
Chris Morley
f20211b17f qtvcp -action_button: add lathe mirror X action
if you onfigur a XYZ lathe (but ignore the Y) you can invert X for
back tool machining.
2021-03-06 20:15:13 -08:00
Dewey Garrett
5b88050ca4 iocontrol/ rm unintended file 2021-03-06 15:53:01 -07:00
Chris Morley
807e2637ed qtvcp -toolbar: add toolbars for message control 2021-03-05 20:54:33 -08:00
Chris Morley
bea260b6b0 glcannon: on lathes, flip tool if coordinate system is rotated 180 2021-03-05 20:54:17 -08:00
Chris Morley
19c430f00e qtvcp -qtaxis: fix keyboard jogging of Y with Mill
Mills and lathes use differeny jogging keys.
Code was incomplete for the conversion
2021-03-05 16:08:36 -08:00
Phillip Carter
2ec0c2603d qtplasmac: add more keyboard shortcuts 2021-03-06 09:31:08 +11:00
andypugh
02387e36e8 docs: Experimentally unescape the hyphens in man1/halui
There seems to be a problem only when the docs are uploaded and web-served
from wlo that - becomes &minus become –.
And the long dash doesn't work as a HAL pin name.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-03-05 21:06:41 +00:00
Chris Morley
2d4dbc84a2 qtvcp -round_gauge: fix occational inaccurate display of value
widget rounded number to integers, which puts ticks in the wrong spot
when spaced evenly.
Now Jim made it not print numbers if they aren't integers.
The user fix is to adjust number of ticks to one more then a divisible number of
max
2021-03-05 11:57:09 -08:00
Chris Morley
fa5bce58d5 qtvcp -qt5_graphics: fix spelling mistakes in Gcode properties 2021-03-05 11:46:53 -08:00
andypugh
578012bba1
Merge pull request #1099 from matkoniecz/patch-1
seems to be not java as of 2021
2021-03-05 16:05:06 +00:00
Mateusz Konieczny
c730c131ea
seems to be not java as of 2021
removal of java is useful as its presence was suggesting that documentation is extremely outdated
2021-03-05 16:48:57 +01:00
CMorley
38a187662b qtvcp -qtdragon_hd: update for python3/code consistancy with qtdragon 2021-03-04 20:27:32 -08:00
CMorley
f92d5e86fa qtvcp -round_gauge: fix fir python3 2021-03-04 20:25:38 -08:00
CMorley
437000605b qtvcp -qtdragon/hd: don't error on quit, if no program was ever loaded 2021-03-04 19:26:19 -08:00
Chris Morley
8be0ba545b qtvcp -round_gauge: allow font size to be changed
Thanks Jim!
2021-03-04 13:51:36 -08:00
Chris Morley
428c4fa48d qtvcp -qtdragon: add alert colors to feed/spindle override slider
if above 100% it goes red.
if feed under 50% goes yellow.
prove of concept
2021-03-04 12:46:39 -08:00
Chris Morley
32552b9e55 qtvcp -status_slider: add dynamic stylesheet property for alerting
If the value is above 100 or below 50 the widget can have the style sheet change
the widgets look - to alert the user they are out of the normal range.
The under/over range is arbritray - it should be made easier to set in the future
2021-03-04 12:43:04 -08:00
Chris Morley
6810297efc qtvcp -qtdragon_hd: remome conflicting inhibit selection from run-from-line
Forgot to add this to last commit.
this code clashes with the check button for inhibit selection.
We will let the user decide how they want to select the run from line
2021-03-04 10:41:54 -08:00
Chris Morley
af35b8d4f4 qtvcp -qtdragon: fix checkbutton intialization on startup
remove extra initialization code for some check buttons
2021-03-04 10:35:38 -08:00
Chris Morley
6ad992869e qtvcp -qtdragon: fix up check button initialization
Some check buttons didn't update the screen on initial screen startup.
I changed some others too so the code was simpler
2021-03-04 09:25:00 -08:00
Chris Morley
cc089849db qtvcp -try to be too smart - un fix keybindings for letters
I saw letter keybindings were missing the letter - but it was supossed
to be like that - I forgot.
2021-03-03 18:58:47 -08:00
Chris Morley
0b821fb4f3 qtvcp -fix keybinding spellings to match QT 2021-03-03 18:54:35 -08:00
Chris Morley
92b492f4c1 qtvcp -update basic probe images
I missed some updates - make the images match the gcode routines
2021-03-03 18:53:19 -08:00
Chris Morley
a9e4846272 stepconf/pncconf: fix cycle_time entry in the INI
I changed the wrong cycle time; in fact we never set the display's cycle time
properly.
2021-03-03 18:09:13 -08:00
Chris Morley
4c83556f7b qtvcp -istat: add variable for gcode start up codes 2021-03-03 05:06:57 -08:00
andypugh
b511bc65d7
ini-config: Missing closing quote 2021-03-03 08:51:44 +00:00
Phillip Carter
4fb5248dd8 qtvcp: fix install script .so version 2021-03-03 16:07:09 +11:00
Phillip Carter
06a6a5bf4f plasmac: fix consumable change offsets 2021-03-02 16:57:17 +11:00
Phillip Carter
8ea7a577fc
Merge pull request #1097 from snowgoer540/gregc/prefs
qtdocs: update images, add conversion docs, move backup, fix typo
2021-03-02 16:54:29 +11:00
Phillip Carter
5241c06c09 qtplasmac: add converter for parameters from plasmac to qtplasmac 2021-03-02 16:53:34 +11:00
Greg Carl
117cf40430 qtdocs: update images, add conversion docs, move backup, fix typo 2021-03-01 20:52:07 -05:00
Phillip Carter
270c47fd59 qtplasmac: fix paused motion speed
add config backup
2021-03-01 12:50:53 +11:00
Phillip Carter
c9fe04bb84 qtplasmac: add warnings to component
fix conversational circle gcode order
fix conversational bolt-circle gcode order
2021-03-01 12:47:11 +11:00
Phillip Carter
5a0162221e
Merge pull request #1095 from snowgoer540/gregc/qtdocs
qtdocs: all links accounted for.  Small updates.
2021-03-01 09:32:45 +11:00
Alex Lait
4cebe76206 Fixed stop on probe transistion behavior. In the original code the call to
tpExecId would not return a 0 after a ngc program was run or an o word was
executed from MDI.  After removing the check on tpExecId, motion will stop
when the probe contact is triggered during o word functions as well as ngc
programs.

Addresses bug #368.
2021-02-28 17:13:51 -05:00
Greg Carl
6d40ec971d qtdocs: all links accounted for. Small updates. 2021-02-28 16:56:52 -05:00
Peter Wallace
7353c2cb2b Add DB25 pin numbers to integrated BOB cards 2021-02-28 12:20:14 -08:00
Chris Morley
a81937152b qtvcp -docs: add info about the screen code copy dialog. 2021-02-28 08:21:44 -08:00
Chris Morley
31bdc83873 qtvcp -add a panel to copy builtin screen code to a user's directory
particularily on an installed version, it's difficult for users to
find the file that need to be copied into the config folder so
they can modify them. Hopefully this helps.
2021-02-28 08:13:45 -08:00
Chris Morley
ac0e538935 qtvcp -update qtvcp for changes in path library
pathe library will not exit the system on an error - qtvcp will
2021-02-28 08:13:08 -08:00
Chris Morley
5559814439 qtvcp -filemanager: allow for adding jumplist actions after init 2021-02-28 08:13:07 -08:00
Chris Morley
cb7917aa55 qtvcp -make notify greeting off by default 2021-02-28 08:13:07 -08:00
Chris Morley
7ccb5de339 qtvcp -rearrange pstat so basic paths are available after init 2021-02-28 08:13:07 -08:00
Phillip Carter
6c0e0afa30
Merge pull request #1094 from snowgoer540/gregc/qtdocs_stats
qtplasmac: doc updates, add image
2021-02-28 14:37:23 +11:00
Greg Carl
92ef3ac8da qtplasmac: doc updates, add image 2021-02-27 20:39:33 -05:00
Phillip Carter
234445f2dc plasmac component: remove dwell time
made redundant by commit 9fc4596
2021-02-28 09:20:11 +11:00
Phillip Carter
5463b0c236 qtplasmac: various
fix consumable change interlock
fix cut recovery feed rate
fix cut recovery sequencing
change debug-print to pin
2021-02-28 09:14:37 +11:00
Chris Morley
050a2ba144 qtvcp -update docs: add a code snippet about periodic update 2021-02-27 12:28:56 -08:00
Dewey Garrett
9fc45963f6 control.c coord_cubic_active && eoffsets: no Drain
plasmac use case:
  Closing program (m2) after initiating clearing of external offsets
  exposes transient reset of joint->vel_cmd (2 servo periods)
  because of cubicDrain() on transition from coord mode to
  teleop mode.

  This commit: conditionally disable cubicDrain() if external offsets active
  at transition

Thanks to Phillc,snowgoer540 for isolating problem in a sim config
2021-02-27 05:55:08 -07:00
Chris Morley
3ff7a32638 Merge branch '2.8' 2021-02-27 01:42:04 -08:00
Chris Morley
b75f314a7f qtvcp -allow settings page selection at anytime
So user can select the override limits checkbox
2021-02-27 01:39:23 -08:00
Chris Morley
37f9689c70 qtvcp -docs: update about indicator button styleshet properties 2021-02-26 17:02:18 -08:00
Chris Morley
bfcbbfb7a2 qtvcp -qtdragon/hd: make sure macine on button can be auto styled
Suport new feature to auto style button on state, if wanted.
2021-02-26 17:00:32 -08:00
Chris Morley
f4b64a9e38 qtvcp -indicator status buttons: add suto stylesheet updates on state
machine on, estop and mode can now set stylesheet properties.
2021-02-26 16:58:00 -08:00
Chris Morley
b34c36c7ee qtvcp -qtdragon/hd: use builtin isHomed property for style updates
I added isHomed property to DRO widgets to automatically update the style
on home mode changes. Forgot to update the dragon handler files.
2021-02-26 15:51:34 -08:00
Chris Morley
8f2eeafd64 stepconf/pncconf - always set cycle_time in ms now
All modern screens use milliseconds now
2021-02-26 14:54:21 -08:00
Chris Morley
a2ba07ca29 docs -update cycle time info (AXIS uses ms now too) 2021-02-26 14:53:15 -08:00
Chris Morley
e6ef926aaf qtvcp -qtdragon_hd: add missing images 2021-02-26 12:16:17 -08:00
Chris Morley
bfe5850c17 qtvcp -qtdragon/hd: allow access to override limits on setting page whn tripped
When running a program one was locked out of the settings page on a limits trip.
now you can see the settings page at anytime.

also now override limits calls the right function and automatically resets when
the limit switch clears.
2021-02-26 12:12:16 -08:00
Chris Morley
d731e9b1b2 remap -allow remap of m9
User wishes to remap m9 - this change allows it. When I tried
to remap m9 with python it worked fine other then the active m codes didn't
immediately update - hopefully that can be worked out.
2021-02-25 22:46:32 -08:00
Chris Morley
a61a2d17a6 interpmodule.cc -add missing flood property 2021-02-25 07:52:13 -08:00
Chris Morley
9beca90460 qtvcp -qtdragon_hd: remove spindle guage HAL pin
not needed
2021-02-25 04:47:22 -08:00
Chris Morley
6bc8ea1d92 qtdragon -update docs, mostly INI settings 2021-02-25 04:45:53 -08:00
Chris Morley
76e1f2444b qtvcp -qtdragon_hd: make the spindle guage work without HAL
connect pins is a pain for users. use STATUS to control the
actual and requested indicators
2021-02-24 23:42:22 -08:00
Chris Morley
26151644c5 axis - remove debug print 2021-02-24 22:52:16 -08:00
Chris Morley
5d85905b6c qtvcp -woodpecker: rename image file
Jim reported a name clash with this file. His system is case insensitive?
2021-02-24 21:04:17 -08:00
Phillip Carter
46564b7134 qtplasmac: fix scaling block 2021-02-25 14:12:14 +11:00
Phillip Carter
000a9ca8f5 qtplasmac: fix typo 2021-02-25 14:03:28 +11:00
Phillip Carter
b05cbd0f7f qtplasmac: various
fix cut recovery interlocks
fix cut recovery cancel feed rate
clear cut recovery offsets when cycle stop pressed
fix consumable change interlocks
pause consumable change when sensors tripped
don't accumulate statistics when torch disabled
2021-02-25 13:50:37 +11:00
Dewey Garrett
2388839f52 Merge branch 'origin/2.8' 2021-02-24 18:29:25 -07:00
Dewey Garrett
65e2d92b31 interp_o_word.cc: mdi-opened files leak #1088
Observed:
with previous_frame->positon==-1, subroutine files
opened by mdi command not closed, so conditionally
close settings->file_pointer if non-null

fixes #1088
2021-02-24 18:27:22 -07:00
Dewey Garrett
6a2069ff52 command.c: use consistent external offset epsilon
Formerly, command.c jogging setups (JOG_CONT,JOG_INCR) used
a convenience EOFFSET_EPSILON to detect removal of external
offsets.  The hard-coded value could differ from the stopping
criterion used in control.c due to configuration settings
for the servo_period and the external offsets acceleration
value in use.

Thanks go to Phillc and Greg Carl snowgower540 for finding the
problem, isolating the cause in hardware testing and the
making the solution.
2021-02-24 17:49:16 -07:00
andypugh
a311cc3202 Merge remote-tracking branch 'origin/2.8' 2021-02-24 22:13:20 +00:00
andypugh
0ea037ed6f sendkeys: A HAL component to send keystrokes and UI events
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-02-24 22:04:02 +00:00
Chris Morley
7e85022aa4 qtvcp -basic/versa probe: fix PID message
This doesn't seem to make a difference (why?) but at least it is right now.
2021-02-24 12:33:54 -08:00
Chris Morley
4a0c6c8a30 stepconf -add preference file/cycle_time entries for qtdragon 2021-02-24 12:32:38 -08:00
Chris Morley
4112233b98 pncconf -add preference file/cycle_time entries for qtdragon 2021-02-24 12:31:36 -08:00
Chris Morley
9bd5fceacc axis -let axis understand cycle_time as seconds or ms
Most of the other screens use ms, AXIS uses seconds.
If a user switched screens without fixing cycle time it would not work.
Now AXIS understands ms too
2021-02-24 12:28:17 -08:00
luz paz
b31b024f13 fixed followup typo in failed test 2021-02-24 12:25:33 -05:00
luz paz
fa855db600 fix typos in docs/ and tests/
Found via codespell
2021-02-24 12:25:33 -05:00
Chris Morley
d60aec568e qtvcp -basic_probe: fix images to align with actual moves
Jim noticed the images were not right for our probe routines.
He has fixed them and here they are - thanks Jim.
2021-02-23 21:25:49 -08:00
Chris Morley
30c3038755 qtvcp -qtdragon_hd: fix error when no probe screen selected.
If the probe screen entry in the INI was found it caised a crash
2021-02-23 21:18:19 -08:00
Chris Morley
cf3a5fe772 pncconf - add qtdragon to screen options 2021-02-23 20:39:15 -08:00
Peter Wallace
75ef373e64 Add muxed shared (stepgen+encoder) index pin report 2021-02-23 08:53:34 -08:00
Chris Morley
0138f5e9fb stepconf -add qtdragon
probably missed some things but it works in principle
2021-02-23 05:24:08 -08:00
Chris Morley
e4f4d83307 hal_glib: fix error when using GLADE editor
when using GLADE editor CYCLE_TIME is not defined.
We add a default time
2021-02-23 05:24:08 -08:00
Chris Morley
a58efbb54e qtvcp -add woodpecker screen
Thank you Jura for donating this work.
There are many many different size/versions of this screen.
In the future we may add more.
2021-02-23 05:24:08 -08:00
Chris Morley
6d1f2cea63 qtvcp -filemanager: don't complain if there is no 'last_loaded_directory'
filemanager checks the preference file for the last loaded directory
so it can default there. No reason to send an error to the user if it's
missing, just ignore it.
2021-02-23 05:24:08 -08:00
Chris Morley
ca9d2e333a qtvcp: preferences (get_all): fix error with missing section 2021-02-23 05:24:08 -08:00
andypugh
c439f5a586 HAL: Increase the HAL memory size.
The current HAL memory limit is set at 85 * 4096 (340k) which allows around
2500 HAL pins to exist.
The limit was last increased in 2014 to accommodate longer HAL pin names.
Mesa smart-serial means that configurations are possible with many thousands
of pins, and  340k seems like a very small limit.
This patch increases the HAL memory to a full 1MB.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-02-22 19:51:51 +00:00
Phillip Carter
96e8d2dfe7 plasmac: fix material verter for sheetcam update 2021-02-22 13:52:30 +11:00
Phillip Carter
b13c396f3a qtplasmac: fix qtplasmac-materials converter for sheetcam update 2021-02-22 13:49:33 +11:00
Phillip Carter
1ed191f4d9 plasmac: fix materialverter for sheetcam update 2021-02-22 13:48:02 +11:00
Phillip Carter
268833f747 qtvcp: install_script needs to be executable 2021-02-20 16:53:34 +11:00
Phillip Carter
77f321736a qtplasmac: ensure offsets are correctly cleared 2021-02-20 11:26:48 +11:00
Sascha Ittner
dca6f8d053 fix halcompile singleton option on userspace components 2021-02-19 18:18:51 +00:00
Phillip Carter
9d4a4099f8 qtplasmac: add statistics 2021-02-19 17:18:43 +11:00
Phillip Carter
eacf706ef7 qtvcp: add install script to makefile 2021-02-19 10:10:09 +11:00
andypugh
4f1861ae36 sserial: Increasing max number of data registers to 7
Originally Mesa Smart-Serial allowed the transfer of 96 bits of data in each
direction, via 3 x 32-bit registers. smartserialb uses up to 7 registers for
224 bits per transfer.
The new version has a different GTAG. At the moment only one type of smart-
serial module is supported in a single firmware.

Signed-off-by: andypugh <andy@bodgesoc.org>
2021-02-18 19:01:12 +00:00
andypugh
5673b29f60
Merge pull request #1027 from luzpaz/typos-configs
fix typos in configs/
2021-02-17 13:14:45 +00:00
luz paz
383bdb5451 Revert requested revisions 2021-02-17 07:24:39 -05:00
luz paz
ff7fddef87 fix typos in configs/
Found via `codespell -q 3 -S *.po,*.ts,./share,./docs/man/es,./configs/attic -L ans,doubleclick,dout,halp,parms`
2021-02-17 07:16:56 -05:00
Chris Morley
c88efbef80 qtvcp: qtdragon_hd add Jim's new images 2021-02-15 22:24:36 -08:00
Phillip Carter
623de2b289 qtplasmac: fix conversational material error 2021-02-16 14:57:58 +11:00
Chris Morley
65d60fd145 qtvcp -revist check for multi '.' while file loading
havinf muliple . in a filename causes some reported problems.
the original check would look at the complete path and sometime temparay
filenames would use a .
Now we just check the file name - one . allowed only
2021-02-14 23:52:37 -08:00
Phillip Carter
4b7b6cba98 qtplasmac: comment out commit #3368c01 2021-02-15 18:03:03 +11:00
Chris Morley
60b2c45467 qtvcp -first pass on adding qtdragon_hd 2021-02-14 22:09:33 -08:00
c-morley
303524d29e
Merge pull request #1086 from satiowadahc/cw-period
QTVCP - Error Message Correction
2021-02-14 19:11:10 -08:00
Phillip Carter
6c34724aba qtplasmac: various
don't allow jogs while run not complete
stop run timer if powered off
remove a debug print
print #<keep-z-motion> if used
2021-02-15 13:53:14 +11:00
Chad Woitas
44d1465a0c QTVCP - Error Message Correction
Audio_player actually uses system espeak, Error asked for python version.
2021-02-14 20:38:04 -06:00
c-morley
3368c013a3
Merge pull request #1085 from satiowadahc/cw-period
QTVCP - corecting my mistake
2021-02-14 18:12:40 -08:00
Chad Woitas
2742797cf4 QTPlasma - Adding File path check 2021-02-14 19:51:32 -06:00
Chad Woitas
173bf0ccca QTVCP - Discarding file paths from name. 2021-02-14 19:49:00 -06:00
Phillip Carter
fa2453d4b8
Merge pull request #1083 from snowgoer540/gregc/qtdocs_9
qtplasmac: in process docs update.
2021-02-15 09:16:40 +11:00
Greg Carl
d1cac7576c qtplasmac: in process docs update. 2021-02-14 16:15:17 -05:00
Phillip Carter
0e4c7c02b1 qtplasmac: fix start error if no consumable change setting 2021-02-14 09:39:14 +11:00
Chris Morley
14bcecf636 qtvcp -file_manager: fix double click with ../../ and JumpList Label reading
missed normalizing duble clicked paths.
jumplists read the button text - change capitalizing broke the comparison.
Now it normalizes the text to all capitals before comparing.
2021-02-13 12:52:14 -08:00
Chris Morley
b091c91d82 qtvcp -filemanager: try to but off illegal jump paths
and let the operator know with out crashing
2021-02-13 12:25:23 -08:00
Chris Morley
fb0c63d677 qtvcp -dialogs: quiet debug messages 2021-02-13 12:06:54 -08:00
Chris Morley
075cdb876d qtvcp filemanager: normalize the searched path display
You could get weird paths like /../home
2021-02-13 12:05:35 -08:00
andypugh
8b86018c0c
Carousel.comp: Typos 2021-02-13 15:23:40 +00:00
Phillip Carter
9dc762a0a2 qtplasmac: fix keyboard handler for file dialogs 2021-02-13 14:32:33 +11:00
Phillip Carter
9c23be242b qtplasmac: fix change-consumables 2021-02-13 14:32:33 +11:00
Phillip Carter
98b0f67ac1 qtplasmac: allow users custom styles 2021-02-13 14:32:33 +11:00
Phillip Carter
7bb00d2ee0 qtplasmac: fix interlocks when ofsets are active 2021-02-13 14:32:33 +11:00
Phillip Carter
f9d9f80fe8 qtplasmac: match sim panel colors to gui colors 2021-02-13 14:32:33 +11:00
Chris Morley
f6440b18b1 qtvcp -add ability to break at toolchange and automatically run from line.
This is my version of jog at tool change dialog facility
Maybe it needs to be optional?
2021-02-12 16:03:21 -08:00
c-morley
61c016d894
Merge pull request #1082 from satiowadahc/cw-classCheks
QTVCP - Multiple Periods in File Names Causing Crashes
2021-02-12 14:58:43 -08:00
Chad Woitas
03811513f2 Reverting Unintended Changes for this PR 2021-02-12 15:58:23 -06:00
Chad Woitas
99e9ac9b55 Merge branch 'master' into cw-classCheks
# Conflicts:
#	lib/python/qtvcp/core.py
2021-02-12 15:49:33 -06:00
Chad Woitas
94f63420d7 qt_action - Checking for multiple periods
Our millwrights have been trying to name files in a mm.dd.yyyy.ngc File Format. Catching this here
2021-02-12 15:47:29 -06:00
andypugh
bcfead5dfa
Merge pull request #1081 from satiowadahc/cw-meterKey
Removing Debug Message
2021-02-12 20:41:26 +00:00
Chad Woitas
641df72b16 halmeter - Pet Peeve 2021-02-12 13:59:30 -06:00
Chris Morley
76dc29eaee Merge branch '2.8' 2021-02-11 21:03:10 -08:00
Chris Morley
4ecd19a88f pncconf -fix internal description of 7i73 mode 1
This might break already made pncconf files but is consistant
with other naming conventions
2021-02-11 20:57:59 -08:00
Chris Morley
7baacd70b9 pncconf -fix sserial number when parcing XML
txdata0 was not looked for and there is no txdata8
-obviously an off by one error
2021-02-11 20:53:52 -08:00
Chris Morley
af1b37aa60 pncconf -fix sserial channel number for the 7i96
reported as 1 rather then 0
2021-02-11 20:52:28 -08:00
Phillip Carter
8ac1c0fa8e qtplasmac: style the sim panel 2021-02-12 10:43:33 +11:00
Chris Morley
358907ca18 qtvcp -add Phil's designer install script 2021-02-11 14:23:09 -08:00
c-morley
af4f442988
Merge pull request #1074 from phillc54/phillc54/qt5.11
qtvcp: add qt5.11 to makefile
2021-02-11 14:15:20 -08:00
Chris Morley
932eb3d147 qtvcp -add Jim's round gauge widget
Jim (Persei 802) made a very nice custom gauge widget.
And docs too!
2021-02-11 14:09:53 -08:00
andypugh
8b5697ce4f
Packaging: Correct an incorrect Category
linuxcnc.desktop was in Category:X-CNC_DOC, which is both wrong and mal-formed. 
I can't see a commit that introduced this, which is rather odd.
2021-02-11 12:49:15 +00:00
Phillip Carter
f3329a360e qtvcp: add qt5.11 to makefile 2021-02-10 15:26:42 +11:00
Phillip Carter
f1ee539c0c plasmac: fix component consumable change 2021-02-10 15:17:35 +11:00
Chris Morley
7e326429e9 qtvcp -add info about custom widget stylesheets 2021-02-08 20:52:52 -08:00
damiodj
31e229a909 Modified parity argument validation
Changed argument for parity to be in line with libmodbus
expected values (o for odd, e for even, n for no parity)
2021-02-08 14:06:51 +00:00
andypugh
f64711abb7
Merge pull request #1073 from damiodj/master
WJ200_vfd: Modified parity argument validation
2021-02-08 12:46:19 +00:00
damiodj
70adb3a821 Modified parity argument validation
Changed argument for parity to be in line with libmodbus
expected values (o for odd, e for even, n for no parity)
2021-02-08 13:13:10 +01:00
Chris Morley
c4065a8991 qtvcp -status_label: have tool offset label honour g21/20 2021-02-06 19:51:56 -08:00
Chris Morley
53025c020e qtvcp -status_label: fix tool diameter in g20/21 mode
it only showed the machine units units before this.
2021-02-06 19:33:05 -08:00
Dewey Garrett
65f4262e62 tooldata_mmap.cc no process exit if mmap fail
in tool_mmap_user() which may occur if tool_mmap_user()
is invoked without a running instance of linuxCNC
2021-02-06 18:44:01 -07:00
Dewey Garrett
834da761ac tooldata_mmap.cc rm unused #define 2021-02-06 18:44:01 -07:00
Phillip Carter
fe0c086a48
Merge pull request #1069 from snowgoer540/gregc/qtdocs_8
qtplasmac: change image sizes in userguide.
2021-02-07 12:37:15 +11:00
Greg Carl
64ceaeb927 qtplasmac: change image sizes in userguide. 2021-02-06 19:40:34 -05:00
andypugh
cb8056fedc Packaging: Add the QT dependencies that were lost when 2.8 was merged.
A change in the name of a Debian control file meant that the QT
dependencies were not merged.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-02-07 00:30:29 +00:00
andypugh
93877dad7b
Merge pull request #1068 from hansu/2.8-restructure-hal-doc
2.8 docs: removed 26 warnings, fixed images included in man page
2021-02-06 22:30:49 +00:00
Hans Unzner
a5ab550b22 docs: removed warnings 2021-02-06 18:34:49 +01:00
Hans Unzner
7a8663141f docs: man: fixed pictures in man pages 2021-02-06 16:00:11 +01:00
Phillip Carter
f70ef77296 qtplasmac: fix sim hal file 2021-02-06 08:53:53 +11:00
Phillip Carter
1ef7f98c09
Merge pull request #1066 from snowgoer540/gregc/qtdocs_7
qtplasmac: in process docs update
2021-02-05 16:59:44 +11:00
Phillip Carter
38a7b33db1 qtplasmac: allow inhibit for gui button jogging 2021-02-05 16:58:25 +11:00
Phillip Carter
8a5090e692 qtplasmac: remove startup timer
add qtplasmac-materials to makefile
2021-02-05 13:42:19 +11:00
Greg Carl
a3d48871ca qtplasmac: in process docs update 2021-02-04 18:45:31 -05:00
andypugh
6999a12c0d
Merge pull request #1065 from havardAasen/pu/2.8-minor-fixes
typo's and compiler warnings
2021-02-04 19:36:11 +00:00
Phillip Carter
6dee1407ad qtplasmac: add material converter 2021-02-04 17:12:53 +11:00
Phillip Carter
db2f518f1b qtplasmac: style the setup application 2021-02-04 17:11:08 +11:00
Håvard Flaget Aasen
938738071a
Fix compiler warnings
Removed some unused variables and changed the indentation.
The indentation is now 4 spaces. I also removed all whitespace at the
end of line.

The only real code change is two if statements which I changed to one,
with the same result. Line 41-42
2021-02-03 14:27:55 +01:00
Håvard Flaget Aasen
2f897a0ea8
Typo reported by lintian 2021-02-03 13:39:19 +01:00
Håvard Flaget Aasen
a92f32a231
man-page: Minor typo's reported by lintian 2021-02-03 13:37:12 +01:00
Chris Morley
b30bcf75f0 qtvcp -make tittle sooner so it can be over written in handler file
There was no easy way to set the main window title because
qtvcp set it after all setup function entries into handler file
were finished.
2021-02-01 15:54:20 -08:00
Peter Wallace
2e66665e55 Fix segv in stepgen within non-idx firmware 2021-02-01 06:00:45 -08:00
Peter Wallace
ef56c0cb59 Fix introduced segv in stepgen with non-index firmware 2021-02-01 05:58:01 -08:00
Phillip Carter
c43641d51d qtplasmac: fix initial z move
remove redundant folder/files
2021-02-01 16:08:18 +11:00
Peter Wallace
8e38c4022e Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc 2021-01-31 18:36:03 -08:00
Peter Wallace
aa8180c15e update manual page to reflect added stepgen pins and encoder probe pins 2021-01-31 18:30:10 -08:00
Peter Wallace
57550c89f3 Add index/probe capability to stepgen, make corresponding encoder probe pins match 2021-01-31 18:28:51 -08:00
Peter Wallace
681952ee53 Add index/probe capability to stepgen, make corresponding encoder probe pins match 2021-01-31 18:28:21 -08:00
Peter Wallace
03d3a2bb44 Add index/probe capability to stepgen, make corresponding encoder probe pins match 2021-01-31 18:27:56 -08:00
Peter Wallace
d5d9b8f74a Add index/probe capability to stepgen, make corresponding encoder probe pins match 2021-01-31 18:26:11 -08:00
Peter Wallace
96dc54ab77 Make rate a pin to match manual page 2021-01-31 18:25:15 -08:00
Dewey Garrett
2dbb2f640f tooldata: refactor and add database intfc db73
Note: this branch is force pushed, rebased to master at 890187289

================================================================
This commit refactors internal tool data handling to:
1) Update and consolidate functions in a new directory:
     src/emc/tooldata
2) Define an applications interface: src/emc/tooldata/tooldata.hh
3) Support a new interface to a user-provided tool database
   management program specified by [EMCIO]DB_PROGRAM
4) Use a new mmapped tooldata interface between
   EMCIO and TASK while maintaining number of allowed
   pockets specified by CANON_POCKETS_MAX=1001
5) Deprecate tooldata in nml messages between EMCIO and TASK
   (legacy nml message method remains available using
     configure --enable-toolnml until removal)
6) Minimize impact to current users of master branch and
   continue to pass the suite of runtests on all supported
   buildbot machines.
7) Clarify program variable names that use a sequential
   index (idx) for accessing internal tooldata.
   Note: some legacy variable names like:
      pocketPrepped, selected_pocket,current_pocket
   are still used in a few places because of their inclusion
   in fielded user remap scripts or the tests suite.
   These items may be renamed in the future.

================================================================
Change Summary:
 1) new directory: src/emc/tooldata
    tooldata.hh  ------------ api
    tooldata_common.cc  ----- shared functions
    tooldata_mmap.cc  ------- mmap tooldata
    tooldata_nml.cc  -------- nml tooldata
    tooldata_db.cc  --------- database interface functions
    tool_watch.cc  ---------- test utility
    tool_mmap_read.cc  ------ test utility for mmap

 3) updated docs:
    docs/src/getting-started/updating-linuxcnc.txt
    docs/src/config/ini-config.txt
    docs/src/code/code-notes.txt
    docs/src/gcode/overview.txt
    docs/src/gcode/tool-compensation.txt
    docs/src/remap/remap.txt
    docs/man1/iocontrol*.1
    docs/src/tooldatabase/tooldatabase.txt (new)

 3) removed (consolidated into other files):
       src/emc/task/iotaskintf.cc
       src/emc/ini/initool.hh
       src/emc/ini/initool.cc
       src/emc/rs274ngc/tool_parse.h
       src/emc/rs274ngc/tool_parse.cc
       src/emc/toolstore/

 4) emccanon call: removed GET_EXTERNAL_POCKETS_MAX
    (superseded by CANON_POCKETS_MAX)

 5) hal: params to pins:
    iocontrol.N.tool-prep-index

 6) gui updates (axis gui only)
    Print message if both [EMCIO]TOOL_TABLE and DB_PROGRAM
    are specified.  Allow specifying tooleditor for a DB_PROGRAM
    Issue message for db_program/tool_table ambiguities

 7) simulation configs:
      configs/sim/axis/db_demo/db_ran.ini
      configs/sim/axis/db_demo/db_nonran.ini

================================================================
Notes:
    1) Testing has been aided by the extensive set of tests
       exercised by the runtests program employed to ensure
       the integrity of buildbot created deb packages.  However,
       numerous functions are NOT tested by the runtests suite.
       Examples:
         a) remapped tool handling
         b) user-interfaces (ui) support for tool changes
         c) iov2 (ioControl_v2.cc -- no maintainer, deprecated)
    2) Use of the mmapped interface between EMCIO and TASK
       reduces the EMC_TOOL_STAT message size from 112224 bytes
       to 224 bytes (64bit architecture)
    3) The complete toolTable[] data for all (1001)
       CANON_POCKETS_MAX is no longer available should someone
       implement a *remote* ui with TASK and EMCIO
       implemented on *separate* machines via networked (TCP)
       nml messages.  A single tool table instance for
       the current tool in spindle is included in the
       EMC_TOOL_STAT message.
2021-01-31 10:35:55 -07:00
Chris Morley
890187289f qtvcp -CYCLE_TIME fixes for HAL pins
Third times the charm? I musta been asleep.
Stems from seconds vrs milliseconds.
Since I just invented GRAPHICS and HALPIN CYCLE_TIME they will all be in MS

Caused widgets to not show and no response.
2021-01-30 19:05:54 -08:00
Phillip Carter
07d251df50
Merge pull request #1064 from snowgoer540/gregc/qtdocs6
docs: qtplasmac in progress push and plasmac typo fix
2021-01-31 12:49:19 +11:00
Greg Carl
621512ed23 docs: qtplasmac in progress push and plasmac typo fix 2021-01-30 20:33:02 -05:00
Phillip Carter
2ee32abdbe qtplasmac: fix run from line scaling 2021-01-31 12:11:34 +11:00
Phillip Carter
a66ccbc4d9 qtplasmac: disable cycle start if offsets active 2021-01-31 12:11:34 +11:00
Phillip Carter
299b88aa25
Merge pull request #1063 from snowgoer540/gregc_qtdocs5
qtplasmac: push of in process doc updates
2021-01-30 13:29:53 +11:00
Greg Carl
b9a56a20ab qtplasmac: push of in process doc updates 2021-01-29 19:44:30 -05:00
Chris Morley
4ba0803b04 docs: AXIS: add info about changing plot colors 2021-01-29 12:35:02 -08:00
Chris Morley
bb1a1c4d70 qtvcp -fix conversion of seconds/ms in CYCLE_TIME
Some configs (AXIS0 use seconds, other use ms. forgot to convert in qtvcp.
2021-01-29 12:22:32 -08:00
Chris Morley
b64185b44f docs -add info about INI's [DISPLAY]CYCLE_TIME 2021-01-29 00:30:04 -08:00
Chris Morley
9f9e858bbe hal_glib -fix error when designer loads because of no INI
hal_glig checks the INI for info - fails when loading widgets in editors
2021-01-29 00:30:04 -08:00
Chris Morley
b18fad0b6d qtvcp -qtvcp_plugin: print a message when plugin found
When first setting up desiner it's nice to see if the plugin is found.
2021-01-29 00:30:04 -08:00
Phillip Carter
fce13e7cba qtplasmac: fix power button size when no estop button 2021-01-29 13:02:43 +11:00
Phillip Carter
c84db498e5
Merge pull request #1062 from snowgoer540/gregc/qtdocs_4
docs: update plasmac docs, push in process qtplasmac doc edits
2021-01-29 12:01:00 +11:00
Phillip Carter
7be13ecb61 qtplasmac and plasmac: height override
use thc threshold for height override change value
2021-01-29 11:59:24 +11:00
Greg Carl
d97594a2e1 docs: update plasmac user guide, push in process qtplasmac user guide edits 2021-01-28 18:48:27 -05:00
Chris Morley
28905ae7e8 hal_glib -add configurable update time for GladeVCP based code
Cycle time can be in ms or seconds too!
allows a user to adjust update for underpowered CPUs
2021-01-28 01:48:24 -08:00
Chris Morley
cced794d97 qtvcp -make update rates configurable
graphics, ui and HAL pin updates rates can be changed.
somewhere between 50 - 200 ms seems abot right
2021-01-28 00:58:18 -08:00
Chris Morley
7d308a5ec9 qtvcp -qtaxis: fix DRO formatting
forgot to check after doing lathe work
2021-01-27 18:42:28 -08:00
Chris Morley
8740e414c1 qtvcp -qtaxis: add fcode to active code display
In master it's mostly right now.
2021-01-27 18:42:28 -08:00
Chris Morley
804cd582da qtvcp -statu_label: add fcode and blend tolerance optins 2021-01-27 18:42:28 -08:00
Chris Morley
c6bde43b02 hal_glib -add fcode and blend code messages
In master the Fcode is mostly right now!
blend code shows the G64 blend and cam tolerance
2021-01-27 18:42:28 -08:00
Phillip Carter
059c6b5a40
Merge pull request #1060 from snowgoer540/gregc/qtdocs_3
qtplasmac: in process user guide update.
2021-01-28 11:13:41 +11:00
Greg Carl
c598e5d004 qtplasmac: in process user guide update. 2021-01-27 18:36:38 -05:00
Dewey Garrett
f1a6d77408 Merge 'origin/2.8' to _master 2021-01-27 16:06:52 -07:00
andypugh
60f3d735a0 Docs: Update URL to updated Pi SD card image. Also document limitations.
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-01-27 22:07:57 +00:00
Chris Morley
782addde1f qtvcp -qtaxis: ad adjustments for lathe configs
jogging and display work different on a lathe
2021-01-26 23:55:45 -08:00
Chris Morley
6b01fc6ce9 qtvcp -gcode_display: fix broken display when using DRO and lathe
After fixing the insert DRO display awhile back i guess I never tested
a lathe config that used the DRO.
I forgot to add a needed attibutes. With openGL code, it doesn't crash
it just does weird things.
2021-01-26 23:55:45 -08:00
Phillip Carter
51a26d4543 qtplasmac: add some tab disable pins 2021-01-27 14:32:58 +11:00
Phillip Carter
465445c847
Merge pull request #1059 from snowgoer540/gregc/qtdocs_1
qtplasmac: in-process user guide update
2021-01-27 14:30:08 +11:00
Greg Carl
201427d72c qtplasmac: in-process user guide update 2021-01-26 21:43:38 -05:00
Chad Woitas
ba70126969 QTVCP - Core, renaming class method variables 2021-01-26 19:59:31 -06:00
Chris Morley
99cf8ee651 qtvcp -fix broken plot when using lathe configs.
Not sure why this is broken just with XZ machines.
Would not show a proper display because of trying to
hilight a line that was not there yet as there was no
program loaded.
2021-01-26 13:58:07 -08:00
andypugh
a686189be6
Merge pull request #1056 from satiowadahc/cw-QTLIBcleanup
QTVCP lib - White Space Cleanup
2021-01-26 12:29:21 +00:00
andypugh
f69b86a81e
Merge pull request #1057 from satiowadahc/cw-QTPlugins
QTVCP Plugins - White Space Cleanup
2021-01-26 12:29:05 +00:00
andypugh
7adb83901b
Merge pull request #1055 from satiowadahc/cw-QTCleaning
QTVCP - White Space Formatting
2021-01-26 12:28:42 +00:00
Phillip Carter
a228d7ddd2 qtplasmac: fix powermax comms for 9x16 and 4x3 guis 2021-01-26 15:21:01 +11:00
Phillip Carter
c1c552a576 qtplasmac: get versioning up to date 2021-01-26 13:35:57 +11:00
Chad Woitas
a82bd1a2de QTPlugins 2021-01-25 19:41:53 -06:00
Chad Woitas
e6e1bbfc12 QTlib - Cleaning WhiteSpace 2021-01-25 19:33:50 -06:00
Chad Woitas
7762f98cc6 QTVCP_handler 2021-01-25 19:17:03 -06:00
Chad Woitas
31cc7ba376 QTTstat - WhiteSpace 2021-01-25 19:16:30 -06:00
Chad Woitas
c83f217588 QTPstat - White Space 2021-01-25 19:15:38 -06:00
Chad Woitas
f9dc74575b QT make Pins - white space 2021-01-25 19:14:46 -06:00
Chad Woitas
2ae2d91f16 QTMakeGui white space 2021-01-25 19:14:06 -06:00
Chad Woitas
6d1fc31dd8 QTIstat - White Space 2021-01-25 19:13:05 -06:00
Chad Woitas
f17c6a343f QTAction - White Space 2021-01-25 19:11:27 -06:00
Chad Woitas
b9871c894d QTCore - Fix Whitespace 2021-01-25 19:03:10 -06:00
Phillip Carter
c180f366ee qtplasmac: add dwell time for end of cut 2021-01-26 10:34:58 +11:00
Phillip Carter
9ab0aac1d3 qtplasmac: new sim tcl file 2021-01-26 10:34:58 +11:00
andypugh
2bbd5bd019
Merge pull request #1054 from freddii/master
fixed typos
2021-01-25 18:46:57 +00:00
andypugh
781ce17c88
Merge pull request #1053 from satiowadahc/patch-1
python-interface.txt - Missing <
2021-01-25 18:29:27 +00:00
freddii
0a02118a88 fixed typos 2021-01-25 17:36:00 +01:00
Chad A. Woitas
6866691ce8
python-interface.txt - Missing < 2021-01-25 10:19:17 -06:00
Phillip Carter
6b9d930f8a qtplasmac: add tcl files to setup program 2021-01-25 17:02:16 +11:00
Phillip Carter
3189ca415c qtplasmac: fix pmx label messages 2021-01-25 17:01:36 +11:00
Dewey Garrett
6970a2e5e4 test: use-rs274.cc correct unused var warning 2021-01-24 19:49:19 -07:00
Dewey Garrett
a2364801cf tests:12-M99-endless-main-program inc COMM_TIMEOUT
buildbot fails only occur when bot is heavily loaded

example fail for prior value of COMM_TIMEOUT=4.0:

Running test: /home/buildslave/emc2-buildbot/wheezy-amd64/rip-wheezy-amd64/build/tests/interp/m98m99/12-M99-endless-main-program
...
task: 118 cycles, min=0.000060, max=4.929809, avg=0.057317, 10 latency excursions (> 10x expected cycle time of 0.001000s)
...
*** /home/buildslave/emc2-buildbot/wheezy-amd64/rip-wheezy-amd64/build/tests/interp/m98m99/12-M99-endless-main-program: XFAIL: checkresult exited with 1
2021-01-24 19:18:18 -07:00
andypugh
52a794bb12
Merge pull request #1052 from Hans470/2.8-restructure-hal-doc
2.8 some little fixes in docs
2021-01-24 14:15:47 +00:00
Hans Unzner
73b450bba7 doc: hal: added some links to man pages, some docs reworked 2021-01-24 09:32:36 +01:00
Hans Unzner
0b68aab88b mb2hal: added debuglevel 'DBGMAX'
Setting DEBUG=3 on transactions produces a lot of useless debug information what makes it impossible to read the data bytes. That is now moved to DEBUG=4.
2021-01-23 13:49:05 +01:00
Phillip Carter
60f8915f52 qtplasmac: add estop button options 2021-01-23 15:02:58 +11:00
Chris Morley
32316757bd pncconf -fix typo in tests with A Axis. 2021-01-22 10:31:41 -08:00
Phillip Carter
ca86f0fd68 qtplasmac: fix pmx error messages 2021-01-22 12:05:50 +11:00
Phillip Carter
b75cc11004 qtplasmac: conversational image changes 2021-01-21 16:00:43 +11:00
Phillip Carter
6321565a6b qtplasmac: add jog inhibit
fix limit override
2021-01-21 10:37:31 +11:00
alkabal
6e68e66c77
add hal is-homed signal 2021-01-20 23:45:48 +01:00
alkabal
957ab0ce4b
add is-homed to hal 2021-01-20 23:37:03 +01:00
alkabal
4857e3d7c0
add more comment 2021-01-20 23:34:32 +01:00
Phillip Carter
b7c73d6641 qtplasmac: keyboard jogging fixes 2021-01-21 09:31:04 +11:00
alkabal
f195fb4d35
Update hal.h 2021-01-20 23:30:20 +01:00
alkabal
b0f2a8dd4f
Update hal.cc 2021-01-20 23:28:52 +01:00
andypugh
625c3a9db4
Merge pull request #1030 from Hans470/mb2hal
Mb2hal: add fnct_01, fnct_05, add bit-invert for coils, change pin names
2021-01-19 11:14:07 +00:00
Phillip Carter
3a9723fdb2 qtplasmac: set manual mode after mdi closed 2021-01-19 14:34:32 +11:00
Chris Morley
caac11a3a5 Merge branch '2.8' 2021-01-18 14:34:29 -08:00
Chris Morley
acde1f0315 pncconf -connect spindle feedback up to PID
feedback was only connected to motion for threading not for PID control
2021-01-18 14:28:28 -08:00
Hans Unzner
90e5c25a78 mb2hal: added int input to fnct_06_write_single_register and fnct_16_write_multiple_registers, updated doc 2021-01-17 18:44:52 +01:00
andypugh
4d16c7d472
Merge pull request #1044 from elovalvo/patch-4
Added new version of Raspberry Pi4 and Raspberry Pi 400
2021-01-16 16:53:48 +00:00
Phillip Carter
3d98e9c41d qtplasmac: allow sims to keep up to date 2021-01-16 18:38:58 +11:00
Phillip Carter
e4bdf29de6 qtplasmac: accept mdi history keypresses 2021-01-16 14:17:17 +11:00
Phillip Carter
be9c6ba9c9 qtplasmac: fix keyboard jogging properly 2021-01-16 13:38:58 +11:00
Chris Morley
1ab1166af0 qtvcp -mdi_history: improve interaction with users
start without preloaded entry
finish empty if using MDI line, or with the next command if using
double click in mdi history.
wrap around when getting to ends of history.

Thanks Phill!
2021-01-15 18:10:52 -08:00
Dewey Garrett
a8541d68fa tests/*/startup-gcode-abort update (skip remains)
skip file remains as test still fails frequently

just update to follow affecting commits:
  5cd845a7eb  linuxcnc.in: terminate motion-logger also
  2a1befea6d  motion-logger.c print format was: %.6f, is: %.6g
2021-01-15 18:24:56 -07:00
elovalvo
4d272f8a9d
Update cpuinfo.c 2021-01-15 20:36:41 +01:00
elovalvo
1fdfe22a43
Added new version of Raspberry Pi4 and Raspberry Pi 400
Added new version of Raspberry Pi4 and Raspberry Pi 400
Added also different version of 3B and 3B+
Revised for 3B
2021-01-15 19:03:12 +01:00
Dewey Garrett
59f2b1ac3c tests/interp/m98m99/12-M99-endless-main-program rm skip
remove skip file to restore this test after

follow commits:
5cd845a7eb  linuxcnc.in: terminate motion-logger also
2a1befea6d  motion-logger.c print format was: %.6f, is: %.6g
2021-01-14 18:01:16 -07:00
Dewey Garrett
0d59c0148c taskintf.cc use %g fmt in some prints
that may by default show big no.s like 1e99
as long strings like 999999999999...
2021-01-14 18:01:16 -07:00
Dewey Garrett
d69d170db3 tests/halui/*,halui.cc increase timeout
in order to reduce spurious fails on heavily-loaded buildbot
2021-01-14 18:01:16 -07:00
Dewey Garrett
6e0c97869b motion-logger.c print format was: %.6f, is: %.6g
to reduce long lines occuring for items like 1e+99
example:

-SET_ACC acc=999999999999999967336168804116 ...
+SET_ACC acc=1e+99
2021-01-14 18:01:16 -07:00
Dewey Garrett
c503210c03 ioControl*.cc rm unused emc_debug prints
these are not used but add to confusion in runtests prints
2021-01-14 18:01:16 -07:00
Rene Hopf
4a0ba67ed5
Merge pull request #1042 from satiowadahc/cw-interpretorImport
Fix:  ImportError: 'interpreter' is not a built-in module
2021-01-15 01:34:20 +01:00
Chad Woitas
9bc020e03c python_module - Squash Commits 2021-01-14 15:37:48 -06:00
Chad Woitas
7b0a0f10f1 differentiating between python2 and 3 completely? 2021-01-14 15:32:52 -06:00
Chad Woitas
d314e66075 Python3 protection 2021-01-14 15:04:51 -06:00
Chad Woitas
6b4bfd81a1 python_plugin - reverting python2 check 2021-01-14 14:30:47 -06:00
Chad Woitas
ebc43ff239 python_plugin - Secondary Imports 2021-01-14 14:27:14 -06:00
Chad Woitas
b4fa045d10 Removing Double Define 2021-01-14 12:10:14 -06:00
Chad Woitas
5c7a7a9357 interpmodule - narrowing namespace 2021-01-14 12:05:44 -06:00
Chad Woitas
9c778650eb taskmodule - namespace isolating 2021-01-14 11:59:00 -06:00
Phillip Carter
29122049fd qtplasmac: use new dialog keyboard 2021-01-14 09:58:56 +11:00
Chris Morley
ba9448e47e qtvcp -make mdiLine dialog keyboard actually optional 2021-01-13 13:56:22 -08:00
174fed5ea0 uspace_rtapi_app: Ensure string is NUL-terminated
According to unix(7), the sun_path must be a null-terminated filesystem
pathname.
2021-01-13 09:31:39 -06:00
Chris Morley
6f9f5809fb qtvcp -MDI line: add a dialog keyboard option
dialogs is the standard way to add pop ups.
this allows options such as focus overlay, user/preference file placement,
and in the future different keyboard options.
2021-01-13 06:45:59 -08:00
Phillip Carter
3c38da60f7
Merge pull request #1040 from snowgoer540/gregc/styles
qtplasmac: change feed/rapid/jog reset button styling
2021-01-13 16:03:40 +11:00
Phillip Carter
ddd98dab42 qtplasmac: prevent editor enabling run from line 2021-01-13 13:55:00 +11:00
Phillip Carter
5dfccf3582 qtplasmac: fix keyboard jogging 2021-01-13 13:43:26 +11:00
Phillip Carter
d15cc1c4cd qtplasmac: run from line enhancements 2021-01-13 13:43:26 +11:00
Greg Carl
2921a29679 qtplasmac: change feed/rapid/jog reset button styling 2021-01-12 20:09:59 -05:00
Dewey Garrett
b4abc1c674 tests: add checks for [EMCIO]TOOL_CHANGE_POSITION 2021-01-12 09:34:59 -07:00
Dewey Garrett
9522a7ae64 test: on_abort-command-crazy-move: wait longer
and print info
(Avoid observed buildbot problems with excessive task latency)
2021-01-12 09:03:07 -07:00
Dewey Garrett
5cd845a7eb linuxcnc.in: terminate motion-logger also
fix for occaisonal buildbot failures for tests/motion-logger/mountaindew
that occur coincident with reports of excessive (> 1second) task latency
excursions like:

"task: 307 cycles, min=0.000155, max=1.804823, avg=0.014539, 7 latency excursions ..."

Scenario:
1) At termination of [DISPLAY]DISPLAY=test-ui.py, the linuxcnc script
   initiates shutdown by sending a SIGTERM to linuxcncsvr and milltask.
2) On a heavily loaded buildbot system (showing task latencies like above),
   the delivery of the SIGTERM to milltask may be delayed such that
   the linuxcncsvr process exits well before milltask and the final
   EMCMOT_DISABLE message is undeliverable to the motion-logger
   process resulting in absence of the final expected motion-logger
   "DISABLE" report.
3) This commit sends the SIGTERM to the motion-logger process also
   so the race-dependent final "DISABLE" report is no longer
   expected.
2021-01-12 09:02:54 -07:00
Phillip Carter
fd62a866c6 qtplasmac: add run from line 2021-01-12 17:57:32 +11:00
Phillip Carter
2ae155dd10 qtplasmac: fix material reload error 2021-01-12 17:41:39 +11:00
Phillip Carter
1ead6a1ba5 qtplasmac: add override reset
for:
feed override
rapid override
jograte
2021-01-12 17:37:15 +11:00
Phillip Carter
8c57474a59 qtplasmac: fix material0 change 2021-01-12 17:37:15 +11:00
Phillip Carter
73948fa365
Merge pull request #1038 from snowgoer540/gregc/docsupdate
docs: update qtplasmac and plasmac docs for clarity.
2021-01-12 10:03:18 +11:00
alkabal
49f13b60e5
typo error 2021-01-11 22:23:06 +01:00
alkabal
f9d58da309
Patched solution for use both value 2021-01-11 22:21:43 +01:00
Greg Carl
2f9255aea4 docs: update qtplasmac and plasmac docs for clarity. 2021-01-11 15:28:29 -05:00
Phillip Carter
4d2b5c3f19 qtplasmac: fix some styles 2021-01-11 18:11:46 +11:00
Phillip Carter
a3c42ff58b qtplasmac: add magic word to keep z axis moves in the parsed gcode 2021-01-11 14:07:19 +11:00
Phillip Carter
416d862b2f plasmac: fix z max height limit errors
error is now displayed when probing and pierce height would exceed z 
maximum

prevent hitting z maximum limit when second cut is closer to z maximum 
than safe height
2021-01-11 12:38:07 +11:00
Phillip Carter
558f14be4d qtplasmac: fix single-cut when machine in g91 mode 2021-01-11 12:26:57 +11:00
Chris Morley
da532a59bb qtvcp -doubleScale: make sure GAL pin sets initial value
If the widgets initial value is set to the widget initial internal
value - the HAL pins aren't updated.
I think this should do it.
2021-01-10 04:49:19 -08:00
Kiall Mac Innes
9732d9a0e1 AXIS: Add an axisui.error pin docs 2021-01-10 09:57:31 +00:00
Kiall Mac Innes
ec89805458 AXIS: Add an axisui.error pin
Add an axisui.error pin, mirroring the behaviour of the gmoccapy
error pin exactly. The pin will be set high / True upon error,
and will be set low / False when all error notifications have
been dismissed by the operator.
2021-01-10 09:56:37 +00:00
Chris Morley
90326e0923 qtvcp -qtdragon: fix run-from-line selection from draphics display 2021-01-09 18:05:26 -08:00
Phillip Carter
022cf09545 qtplasmac: move the common folder 2021-01-10 12:55:19 +11:00
Phillip Carter
d655b0f01d qtplasmac: fix height override naming 2021-01-10 12:27:12 +11:00
Chris Morley
fe806e1666 qtvcp -gcode-editor: after loading a program don't highlight a line 2021-01-09 17:07:56 -08:00
Chris Morley
7b645f5dbb qtvcp -qtaxis: add new style setting for selected text 2021-01-09 12:02:45 -08:00
Chris Morley
d642226dd2 qtvcp -fix highlight selection on gcode display widgets
gcode graphics didn't send out the line that was selected.
gcode editor was broken when I fixed gcode graphics.

STATUS signals about gcode line are now consistant - lines are 1 based just
as the user displayed code is. Gcode editor is internally 0 based and this
caused a lot of problems.

Had to adjust the run-from-line toolbar for 1 based lines

added a user marker for toggling a visual point in gcode lines.
Now we use a marker for the gcode selected line rather then the carret
line. Finally!
can style selected text now (cause I was going to use that as highlight.
2021-01-09 12:02:33 -08:00
Chris Morley
c5194df010 qtvcp -core: fix error if signal connected to dummy pin 2021-01-08 17:37:04 -08:00
Hans Unzner
3d626683d5 mb2hal: added sub-pins regarding to the data type 2021-01-08 16:19:50 +01:00
Hans Unzner
79bf62ea23 mb2hal: added fcnt_01_read_coils, fnct_05_write_single_coil, updated docs
Tested with SAMSON 5578 / SAMSON SAM Home Gateway
2021-01-08 16:16:59 +01:00
Phillip Carter
f950ea1a05 qtplasmac: fix conversational error dialogs 2021-01-07 16:22:56 +11:00
Phillip Carter
1552793b43 qtplasmac: update styling with some new widget styles 2021-01-07 16:22:56 +11:00
Phillip Carter
e681d649af qtplasmac: tidy up some color code 2021-01-07 16:22:56 +11:00
andypugh
92240ac889 Docs: Try to prevent URL munging in web browsers
Signed-off-by: andypugh <andy@bodgesoc.org>
2021-01-06 20:41:13 +00:00
Chris Morley
28673bc6c3 qtvcp -camview: fix missed print statement (for python3) 2021-01-05 09:53:54 -08:00
Chris Morley
e87c7bc389 qtvcp -camview: fix rotation angle, add no rotate property
The displayed value was not correlate to linuxcnc's rotational coordinates.
add block_wheel_rotation property.
add cam_number property for picking a cam out of multiple available.
add some currently unused vision detection code for testing on newer QT systems
2021-01-05 09:46:04 -08:00
Norbert Schechner
1ff0ab181f gmoccapy_3_1_2_1 - still a bug in ignore limits
- still a bug in handling ignore limits solved
  issue #1000 reported by Hans470
  solved by using new hal staus signal and deleted
  some unneded code

Signed-off-by: Norbert Schechner <nieson@web.de>
2021-01-05 18:42:32 +01:00
Norbert Schechner
4bca4c8861 gmoccapy - deleted print statement
Signed-off-by: Norbert Schechner <nieson@web.de>
2021-01-05 17:54:57 +01:00
andypugh
dbacec4f1f
Merge pull request #984 from luzpaz/lib-python-typos
docs: fix source comment and doc typos in lib/python
2021-01-05 13:12:56 +00:00
Phillip Carter
b0f383893b qtplasmac: change single cut method 2021-01-05 15:54:23 +11:00
Phillip Carter
bd2abe7cef qtplasmac: use z height for entire job 2021-01-05 13:22:06 +11:00
Phillip Carter
190f160b97 qtplasmac: fix typos 2021-01-05 11:36:15 +11:00
Phillip Carter
b2880720c1 qtplasmac: allow z dro to display torch height
fix pin names in gcode parser
small tidy up in class patches
2021-01-05 11:09:27 +11:00
Phillip Carter
f2f79af574 qtplasmac: move hal pin creation from gui to handler 2021-01-05 10:07:27 +11:00
luz paz
b8d385a169 Followup lib/ typos 2021-01-04 10:02:10 -05:00
luz paz
ea08a53edd docs: fix source comment and doc typos in lib/python
Found via `codespell v2.0.dev`  
```
codespell -q 3  -L ans,doubleclick,halp,parms
```
2021-01-04 09:53:06 -05:00
Chris Morley
b64673bc04 qtvfcp -dro_widget: add a user display option.
Phill needed to display a DRO that was not linuxcnc defined.
He will drive it (externally) with a HAL pin.

you change the displayed valye by changing the qreference_type property
and calling .update_user() with a int/float value
You can also use that function as a slot for signals in designer
2021-01-03 23:20:45 -08:00
Phillip Carter
3adcabddfa qtplasmac: fix reconfigure mode of qtplasmac-setup 2021-01-04 17:37:40 +11:00
Phillip Carter
647aec80b8
Merge pull request #1025 from snowgoer540/gregc/plasmacdocs
plasmac: return docs to 3 levels of sub-headings
2021-01-04 13:38:01 +11:00
Phillip Carter
d6f10ececd
Merge pull request #1026 from snowgoer540/gregc/qtdocs
qtplasmac: return docs to 3 levels of sub-headings
2021-01-04 13:37:22 +11:00
Greg Carl
c99b4e80ac plasmac: return docs to 3 levels of sub-headings 2021-01-03 20:33:45 -05:00
Greg Carl
9d1cc43595 qtplasmac: return docs to 3 levels of sub-headings 2021-01-03 20:30:54 -05:00
andypugh
974afb936e Docs: Expunge some Unicode hyphens in an attempt to make Precise Docs build
This might be preventing the creation of debs.


Signed-off-by: andypugh <andy@bodgesoc.org>
2021-01-03 20:41:45 +00:00
Phillip Carter
e3b410640d qtplasmac conversational tab stops and focus 2021-01-03 16:58:05 +11:00
Phillip Carter
4d13eb8b53 fix path for qtplasmac in makefile 2021-01-03 12:48:18 +11:00
Phillip Carter
2834cb6470 qtplasmac: more documentation edits 2021-01-03 12:20:35 +11:00
Phillip Carter
cc5b6e1abb qtplasmac: various changes
rename conversational folder for consistency
change conversational send button for consistency
fix height override hal pin name
2021-01-03 10:39:27 +11:00
Phillip Carter
a4722b912e
Merge pull request #1023 from snowgoer540/gregc/qtconv
qtplasmac: conversational fix send interlock for rotate and array
2021-01-03 09:59:45 +11:00
Greg Carl
c3b9dd9af8 qtplasmac: conversational fix send interlock for rotate and array 2021-01-02 13:51:50 -05:00
Phillip Carter
03f26cf169 qtplasmac: make a start on documentation 2021-01-02 18:36:56 +11:00
Phillip Carter
8d93057da9
Merge pull request #1022 from snowgoer540/gregc/docs
plasmac: minor doc updates
2021-01-02 17:22:29 +11:00
Chris Morley
ff6243558d remap library: improve probe_tool_m6 remap tool position
WIP but now it remember where you were when changing tool and returns there after.
2021-01-01 21:50:59 -08:00
Greg Carl
48fc94f3f6 plasmac: minor doc updates 2021-01-02 00:37:57 -05:00
Phillip Carter
9f5b5a2d60 qtplasmac: add height override 2021-01-02 15:56:34 +11:00
Phillip Carter
bedc6ba78d qtplasmac: fix conversational send button 2021-01-02 14:52:34 +11:00
Chris Morley
ef7360b361 Merge branch '2.8' 2021-01-01 19:31:14 -08:00
Chris Morley
3040b84949 qtvcp -generalhaloutput: fix initial value option
qt Widgets dont send a signal on initilization so the HAL output
can be out of synch (it defaults to 0)
either you can force the controlling widget to output a signal with
python call or you can set the initial value of the HAL pin to match the
widget.
2021-01-01 19:30:17 -08:00
Chris Morley
88736e0d52 qtvcp -fix scaling of float pins
The scaling factors were switched between s32 and floats
2021-01-01 19:29:42 -08:00
Phillip Carter
79634badaf qtplasmac: keep retrying rs485 until disabled 2021-01-01 12:03:33 +11:00
Phillip Carter
c770fba22f qtplasmac: fix material overlay display 2021-01-01 11:04:15 +11:00
Phillip Carter
35b7b22814
Merge pull request #1020 from snowgoer540/gregc/rs485
qtplasmac: set pmx485 error state on startup
2021-01-01 10:58:00 +11:00
Greg Carl
1d493102e1 qtplasmac: set pmx485 error state on startup 2020-12-31 14:08:49 -05:00
Hans Unzner
8a99fcf6c7 mb2hal: added inverting output bit for fcnt_02 2020-12-31 15:43:23 +01:00
Norbert Schechner
7d17c16ed5 gmoccapy_3_1_2 - bug in handling macro buttons
ver 3.1.2
- connecting macro button to physical button did send
  a clicked signal, but macro button did expect a pressed signal
  This bug has been reported from ulistermclame

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 15:35:41 +01:00
Norbert Schechner
0f91822bc5 gmoccapy_3_1_1 - solved bug setting analog enable signals
ver 3.1.1
- setting analog-enable hal pins signal always reseted
  the jog vel of the slider. This has been reported from
  hans23, solved with this update

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 14:40:11 +01:00
Norbert Schechner
8e28eab6bb gmoccapy_3_1_0 - added "disable tooltips"
ver 3.1.0
- added the ability to hide the tool-tips to
  make the use with touch monitors more useful
  Thanks to neilwhelcher for the code and pointing this out

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 13:57:43 +01:00
Norbert Schechner
58f2819127 gmoccapy_widgets : add iter function from neilwhelchel
Pull request #641

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 13:56:24 +01:00
Norbert Schechner
71349eb590 gmoccapy_3_0_10 - bug in ignore-limits checkbox
ver 3.0.10
- bug in handling ignore limits solved
  issue #1000 reported by Hans470
  solved by using new hal staus signal and deleted
  some unneeded code

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 12:13:46 +01:00
Norbert Schechner
bff1324d08 Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2020-12-31 11:07:17 +01:00
Norbert Schechner
a9fb0bb158 gmoccapy first steps to repair bug limits tripped
Signed-off-by: Norbert Schechner <nieson@web.de>
2020-12-31 11:06:59 +01:00
Phillip Carter
816706adcc plasmac: various fixes
allow torch pulse escape
fix editing focus and keystrokes
key + shift allows full speed rapids
2020-12-31 17:22:34 +11:00
Phillip Carter
8392b23e7d
Merge pull request #1019 from snowgoer540/gregc/arc-thc-lockout
plasmac: lock thc while arc lost timer is active and add interlock
2020-12-31 15:48:47 +11:00
Phillip Carter
af3786cfed qtplasmac: various fixes
gusset text
mdi focus and selection color
prevent duplicate initial z moves
rs485 fixes and error display changes
mdi input changes
conversational rotate
2020-12-31 15:45:43 +11:00
Greg Carl
538812c13e plasmac: lock thc while arc lost timer is active and add interlock 2020-12-30 22:36:11 -05:00
andypugh
e890bfa4fe
Merge pull request #1017 from alkabal/patch-3
Update near.comp add {} for syntax coherence
2020-12-30 12:45:27 +00:00
Phillip Carter
f8aa082e4a qtplasmac: conversational fonts and layout 2020-12-30 18:14:17 +11:00
Phillip Carter
d8488efcfd qtplasmac: fix conversational interlocks 2020-12-30 18:12:50 +11:00
Phillip Carter
46684b06df
Merge pull request #1016 from snowgoer540/gregc/wcs_button
qtplasmac: fix wcs_button interlock
2020-12-30 18:12:24 +11:00
Chris Morley
f2c0849d3d Merge branch '2.8' 2020-12-29 22:16:33 -08:00
Chris Morley
7509eaa54c qtvcp -qtDragon docs: add a bit of information about probing. 2020-12-29 22:00:28 -08:00
alkabal
0e856cf5a2
Update near.comp add {} for syntax coherence
Change nothing regarding to functionality but make code more regular
2020-12-30 04:32:26 +01:00
Greg Carl
71b1e552a8 qtplasmac: fix wcs_button interlock 2020-12-29 11:44:25 -05:00
andypugh
730d5dc2cc
Merge pull request #1015 from snowgoer540/gregc/docs_fix
docs: quick fix
2020-12-29 12:47:13 +00:00
Phillip Carter
c3ea22b22b qtplasmac: interlock conversational tab 2020-12-29 18:04:02 +11:00
Phillip Carter
d603499ab9 qtplasmac: fix rs485 2020-12-29 18:04:02 +11:00
Chris Morley
3d9374c532 qtvcp -update qtvcp docs for DROLabel 2020-12-28 22:51:08 -08:00
Chris Morley
4b62fda155 qtvcp -teach dro_label to change color based on home state
Well if can if you program the stylesheet too.
home/unhome sets the Qproperty and 'polishes' it's self.
2020-12-28 22:51:08 -08:00
Greg Carl
17ac0afd09 docs: quick fix 2020-12-28 22:21:49 -05:00
Phillip Carter
5d38b8b4b6
Merge pull request #1014 from snowgoer540/gregc/zero_window
Plasmac: add pin for zero voltage, change params to pins, doc updates
2020-12-29 14:14:37 +11:00
snowgoer540
5576998526
Update plasmac-user-guide.txt 2020-12-28 21:51:14 -05:00
Greg Carl
6b5a41e46a Plasmac: add pin for zero voltage, change params to pins, doc updates 2020-12-28 20:57:52 -05:00
Phillip Carter
75333991e9 qtplasmac: set initial z height
fix sim pathing
2020-12-29 12:47:11 +11:00
Chris Morley
bf4012b9c3 runtest: fix remap introspection
I forgot to run these testa again. broken it when I added '_metric_machine'
2020-12-28 06:12:18 -08:00
c-morley
3da4189744
Merge pull request #1011 from seebaer1976/patch-1
Update stdglue.py
2020-12-28 05:28:33 -08:00
Chris Morley
93b9b311cc remap: update tool_probe_m6
automatically adjust it's self for metric/imperial machines.

Don't use INI [TOOL_CHANGE] as linuxcnc already has a mechanism
to set tool change position.

always set G90 before executing G53 moves.
2020-12-28 05:17:52 -08:00
Chris Morley
fc0170259c emc: add a system param :_metric_machine
we read the INI file to check [TRAJ]LINEAR_AXES for 'inch'.
and then set th eparam accordingly.

Useful for remaps to decide how some varibles should be interpreted.
2020-12-28 05:17:52 -08:00
Markus
4ba291cf23
Update stdglue.py
I have corrected the sign #
2020-12-28 13:05:19 +01:00
andypugh
b13ef88ddd Merge remote-tracking branch 'origin/2.8' 2020-12-28 11:29:44 +00:00
andypugh
9de0dfde71 Docs: Re-phrase #988. Also use the raw text link.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-12-28 11:27:39 +00:00
andypugh
2e9ada2c9c
Merge pull request #988 from alkabal/patch-2
Update xhc-whb04b-6.1.txt
2020-12-28 11:19:08 +00:00
Chris Morley
fff44084e2 remap -add a tool-probe-at-m6 remap
This is a common modification to linuxcnc.
maybe if we have a 'standard' remap it will make things easier.
This is based on Versaprobe remap.
Param 4999 holds whether the machine in imperial.
param 5000 holds the workpiece height in absolute machine units.
The ini holds the rest of the required imforation.

To make things essier it would be nice to have a couple params
always available, such as what units the machine is based on
work in progress but it does work.

A toolsetter component for sim testing would be helpful too.

Better error handling of remaps, particular finding the files to import,
would really help people.
It it fails it would be nice to know where it looked...
2020-12-28 00:26:04 -08:00
Phillip Carter
8ddb63ffa0 qtplasmac: more interlocking 2020-12-28 18:17:30 +11:00
Phillip Carter
4fab75a736 qtplasmac: overlay materials on preview 2020-12-28 14:30:37 +11:00
Chris Morley
c5f7364616 qyvcp -gcode_editor: incorporate Phills pull reqyest work
We both worked on it indepedantly - here is his half :)
2020-12-27 18:48:07 -08:00
Phillip Carter
e24648986a
Merge pull request #1009 from snowgoer540/gregc/interlocks
Gregc/interlocks
2020-12-28 12:50:50 +11:00
Greg Carl
0f54d2def7 qtplasmac: interlock fixes 2020-12-27 10:29:30 -05:00
Greg Carl
75fcf06d85 qtplasmac: style changes 2020-12-27 09:46:32 -05:00
Chris Morley
b180207882 qtvcp -gcodeeditior: hideable buttons, fix search controls
some of the toolbuttons such as the lexer buttons should be hidden
from users if they are not needed.
now you can hide the whole toobar or the individual buttons/label

previous button crashed.
seach and replace didn't move to the next search point.

added some test code - to test this widget directly from python
2020-12-27 02:31:27 -08:00
Phillip Carter
dbf8fa45f7 qtplasmac: change some styles 2020-12-27 17:23:39 +11:00
Phillip Carter
11d83aa8b2 qtplasmac: fix torch pulse interlock 2020-12-27 17:23:39 +11:00
Chris Morley
8c2e40b332 qtvcp -qtdragon: update stylesheet for dialog and file manager
there are some dialogs that buttons were small.
filemanager's new table model header was not styled properly
2020-12-26 21:08:16 -08:00
Chris Morley
83482e0d16 qtvcp -versaprobe: add some icons to tooltips 2020-12-26 21:08:16 -08:00
Chris Morley
94a7249fc8 qtvcp -add function to set plot logger colors after init
could be used to hide homing plot or just customize plot colors
2020-12-26 20:58:38 -08:00
Chris Morley
8acb163e03 python linuxcnc -add ability to set logger colors after init
Someone wanted to not see homing plot lines but did want jogging plot lines.
Originally the module did not have a function to set logger colors after intialization.
Now one can make the color match the background untill after homing.
This won't work if one uses gradient backgrounds in qtvcp though...
2020-12-26 20:52:53 -08:00
Chris Morley
a2d87fc9de qtvcp -versa probe: fix help launch and add calculator dialog popup
help wouldn't launch on python 2
when the line edit gets focus pop a calculator dialog for entry.
it could be changed to something else too.
2020-12-26 02:18:31 -08:00
Chris Morley
72f1b50f61 qtvcp -dialogs: teach entry dialogs to not focus overlay if asked
popping an entry dialog on top of a already overlayed widget. would remove the overlay
when the entry dialog was closed. Now we can tell it not to overlay/ remove overlay at all
2020-12-26 02:15:56 -08:00
Phillip Carter
8daebd5a0e qtplasmac: more interlock changes
clear plot after file load
2020-12-26 17:31:57 +11:00
Phillip Carter
dce700d3c5 qtplasmac: fix erratic jogging 2020-12-26 09:30:45 +11:00
Phillip Carter
e4ff07d331 qtplasmac: return to manual mode after file load 2020-12-26 09:30:45 +11:00
Phillip Carter
74c202bb48 qtplasmac: remove alarms 2020-12-26 09:30:45 +11:00
Phillip Carter
86a8688035 qtplasmac: allow keyboard entry for parameters 2020-12-26 09:30:45 +11:00
Phillip Carter
2dcc5f5150 qtplasmac: improve button interlock and visuals 2020-12-26 09:30:45 +11:00
Phillip Carter
d996389fa8 qtplasmac: fix filemanager font 2020-12-26 09:30:45 +11:00
Hans Unzner
14e727d147 doc: added stylesheet to html man page, added image examples to hal component description
The waveforms are created with https://wavedrom.com/editor.html from the json-data.
See man pages of groff_www, groff_man and groff for formatting the text.
The HTML related commands of groff_www doesn't affect the man pages in the terminal.
2020-12-25 10:47:25 +01:00
Chris Morley
3039fe4cce runtest: fix for spindle S code change commit 095d08c 2020-12-25 00:57:15 -08:00
Chris Morley
32a8f839f6 qtvcp -screenooptions: get rid of focus overlay 'close linuxcnc?' on shutdown
redundant and cleaner
2020-12-24 22:57:06 -08:00
Chris Morley
2a87d2374c qtvcp -gcode utility: add defaults init, 'send macro'
sets the default variables in the gui entry boxes - next would be preference file loading.
'send macro' send the temparary program to linuxcnc
2020-12-24 22:57:06 -08:00
Chris Morley
a81818a8e2 qtvcp -gcode utility: hole circle: add 'send macro' button, fix units
'send macro' sends a temparay program to linuxcnc without saving.
 units were not changed in the program - always g21
2020-12-24 22:57:06 -08:00
Chris Morley
bca1b09386 qtvcp -gcode utility: add missimg library __init__ file 2020-12-24 22:57:06 -08:00
Chris Morley
095d08c85c motion: add ability to have gcode s0 while m3/4 is active
Usually in linuxcnc, setting s0 would set spindle off;
Setting m3/4 before s was above 0 would not allow s to be set after.
This commit fixes those problems.
tested on a real machine with two spinldes - one as an indexer

It's common in other machines to be able to set S and m3/4/5 separately.
This allows using the extra spindles in unique ways such as indexers.
(s setting can represent position)
This may help laser users with laser intensity etc.

If users relied on setting s to 0 to turn off the spindle will need to change their programs.
One could argue the were not using the code properly anyways.
2020-12-24 22:35:49 -08:00
Hans
ba1403a2ba doc: little changes in hal doc, little doc fixes 2020-12-24 20:56:50 +01:00
Chris Morley
cbf19fefad qtvcp -make DRO display format configurable 2020-12-23 16:28:54 -08:00
Chris Morley
f3744eb33a qtvcp -add round progressbar widget 2020-12-23 16:28:54 -08:00
chris
37237c8024 qtvcp -filemanager: remove debug print; breaks python3 2020-12-23 00:13:39 -08:00
Phillip Carter
2ba1e25ec9 qtplasmac: fix styling for new updated filemanager 2020-12-23 17:29:36 +11:00
Phillip Carter
2de3b730da qtplasmac: fix jog increment text 2020-12-23 16:30:20 +11:00
Phillip Carter
8c2fa38c1c qtplasmac: clear plot when changing cut type 2020-12-23 15:52:27 +11:00
Phillip Carter
cb4b905d01 qtplasmac: fix pause button after cut recovery 2020-12-23 15:46:54 +11:00
Phillip Carter
eae5832d2b qtplasmac: add velocity display 2020-12-23 15:37:24 +11:00
Phillip Carter
649c32ce53 qtplasmac: clear preview plot after homing 2020-12-23 14:31:55 +11:00
Phillip Carter
c1d99505f9 qtplasamc: torch pulse fix 2020-12-23 13:57:18 +11:00
Phillip Carter
efa5b66e1e qtplasmac: various
change file locations
add setup application
remove automatic path linking
2020-12-23 12:26:52 +11:00
Chris Morley
a8f7117a73 qtvcp - qtdragon: set the USB mile manager as a simple list
There is less space for filenames there. We will see if users complain.
2020-12-22 01:07:13 -08:00
Chris Morley
d8c36daa32 qyvcp -file_manader: add file details, scrolling via slots
now defults to a table of filename/timestamp and size.
Can be changed back to simple list

Can you designer signals to connect to the scroll slot.
This allows using a slider or diali widget to scroll up and down.

Coulfd also connect an external MPG to do the same thing.
QtTouchy sim shows how that would work (the code is a little different 0 - i've noe made it easier)
2020-12-22 01:07:13 -08:00
Phillip Carter
7c03a8e8f1 qtplasmac: move sim files to qtvcp/panels 2020-12-22 17:34:29 +11:00
andypugh
41fd8f6a67 Lathe Macros: The boring cut depth box did not pop up a keyboard.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-12-21 23:55:07 +00:00
Chris Morley
c6f2308490 qtvcp -qtdragon: add gcode utility page
allows building a facing or bolt hole circle program.
2020-12-21 00:14:24 -08:00
Chris Morley
1de766277f qtvcp -add gcode_utility code
Jim made some basic facing/boltcircle gcode utility programs
2020-12-21 00:14:24 -08:00
Chris Morley
54f0fd065b qtvcp -add detachable tab wudget, use it on QtAxis
QtAxis's center tabs can be double clicked to deatch them from the main
screen. Double click the title bar and it will be full screen.
close to reattach.
2020-12-21 00:14:24 -08:00
Chris Morley
7825bdcdf3 qtvcp -vismach: make mill_XYZ start without a running linuxcnc
now it will display the model even without linuxcnc
running or the proper pins available.
2020-12-21 00:14:24 -08:00
Chris Morley
9d205df765 qtvcp -docs: fix double VCP builtin section 2020-12-21 00:14:24 -08:00
Peter Wallace
19cc0be130 Add position reset pin to stepgen to ease changing step/dir drive spindles
from spindle mode to position mode
2020-12-20 17:39:07 -08:00
Chris Morley
ba9ee16c63 qtvcp -docs: update docs on cmdline switches and bultin panels 2020-12-20 02:40:29 -08:00
Chris Morley
3a3466a610 qtvcp -improve shutdown on error - try to close eveything properly 2020-12-20 02:40:29 -08:00
Chris Morley
8b2358be5a qtvcp -add -o option for passing user options tp handler
used to be -U but was never coded
2020-12-20 02:40:28 -08:00
Chris Morley
216f8cec41 qtvcp -display available screens too if qtvcp get no arguments 2020-12-20 02:40:28 -08:00
Chris Morley
5122bdff26 qtvcp -core: raise exception on pin error, if in verbose
if in debug or less print info to logger - don't stop
if in verbose - stop and print error
2020-12-20 02:40:28 -08:00
Chris Morley
77459f668d qtvcp -improve error handling
pop a message box if there is a duplicate component error
Don't print info about a HAL component that was never there (when closing)
2020-12-20 02:40:18 -08:00
chris
2f3d319a7f qtvcp -qtplasmac.ui: turn off camview dialog
there were two instances of camview - HAL pins clashed.
I don't think the camview dialog was used.
2020-12-19 19:47:08 -08:00
chris
bf81722d11 qtvcp -conversational: use python3 legal code for not equal
<> works in python 2
!= works in both
2020-12-19 19:47:08 -08:00
chris
f0353f9d52 qtvcp -core: fix error when get() is called on DummyPin
set pib takes arguments
2020-12-19 19:47:01 -08:00
Chris Morley
b429e9da2c qtvcp -camview: use new HAL pin procedure to avoid crash
now we automatically ignore duplicate pins.
2020-12-19 19:11:37 -08:00
Chris Morley
1fddeaf7b6 qtvcp -core: make HAL pin making crash proof
Now if pin making fails, it won;t kill the program
right away.
You can check for the error and an error is logged.
calls to set() are ignored.
probably will fail when get() is called.

Pobably sjould make it fail right away in verbose mode but
that will take changes in qtvcp.py
2020-12-19 19:08:01 -08:00
Chris Morley
ff8514ec60 Merge branch '2.8' 2020-12-19 17:40:58 -08:00
Chris Morley
fd23c7365e qtvcp -camview: guard against HAL pin clash
If two instances of camview are initiated - crash because
of same named pins.
Now we send an error message and igore the pin

This probably should be done in QPIN class
2020-12-19 17:26:35 -08:00
Chris Morley
94ba5cedcf qtvcp -camview dialog: fix loading in designer
designer purposely doesn't call hal_init() because linuxcnc isn't
running.
We called camview's hal_init() in camview dialogs __init__ function.
the __init__ function is called from designer so broke things.

This showed up after changing camview dialog's _hal_init() to hall_init()
2020-12-19 17:16:47 -08:00
Chris Morley
d5da5c428a Merge branch '2.8' 2020-12-19 14:45:37 -08:00
Chris Morley
da157560b4 qtvcp -camview widget: fix hal_init name
hal_init() is the function in the baseclass that usually gets called by qt_makepins.
_hal_init() is the function called on subclasses.
camview_widget is subclassed so should use _hal_init.

When building HAL-ified widgets by hand one must call the hal_init() function ourselves.
So camviw dialog should call hal_init() on camview widget(baseclass),
which them calls _hal_init() on the camview widget.

As it was - camview widget's HAL pin was never made when using a dialog.
2020-12-19 14:43:22 -08:00
Chris Morley
fc5f7e3ccf qtvcp -widget_baseclass: fix spelling error in warning message 2020-12-19 14:20:47 -08:00
Chris Morley
e149718d16 Merge branch '2.8' 2020-12-19 13:10:20 -08:00
Chris Morley
53834ceb22 qtvcp -fix default display action of rotary axes
AXIS gui default to GEOMETRY XYZABCUVW
QTVCP defaulted to XYZ

This makes rotary axes display differently
2020-12-19 12:40:39 -08:00
Chris Morley
4fe08d2435 qtvcp -qt_vismach: fix imports for python3 2020-12-19 00:30:07 -08:00
Chris Morley
b2594167ef qtvcp -initial code for qt vismach
Code based on vismach.py, now runs under PYQT5 instead of tkinter.
This allows embedding into other projects.
added ability to read relevant HAL pins without connecting.
Added a Qtvcp panel to test with (vismach_mill_xyz)
added a sample config that embeds into AXIS gui. (qtvismach_tab.ini)
2020-12-18 19:36:24 -08:00
Phillip Carter
6ea8c00bb4 qtplasmac: document changes 2020-12-18 14:26:43 +11:00
Phillip Carter
e3070aca0d qtplasmac: fix cut recovery move display 2020-12-18 14:26:43 +11:00
Phillip Carter
3a4180055b qtplasmac: rename cycle buttons 2020-12-18 14:26:43 +11:00
Phillip Carter
fb4d6650ae qtplasmac: add versioning 2020-12-18 14:26:43 +11:00
Chris Morley
34ae8fd9bb docs -update halui pin descriptions 2020-12-17 16:47:46 -08:00
Phillip Carter
57f06b625d
Merge pull request #1005 from snowgoer540/gregc/qpdocs
qtplasmac: Align qtplasmac docs with current plasmac doc changes
2020-12-18 09:20:06 +11:00
Greg Carl
ec88859c92 qtplasmac: Align qtplasmac docs with current plasmac doc changes 2020-12-17 16:41:16 -05:00
Phillip Carter
83a5cd0644 qtplasmac: some doc edits 2020-12-17 21:02:30 +11:00
Chris Morley
d7d8f7a5cc qtvcp -filemanager: remember the user added jump paths 2020-12-17 01:12:22 -08:00
Chris Morley
eb67ea62ad qtvcp -add a getall function to preference library
This probably needs work - it assumes you want strings
2020-12-17 01:12:22 -08:00
Chris Morley
8fccede4b3 qtvcp -calculator: update layout - now resizable
Thanks Jim (persei)
2020-12-17 01:12:22 -08:00
Chris Morley
db640e93a1 qtvcp -dialogs: add nonblocking option to calculator 2020-12-17 01:12:22 -08:00
Phillip Carter
cd46e63f64 qtplasmac: change conversational layout to suit different gui formats 2020-12-17 18:22:16 +11:00
Chris Morley
591b1dabf7 Merge branch '2.8' 2020-12-16 12:57:47 -08:00
Chris Morley
e93baec245 qtvcp -qtdragon: update file_manager startup code
We want the lasted loaded folder shown on startup.
we want the media file manager not to show an error to user
if the path is wrong. (Which is higly unlikely anyways)
2020-12-16 12:52:17 -08:00
Chris Morley
2e4647e597 qtvcp -filmanager: fix user/media path fixup, add PROGRAM_PREFIX
user/media paths were opposite.
Now will set 'jump user' to [DISPLAY] PROGRAM_PREFIX, if available.
More error maessages annoinced in notify.
Possible to change directyview programmically without Notify announcing
errors.
2020-12-16 12:42:19 -08:00
Chris Morley
f061b35d52 qtvcp -qtdragon: fix PROGRAM_PREFIX entries in INI 2020-12-16 12:22:44 -08:00
Chris Morley
092f6c7979 qtvcp - istat: add PROGRAM_PREFIX
File_manager uses it, so far
2020-12-16 12:16:52 -08:00
Phillip Carter
884b066f59 qtplasmac: add material changes to conversational 2020-12-16 15:57:20 +11:00
Chris Morley
a22256354d qtvcp -qtdragon: fix editimg of gcode
keybindings were redirected to handler functions, even when trying
to edit gcode.
2020-12-15 19:48:51 -08:00
Greg Carl
a139e088e0 PlasmaC: add torch height control interlock, add clarity to user guide 2020-12-16 10:12:26 +11:00
Greg Carl
073f230d75 plasmac: add missing resolution multiplier 2020-12-16 10:12:12 +11:00
Greg Carl
021199d425 plasmac: add torch enable interlock to torch pulse 2020-12-16 10:11:53 +11:00
Phillip Carter
866cda4adb qtplasmac: a few minor changes
clear display after touchouff
remove print statements
gix 9x16 user button names
2020-12-16 10:06:53 +11:00
Phillip Carter
5d5511029f qtplasmac: add some auto updating 2020-12-15 18:07:19 +11:00
Phillip Carter
a1619b8522 qtplasmac: move file open/reload buttons 2020-12-15 17:35:20 +11:00
Phillip Carter
34410300dd qtplasmac: add material change to main screen 2020-12-15 17:35:20 +11:00
chris
f1c98ea3b5 qtvcp -filemanager: fix loading by double click
Tested everything but this it seems
2020-12-14 19:29:35 -08:00
Chris Morley
a3586c19a1 qyvcp -screenoption: separate out NML and Operator errors.
Slighlty change the error message text based on NML or not
2020-12-14 16:27:41 -08:00
Chris Morley
b57ce52a61 qtvcp -filemanager -add current path text, jump/copy controls
Now you can see the current path as a text line.
Jump button can have new user-selected paths added by pressing a button.
Selection of jump path is by long press.
If the option showCopyControls is called true, then a copy path
text edit is show plus copy and paste buttons.
2020-12-14 16:23:52 -08:00
Chris Morley
18fb982943 Merge branch '2.8' 2020-12-13 19:17:31 -08:00
Phillip Carter
9a7e8fea55
Merge pull request #1003 from snowgoer540/gregc/thc_interlock_and_docs
PlasmaC: add torch height control interlock, add clarity to user guide
2020-12-14 13:51:51 +11:00
Chris Morley
2b44a6337c hal_glib -fix check_for_modes always failing
This showed it's self in qtvcp as always setting MDI mode even
when already in MDI mode. this would cut short any running MDI codes.
2020-12-13 18:43:27 -08:00
Greg Carl
0c481ab550 PlasmaC: add torch height control interlock, add clarity to user guide 2020-12-13 19:20:12 -05:00
Phillip Carter
d427701bd0
Merge pull request #1001 from snowgoer540/gregc/resolution
plasmac: add missing resolution multiplier
2020-12-13 19:11:38 +11:00
Phillip Carter
52dc76b1ca qtplasmac: change some font sizes 2020-12-13 17:48:43 +11:00
Phillip Carter
06b9f076e4 qtplasmac: fix some conversational issues 2020-12-13 17:48:43 +11:00
Phillip Carter
32a4766fa0 qtplasmac: allow double click on sim sensors 2020-12-13 17:48:43 +11:00
Chris Morley
8fd51ef294 qtvcp -calculator: fix 'current axis' button
On systems with an A axis the label 'Axis X'
would confuse the code.

Also pressing the button wouldn't clear the display first
2020-12-12 19:02:59 -08:00
Chris Morley
5b311f7583 qtvcp -file_manager: tweak min button sizes
Thanks to Jim
2020-12-12 19:02:59 -08:00
Greg Carl
905c8cde0b plasmac: add missing resolution multiplier 2020-12-12 20:05:59 -05:00
Phillip Carter
8f832556f4 qtplasmac: add rotate & array to conversational 2020-12-12 16:40:40 +11:00
Phillip Carter
1428fea5ad qtplasmac: multiple changes
fix torch pulse button text
fix add circle to file
fix torch enable error
add bolt circle to conversational
add gusset to conversational
add sector to conversational
change path name of common files
2020-12-12 14:02:07 +11:00
andypugh
b386f46c32
Merge pull request #999 from Hans470/2.8-restructure-hal-doc
docs: adjust hal section of toc
2020-12-12 01:43:19 +00:00
Hans
3540089519 docs: adjust hal section of toc 2020-12-11 20:13:22 +01:00
Phillip Carter
2546b3f7b5 qtplasmc: add star to conversational 2020-12-11 20:44:57 +11:00
Phillip Carter
1c5f1803f1 qtplasmac: add polygon and slot to conversational 2020-12-11 15:36:06 +11:00
Phillip Carter
4cb164e38d qtplasmac: add lines and triangle to conversational 2020-12-11 12:56:32 +11:00
Phillip Carter
3121ecf280 qtplasmac: default to multitool enabled 2020-12-11 12:56:32 +11:00
Chris Morley
617071e11b qtvcp -qtdragon: have zoom buttons auto repeat 2020-12-10 17:04:38 -08:00
Chris Morley
9be50d5954 qtvcp -calculator: fix some byte/strg comparison problems
My fix for python3 was not right for python2
trying to compare bytes to strings
2020-12-10 17:04:26 -08:00
andypugh
fd461e2ce1 Merge remote-tracking branch 'origin/2.8'
# Conflicts:
#	VERSION
#	debian/changelog
#	docs/LinuxCNC_Getting_Started_cn.pdf
#	docs/man/man9/hostmot2.9
#	src/hal/drivers/mesa-hostmot2/pins.c

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-12-10 23:36:12 +00:00
andypugh
052600b7ac
Merge pull request #998 from jmgardeto/2.9-pre0_es
2.9 pre0 es
2020-12-10 21:14:06 +00:00
J.M.Garcia
192a7e3d3d translation es 2020-12-10 20:18:09 +01:00
J.M.Garcia
557ba449fe minor syntactic revision 2020-12-10 20:17:09 +01:00
J.M.Garcia
5de68b5b05 translation es 2020-12-10 19:46:04 +01:00
J.M.Garcia
32f2c1126a minor syntactic revision 2020-12-10 19:44:16 +01:00
J.M.Garcia
4cdff73841 minor syntactic revision 2020-12-10 18:59:22 +01:00
J.M.Garcia
22f85f9cf5 minor syntactic revision 2020-12-10 18:43:41 +01:00
J.M.Garcia
fd93b28d50 minor syntactic revision 2020-12-10 18:39:32 +01:00
J.M.Garcia
485d5b5eb8 minor syntactic revision 2020-12-10 18:35:11 +01:00
J.M.Garcia
f773c0b16f translation es 2020-12-10 18:18:57 +01:00
J.M.Garcia
060aae4e11 minor syntactic revision 2020-12-10 14:14:05 +01:00
J.M.Garcia
11d00aeaa4 minor syntactic revision 2020-12-10 13:25:05 +01:00
J.M.Garcia
b35af1b123 minor syntactic revision 2020-12-10 12:28:02 +01:00
J.M.Garcia
51724d1dad minor syntactic revision 2020-12-10 11:24:53 +01:00
J.M.Garcia
a4fc99f518 change location of hostmot2 driver info 2020-12-10 11:12:08 +01:00
J.M.Garcia
2cd91d8800 change location of hostmot2 driver info 2020-12-10 10:48:30 +01:00
Chris Morley
2b466bdbf5 qtvcp -remove python2 debug print statement 2020-12-09 22:05:04 -08:00
Chris Morley
4ff3c98ad4 qtvcp -update docs for a missing required library for designer
We aparently missed libpython-dev that is required for the python
plugin to work properly.
2020-12-09 21:00:37 -08:00
Chris Morley
eddb60b7f3 qtvcp -add a verbose debug option 2020-12-09 21:00:37 -08:00
J.M.Garcia
666a33067c change location of hostmot2 driver info 2020-12-09 22:56:24 +01:00
J.M.Garcia
12aae036e5 change location of hostmot2 driver info 2020-12-09 22:50:12 +01:00
J.M.Garcia
9d90800239 minor syntactic revision 2020-12-09 21:10:58 +01:00
J.M.Garcia
9a9000b30c minor syntactic revision 2020-12-09 20:54:01 +01:00
J.M.Garcia
e8ba5cfafd minor syntactic revision 2020-12-09 20:49:51 +01:00
J.M.Garcia
322400728c minor syntactic revision 2020-12-09 20:15:36 +01:00
J.M.Garcia
6b4d32f256 minor syntactic revision 2020-12-09 19:34:40 +01:00
J.M.Garcia
6315e06329 minor syntactic revision 2020-12-09 19:16:34 +01:00
J.M.Garcia
278051cb23 minor syntactic revision 2020-12-09 19:05:59 +01:00
J.M.Garcia
57bb4a9bb7 minor syntactic revision 2020-12-09 18:29:52 +01:00
J.M.Garcia
3b2247a441 nomodecopy multilingual 2020-12-09 17:52:04 +01:00
J.M.Garcia
dcee2109a4 bugs report howto 2020-12-09 12:23:53 +01:00
J.M.Garcia
6011e05dd1 bugs report howto 2020-12-09 12:14:03 +01:00
J.M.Garcia
e128587fa4 bugs report howto 2020-12-09 12:10:32 +01:00
J.M.Garcia
09172e5a78 bugs report howto 2020-12-09 11:53:35 +01:00
J.M.Garcia
73ea3aa2b1 bugs report howto 2020-12-09 11:48:09 +01:00
J.M.Garcia
0f4f95ff41 delete dummy file 2020-12-09 10:30:25 +01:00
Phillip Carter
00619c2844 Deleted by mistake
Revert "Delete qtplasmac_imperial_ini.inc"

This reverts commit b372edb6a7.
2020-12-09 20:30:13 +11:00
Phillip Carter
c912d1ea2e Deleted by mistake
Revert "Delete qtplasmac_metric_ini.inc"

This reverts commit bb93ad0e33.
2020-12-09 20:28:55 +11:00
Phillip Carter
2d9856372f
Delete metric_position.txt 2020-12-09 20:11:47 +11:00
Phillip Carter
437a701c8d
Delete qtplasmac.style 2020-12-09 20:11:33 +11:00
J.M.Garcia
753cb2c3b5 Branch creation 2.9-pre0_es 2020-12-09 10:11:14 +01:00
Phillip Carter
bb93ad0e33
Delete qtplasmac_metric_ini.inc 2020-12-09 20:10:42 +11:00
Phillip Carter
92d395caad
Delete qtplasmac_material.cfg 2020-12-09 20:10:31 +11:00
Phillip Carter
b372edb6a7
Delete qtplasmac_imperial_ini.inc 2020-12-09 20:10:17 +11:00
Phillip Carter
5b8b140ac7
Delete qtplasmac.qss 2020-12-09 20:10:05 +11:00
Phillip Carter
710e3832ab
Delete qtplasmac.prefs 2020-12-09 20:09:55 +11:00
Phillip Carter
3e59181b2e
Delete metric_parameters.txt 2020-12-09 20:09:42 +11:00
Phillip Carter
bc1b0706a2
Delete metric_mdi_history.txt 2020-12-09 20:09:32 +11:00
Phillip Carter
49f16fdc19 qtvcp-qtplasmac: add rectangle to conversational 2020-12-09 20:04:36 +11:00
Phillip Carter
57cb7b2910 qtvcp-qtplasmac: conversational zoom after preview 2020-12-09 13:00:32 +11:00
Chris Morley
c9becb4185 qtvcp -dro_widget: fix a race condition with angular display
The widget checked for joint type early in the process by calling stat.
Stat might not have been polled yet so might get the wrong info.
This would show as the format of the angular DRO changing to imperial/metric
 format

It was noticed adding the touchyMDI widget would fix the problem
because it polled status it's self.
2020-12-08 17:56:34 -08:00
Chris Morley
0a5d947955 qtvcp -istat: add joint_type_int
we recorded joint type as a string but as a interger is handier
for comparisons later
2020-12-08 17:55:10 -08:00
Phillip Carter
86f5e0b1d3 qtvcp-qtplasmac: set chips as window icon 2020-12-09 12:25:27 +11:00
Phillip Carter
4a3c2be1dc qtvcp-qtplasmac: allow negative values for single cut 2020-12-09 11:40:20 +11:00
Phillip Carter
4064f1ad13 qtvcp-qtplasmac: move laser and camera buttons to the dro frame 2020-12-09 11:31:02 +11:00
Phillip Carter
b8603fd8a3 qtvcp-qtplasmac: disable reload if no last program 2020-12-08 18:08:07 +11:00
Phillip Carter
585f1941e1 qtvcp-qtplasmac: change hal file locations 2020-12-08 17:09:58 +11:00
Chris Morley
00693f835a qtvcp -improve geometry option error message
Fixed the bug that caused an error.
improved the error message to include python's error.
use self.shutdown so the component is unloaded properly.

fix some spelling errors
2020-12-07 19:26:24 -08:00
Phillip Carter
ef662fea74 qtvcp-qtplasmac:gui update and sim changes 2020-12-08 14:25:58 +11:00
Phillip Carter
75469c5f70 qtvcp-qtplasmac: additional sim configs 2020-12-08 12:43:14 +11:00
chris
64eb1c10d1 qtvcp -qtplasmac: oops add the missed 9x16 screen 2020-12-06 20:51:53 -08:00
chris
96cfc5e481 qtvcp -add qtplasmac screen code 2020-12-06 12:13:03 -08:00
andypugh
f65838c548 Docs: Multi-line "component" docstrings in .comp files
Realising that a mutli-line component docstring in a .comp file leads to
the SYNOPSIS section being the second line, fix the docstring in demux.comp
and use it to our advantage in bldc.comp


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-12-05 23:17:36 +00:00
Dewey Garrett
1049587d8f emccanon.cc GET_EXTERNAL_TOOL_SLOT hdl bogus request
Return -1 if toolno for toolinSpindle is -1

Formerly, when requesting "home" pocket for an invalid
toolno (-1), returned the 'pocket' for the last entered
valid tool.
2020-12-04 08:57:31 -07:00
Phillip Carter
a271e143c8
Merge pull request #995 from snowgoer540/gregc/pulse-fix
plasmac: add torch enable interlock to torch pulse
2020-12-04 08:50:22 +11:00
Greg Carl
ef774f138b plasmac: add torch enable interlock to torch pulse 2020-12-03 05:59:17 -05:00
andypugh
5d082d148b Fix formatting in changelog (items need a 2-space indent)
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-12-02 21:25:22 +00:00
andypugh
4defa9b946 Release v2.8.1
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-30 19:11:22 +00:00
andypugh
723fdee564 Revert "Release 2.8.1"
This reverts commit 0279407786.
2020-11-30 19:08:41 +00:00
andypugh
f3764ed5ec
Merge pull request #994 from comradekingu/patch-2
Spelling: 3D printers, HTTPS link
2020-11-29 22:40:48 +00:00
Allan Nordhøy
f29751b6c2
HTTPS link 2020-11-29 22:02:06 +00:00
Allan Nordhøy
60a0623aaa
Spelling: 3D printers 2020-11-29 22:00:56 +00:00
Allan Nordhøy
e6f9f08d52
Corrections 2020-11-29 21:54:11 +00:00
Allan Nordhøy
ea12e90bad
Docs README reworked 2020-11-29 21:51:49 +00:00
andypugh
0279407786 Release 2.8.1
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-29 14:57:52 +00:00
andypugh
93c6471ad7 Docs: Updated Chinese "Getting Started"
Built with asciidoctor-pdf
https://github.com/asciidoctor/asciidoctor-pdf#create-a-custom-cjk-theme

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-29 14:29:57 +00:00
Phillip Carter
b71e373b25 plasmac: fix conversational path error 2020-11-29 18:08:52 +11:00
Phillip Carter
f8879f22f3 plasmac: fix conversational path error 2020-11-29 18:03:09 +11:00
andypugh
f423c5831d
Merge pull request #978 from LinuxCNC/andypugh/2.8_hm2_update
andypugh/2.8 hm2 update
2020-11-29 00:10:30 +00:00
Peter Wallace
a6c7e72e1f Add description of the PWM generators offset-mode to hostmot2 man page 2020-11-28 22:50:22 +00:00
Peter Wallace
e90a496a78 hostmot2: some more manpage corrections/clarifications 2020-11-28 22:49:30 +00:00
Peter Wallace
7b458f858f hostmot2: update manpage with new modules 2020-11-28 22:48:18 +00:00
Chris Morley
de62d6f36c qtvcp -qtdragon: update stylesheets for calculator dialog
master version
2020-11-27 20:58:08 -08:00
Chris Morley
353fc7d047 qtvcp -qtdragon: switch to calculator dialog for offset entry
master version
2020-11-27 20:56:58 -08:00
Chris Morley
06a6102215 Merge branch '2.8' 2020-11-27 20:49:47 -08:00
Chris Morley
bc0a39f1c6 qtvcp -qtdragon: update stylesheets for calculator widget 2020-11-27 20:46:58 -08:00
Chris Morley
e54257e45e qtvcp -qtdragon: use calculator dialog for offset entry
qtdragon's builtin keyboard widget steals focus from the entry dialog,
making it not possible to use.
Calculator is probably handier anyways.
2020-11-27 20:46:58 -08:00
Phillip Carter
3f7e02161d Merge branch '2.8' 2020-11-28 11:46:28 +11:00
Phillip Carter
47fea44093 plasmac: fix torch pulse errors 2020-11-28 11:45:47 +11:00
Dewey Garrett
742c3e2940
Merge pull request #992 from yohsuke/doc-eoffsets
Modify config file name written in external-offsets.txt (eoffsets_demo.ini -> eoffsets.ini)
2020-11-27 10:31:30 -07:00
yohsuke
33fd158a6f Modify config file name written in external-offsets.txt 2020-11-28 01:20:15 +09:00
Chris Morley
5ae35b8890 qtvcp -update Makefile to install writer library 2020-11-25 20:49:27 -08:00
Phillip Carter
bb9d4dac8c Merge branch '2.8' 2020-11-26 12:20:57 +11:00
Phillip Carter
33ce2fe601 plasmac: fix gcode parser errors 2020-11-26 12:20:06 +11:00
alkabal
226e0fbb0e
fix issue with spindle dir change lcnc 2.8 2020-11-25 23:13:54 +01:00
Dewey Garrett
8384a12a9b emcmodule.cc allow geometry rot iff valid letter
1) mask [DISPLAY]GEOMETRY letters for named [TRAJ]COORDINATES
2) rm debug print
2020-11-25 05:20:39 -07:00
Phillip Carter
dd04bb9d6e Merge branch '2.8' 2020-11-25 14:13:02 +11:00
Phillip Carter
4501e6d678 plasmac: remove debug printing 2020-11-25 14:12:11 +11:00
Phillip Carter
4aa0ad66c2 Merge branch '2.8' 2020-11-25 09:46:28 +11:00
Phillip Carter
7f02644120 plasmac: fix cut recovery restart 2020-11-25 09:45:40 +11:00
andypugh
0cd671c776 Docs: Fix pin name typos in Gmoccapy docs.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-24 19:35:30 +00:00
andypugh
db14315e0c hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-24 19:35:30 +00:00
Chris Morley
33d4a198fa qtvcp -Gcode editor: qproperties for margin text and color and background
Had to change the way we colored background for it to work properly.
Before we checked the default color of the window and used that.
But then it would ignore our qproperty settings.
2020-11-23 21:39:18 -08:00
Chris Morley
d365668ca8 Merge branch '2.8' 2020-11-22 14:26:59 -08:00
Chris Morley
f9ae19a8e0 qtvcp -designer plugins: add more icons
makes it easier to find widgets
2020-11-22 14:25:48 -08:00
Mark
b4dab52a70 Make sure initial move is executed for calling the sub. This allows the
sub to use #<_Z> and #<_X> to find the initial position.
2020-11-22 17:15:34 +01:00
alkabal
41ebc90329
Update xhc-whb04b-6.1.txt
Add link for correct exemple HAL
https://github.com/LinuxCNC/linuxcnc/blob/2.8/src/hal/user_comps/xhc-whb04b-6/example-configuration.md
2020-11-22 12:09:51 +01:00
Chris Morley
d452817595 Merge branch '2.8' 2020-11-21 16:55:31 -08:00
Chris Morley
87c989416f qtvcp -fix error when screen has an unused dro_widget
it's common to add extra hidden DRO widgets to a screen so it can work
with different number of axis machines.
But previously we errored on not finding the axis number from the INI.
now its a debug message and we use 0 (X) as it's always available.
2020-11-21 16:50:53 -08:00
Chris Morley
9a7e7ba0ec Merge branch '2.8' 2020-11-21 16:12:25 -08:00
Chris Morley
769f922f75 qtvcp -qtlathe: fix unhomed jogging of Z
Wrong joint number used
2020-11-21 16:11:20 -08:00
Chris Morley
2c6d85b39f qtvcp -qtdragon sim: fix reference to missing HAL pin
buttons don;t have HAL based leds anymore
2020-11-21 16:11:20 -08:00
Chris Morley
4bb1688637 qtvcp -qt_istat: prebuild joint num to axis index conversions
dro_widget needs these conversions; num of joints vrs number of axes
are not nessasarily the same.
python linuxcnc library always reports axes positions in a set of 9 variables.
the number of joint number varies but is always the same or more then axes.

This makes a map of the differences.
2020-11-21 16:11:20 -08:00
Dewey Garrett
e41560a41f tool_parse.cc restore a printf, include filename 2020-11-21 08:03:18 -07:00
Dewey Garrett
3823ac8b44 tool_parse.cc allow blank line in tool table file
prior behavior:
  A blank line between two valid lines (line1,line2)
  caused tool specified on line1 to be skipped
2020-11-21 06:20:09 -07:00
Dewey Garrett
70e18b918c dynamic_offsets.ini sim workaround breakage
8e3f222c04 added a scale component in sim_lib.tcl that
breaks this sim config
2020-11-21 06:20:09 -07:00
Chris Morley
961cb3a1fe qtvcp -qtdragon: use new keybinding builtin function
This was a regression i missed when updating qtdragon from Jim's repo
2020-11-20 21:51:45 -08:00
Chris Morley
391660b1c6 qtvcp -qtdragon: fix keybinding while in text edit mode 2020-11-20 21:42:20 -08:00
alkabal
d9e2f23b85
Revert bad change inside driver XHC-WHB04B-6 lcnc 2.8 2020-11-21 01:30:01 +01:00
alkabal
82a37d25da
Merge pull request #3 from LinuxCNC/2.8
2.8
2020-11-21 01:28:13 +01:00
Chris Morley
0f2994de9a Revert "qtvcp -qtdragon: add offline docs for qtdragon"
This reverts commit c0a2ae0f4a.
The added offline docs broke debian packaging it seems
2020-11-20 13:37:26 -08:00
Chris Morley
de0763af4f qtvcp -report gcode errors with desktop notify 2020-11-19 21:19:43 -08:00
Chris Morley
ab4fb4f41b Merge branch '2.8' 2020-11-19 20:49:39 -08:00
Chris Morley
6d87871019 qtvcp -fix file extensions.. again
adding anything besides all (*) is too restricting.
fix qtdragon not being able to load files because the file ending is checked incorrectly.
change extension defaults in INI for qtdragon - gcode file should show first
2020-11-19 20:28:18 -08:00
Chris Morley
121df7a96a docs: fix title of 'filter programs'
Copy paste error
2020-11-18 22:45:52 -08:00
Chris Morley
904f140f29 Merge branch '2.8' 2020-11-18 22:44:19 -08:00
Chris Morley
8b4870ec8b qtvcp -file_manager: fix file extension filtering
I couldn't figure out how to filter multiple extension simutaneously
last time. Finally got it now.
Now both file dialog and filemanager can filter extensions properly.
Both can display a user made title in the combo box.
they use different qt_istat functions to get the info though...
2020-11-18 22:38:46 -08:00
Chris Morley
48f8700b13 qtvcp -qt_istat: change the get_filter_extensions function
I finally figured out how to get filemanager to filter multiple extensions,
so modify this function to get the right data for it.
2020-11-18 22:36:47 -08:00
Chris Morley
77a4676279 Merge branch '2.8' 2020-11-17 23:37:19 -08:00
Chris Morley
e37a7e3b98 qtvcp -fix 'new' button on gcode editor
Seems logic only cleared screen if you had modified the text
2020-11-17 23:36:10 -08:00
Greg Carl
15636dda68 PlasmaC Docs: Reorder contents, improve verbiage in some areas, other housekeeping. 2020-11-18 16:41:20 +11:00
Greg Carl
ec472ffa96 plasmac docs: user guide housekeeping 2020-11-18 16:41:05 +11:00
Phillip Carter
f3b5b03ac6
Merge pull request #980 from snowgoer540/gregc/doc-clarity
PlasmaC Docs:  Reorder contents, improve verbiage in some areas, othe…
2020-11-18 16:22:12 +11:00
Greg Carl
fc9d852662 PlasmaC Docs: Reorder contents, improve verbiage in some areas, other housekeeping. 2020-11-17 20:43:49 -05:00
Chris Morley
ea0eca9459 Merge branch '2.8' 2020-11-15 13:25:01 -08:00
Chris Morley
69d3414a83 qtvcp -qtdragon: fix velocity control errors
I guess I missed testing the controls after last fix.
2020-11-15 13:21:06 -08:00
andypugh
7cebbd9a0d Revert "hy_vfd:Allow setting of arbitrary registers"
This reverts commit 2e0901831c.
2020-11-15 20:57:48 +00:00
6b67bdde15 Forgot to add source file to Makefile 2020-11-15 20:54:16 +00:00
0cf55ac578 hm2-idrom: revise test results
Because pin directions aren't actually finalized until the first
write, this error doesn't occur.  However, other invalid pin errors
occur, so just accept any of them
2020-11-15 20:35:54 +00:00
andypugh
eab4b185ac Fix 7c81 merge problem 2020-11-15 18:06:48 +00:00
8f47821735 hostmot2: add rcpwmgen support 2020-11-15 18:05:32 +00:00
issyvarsano
1e8a807f44 Add support for MESA 2x30 pin and pin names report 2020-11-15 17:47:20 +00:00
issyvarsano
802146da09 Add support for MESA 2x30 pin and pin names report 2020-11-15 17:47:06 +00:00
Peter Wallace
114ead7499 Minor error in 7I96 GPIO --> TB mapping 2020-11-15 17:46:53 +00:00
Peter Wallace
7cfc523abf Fix off by one error in stepgen table length 2020-11-15 17:46:40 +00:00
Damian Wrobel
7a45fa1b15 Add missing checking for setsockopt() return value
Improve debug messages.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-11-15 17:46:27 +00:00
Damian Wrobel
848d8f209d Use distinguishable error messages
Both hm2_queue_read() and hm2_finish_read() used
the same error message:
  "error finishing read! iter=%u\n".

Use a different error message for each of the function
to easily deduce from which location the error
commes from.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-11-15 17:46:10 +00:00
Peter Wallace
af4afacb25 Fix encoder hires timestamp option (failed to update register if
hires option set true in hal file)
2020-11-15 17:45:54 +00:00
Damian Wrobel
f9f37dc99d Improve hm2_eth logging
- add printing stringified 'errno' value,
 - add ERROR prefix for 'ioctl SIOCSARP' failure,
 - unify usage of hardware address and MAC.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-11-15 17:45:19 +00:00
Peter Wallace
cbb8e3f584 Increase default encoder timestamp frequency from 1 MHz to 2 MHz and
add option for 10 MHz with hires-timestamp pin. This increases resolution
for frequency counting applications.
2020-11-15 17:44:49 +00:00
6954012b31 hostmot2: ethernet: ensure the watchdog bites at exit 2020-11-15 17:42:33 +00:00
a942323245 hostmot2: defer DDR initialization for most special functions
.. also, move the watchdog write earliest in the write packet, so that
it occurs _before_ the DDR initialization during the first write.
2020-11-15 17:42:26 +00:00
Peter C Wallace
f807a24c89 hostmot2: xy2mod updates from Peter 2020-11-15 17:39:36 +00:00
Håvard Flaget Aasen
e1dae779f7 Fix spelling error reported by lintian 2020-11-15 17:38:55 +00:00
Jeff Epler
46362d9158 hm2_eth: silence a message printed on the first run after reboot, on buster 2020-11-15 17:38:33 +00:00
79a265b1b3 {filt,raw}-data-not: need to parenthesize 2020-11-15 17:37:42 +00:00
80d8587107 sserial: This structure must match device memory layout 2020-11-15 17:37:26 +00:00
e5642c4b6d Fix for pre-c99 compilers 2020-11-15 17:37:15 +00:00
8376a0203d hm2_rpspi: remove and reinstate the kernel spi driver at startup/shutdown
this allows other spi utilities like the "mesaflash" firmware utility
to be run after LinuxCNC has been run

Testing performed: On pi4 only
2020-11-15 17:36:50 +00:00
df8b713c73 hm2_spi: Handle zero-byte writes
These routines are documented as returning true/false, not counts, but
do_pending returned either a count or a negative errno value.
2020-11-15 17:36:35 +00:00
67cc6bd9d0 hm2_spi: Handle 8-bit-only SPI devices 2020-11-15 17:36:19 +00:00
6fa3e1c9cb hm2_spi: Add newer Mesa cards 2020-11-15 17:36:04 +00:00
6fe5dc7bd8 Fix places where the "float" type is used
This is almost never desired, because it means that only 24 bits
of precision are kept.  Usually this was done by accident, when
thinking about the HAL type hal_float, which is actually a "double
precision" type too.
2020-11-15 17:35:45 +00:00
4e9423918f Remove some X-bits that crept in 2020-11-15 17:35:24 +00:00
1b57791b55 More updates from Peter 2020-11-15 17:35:05 +00:00
32e5d6cfb1 hostmot2: Take a mass of updates from Peter
* absenc: incompatible change: require version 4, support new register
 * eth: add support for 7i94, 7i95, 7i97
 * inmux: add support for inputs from multiplexor chips
 * inm: add support for MPGs
 * pwmgen: Add support for "offset mode"
 * xymod: Add support for galvanometer hardware interface
2020-11-15 17:33:20 +00:00
andypugh
2e0901831c hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-11-15 17:17:42 +00:00
chris
82ffc7a087 qtvcp -qt_action: improve filter program error dialog message 2020-11-15 00:37:27 -08:00
chris
11ac2c3888 qtvcp -qt_action: fix python3 error with print 2020-11-15 00:36:24 -08:00
Chris Morley
b244d24cef qtvcp -qtdragon: fix stylesheet DRO colors
DRO diudn't change color after homing
2020-11-15 00:04:57 -08:00
Chris Morley
55258f4ae0 Merge branch '2.8' 2020-11-14 23:18:08 -08:00
Chris Morley
f08c0cb36d qtvcp -have filemanager honour INI filter extensions 2020-11-14 23:17:15 -08:00
Chris Morley
9be0cfc4d7 qtvcp - add another filter extension function/variable
filemanager needs it
2020-11-14 23:16:32 -08:00
Chris Morley
8f03ce0e96 docs -add filter program writeup 2020-11-14 23:01:16 -08:00
Chris Morley
13098119de qtvcp -qtdragon: adjust for new filemanager filter behavior
Now you can use more filter programs in qtdragon
2020-11-14 20:15:32 -08:00
Chris Morley
a9b14e2541 qtvcp -have filemanager honour INI filter extensions 2020-11-14 20:15:32 -08:00
Chris Morley
624cf2bb3c qtvcp - add another filter extension function/variable
filemanager needs it
2020-11-14 20:15:22 -08:00
Chris Morley
8d06ff3cbd nc_files: add a python based 'filter program' test program
for basic testing of screens that do filtering.
This python version covers us if qt5 is not available.
2020-11-14 20:15:22 -08:00
Chris Morley
f92aeec782 nc_files: add a pyqt5 based 'filter program' test program
While testing qtvcp I needed a test program.
This also can be a frame work for a new filter.
2020-11-14 20:15:22 -08:00
Chris Morley
526567d688 qtvcp -qtdragon: make filtering progress bar work
and modify theme for filtering error dialog
2020-11-14 15:44:23 -08:00
Chris Morley
4b1c7d174e qtvcp -qt_action: fix filtering progres update
This was commented out originally - now we get it to work.
gcode_graphics uses similar code and maybe we should pull it from here?
2020-11-14 15:30:04 -08:00
Chris Morley
617af599f0 hal_glib -add a general progress signal
pretty much all progress bars have some text to add.
our new signal has integer and python object so we can cover
future changes like adding text.
2020-11-14 15:27:05 -08:00
chris
2249209f61 qtvcp -qt_action: fix filter loading for python3
Still not sure if this works - I need a basic filter
program to test - but at least error messages work
2020-11-13 04:29:54 -08:00
chris
39dc55074f qtvcp -filemanager: fix record bookkeeing function signature 2020-11-13 03:49:02 -08:00
Chris Morley
b5c64c4fdb qtvcp -qtdragon: adjust velocity labels for inch machines
master version of this fix
2020-11-12 22:45:39 -08:00
Chris Morley
d78e11ba7b qtvcp -fix jog velocity setting
This is the master version fix.
Qtdragon used an attribute from IStat that was never updated.
Also Qtdragon set a bunch of max settings that are already set in the
jog slider widget code.
2020-11-12 21:55:46 -08:00
Chris Morley
b322797453 Merge branch '2.8' 2020-11-12 21:44:55 -08:00
Chris Morley
ae61de0a73 qtvcp -adjust some labels for inch based machines 2020-11-12 21:01:01 -08:00
Chris Morley
1f43c90fcb qtvcp -qtdragon: fix jog velocity setting
QtDragon used a linear velocity from Istat that was always 60.
We already fixted Istat now direct Qtdragon to use the right attributes
2020-11-12 20:44:48 -08:00
Chris Morley
9c252c3b0f qtvcp -Istat: remove a un-defined velocity attribute
QtDragon mistakenly used this as default linear jog velocity
2020-11-12 20:43:54 -08:00
Chris Morley
923e78e31c qtvcp -qtdragon: fix debug messages 2020-11-12 16:46:57 -08:00
Chris Morley
08f45b2e0f nc_files: add an HTML setup file example for 3D_chips.ngc
Qtdragon can load/write setup files in HTML.
Now we have a boring sample
2020-11-12 16:40:41 -08:00
Chris Morley
3a17524bdb qtvcp -qtdragon: fix keybinding, loading files
keybinding failed in a weird way because I  used 'writer' rather then
'writer.main'
Writer is a little different library as it loads as a standalone mainWindow

We now try to load the HTML setup page automatically if it's found
2020-11-12 16:37:27 -08:00
Chris Morley
4a8fa0ddea qyvcp -lib writer: add default paths, fix table adjust menu 2020-11-12 16:35:06 -08:00
Chris Morley
bb12adf33f qtvcp -file_manager: breakout bookkeeping function
now one can call the book keeping function directly.
bookkeeping records the filepath in the prference file.
2020-11-12 16:32:03 -08:00
Chris Morley
2dfdd843d1 qtvcp -qtdragon: allow writer keyboard events 2020-11-12 02:28:37 -08:00
Chris Morley
d7d0612db0 qtvcp -lib writer: fix import for python3 2020-11-12 02:24:28 -08:00
Chris Morley
a39d08a02b qtvcp -qtdragon: add an editor for setup pages
This needs more work for better intergration.
Probably a button for tool table copying,
maybe a builtiin widget rather then a separate window.
It's a start
2020-11-12 02:08:51 -08:00
Chris Morley
de32c93de5 qtvcp -add a HTML editor library
for building gcode setup pages
2020-11-12 02:05:57 -08:00
chris
bc8aa852a5 qtvcp -gcodes library: fix python3 problem 2020-11-11 21:08:28 -08:00
chris
e1cd0329b1 qtvcp -qtdragon: fix stylesheet for DRO buttons 2020-11-11 20:18:22 -08:00
chris
11655d3a53 qtvcp -qtdragon:fix missing labels/LEDs on spindle controls 2020-11-11 20:17:33 -08:00
chris
ae29db2063 qtvcp -fix missing HTML image in python3
webengine needs an args adjustment to allow local
imags to be shown.
2020-11-11 20:15:38 -08:00
chris
8bd8fe0254 qtvcp -fix more python3 trouble 2020-11-11 18:38:09 -08:00
Chris Morley
30a6fe69a4 qtvcp -qtvcp_icons: quiet warnings 2020-11-10 23:36:51 -08:00
Chris Morley
2a4c67cf25 qtvcp -add keyboard dialog to qtaxis and qtdefault 2020-11-10 23:28:51 -08:00
Chris Morley
7b222557f6 qtvcp -originoffset: remember user system names editted by user 2020-11-10 23:28:47 -08:00
Chris Morley
7d90e48401 qtvcp -orign/tool offsetview: keyboard dialog for text entry 2020-11-10 23:27:41 -08:00
Chris Morley
3b1a9db429 qtvcp -add keyboard dialog widget 2020-11-10 23:27:26 -08:00
andypugh
77d18aaff6
Merge pull request #975 from snowgoer540/gregc/small_doc_updates
plasmac docs: user guide housekeeping
2020-11-10 13:03:43 +00:00
Greg Carl
0562e8f851 plasmac docs: user guide housekeeping 2020-11-09 19:15:39 -05:00
Chris Morley
f98e43e861 qtvcp -quiet debug messages
remove forced log messages in widgets and libraries
2020-11-08 03:53:30 -08:00
Chris Morley
d6f1ffb6a9 qtvcp -calculator: fix python version text problems 2020-11-08 02:07:43 -08:00
Chris Morley
1d0c620999 qtvcp -add dialog entry to tool/origin offset views
one can optionally pop a dialog to enter data - better on a touch screen and
can have a calculator
2020-11-08 02:07:43 -08:00
Chris Morley
47fc498d6f qtvcp -give objectNames to tool/origin offsets
so that (future) dialogs returns don't clash
2020-11-08 01:38:52 -08:00
Phillip Carter
ffbe283ef5 Merge branch '2.8' 2020-11-08 18:45:57 +11:00
Phillip Carter
98aaeef772 plasmac: remove duplicate line in comp 2020-11-08 18:45:26 +11:00
Phillip Carter
ef9899f6b7 Merge branch '2.8' 2020-11-08 18:28:00 +11:00
Phillip Carter
6996e46892 plasmac: fix lost arc delay during cutting 2020-11-08 18:27:02 +11:00
Chris Morley
82358c6a7c qtvcp -docs: update about gcodedisplay's color qproperties 2020-11-07 18:28:57 -08:00
Chris Morley
9a91ac59ff qtvcp -qtaxis:add gcodeeditor color to stylesheet
utilize new behavior
2020-11-07 17:14:56 -08:00
Chris Morley
0fa753dda6 qtvcp -gcodeeditor: qproperties for color/fonts
allows setting colors/fonts with stylesheets
2020-11-07 17:12:23 -08:00
Chris Morley
cc7facabf8 qtvcp -teach gcode display to follow stylesheet backgound color
But it seems seting the color directly now will be more difficult.
2020-11-07 02:04:06 -08:00
Klaus Naumann
ae2e6bd107 Don't pierce spotting operations
This is achieved by ignoring the spotting blocks.
2020-11-02 12:24:15 +11:00
Phillip Carter
85fc8c174a
Merge pull request #973 from DenkBrettl/master
Don't pierce spotting operations
2020-11-02 12:13:20 +11:00
Klaus Naumann
c6609e47bf Don't pierce spotting operations
This is achieved by ignoring the spotting blocks.
2020-11-01 20:29:12 +01:00
Phillip Carter
e6f7ad4dc5 Merge branch '2.8' 2020-11-01 12:32:45 +11:00
Phillip Carter
701e238f4e plasmac: add hal pin toggle to custom user buttons 2020-11-01 12:28:14 +11:00
Chris Morley
5d1ffdebe8 gscreen -remove spindle bar display debug code. 2020-10-30 05:52:36 -07:00
Chris Nisbet
a5103f63ed halcmd: fix "tune" command locking.
Added a unit test to test the various lock commands produce the expected output.
2020-10-29 20:51:54 +13:00
Dewey Garrett
589db060d2 halui.txt remove redundant and wrong pin info #969
Add reference to the maintained halui manpage
Include info on MDI usage.
Reference example sim config in distribution
2020-10-28 08:08:11 -07:00
Chris Morley
c0a2ae0f4a qtvcp -qtdragon: add offline docs for qtdragon 2020-10-27 23:03:03 -07:00
Chris Morley
e91a182405 qtvcp -tone down statusbar failure message - it's not serious
statusbar failure might be by designer - hide it in most cases and
tone down the error message.
2020-10-27 23:03:03 -07:00
Chris Morley
8d6819386f qtvcp -docs: add an example about loading panels. 2020-10-27 23:03:03 -07:00
Chris Morley
01f09d7089 qtvcp -actionbutton plugin: change the icon to something that pops
action button is the most used wodget. i's prefer a button image - maybe in the future
2020-10-27 23:03:03 -07:00
Chris Morley
5b2c32429d qtvcp -qtdragon:update qtdragon sim configs 2020-10-27 23:03:03 -07:00
Chris Morley
e5da0a195b qtvcp -update qtdragon core files
Jim has upgraded qtdragon -I try to keep up with it.
2020-10-27 23:03:03 -07:00
Chris Morley
9eaeb9c871 qtvcp -move/rename images in qtdragon 2020-10-27 23:03:03 -07:00
Chris Morley
dc55679de4 qtvcp -update probe widgets: use common routines
Get rid of HAL pins to make it easie for users to use.
Use common routines for both Versa and basic probe.
Thanks Jim (persei802)!
2020-10-27 23:03:03 -07:00
Rene Hopf
0dc3ccf835 change lib order in binaris that use libtirpc
fixes build on ubuntu 20.10
2020-10-27 21:08:35 +01:00
Rene Hopf
fb86657ae5
Merge pull request #967 from issyvarsano/master
Add support for MESA 2x30 pin and pin names report
2020-10-27 19:50:17 +01:00
Dewey Garrett
c392629ec2 Support rotation display with g5x,g92 offsets
A '!' char in [DISPLAY]GEOMETRY setting specifies
respect for offsets when displaying A,B,C rotations

new sim demos (configs/sim/axis/geometry/):
   xyzc.ini        GEOMETRY = !CXYZ
   xyzc_origin.ini GEOMETRY =  CXYZ

update GEOMETRY notes in: ini-config.txt

updated sim demos:
  configs/sim/axis/vismach/
     bridgemill/5axis.ini               GEOMETRY = XYZCBW
     table-rotary-tilting/xyzac-trt.ini GEOMETRY = XYZ-A
     table-rotary-tilting/xyzbc-trt.ini GEOMETRY = XYZB
  configs/sim/axis/external_offsets/
     opa.ini                            GEOMETRY = !CXZ
2020-10-27 07:26:37 -07:00
issyvarsano
545368e5d2 Add support for MESA 2x30 pin and pin names report 2020-10-25 13:44:38 +02:00
Dewey Garrett
ab3c8f7304 axis.py [DISPLAY]GEOMETRY="XYZABCUVW" (typo)
suspected typo, with this commit default agrees with gremlin.py
2020-10-24 18:43:17 -07:00
issyvarsano
5a653b02bc Add support for MESA 2x30 pin and pin names report 2020-10-24 15:47:02 +03:00
Dewey Garrett
b3b329152d emcmodule.cc rotate_x() copypaste naming error
fix misleading varnames
2020-10-23 19:46:05 -07:00
Dewey Garrett
2c1d2ff6ca glcanon.py warn for badchars,dupchars
Reported:
https://forum.linuxcnc.org/21-axis/38334-2-8-0-pre1-xxyz-gantry-axis-preview-toolpath-stretched-in-the-x-direction?start=0#156648
2020-10-23 19:34:20 -07:00
Phillip Carter
ca06fc273a Merge branch '2.8' 2020-10-21 14:02:27 +11:00
Phillip Carter
6e68ca48dc plasmac: arc timing issues
fix torch on before pierce height error
fix motion start after cut height error
fix offset counts
2020-10-21 14:01:45 +11:00
andypugh
a498ab574a
Merge pull request #964 from inoxix/carousel_modulo_fix
changed pocket_number to mod_pocket in direction logic
2020-10-21 00:19:04 +01:00
Phillip Carter
68d13468fa
Merge pull request #965 from snowgoer540/gregc/pmx_update
Update PMX picture
2020-10-21 09:58:27 +11:00
Greg Carl
2d192bba52 Update PMX picture 2020-10-20 18:20:38 -04:00
Thomas Burkhard
b522139c58 changed pocket_number to mod_pocket in direction logic 2020-10-20 22:42:07 +02:00
andypugh
7a99a43942 hy_vfd:Allow setting of arbitrary registers
Also add an option to read out all register values.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-10-20 20:26:09 +01:00
Phillip Carter
3c41f3d83d Merge branch '2.8' 2020-10-20 13:05:06 +11:00
Phillip Carter
84293e6a37 plasmac: disable ohmic and float fault sensing until arc ok 2020-10-20 12:59:59 +11:00
Phillip Carter
f29026824d plasmac: fix axis portrait mode sliders 2020-10-20 12:50:00 +11:00
Phillip Carter
9b1c6331a9 plasmac: feedback for active conversational shape 2020-10-20 12:47:42 +11:00
Phillip Carter
06d6dda8d9 plasmac: rename spotting delay to spotting time 2020-10-20 12:45:38 +11:00
Phillip Carter
c8e209f33a plasmac: fix axis geometry error 2020-10-20 12:44:12 +11:00
Phillip Carter
6fc2eba7df plasmac: fix test panel
torch on is automatic
2020-10-20 12:36:55 +11:00
Phillip Carter
477faa9fc3 plasmac: inhibit probe test button while probing 2020-10-20 12:31:12 +11:00
Phillip Carter
dc36ba1c82 plasmac: fix void and vad naming inconsistencies 2020-10-20 12:24:14 +11:00
Greg Carl
253c110473 plasmac: update user-docs and update/add images, update supporting PlasmaC files and error messages to align with user-doc changes. 2020-10-20 11:42:58 +11:00
Phillip Carter
0ccf077adc
Merge pull request #963 from snowgoer540/gregc/docs-update
plasmac: update user-docs and update/add images, update supporting Pl…
2020-10-20 11:25:41 +11:00
Greg Carl
ac7995ebc0 plasmac: update user-docs and update/add images, update supporting PlasmaC files and error messages to align with user-doc changes. 2020-10-19 19:17:17 -04:00
Chris Morley
8a3567aa6f qtvcp -except but ignore unrecognised jog increments.
Don't error out each time it's selected, but don't set the increments either.
We should add some more checking while parsing the INI actually
2020-10-17 14:33:00 -07:00
Chris Morley
99ed8ac260 hal_glib -do basic check for float variable befoe setting jog increments
increments must be a number
2020-10-17 14:33:00 -07:00
Dewey Garrett
edbc7b19cc Merge remote-tracking branch 'origin/2.8' 2020-10-16 05:52:06 -07:00
Dewey Garrett
8632190313 motion.9 motion.feed-inhibit gcode only (not jogs) 2020-10-16 05:41:03 -07:00
Dewey Garrett
cef8225953 command.c for consistency, allow jogs if feedhold
Consistency for both teleop and joint mode jogging
as partially implemented by prior commits:

Nov 2014 50b1fbe13 jogging: ignore feedoverride
Oct 2020 4a6877449 control.c jogs inhibition if feedhold

All feed overriding commands:
nml and  hal pins: motion.feed-hold
                   motion.feed-inhibit
                   halui.feed-override.*
should be ignored for both teleop-mode and joint-mode jogs
for both starting a jog and for in-progress jogs

2014 discussion:
https://www.mail-archive.com/emc-developers@lists.sourceforge.net/msg13998.html
2020-10-15 16:43:14 -07:00
Chris Morley
171583e12e qtvcp -fix hal component name with direct path loading
after last commit to allow direct path loading the component name
used the path name rather then the base name.
This should fix this
2020-10-15 13:53:12 -07:00
Dewey Garrett
4a6877449d control.c joint jogs inhibition if feedhold
inhibit joint-mode jogs if feedhold

Ref: commit 50b1fbe13f "jogging: ignore feedoverride" Nov 2014
     addressed teleop jogs only
2020-10-15 08:46:10 -07:00
Chris Morley
6b8e03051e qtvcp -fix specifying a direct path to qtvcp panels
qtvcp ignored the path argument oother then the basepath.
It would use this to check 'usual' locations.
This didn't allow directly specifying the path to a panel
2020-10-14 14:49:07 -07:00
Chris Morley
f03ac59640 Merge branch '2.8' 2020-10-13 23:06:01 -07:00
Chris Morley
dd06d37c07 qtvcp -action_buttons: fix homing/unhoming individual joints
before you could unhome one joint but after that any others
that tried to unhomed would rehome.
2020-10-13 23:00:29 -07:00
Chris Morley
29d9d33955 hal_glib -add convience function for is_joint_homed 2020-10-13 22:59:32 -07:00
Chris Morley
8024dfb284 qtvcp -add in missing code for hal file loading
The -H option was looked for but never processed
2020-10-13 22:26:17 -07:00
Dewey Garrett
b9150c8702 userkins.comp -- note max no of joints,extrajoints 2020-10-13 19:12:00 -07:00
Dewey Garrett
f2ec290d34 Merge remote-tracking branch 'origin/2.8' 2020-10-13 19:10:01 -07:00
Dewey Garrett
e6cfcfa398 userkins.comp (new) userkins using halcompile
Provide template hal component for user-built kinematics

See userkins.comp: description section
2020-10-13 19:08:22 -07:00
Dewey Garrett
69741dcacd ini-config.txt additional updates for JA 2020-10-13 18:40:09 -07:00
Chris Morley
e0ace6b18d Merge branch '2.8' 2020-10-12 20:46:01 -07:00
Chris Morley
81f0db3a86 qtvcp -fix tool_offset loading/saving for mills
mills don't support toolwear so don't do the conversions
fix the showing of negative numbers loaded from the tool file;
the check for close-to-zero didn't account for negative numbers
2020-10-12 20:42:38 -07:00
Rene Hopf
3dbe2d7d18
Merge pull request #961 from ChrisNisbet01/fix_stepgen_MAX_CYCLES_bug
stepgen: Fix user step type initialization
2020-10-12 14:46:47 +02:00
Chris Morley
1eaa663957 Merge branch '2.8' 2020-10-11 21:46:10 -07:00
Chris Morley
2bcaf9695b qtvcp -fix tool offst entry of negative numbers
The doublespinbox that pops up for entry didn't allow negative numbers
Also added a spinbox for tool numbers so one can't enter negative or decimal numbers.
2020-10-11 21:45:28 -07:00
Chris Nisbet
2fa756e998 stepgen: Fix user step type initialization
Commit 61ebd8221e increased the max number of cycles from 10 to 16,
but didn't update an associated magic number from 10 to 16.
Changed this magic number from 10 to MAX_CYCLE so that the number of phases in a user step type is counted correctly..
2020-10-12 08:17:23 +13:00
Dewey Garrett
99be22e46c 5axis.ini (bridgemill) demo sim config update
1) vismach: use tool diam
2) pyvcp panel: joints and plotclear
3) [DISPLAY]GEOMETRY: order fix
4) [DISPLAY]INCREMENTS: use mm
5) [DISPLAY]OPEN_FILE: demo example file
2020-10-11 11:15:43 -07:00
Dewey Garrett
57d5f17cd2 5axiskins.c W usage notes 2020-10-11 11:14:02 -07:00
Rene Hopf
9781b03c44
Merge pull request #960 from havardAasen/minor-issues
Fixes for issues 506, 922, 955 and some minor documentation update
2020-10-11 10:45:31 +02:00
Dewey Garrett
bf7b3d6c99 5axisgui.py support tool diameter 2020-10-10 19:50:20 -07:00
Håvard Flaget Aasen
d9bbc69cff
gs2_vfd: Fixes how many registers that is written to Closes #506 2020-10-11 01:11:26 +02:00
Håvard Flaget Aasen
76e0f3f33a
man-page es: Change section 9 -> 1 2020-10-11 01:11:23 +02:00
Håvard Flaget Aasen
7e564eb760
Update internal names after file renaming in 2004 Closes #922
The files moved and got renamed back in 2004, this changes the naming
within the file itself.
2020-10-11 01:06:40 +02:00
Håvard Flaget Aasen
3e87f85b6a
Fix gpio and pin relationship on rpi2 and later Closes #955 2020-10-11 01:04:39 +02:00
Håvard Flaget Aasen
bb94dd57a5
docs: Update copyright to 2020 2020-10-11 00:05:50 +02:00
Dewey Garrett
a6854ca74d ini-config.txt WRAPPED_ROTARY for axis not joint 2020-10-10 08:58:27 -07:00
Rene Hopf
461c1a2cd0
Merge pull request #957 from ChrisNisbet01/Remove_component_type_magic_numbers
hal: Remove component type magic numbers
2020-10-10 10:50:23 +02:00
Chris Nisbet
06c333a3a7 halcmd: fix "tune" command locking.
The "tune" command wasn't actually applying the desired locks
because it was locking a bitwise 'and' of values 1 & 2, which
gives a value of 0. This should have been a bitwise or of the
values.
Also changed the associated 'unlock' functions so that the "tune"
command unlocks the same locks as it locked.
Created a new #define to represent the locks to locks for the "tune"
command to help make it clearer that that the lock and unlock
functions should alter the same locks.
2020-10-09 19:06:41 -07:00
Chris Nisbet
a89d46dd5c hal: Remove component type magic numbers
Replaced the component type magic numbers with an enumerated type.
The new types have the same values as before.
i.e.
0 == user
1 == realtime
2 == something else (not sure where this value is ever assigned)

There should be no functional change.
2020-10-09 18:30:57 -07:00
Rene Hopf
1784d2e538
Merge pull request #956 from podarok/patch-1
Fix rolfmill example could be tested now without additional moves
2020-10-09 10:53:12 +02:00
Andrii Podanenko
b7c2182dfa
Fix rolfmill example could be tested now without additional moves
See https://forum.linuxcnc.org/38-general-linuxcnc-questions/33181-can-t-issue-mdi-command-when-not-homed-even-when-homed#97737
2020-10-09 11:32:08 +03:00
Dewey Garrett
bfa6ea0b9f 5axiskins.c fix note for theta,phi 2020-10-08 18:21:54 -07:00
Dewey Garrett
81819b046c 5axiskins & sim (bridgemill) updates
1) 5axiskins: use IN pin for pivot_len (not IO)
2) 5axisgui:  provide OUT pin for gui simulated pivot length
3) configs/sim/5axis/bridgemill sim config:
   5axis.tbl: use metric tool length values to agree with 5axis.ini
   5axisgui.hal (new)
     a) compute pivot length needed for 5axiskins with loaded tool
     b) consolidate postgui hal statements
   5axis.ini:
     a) use added 5axisgui.hal file
     b) add omitted [TRAJ]MAX_ANGULAR_VELOCITY
     c) add tooledit options 'z diam'
     d) update j5/w, j2,z limits
   README: demo example
2020-10-08 17:57:33 -07:00
Chris Morley
82c93a7db8 Merge branch '2.8' 2020-10-08 17:09:41 -07:00
Chris Morley
5c07c7a6f2 docs -add test panel image to docs 2020-10-08 16:37:48 -07:00
Chris Morley
bd474d0a7f qtvcp -add optional speech to LED state change
I've needed to test something when i couldn;t see the screen.
Now I can connect a HAL pin to this test LED and have it speak
the (editable) label and state.
2020-10-08 15:59:28 -07:00
Chris Morley
03b1a401de Merge branch '2.8' 2020-10-07 22:32:49 -07:00
Chris Morley
2550413361 pncconf -fix opposite setting of stepgens step/dir invert pins
Inverting the step pin in the gui actually inverted the direction pin.
Looks like do to python lists not having consistant ordering.
Thank Peter for heads up.
2020-10-07 22:30:14 -07:00
Dewey Garrett
3a70732bc8 5axisgui.py aids for testing
1) print command lines settings
   usage example: 5axisgui pivot_len=300
2) parameterize pivot_len incorporating za,zb box heights
3) remove unused tool_radius var
4) pivot_len var now represents correctly the effective pivot_len
   with default value of 250 and is unchanged for compatibility
   with hal pin default of 5axiskins.c

(no functional changes intended by this commit)
2020-10-07 05:58:36 -07:00
Chris Morley
6611f1d21f Merge branch '2.8' 2020-10-07 02:08:20 -07:00
Chris Morley
29d506605f docs -qtvcp widgets: add HALLabel and DoubleScale 2020-10-07 02:05:45 -07:00
Chris Morley
913b5de590 qtvcp -fix HAL float input pins only getting s32
It seems on HAL float input pins that got their value
from QPin's QTSignal, would get an integer number rather then the float.
I could change that by changing the order of the overloaded pyqtSignal
definition but then that may have just made eveything a float...

Now we send a PyQt_PyObject that is not supposed to be converted
internally. It seems to work.
2020-10-07 00:48:03 -07:00
Chris Morley
cb9d8b28d6 qtvcp -qtdragon: restyle dialogs
After fixing dialogs to be able to be styled - there didn't llok good.
Now I specifically style them.
2020-10-07 00:48:03 -07:00
Chris Morley
369afbe14c qtvcp -use HALLabels for float displays
and add some color to them with rich text
2020-10-07 00:48:03 -07:00
Chris Morley
1afe970beb qtvcp -allow toolbuttons to be styled with stylesheets 2020-10-07 00:48:02 -07:00
Chris Morley
ce69cc4355 qtvcp -add a HAL label widget
Shows the value of an option HAL input pin.
You can set a text template for rich text/formatted display
2020-10-07 00:48:02 -07:00
Chris Morley
4947c22368 Merge branch '2.8' 2020-10-05 20:55:10 -07:00
Chris Morley
faad4fa22e qtvcp -qtdefault: add calculator dialog for macro entries 2020-10-05 20:54:49 -07:00
Chris Morley
08a7b42745 qtvcp -screenoptions: have dialogs follow stylesheets
they needed to be parented fom the main window.
Added objectnames too
2020-10-05 20:54:10 -07:00
Chris Morley
440999cb14 qtvcp -entry_widget: change soft keyboard so it can be styled
For reasons I couldn't quite figure out, the original design had
so many layers that stylesheets changes on the main window
would not change the SoftInputWidget's style.
probably a parenting problem (or based on QObject vrs QWidget).
Simplified now and only two widgets.
Seems to work now.
2020-10-05 20:47:06 -07:00
Chris Morley
5f8ffa5a93 qtvcp -qtdefault: add calculator dialog for macro entries 2020-10-05 20:32:49 -07:00
Chris Morley
a4166d9f62 qtvcp -screenoptions: have dialogs follow stylesheets
they needed to be parented fom the main window.
Added objectnames too
2020-10-05 18:38:17 -07:00
Chris Morley
15211fd4d7 qtvcp -add python version info into log message
to help with debugging user's systems during the transition to python 3
2020-10-04 22:22:52 -07:00
Chris Morley
9c222ab321 qtvcp -fix python 3 error with degree sign string 2020-10-04 22:16:44 -07:00
Phillip Carter
4c025eef9f Merge branch '2.8' 2020-10-04 09:30:17 +11:00
Dewey Garrett
07452b0628 plasmac.comp fix for rtai: use round() not roundf()
(fix buildbot builds for rtai)

roundf() (float args) is not available for rtai
but
round()  (double args) is available

notes:
1) hal 'float' pins are actually doubles:
   ref hal.h:
       typedef double real_t __attribute__((aligned(8)));
       ...
       #define hal_float_t volatile real_t

2) mixed usage of 'variable double', 'variable float'
   declarations within file may be unecessarily complicated
   (but are handled by implicit casts)
2020-10-04 09:26:15 +11:00
andypugh
a3ceb214cf Docs: Update iso checksums for updated .iso image
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-10-03 16:36:13 +01:00
Chris Morley
43ac9730f4 Merge branch '2.8' 2020-10-03 01:11:28 -07:00
Chris Morley
acb5793e4b pncconf -Don't count the A axis for 'all home' check
The A axis often doesn't have home switches.
If not every axes have home switches then the 'all home' button
in AXIS does not show.
Now 'All home' button will work if the A axis homes immediately in position.
2020-10-03 01:03:20 -07:00
Chris Morley
2098d897e1 qtvcp -update camview 2020-10-01 20:44:59 -07:00
Chris Morley
f80c18f98e Merge branch '2.8' 2020-09-29 23:56:15 -07:00
Chris Morley
47e28a92ca qtvcp -upgrade test panel
add a docked terminal, and use dock for the dials.
2020-09-29 23:53:29 -07:00
Phillip Carter
7d5ccd8269 Merge branch '2.8' 2020-09-29 12:14:49 +10:00
Phillip Carter
1bd9e5270a plasmac: fix intermittent nan error on startup 2020-09-29 12:09:27 +10:00
Phillip Carter
3101984035 plasmac: fix material selection in gcode filter 2020-09-29 12:09:27 +10:00
Chris Morley
968a274756 Merge branch '2.8' 2020-09-28 00:54:44 -07:00
Chris Morley
77bd2e5708 qtvcp -add a general HAL test panel
It's a pain to make a panel for a quick HAL test.
this supplies 4 each of LEDs, pushbuttons, checkbuttons,
dials with scaling spinboxes.
Also launch buttons for halmeter and halscope.
I should make a way to connect pins and send HAL commands...
2020-09-28 00:48:19 -07:00
Chris Morley
661761dbd0 qtvcp -add new HAL doubleScale widget
This widget is a double spinbox with HAL output pins.
it can output pyqt signals for other widgets (like QLabel).
it can be fed an input signal that will be multiplied with the output.
2020-09-28 00:43:32 -07:00
Chris Morley
8f9a99ac9f qtvcp -widget_baseclass: fix up halscalebase
scalebase was never used -left over from pygtk.
now it's useful for outputting float and s32 HAL pins
that can be scaled.
2020-09-28 00:39:33 -07:00
Chris Morley
ecfd8891e3 Merge branch '2.8' 2020-09-26 15:44:09 -07:00
Chris Morley
6319aa0426 qtvcp -give better error message for widgetswitcher
widgetswitcher has specific requirements for layouts
that might not be obvious - this might help.
2020-09-26 13:51:03 -07:00
Chris Morley
8cf0f534d8 Merge branch '2.8' 2020-09-26 11:57:08 -07:00
Chris Morley
ad1491d89b pncconf -allow different home switch offsets on tandem axes
for synching multi joint axes
2020-09-26 01:47:12 -07:00
Chris Morley
08e9823898 qtvcp -action button: don't error if state is None 2020-09-25 22:12:30 -07:00
Chris Morley
2bdd315425 qtvcp -update readme for designer libraries 2020-09-25 09:59:49 -07:00
andypugh
8f4f8aa680
Merge pull request #941 from elovalvo/patch-1
Replace *get_cpuinfo_revision(char *revision)
2020-09-23 23:03:13 +01:00
elovalvo
02e56fedb4
Replace *get_cpuinfo_revision(char *revision)
As reported in  https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md

"As of the 4.9 kernel, all Pis report BCM2835, even those with BCM2836, BCM2837 and BCM2711 processors. You should not use this string to detect the processor. Decode the revision code using the information below, or cat /sys/firmware/devicetree/base/model"

So the get_cpuinfo_revision() function is no longer correct and above all does not work with RPi4.

Therefore, I think it is more appropriate to completely replace this function, which is now obsolete, with a simpler one that can also adapt to future models of the Raspberry.
Also it's possible to delete cpuinfo.h
2020-09-23 18:50:42 +02:00
Chris Morley
9569ff9d73 qtvcp -fix python2 stylesheet loading
got a little carried away with python3 changes...
2020-09-22 21:57:02 -07:00
Dewey Garrett
accd42ea2b halshow.tcl support display of nan 2020-09-22 08:16:10 -07:00
Greg Carl
76260b4f75 added hal pin to allow preview refresh 2020-09-20 15:07:57 +10:00
Phillip A Carter
fa4c14f6c8
Merge pull request #939 from snowgoer540/gregc/preview-refresh_2.8
added hal pin to allow preview refresh
2020-09-20 14:59:07 +10:00
Greg Carl
fde6ab4492 added hal pin to allow preview refresh 2020-09-19 11:21:06 -04:00
Phillip Carter
e31e65107d Merge branch '2.8' 2020-09-16 14:53:19 +10:00
Phillip Carter
fa4abe0569 plasmac: fix cut-recovery direction buttons 2020-09-16 14:52:48 +10:00
andypugh
3d96a366eb Packaging: Fix a typo in the CNC.menu file.
Does not seem to cause a problem in XFCE, but means no CNC menu with Mate.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-15 22:26:51 +01:00
Phillip Carter
470fce12ee Merge branch '2.8' 2020-09-13 14:24:30 +10:00
Phillip Carter
e08d612436 plasmac: fix control panel inconsistencies 2020-09-13 14:23:58 +10:00
Chris Morley
086196e8c5 Merge branch '2.8' 2020-09-11 17:36:30 -07:00
Chris Morley
60d8865d26 qtvcp -fix typo in basic probe calibration 2020-09-11 15:04:51 -07:00
Peter Wallace
2f4c8af86f Minor error in 7I96 GPIO --> TB mapping 2020-09-11 09:24:39 -07:00
Chris Morley
8c3560cce7 qtvcp -clear old messages if clear buttun is pressed 2020-09-10 23:44:16 -07:00
Chris Morley
7e9e902f95 Merge branch '2.8' 2020-09-10 22:59:04 -07:00
Chris Morley
2828b3df3c docs -update qtvcp docs for a continuous jog toggle button code snippet 2020-09-10 22:57:41 -07:00
Chris Morley
c49d13ccdf docs -update qtvcp snippets styleeditor example to current code 2020-09-10 22:57:41 -07:00
Phillip Carter
beaff6bd9b Merge branch '2.8' 2020-09-11 15:19:11 +10:00
Phillip Carter
1ffce156e1 plasmac: use dbounce component for new configs 2020-09-11 15:18:29 +10:00
Chris Morley
61753bc0a5 Merge branch '2.8' 2020-09-10 16:28:00 -07:00
Chris Morley
bdea6f1f31 pncconf -don't use pid command-deriv pin in tests either
PID.command-deriv is a bad idea -expecially if it's not connected to anything.
2020-09-10 16:27:10 -07:00
Chris Morley
d5d5660c76 Merge branch '2.8' 2020-09-09 21:18:36 -07:00
Chris Morley
8db8e84b5b qtvcp -action_buttons: allow 'True' and 'False' in python commands
action buttons can call limited python commands.
True and False are pretty commonly used. -allow them.
2020-09-09 21:08:12 -07:00
Chris Morley
e7199403da qtvcp -qtdefault: change continuous jog button to toggle
When toggled on it remembers the last increment so when toggled off
it will reinstate the jog increment.
2020-09-09 20:59:42 -07:00
Chris Morley
42880ef254 qtvcp -action_button: still update state if there is no action selected
If the button had no action selected, indicated stae and python commands didn't work
2020-09-09 20:49:03 -07:00
Chris Morley
4e5a847ace Merge branch '2.8' 2020-09-09 11:31:07 -07:00
Chris Morley
f8fded62a2 pncconf -add tooltip description to testing direction combobox 2020-09-09 11:29:59 -07:00
Chris Morley
e1783c7d82 pncconf -fix typo in tests for A axis 2020-09-09 11:29:59 -07:00
Phillip Carter
9f69307417 Merge branch '2.8' 2020-09-09 16:19:17 +10:00
Phillip Carter
8334012afd plasmac: fix configurator upgrade error
wasn't updating filter file path
2020-09-09 16:18:47 +10:00
Phillip Carter
0319514113 plasmac: fix thc default in materialverter 2020-09-09 16:18:47 +10:00
Chris Morley
3427accbe0 Merge branch '2.8' 2020-09-08 23:16:10 -07:00
Chris Morley
0604d15a38 docs -update qtvcp docs for new graphics dimensions commands. 2020-09-08 23:12:31 -07:00
Chris Morley
2c37540e20 qtvcp -add dimensions on,off as graphics commands 2020-09-08 23:11:33 -07:00
Chris Morley
4e9bbf7605 qtdragon -fix toggling of dimensions in graphics
missing designer slot and change from clear_ploter() to updateGL()
2020-09-08 22:49:55 -07:00
Chris Morley
2ddca327b9 qtvcp -improve on bug with clearing plot
In some cases after homing, when clearing the plot the tool will end
up at the machine origin rather then the curent user origin.
It seems to be a timing/race issue. Calling the logger.clear() directly helps alot.
2020-09-08 22:27:29 -07:00
Chris Morley
7c64945e33 pncconf -raise spinbox limits in tune test
metric machine need higher numbers - I guess I forgot to raise
these when I raised the main pages spinboxes
2020-09-08 22:04:46 -07:00
Chris Morley
1922963b5e Merge branch '2.8' 2020-09-08 17:20:43 -07:00
Chris Morley
14b25beafa pncconf -fix PID maxerror setting in the tune test fo rmetric machines
I missed this when fixing configs of the same things.
2020-09-08 17:18:46 -07:00
andypugh
3e6bf55c50 Docs: Pi links should be http not https
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-08 22:06:05 +01:00
andypugh
e37b2d6103 Docs: Successive code blocks need to be separated.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-08 12:18:54 +01:00
andypugh
71f5cefad1 Docs: Add links to the Raspberry Pi SD card image to the install docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-08 11:38:03 +01:00
Dewey Garrett
d433aace2b halui man page fix L identifier for selected items
Ref: https://forum.linuxcnc.org/32-documents/39971-possible-error-in-docs-2-8-0-pre1-man-halui#181165

missed earlier at 9d45b153ad
2020-09-07 14:31:49 -07:00
andypugh
8d27ea7f8f Docs: Update MD5 ans SHA256 checksums
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-07 22:27:27 +01:00
Rene Hopf
e849a94a86
Merge pull request #938 from htasta/issue-826
configure.ac: fixed failed check for Python.h
2020-09-07 17:21:32 +02:00
htasta
c5ae8befb7 configure.ac: fixed failed check for Python.h
Issue-826 on github
When compiling with Python 3.8 the check for Python.h fails.
add PYTHON_CPPFLAGS to CPPFLAGS for the test to make it succeed.
2020-09-07 16:51:09 +02:00
chris
a6c727dd6c sim -Touchy: update name of spindle related HAL pin 2020-09-07 00:58:15 -07:00
Chris Morley
eb40ac3707 qtvcp -qtlathe,qtdragon: don't fail if webkit is not available
web display is not critical to running a machine
2020-09-07 00:58:15 -07:00
Chris Morley
00e611e5e2 qtvcp -Not all distributions have qtwebengine or qtwebkit
try to load whatever is available - give a message if nothing available.
2020-09-07 00:58:15 -07:00
chris
701288893a qtvcp -support python2 and python3
runtime changes to run either version until linuxcnc is python3 only
2020-09-07 00:58:15 -07:00
chris
99db68ba8c remap -run 2to3 on remap_lib 2020-09-07 00:58:15 -07:00
chris
fcee864b02 qtvcp -remove graphics.py
this widget embeded a gtk gremlin into a qt window -old sckool
2020-09-07 00:58:15 -07:00
chris
389b242bb7 qtvcp -update for python3 2020-09-07 00:58:15 -07:00
chris
b4a5036b87 glcanon.py -change function signature for qtvcp
In python3 super class seems to work differently then python2.
to be able to support both in qtvcp's qt5_graphics we need this change.
I've tested AXIS in py2 and py3 seems not to hurt it.
2020-09-07 00:58:15 -07:00
Chris Morley
38086aa3c9 Merge branch '2.8' 2020-09-07 00:22:53 -07:00
Chris Morley
72c3a6f005 qtvcp -add python2 designer library for 5.11 (Buster) 2020-09-07 00:15:11 -07:00
Phillip Carter
dfdf14946d Merge branch '2.8' 2020-09-07 13:24:29 +10:00
Phillip Carter
9bb4e1d51c plasmac: compress config backup 2020-09-07 13:17:52 +10:00
Phillip Carter
6def9a4211 docs: add some git ignores 2020-09-07 12:49:20 +10:00
Phillip Carter
91eca6840a plasmac: fix extras tab issues
gcode file load
wizard spindle codes
sample scribe code
2020-09-07 12:48:19 +10:00
Dewey Garrett
a084bd2bef dbounce.comp (new) alternative debounce component
built with halcompile for commonality with other components:
1) support count= or names= specifiers
2) provide compatiblity for twopass processing
3) provide 'delay' pins per instance instead of by group

Notes:
debounce.c uses cfg=... and was created before the availability
of the halcompile utility (formerly named 'comp')

Ref:
aaf422b8d 2004-06-13 added 'debounce' HAL module to debounce
                     mechanical switch signals
d29cb53fe 2006-09-06 add "comp", a program for
                     writing HAL boilerplate
2020-09-06 08:21:50 -07:00
Chris Morley
b864386195 Merge branch '2.8' 2020-09-03 22:02:38 -07:00
Chris Morley
11fd623172 hal_glib.py -correct inconsistant signal spelling
This make no actual difference, in practive all underscores are converted
to dashes befoire being sent out.
2020-09-03 21:30:29 -07:00
Chris Morley
36b6c33cc0 docs -fix incorrect information about GStats current-position 2020-09-03 21:29:34 -07:00
Phillip Carter
b4e16d7bca Merge branch '2.8' 2020-09-02 12:22:51 +10:00
Phillip Carter
4dc48a2528 plasmac: add speed adjustment for final probe up 2020-09-02 12:21:37 +10:00
Phillip Carter
5cece4e97b plasmac: fix scibe error in filter file 2020-09-02 12:21:21 +10:00
Phillip Carter
4db09f8626 docs: plasmac user guide update 2020-09-02 12:20:34 +10:00
andypugh
cb1425e5d4 Docs: A suggestion of where the problem might lie
from Håvard Flaget Aasen

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 22:22:12 +01:00
andypugh
7b66fce29c Docs: Try to sort out the pesky Chinese docs.
Again


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 20:50:27 +01:00
andypugh
eac9994c35 Docs: Remove the static Chinese PDF
We really should be building the docs properly.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 13:34:43 +01:00
andypugh
c7012227f8 Fix some whitespace errors in the debian control files.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 11:17:39 +01:00
andypugh
0ebc3adef0 Merge branch '2.8'
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-09-01 00:43:57 +01:00
andypugh
69f7ce09bc Trigger Build 2020-08-31 23:40:14 +01:00
andypugh
41df3894a2 Release: Version 2.8.0 at last.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 21:18:36 +01:00
andypugh
c207d3c6a5 Docs: Well that wasn't the answer
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 15:57:22 +01:00
andypugh
92f2a52d95 Docs: Trying to silence a warning.
It doesn't show up on my system.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 15:10:58 +01:00
andypugh
1313a0b580 Docs: Stil trying to fix vfs11_vfd troff
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 11:53:55 +01:00
andypugh
e747f4e496 tests: simpockets.orig does need to exist in 2.8. It is renamed in master.
and then master seems to have two of them.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 11:53:18 +01:00
andypugh
a445e98583 simpockets has been haunting me
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 11:02:09 +01:00
andypugh
1294c8cbdd Docs: More troff corrections
Oh how I dislike troff

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-30 11:02:09 +01:00
Phillip Carter
c48a5ca4c3 plasmac: fix offset disable error from v0.162 2020-08-30 13:47:47 +10:00
Phillip Carter
0f8e27b3ad plasmac: fix offset disable error from v0.162 2020-08-30 13:46:39 +10:00
andypugh
c595691a90 Docs: Fix Troff errors in Spanish manpages
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 22:56:51 +01:00
andypugh
af1f42b4ee Docs: I broke the vietnamese g-code reference, I have no idea how.
All I can try now is blindly back-tracking

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 21:09:53 +01:00
andypugh
1c2f500571 Docs: Still trying to include a pdf
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 20:40:54 +01:00
andypugh
168289d3fe Docs: Add a static PDF file in lieu of building Chinese PDF docs
Partly from asciidoctor-pdf and partly from printing the HTML docs to PDF

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 18:55:00 +01:00
andypugh
a88536efc5 Docs: Add a static PDF file in lieu of building Chinese PDF docs
Partly from asciidoctor-pdf and partly from printing the HTML docs to PDF

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 14:52:48 +01:00
andypugh
ada66f9129 Docs: Typo in html index
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 12:28:58 +01:00
andypugh
c4fd87126d Docs: Update copyright dates
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-29 11:53:59 +01:00
andypugh
07a5e6706b Docs: Add a static PDF Doc of the Chinese docs.
As I can't figure out how to build them.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 23:15:36 +01:00
andypugh
0511ceab99 Config: Typo when reverting the Docs dependencies
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 20:40:08 +01:00
andypugh
8a54651c5c Packaging: Reduce STANDARDS_VERSION to 3.9.8
We do not comply with Debian Standards Version 4.0.0. Specifically:

9.3.3.2
   Packages must not call "/etc/init.d" scripts directly even as a
   fallback, and instead must always use "invoke-rc.d" (which is
   essential and shouldn't require any conditional).

But this is exactly how LinuxCNC runs the realtime start scripts.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 20:27:05 +01:00
andypugh
1df86e3541 Docs: Minor corrections to Chinese docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 20:14:40 +01:00
andypugh
5d7b7cb75f Docs: Disable Chinese docs again
They only build with xetex and that is not available for Wheezy.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 20:14:18 +01:00
andypugh
eec2c9b7a1 Docs: Buster is building but others show file-not-found.
I am guessing that the problem might be xetex.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 18:47:17 +01:00
andypugh
380e2eceb4 Merge branch '2.8-lintian-fix' into 2.8 2020-08-28 11:35:43 +01:00
andypugh
935bb6bfcd Docs: Describe how to identify RT kernels in System Requirements
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 11:34:59 +01:00
andypugh
2d2ef2b4bb Documentation: Chinese docs had gone missing during the docs_es merge
Reinstate them.
Also switch to using Xetex in place of Latex as the dblatex backend so that
Chinese PDFs can be made.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 11:34:59 +01:00
andypugh
debf4bd0d6 Docs: Minor edit to "updating linuxcnc"
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-28 11:34:59 +01:00
Phillip Carter
e5449426db plasmac: fix reset offsets after power cycle
#3rd time lucky...
2020-08-28 15:32:25 +10:00
Phillip Carter
2fe8ba3c98 plasmac: fix reset offsets after power cycle
#3rd time lucky...
2020-08-28 15:31:06 +10:00
Phillip Carter
b72650b928 plasmac: fix offset reset after power cycle
Hopefully I got it right this time...
2020-08-28 15:08:36 +10:00
Phillip Carter
d963f43b9a plasmac: fix offset reset after power cycle
Hopefully I got it right this time...
2020-08-28 15:06:41 +10:00
Phillip Carter
338f6136ef plasmac: comment out halui.machine.is-on for new configs 2020-08-28 14:25:22 +10:00
Phillip Carter
7dd82de512 plasmac: comment out halui.machine.is-on for new configs 2020-08-28 14:21:35 +10:00
andypugh
8f1cd4a12b udev rules: Add SUBSYSTEM for XHC pendants
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 23:42:43 +01:00
andypugh
66770962f7 Perms: Correct some execute permissions
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 23:13:50 +01:00
andypugh
22f38ae92f Manpages: fix some more lintian manpage errors
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 22:59:37 +01:00
andypugh
2740735814 Merge branch 'andypugh/manpages' into 2.8-lintian-fix 2020-08-27 19:35:18 +01:00
andypugh
ef063a85af Docs: Add a lot of missing manpages
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-27 19:31:59 +01:00
Phillip Carter
ef65a617ef plasmac: reset offsets after power cycle 2020-08-27 16:40:03 +10:00
Phillip Carter
37e95c08de plasmac: reset offsets after power cycle 2020-08-27 16:06:01 +10:00
Phillip Carter
79c848959e plasmac: offset clear for max height 2020-08-27 11:32:58 +10:00
Phillip Carter
9ab8bde656 plasmac: fix configurator upgrade 2020-08-27 11:32:33 +10:00
Phillip Carter
fc883deba6 plasmac: run panel and tab panel tooltips 2020-08-27 11:31:52 +10:00
Phillip Carter
251b993c61 plasmac: fix offset clear for low home height 2020-08-26 21:08:25 +10:00
Phillip Carter
462bf6da88 plasmac: fix configurator upgrade 2020-08-26 21:08:25 +10:00
andypugh
4c60ace6c6 Merge branch '2.8-lintian-fix' into 2.8 2020-08-26 11:23:49 +01:00
Phillip Carter
b7c7ab5aae docs: plasmac run panel and tab 2020-08-26 15:13:08 +10:00
andypugh
abb6c12a24 Docs_es: Further link-mongering.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 03:36:48 +01:00
andypugh
eded315c1c Permissions: Clear some more spurious execut perms
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
e8794be820 Sample configs: Gmoccapy Lathemacros needs python-rsvg.
Also add an explicatory note.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
bdb79062f7 Man: Try to put halcompile userspace docs in a consistent place
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
a32b736a47 Perms: Remove spurious execute permissions
Trying to make Lintian quieter.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
60e10601a3 Alter some .desktop files that I _thought_ were auto-generated.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
c561a067c7 Docs_es: link to placeholder files
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
0c19d10ff8 Lintian: Description lines too long
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
e3ee83c292 Lathe Macros: Add instructions to install python-rsvg
The package has been dropped from Buster but is backported by LinuxCNC
until Python3 changeover.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
05663dae6c Lintian: Add main categories to desktop files
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-26 02:12:38 +01:00
andypugh
a4c9d438d8
Merge pull request #933 from LinuxCNC/2.8
2.8
2020-08-25 11:52:47 -05:00
andypugh
1b1081114a Lintian: Fix permissions of ngc and png files
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 14:34:57 +01:00
andypugh
0292e02739
Merge pull request #932 from havardAasen/st-version_2.8
Change Standards-Version depending on distribution
2020-08-25 06:26:13 -05:00
Håvard Flaget Aasen
306c5c653c Fix incorrect format for month in debian/changelog 2020-08-25 11:34:57 +02:00
Håvard Flaget Aasen
a30d2d1709 Add Standards-Version into configuration script
Since Ubuntu Precise is the oldest distro currently supported
Standards-Version is increased from 3.9.2 to 3.9.3
2020-08-25 11:08:49 +02:00
Håvard Flaget Aasen
23e797e932 Fixes in debian configure
Remove duplicated entries.
Change tab with spaces to get indentation right.
Remove Debian-Testing as a distribution, this distribution dosen't work,
because of Python2 removal in Debian.
2020-08-25 10:41:41 +02:00
andypugh
7386369da4 Docs: There is no point creating new placeholder docs then not committing them
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 09:13:31 +01:00
andypugh
7f595c9182
Merge pull request #931 from havardAasen/man-page_2.8
Fixes for man-page
2020-08-25 02:42:37 -05:00
andypugh
e694cdeb9b Depends: Don't Reccomend an already-Depended package
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 02:25:36 +01:00
andypugh
5badd3cb1b Docs: Needed placeholder files after all.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 02:24:57 +01:00
andypugh
e054e8ff6f Docs: Using _en docs as placeholders in DOC_SRCS_ES triggers warnings
Remove them

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 01:22:23 +01:00
andypugh
44e753e199 Launchers: "Encoding" prompts deprecation warning, remove it.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-25 01:21:10 +01:00
andypugh
65a134387c Packaging: Silence some warnings from dh_shlibdeps.
As the things being warned about appear to be put of our control.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-24 23:49:23 +01:00
Håvard Flaget Aasen
13a9824a26 Fix minor typos in man-page 2020-08-24 23:23:16 +02:00
Håvard Flaget Aasen
eace7505fb Add whatis entry 2020-08-24 22:03:27 +02:00
Håvard Flaget Aasen
97ca18c095 Rename man-page from gs2.1 -> gs2_vfd.1 2020-08-24 21:08:54 +02:00
Phillip Carter
3039a67a66 Merge branch '2.8' 2020-08-24 18:51:28 +10:00
Phillip Carter
fedc70e13a plasmac: use tcl file for postgui 2020-08-24 18:50:40 +10:00
andypugh
c113c86f85 Docs: I hadn't realised that a desktop file wasn't being tracked
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-24 08:53:11 +01:00
andypugh
cf274ee402 Docs: I hadn't realised that a desktop file wasn't being tracked
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-24 08:51:56 +01:00
Phillip Carter
434c3b8261 Merge branch '2.8' 2020-08-24 13:36:27 +10:00
Phillip Carter
c09b82dcd6 plasmac: add cut recovery 2020-08-24 13:35:49 +10:00
andypugh
85e73dd18c Merge branch '2.8' 2020-08-24 00:11:41 +01:00
andypugh
10f78c1614 Packaging: There is no "opencv" package
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-23 20:51:12 +01:00
andypugh
2b8fb82e9d Docs: Fix some errors in the "updating" docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-23 20:44:25 +01:00
andypugh
29e0c9eb47 Docs: better-integrate Spanish docs 2020-08-23 19:28:42 +01:00
andypugh
578a256d2d Docs: Add the Spanish Developer manual to the build list
"Integrator" also esists as a Master, but with no translated content

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-23 18:10:22 +01:00
andypugh
ba7375ba7f
Merge pull request #929 from itaib/patch-1
English main language
2020-08-23 17:57:45 +01:00
andypugh
f418bd9e7e Docs: Don't add the translated manpages to the default html docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-23 17:30:24 +01:00
itai
bd28d92eff
Rename README_en.md to README.md 2020-08-23 19:25:04 +03:00
itai
0466819ee9
Rename README.md to README_es.md 2020-08-23 19:24:03 +03:00
Phillip Carter
36b624c915 Merge branch '2.8' 2020-08-23 15:39:39 +10:00
Phillip Carter
3d71e05030 docs: plasmac extras panel image 2020-08-23 15:38:33 +10:00
Phillip Carter
9634ab2665 Merge branch '2.8' 2020-08-23 13:54:25 +10:00
Phillip Carter
a04a13d701 plasmac: fix version reporting for upgrades 2020-08-23 13:53:45 +10:00
Chris Morley
7c1df410a5 Merge branch '2.8' 2020-08-22 16:54:29 -07:00
Chris Morley
2fbb05c596 qtvcp -update qtdragon stylesheets; add dark_grey
Jim Last added some updates - i modified them to work as installed versions.
2020-08-22 16:48:05 -07:00
andypugh
1e5b7b891c qtvcp_es.txt: Rather than chase links in untranslated files, just de-link
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-22 20:36:22 +01:00
andypugh
6d5234c388 Docs: Fix malformed and missing links in the Spanish docs
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-22 19:21:32 +01:00
andypugh
c74fcf51cf Packaging: Attempt to make a new tag to un-break the 2.8 builds
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-21 18:31:34 +01:00
andypugh
add5f0b68a Merge branch '2.8' 2020-08-21 17:15:29 +01:00
andypugh
88dc9b4e2a Docs: Resize the images from the previous commit
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-21 17:14:23 +01:00
andypugh
2a5a769644 Docs: Resize the images from the previous commit
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-21 12:45:17 +01:00
Chris Morley
fc79a2de91 Merge branch '2.8' 2020-08-20 21:58:49 -07:00
Chris Morley
303d2ab8d8 docs -add info on builtin remap for lathes 2020-08-20 21:07:35 -07:00
Chris Morley
f908d01574 qtvcp -basic probe: remove hard coded color, so it can be styled.
Jim Last update.
2020-08-20 20:00:24 -07:00
Chris Morley
61f016702b qtvcp -fix the application of styles.
Reset style before changing to new style, to stay consistant.
Jim Last to the rescue!
2020-08-20 19:54:59 -07:00
andypugh
2ec847f23b Merge branch '2.8' 2020-08-21 01:46:38 +01:00
andypugh
cb76f54524 Merge branch '2.7' into 2.8 2020-08-21 01:34:09 +01:00
andypugh
275af99cad Docs: Update docs to show and describe Tool Touch Off.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-21 00:40:29 +01:00
andypugh
c9584cfe4e Docs: Add translated manpages to HTML docs generation.
Also set the Spanish online index to point to the Spanish manpages where
they exist. Not-yet-translated docs are marked with an asterix


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-20 01:54:42 +01:00
Dewey Garrett
1e0d5780c4 eoffset_per_angle.comp init kfactor properly
ref: https://forum.linuxcnc.org/38-general-linuxcnc-questions/39808-eoffset-per-angle-opa-example#178735

set incorrectly by 91cb49657
2020-08-19 12:52:18 -07:00
andypugh
5f051fa8da Packaging: Correct incorrect package names in the Recommends: list
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-18 18:54:23 +01:00
Phillip Carter
620205e0c8 Merge branch '2.8' 2020-08-18 18:29:01 +10:00
Phillip Carter
fbcde46fc4 plasmac: conversational updates
prevent multiple instances
save current position
2020-08-18 18:28:37 +10:00
andypugh
ccca272dbc Packaging: Update changelog to mention new Spanish and French translation
Spanish translation is fairly wide-ranging, French so far is only the
system requirements.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-17 18:31:35 +01:00
andypugh
8dc9bc7f3a
Merge pull request #926 from havardAasen/2.8
Documentation fixes
2020-08-17 09:44:07 +01:00
Håvard Flaget Aasen
181b428945 Minor fixes in documentation
Fixes some warnings with asciidoc
2020-08-17 09:50:47 +02:00
Håvard Flaget Aasen
b9d5d854c3 Readd english documents, rename translated to *_es 2020-08-17 09:01:26 +02:00
Phillip Carter
4ac503aa45 Merge branch '2.8' 2020-08-17 16:55:08 +10:00
Phillip Carter
9f06f6c965 plasmac: fix z offset error 2020-08-17 16:53:27 +10:00
Phillip Carter
8c51e36964 Merge branch '2.8' 2020-08-17 13:34:28 +10:00
Phillip Carter
6add12df37 plasmac: disable z offset when not required 2020-08-17 13:28:14 +10:00
Phillip Carter
a48601fc67 plasmac: fix thc active for mode 2 2020-08-17 13:17:22 +10:00
Phillip Carter
5406db6d78 plasmac: prevent queued single cut commands 2020-08-17 12:50:55 +10:00
andypugh
358dafb0f4 Test release 2.8.0-pre2
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-16 21:01:00 +01:00
Chris Morley
91e5edda79 Merge branch '2.8' 2020-08-16 11:45:37 -07:00
Chris Morley
8de9d5cefc nc_files -lathe macros: add the M6 back in
I had removed M6 for testing with a remapped lathe screen.
I forgot to put the M6 back for regular lathe configs.
I now have fixed the remap screen t0 ignore M6.
So now even with the added M6 both type of configs will work
2020-08-16 11:44:01 -07:00
Chris Morley
49f738b7d3 qtvcp -qtlathe:fix loading button error, change greeting words
it' not really a haas look alike anymore.
2020-08-16 11:44:01 -07:00
Chris Morley
626fc23acc qtvcp -update qtlathe sim to use builtin remap code
I added a lathe tool change with wear remap into standard glue.
This excecises it.
Change the tool table name to something less silly.
comment the remap file so someone might figure out where the actual code is.
2020-08-16 11:44:01 -07:00
Chris Morley
a11a324863 nc_files -add fanuc style lathe tool change to standard remap glue
This should be easier then reinventing the wheel each time.
2020-08-16 11:44:01 -07:00
andypugh
604ca8c53d Re-instate a file which was deleted
simpockets.tbl.orig was mistakenly identified as a result from a failed merge


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-16 19:31:27 +01:00
andypugh
c9bc1cfdfc Merge branch '2.8' 2020-08-16 19:23:31 +01:00
andypugh
657fc17a19 Tidy up some temp files
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-16 19:12:57 +01:00
andypugh
57a3654cf0 gitignore: Add some auto-generated (from .comp files) manpages.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-16 19:08:54 +01:00
andypugh
4fd4bcb11a
Merge pull request #925 from MrFouFou/2.8
French translation
2020-08-16 18:20:46 +01:00
MrFouFou
b83a40a4f5 Update System_Requirements_fr.txt 2020-08-16 18:41:47 +02:00
andypugh
9bdae7cf89 Packaging: Priority: extra is deprecated since Debian policy 4.01
According to Lintian.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-16 16:52:27 +01:00
cascade256
b992960747 Update kernel version PREEMPT_RT check 2020-08-16 16:10:50 +01:00
andypugh
fa59c775dd
Merge pull request #924 from havardAasen/2.8
Lintian error
2020-08-16 15:19:31 +01:00
Håvard Flaget Aasen
64b9d0506e Change header in man-page
Change header to be only one word and capitalize it.
2020-08-16 13:38:44 +02:00
Håvard Flaget Aasen
f253fedc59 Remove extra space in descritption for package linuxcnc-doc-es 2020-08-16 13:37:20 +02:00
Chris Morley
72f2f60590 qtvcp -qtlathe,qtdragon: add missing alarm function 2020-08-15 20:53:25 -07:00
Chris Morley
e9b3892b3e qtvcp -fix the graphics toggle button behaivour
It was just annoying. it's a little better now.
2020-08-15 20:53:25 -07:00
Chris Morley
aa4b32e7e3 qtvcp -modify INI to include macro path
This is always overly complicated for a user.
development vrs installed -I hope I got it covered.
2020-08-15 20:53:25 -07:00
Chris Morley
625de21d8e nc_files -add go_to_position to mill macros 2020-08-15 20:53:25 -07:00
Chris Morley
689cb9a2b8 nc_files - move lathe/mill macros into a macro folder 2020-08-15 20:53:25 -07:00
Chris Morley
0c63877357 qtvcp -modify macro widget to launch a calculator dialog widget 2020-08-15 20:53:25 -07:00
Chris Morley
a34b868774 qtvcp -make entry widget launch dialod class patchable
Inthe long run, it might be better to rethink the touch widget.
But with this I can class patch to launcg a different dialog - macro widget uses it.
2020-08-15 20:53:25 -07:00
andypugh
1cbbe1453d
Merge pull request #921 from LinuxCNC/andypugh/spanish_docs
andypugh/spanish docs
2020-08-15 21:34:00 +01:00
andypugh
dda25ad849 Packaging: Add control entries for recently added Spanish files.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-15 21:08:11 +01:00
j.m. garcia
bd54ff1de4 es translation work 2020-08-15 16:07:21 +01:00
Phillip Carter
28c667404f Merge branch '2.8' 2020-08-15 18:34:05 +10:00
Phillip Carter
d2933cc5ff plasmac: missed syntax errors in wizards 2020-08-15 18:33:23 +10:00
Phillip Carter
61e8582080 Merge branch '2.8' 2020-08-15 18:26:46 +10:00
Phillip Carter
c07013ae08 plasmac: fix conversational settings save and load 2020-08-15 18:26:21 +10:00
Phillip Carter
5209d97107 plasmac: doc update for height per volt 2020-08-15 18:26:21 +10:00
Chris Morley
f47a1ef0b1 Merge branch '2.8' 2020-08-13 21:28:08 -07:00
Chris Morley
4a9dcf1f40 qtvcp -update docs about zmq messaging 2020-08-13 21:27:05 -07:00
Chris Morley
860a6db9cf Merge branch '2.8' 2020-08-13 12:08:20 -07:00
Chris Morley
5a3891dcaf qtvcp -screen_options: add zmq remote messaging
This code allows a separate program to call functions in the qt window object.
and optionally allows the screen to publish messages to separate programs.

It uses zmq for the socket connection.
It uses json for object conversion
2020-08-13 12:07:25 -07:00
Chris Morley
e0078a36ea qtvcp -gcode_editor: fix missing library error message
LOG wasn't initiated before message printed to it.
2020-08-12 12:11:30 -07:00
Norbert Schechner
6c290f5bba Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2020-08-12 17:54:57 +02:00
Norbert Schechner
a56634afd2 gmoccapy_3_0_9_1 - bug in back tool lathe handling
ver 3.0.9.1
- bug in handling back tool lathe solved
  reported on the forum from Schaap

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-08-12 17:52:19 +02:00
andypugh
3814cd0eb3 Spanish Docs: Fix some malformed links
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-12 12:11:33 +01:00
andypugh
6c8650d3c8 Docs: Fix a miss-spelled anchor
I would have left it, but one doc had it correct and that was breaking links


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-12 12:10:02 +01:00
andypugh
bb11c2f976 Docs: Add Plasmac User Guide (es) to Submakefile
It hasn't actually been translated, but it needs to exist to allow
some links to work. Also carry-over some Plasmac image changes.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-12 12:08:01 +01:00
Phillip A Carter
434102ee52
Update control.docs.in
Remove lines after error from Build CI
2020-08-12 13:42:59 +10:00
Phillip Carter
a66ec07b19 Merge branch '2.8' 2020-08-12 13:29:58 +10:00
Phillip Carter
ab62883624 plasmac: rework mesh mode 2020-08-12 13:22:07 +10:00
Phillip Carter
4d32dc950b plasmac: rework gcode filter 2020-08-12 13:22:07 +10:00
andypugh
c1086da94e Docs: Fix some corrupted links in the Spanish docs
In several places "<<" has been replaced with "link?"

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-12 00:52:56 +01:00
andypugh
ca20b9c041 Docs: Fix some tags in Spanish docs that don't work if translated
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-12 00:06:02 +01:00
andypugh
e0fdf565ea Docs: Move Spanish manpages to man/es and restore English manpages
man should find them automatically there. man -Les will pick them if not.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-11 23:42:27 +01:00
andypugh
84b6904596 Docs/Spanish: Un-translate the README files
The Spanish translation has translations for the sample config readme files
but we probably don't want to replace the english ones. This commit keeps
both


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-11 22:13:16 +01:00
j.m. garcia
c21f04a941 es translation work
es translation work

es translation work

es translation work

es translation work

es translation work

es translation work

es translation work
2020-08-11 21:13:46 +01:00
j.m. garcia
a3052a53f5 spell/style corrections
spell/style corrections
2020-08-11 21:13:45 +01:00
j.m. garcia
73b942786b adding documentation _es
.po edition, adding documentation/images _es
2020-08-11 21:13:43 +01:00
j.m. garcia
9df2b10278 added /docs/*/images/*_es.png *_es.svg 2020-08-11 21:13:43 +01:00
j.m. garcia
4c47b68334 added /docs/*/*_es.txt 2020-08-11 21:13:43 +01:00
j.m. garcia
e4038df49b added /docs/config/*_es.txt 2020-08-11 21:13:43 +01:00
j.m. garcia
22a7a7714b additions to Submakefile/index_es.tmpl 2020-08-11 21:13:43 +01:00
j.m. garcia
eaa7cb18f2 added /common/*_es.txt to Submakefile/index_es.tmpl 2020-08-11 21:13:43 +01:00
j.m. garcia
acc2933708 added /doc/src/common/*_es.txt 2020-08-11 21:13:43 +01:00
j.m. garcia
98dcf9b277 changed index_es.tmpl sections
changed index_es.tmpl & Submakefile for sec14
2020-08-11 21:13:42 +01:00
j.m. garcia
4d7823b611 added reference gcode_es.html 2020-08-11 21:13:42 +01:00
j.m. garcia
778d1fbc30 index_es.tmpl head change 2020-08-11 21:13:42 +01:00
j.m. garcia
3ba5819e67 added doc/src/code *_es.* 2020-08-11 21:13:42 +01:00
j.m. garcia
81425b01f1 man9 docs
man9 docs

man9 docs
2020-08-11 21:13:40 +01:00
j.m. garcia
5eafc92ef2 no .gitignore man9 pages for translation (es)
I am lost....

quitar esto

gitignore problem

gitignore problem

Create dummy

gitignore problem

gitignore problem

gitignore problem
2020-08-11 21:13:37 +01:00
j.m. garcia
a0007141cf man1 translation 1 (es)
man1 translation 2 (es)

man1 translation 3 (es)

man3 translation 1 (es)

man3 translation 2 (es)

man3 translation 3 (es)

man3 translation 4 (es)

man3 translation 5 (es)

man9 translation 1 (es)
2020-08-11 21:13:36 +01:00
j.m. garcia
309de18d22 instructions (es) for docs
Basic documents (es) for docs
2020-08-11 21:13:35 +01:00
j.m. garcia
93ce11ffc5 translated to es
translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es
2020-08-11 21:13:34 +01:00
j.m. garcia
682f83857d delete file 2020-08-11 21:13:34 +01:00
j.m. garcia
5d0672790a translated to es
translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

translated to es

rename to english

renamed file
2020-08-11 21:13:32 +01:00
j.m. garcia
aea40935c3 added spanish mantainer_es.txt 2020-08-11 21:13:32 +01:00
j.m. garcia
362f103c60 new es.po from RIP linuxcnc.pot
reformatted and merged with linuxcnc.pot
2020-08-11 21:13:30 +01:00
j.m. garcia
95a65c90c3 remove references to defunct weblate service 2020-08-11 21:13:30 +01:00
j.m. garcia
afc2bdcd29 added spanish README_es.md
added spanish README_es

reformatted spanish README_es
2020-08-11 21:13:22 +01:00
Norbert Schechner
cea561bf1d Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2020-08-11 19:51:50 +02:00
andypugh
e31df3589a Packaging: Add some more dependencies for QTVCP
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-11 18:51:22 +01:00
Norbert Schechner
aeca8017f5 gmoccapy_get_ini_info - corrected handling of several double axis
AgentWD40 informed about a config like

XYYZZ

would lead to an error and proposed a code, I implemented that code with only one smal change


Signed-off-by: Norbert Schechner <nieson@web.de>
2020-08-11 19:46:38 +02:00
Norbert Schechner
b7c8bb3418 Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2020-08-11 19:18:32 +02:00
Norbert Schechner
5f40e40516 gmoccapy_3_0_9 - take care of angular jog vel entries in INI file
ver 3.0.9
- added settings to set min, default and angular velocities
  for angular jogging. No keyboard shortcuts for jogging angular
  axis, all prepared for doing so, but no idea which keys to use

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-08-11 19:17:04 +02:00
andypugh
5fe26ead50 Docs: Updates to "Updating LinuxCNC"
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-11 18:05:53 +01:00
Norbert Schechner
51f9a6485d gmoccap_3_0_8_3 - fix jog buttons order
- The function to arange jogging buttons relies on the dict
  that hold available axes to be in the same order as defined.
  in python 2.7 that is not the default behaivor of dicts.
  So the function (with a XYZAB machine for example) gave two
  sets of row/coloumn numbers for four buttons, leading to two
  buttons not being available.
  Thanks to Chris Morley for fixing this

Signed-off-by: Norbert Schechner <nieson@web.de>
2020-08-11 17:24:49 +02:00
andypugh
335a3da513 Docs: Mention the "dialout" group in the context of hy_vfd
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-10 22:12:07 +01:00
Chris Morley
00006d9ac5 pncconf -set the default version number to master 2020-08-10 02:06:05 -07:00
Chris Morley
76bfcb477f Merge branch '2.8' 2020-08-10 02:04:32 -07:00
Chris Morley
4bb602f378 qtvcp -qtlathe: add the edit mode - fix geometry.
probably need to edit code.
The setup page size was too big - pushed the slider controls off the edge.
2020-08-10 02:03:29 -07:00
Chris Morley
d8a8115bf9 pncconf -make the default version say 2.8
For some reason installed versions don't set the environment variable
so we don't get the proper version. Now we hardcode a default.
2020-08-10 02:03:29 -07:00
Phillip Carter
3e261124a6 Merge branch '2.8' 2020-08-10 14:11:32 +10:00
Phillip Carter
f068509bd1 plasmac: mesh mode update for rs485
user guide update
2020-08-10 14:11:00 +10:00
Chris Morley
5d2b1dd47d Merge branch '2.8' 2020-08-09 13:05:23 -07:00
Chris Morley
114ee4f306 qtvcp -update docs on class patching 2020-08-09 12:23:45 -07:00
Chris Morley
bff154bf33 qtvcp -allow auto repeat if not calling a handler keycode function
When typing in dialogs/mdi auto repeat is nice.
2020-08-09 12:02:40 -07:00
Chris Morley
3ba95855ad qtvcp qtdragon-allow F12 to launch style editor dialog 2020-08-09 11:37:47 -07:00
Chris Morley
a8a2a427ea Merge branch '2.8' 2020-08-09 11:25:48 -07:00
Chris Morley
f5b6999791 gmoccapy -fix copy/paste error in last commit
Not sure what happenned there...
2020-08-09 11:24:38 -07:00
Chris Morley
d9d0dde9ba Merge branch '2.8' 2020-08-09 11:06:20 -07:00
Chris Morley
4bf4f62462 gmoccapy -fix display of jogging buttons xyzab
The function to arange jogging buttons relies on the dict
that hold available axes to be in the same order as defined.
in python 2.7 that is not the default behaivor of dicts.
So the function (with a XYZAB machine for example) gave two
sets of row/coloumn numbers for four buttons, leading to two
buttons not being available.
2020-08-09 10:55:57 -07:00
Chris Morley
e0b93fbf6d Merge branch '2.8' 2020-08-08 16:04:00 -07:00
Chris Morley
0a02d44e78 qtvcp -qtlathe: update based on hottabich's work
add setup page, gcode descriptiom page
reramp how mode buttons display tabs
fix some image resource files
class patch the filemanager so it doesn't accept single click loading
and auto loads the HTML file if present.
If you load a file and there is no setup file, let the user know that
in the setup page.
2020-08-08 16:03:01 -07:00
Phillip Carter
c875ff8c59 Merge branch '2.8' 2020-08-08 15:14:23 +10:00
Phillip Carter
68a118db6d plasmac: fix conversational kerf offsets 2020-08-08 15:01:13 +10:00
Phillip Carter
a7d08640cd Merge branch '2.8' 2020-08-07 15:25:11 +10:00
Phillip Carter
ae07369803 plasmac: fix probing for ohmic probe offset 2020-08-07 15:24:34 +10:00
Phillip Carter
81fc094eac Merge branch '2.8' 2020-08-07 14:59:09 +10:00
Phillip Carter
7b2e57e958 plasmac: don't save mesh mode enable 2020-08-07 14:58:37 +10:00
Phillip Carter
20f564ab50 plasmac: set conversationl origin to 0,0 2020-08-07 14:58:36 +10:00
andypugh
09c44d34f8 Docs: tidy up kinematics.txt
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-07 01:27:17 +01:00
andypugh
2461f4a286 Docs: Fix typos and branding in "tweaking-steppers.txt"
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-07 01:21:41 +01:00
Phillip Carter
e8aa67e213 Merge branch '2.8' 2020-08-06 17:10:15 +10:00
Phillip Carter
00461d1f5f plasmac: update some conversational shapes 2020-08-06 17:09:42 +10:00
Phillip Carter
25456bfe38 Merge branch '2.8' 2020-08-05 15:11:36 +10:00
Phillip Carter
9f54cee369 plasmac: conversational tidy up 2020-08-05 15:07:15 +10:00
Phillip Carter
53108abb47 plasmac: fix grid scale for conversational 2020-08-05 15:07:15 +10:00
Phillip Carter
204bfad31a plasmac: add quit button to conversational 2020-08-05 15:07:15 +10:00
Phillip Carter
e71c3da421 plasmac: doc typo and help updates 2020-08-05 15:07:15 +10:00
andypugh
ac80d0a172 Add various packages required the QTVCP to the Recommends list
(Debian packaging)


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-04 21:46:21 +01:00
andypugh
02f1acfcce Update .po files after merge from 2.8
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-04 21:39:35 +01:00
andypugh
c9ae6ffce4 Merge branch '2.8' 2020-08-04 21:38:02 +01:00
andypugh
249cbccc14 Regenerate .po files (first time since 2012)
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-04 21:36:52 +01:00
andypugh
03ab5e6adf Merge branch '2.8' 2020-08-04 00:34:13 +01:00
andypugh
d9f666da64 Docs: Fix some typos and broken links
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-04 00:31:19 +01:00
Hannah Lau
18ab88d0fa Update getting-linuxcnc-cn.txt
Added new translations and edited exiting translations.
2020-08-04 00:14:40 +01:00
Hannah Lau
09d971fadc Update system-requirements-cn.txt
Added minor translation
2020-08-04 00:14:40 +01:00
Hannah Lau
5cad3b4d0e Update system-requirements-cn.txt
Added links and changed formatting
2020-08-04 00:14:40 +01:00
Hannah Lau
6d96c30a9a Update system-requirements-cn.txt
Added section 'Kernel and Version Requirements', updated translation to current version, and edited some previous translations.
2020-08-04 00:14:40 +01:00
andypugh
c4250cb576
Merge pull request #917 from ttl116/chinese_translation
Chinese Translation (Getting Started)
2020-08-04 00:10:01 +01:00
Hannah Lau
6c2cd959b6
Update getting-linuxcnc-cn.txt
Added new translations and edited exiting translations.
2020-08-03 23:14:35 +01:00
Chris Morley
e9e83ec798 Merge branch '2.8' 2020-08-03 10:57:58 -07:00
Chris Morley
778a53844b qtvcp -dialog_widget: only import the opencv library if needed.
any screen that used any dialog would complain if the opencv library was missing.
now only if it actually uses it.
2020-08-03 10:53:02 -07:00
Chris Morley
cf9e60d546 qtvcp -camview: change the message if the library is missing.
camview would display 'no image' if it couldn't display anything.
Since it knows the problem if the library is missing, might as well
mention that to users. qtvcp does print this to the terminal but not all users
know to look here.
2020-08-03 10:53:02 -07:00
Phillip Carter
23060c9eae Merge branch '2.8' 2020-08-03 16:50:32 +10:00
Phillip Carter
5ed623120d plasmac: add mesh mode for cutting expanded metal 2020-08-03 16:50:05 +10:00
Chris Morley
301f7c81d4 Merge branch '2.8' 2020-08-02 23:37:49 -07:00
Chris Morley
eacd1899d7 qtvcp -add some experimental configs so i don;t lose them
embedding gremlin seems to work and lathe macros almost.
2020-08-02 23:30:27 -07:00
Chris Morley
0dcbc72b9e qtvcp -when searching for resources.py don't walk the folder 2020-08-02 23:29:38 -07:00
Chris Morley
d34bab18ea qtvcp -update code snippet docs 2020-08-02 23:04:27 -07:00
Chris Morley
f590c566ee qtvcp -qt_cnc_800x600: fix dialog error from old code 2020-08-02 23:04:27 -07:00
Chris Morley
d9badd0f0a qtvcp -give all the sample configs separate preference files.
using the wrong stylesheets from a common preference file can look awful.
2020-08-02 23:04:26 -07:00
Chris Morley
c1a6536b0a qtvcp -x11mill: fix typo that caused crash on start. 2020-08-02 23:04:26 -07:00
Chris Morley
86f192c27d qtvcp -simplify initializing programmed HALified widgets
We used to have to call hal_init() with a ton of variables.
Now they are embedded into an instance of _HalWidgetBase, so you just have
to call hal_init()
You can still use the variable HAL_NAME= to set the HAL pin name or
else it uses the pyqt objectName

update all the qtvcp code to use this new way.
2020-08-02 23:02:55 -07:00
Hannah Lau
bc6b165744
Update system-requirements-cn.txt
Added minor translation
2020-08-03 00:59:07 +01:00
Hannah Lau
8650adb6bf
Update system-requirements-cn.txt
Added links and changed formatting
2020-08-02 21:48:49 +01:00
Hannah Lau
34d4961dcc
Update system-requirements-cn.txt
Added section 'Kernel and Version Requirements', updated translation to current version, and edited some previous translations.
2020-08-02 21:39:26 +01:00
Phillip Carter
91cfd4f43a Merge branch '2.8' 2020-08-02 14:20:03 +10:00
Phillip Carter
323e733bb0 plasmac: conversational updates 2020-08-02 14:19:32 +10:00
Chris Morley
2db76c320e Merge branch '2.8' 2020-08-01 15:05:57 -07:00
Chris Morley
9d3c6df5e8 qtvcp -camview: add rotation readout and ability to change colors with handler code 2020-08-01 15:04:13 -07:00
andypugh
960eb74801 Docs: Quieten asccidoc warning. Asciidoc was confused by a { in the text.
Adding a + should have worked to mask it, but didn't, so I just removed it.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-08-01 14:34:43 +01:00
Chris Morley
d7e4bbbf69 Merge branch '2.8' 2020-07-31 22:11:41 -07:00
Chris Morley
0465d757ce pncconf -fix discovery's hm2 driver entry.
Before this the driver entry was blank leading to an error when
loading the config later
2020-07-31 22:08:57 -07:00
Chris Morley
31021a613d pncconf -fix display of help input page. 2020-07-31 22:05:08 -07:00
Phillip Carter
67dcca8d4c Merge branch '2.8' 2020-08-01 14:31:42 +10:00
Phillip Carter
c24d60a04f plasmac: gmoccapy wizard blank file path error 2020-08-01 14:31:00 +10:00
Phillip Carter
1b675e5808 Merge branch '2.8' 2020-08-01 12:28:11 +10:00
Phillip Carter
ff1bb494bf plasmac: disable x/y offsets when not required 2020-08-01 12:27:34 +10:00
andypugh
f4fa8849a1 Docs: Translate Chinese index
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-31 18:32:24 +01:00
Phillip Carter
b3fbb98618 Merge branch '2.8' 2020-07-31 17:34:28 +10:00
Phillip Carter
ad8fd44afb plasmac: missing update 2020-07-31 17:33:46 +10:00
Phillip Carter
1b3353f083 Merge branch '2.8' 2020-07-31 17:30:03 +10:00
Phillip Carter
ae5e5b25df plasmac: new interface for conversational shape library 2020-07-31 17:29:19 +10:00
Phillip Carter
0a28044305 plasmac: consumable change updates 2020-07-31 17:29:18 +10:00
Peter Wallace
4d140624c4 Fix off by one error in stepgen table length 2020-07-30 21:27:28 -07:00
andypugh
8df5bcc5d4 Docs: Missing linebreak in matrix_kb.9
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-30 21:10:27 +01:00
andypugh
ff1a366314 Docs: Warn about a rare bug with very low pitch helices
This warning should be removed when the bug is fixed.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-30 18:17:03 +01:00
Chris Morley
8ed8288458 Merge branch '2.8' 2020-07-29 17:01:11 -07:00
Chris Morley
92b264f415 qtvcp -find the qrc and resources files and use them
resources.py must be compiled from the QRC file and be imported.
Hopefully images and translations will be easier with this.
2020-07-29 16:51:03 -07:00
Chris Morley
7c7b2b0738 pncconf -make discovery from reading PIN file easier
you don;t need to be in debug mode now.
2020-07-29 16:51:03 -07:00
andypugh
39df255223 Getting-LinuxCNC: Further corrections
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-29 19:14:02 +01:00
Phillip Carter
222f94f290 Merge branch '2.8' 2020-07-29 20:23:47 +10:00
Phillip Carter
06486e9bbf plasmac: add a save dialog to the run panel 2020-07-29 20:23:08 +10:00
Phillip Carter
6c80e2531d Merge branch '2.8' 2020-07-29 13:43:09 +10:00
Phillip Carter
c2a68fc0a8 plasmac: consumable change fixes and error handling 2020-07-29 13:40:14 +10:00
Phillip Carter
eeb932598b plasmac: remove print statement from configurator
fix version typo
2020-07-29 11:36:48 +10:00
Phillip Carter
321621166f plasmac: change stop type for breakaway during rapid move 2020-07-29 11:36:48 +10:00
andypugh
c4858ac5a4 Docs: Further updates to Install and Requirements docs.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-29 01:18:08 +01:00
andypugh
1de7aadb83 Docs: Update "System Requirements" and "Getting LinuxCNC" ready for the 2.8 release
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-28 00:31:19 +01:00
Chris Morley
9b27ae33af Merge branch '2.8' 2020-07-26 23:20:36 -07:00
Chris Morley
d5012bd707 qtvcp -update docs 2020-07-26 23:19:01 -07:00
Chris Morley
d95f6315b6 qtvcp -qtaxis: initialize LED properly
So the HAL pin can be built
2020-07-26 23:19:01 -07:00
Chris Morley
bf31082ad7 qtvcp -led_widget: add off color property 2020-07-26 23:19:01 -07:00
Chris Morley
674df2afa4 qtvcp -state_led: add an optional HAL output pin
reflects selected state
2020-07-26 23:19:01 -07:00
Chris Morley
98583f313f qtvcp -led_widget: remove useless function call 2020-07-26 23:19:01 -07:00
Phillip Carter
7ba9a82001 Merge branch '2.8' 2020-07-27 13:40:25 +10:00
Phillip Carter
9ad66c408a plasmac: fix symlinks to plasmac_connections.hal 2020-07-27 13:39:25 +10:00
Phillip Carter
ae05588af1 Merge branch '2.8' 2020-07-26 17:53:28 +10:00
Phillip Carter
bb5a6f04e2 plasmac: breakaway and consumable change
fix consumable change lockup and velocities
breakaway during rapid now errors out
2020-07-26 17:52:26 +10:00
Phillip Carter
cc120cc132 plasmac: allow consumable change during rapid motion 2020-07-26 11:24:08 +10:00
Phillip Carter
f6dc60bbde plasmac: change gcode feed rate warnings 2020-07-25 13:54:51 +10:00
Phillip Carter
be66efa8d7 Merge branch '2.8' 2020-07-24 18:03:24 +10:00
Phillip Carter
8e6e8bb292 plasmac: fix manual cut issues:
stop resetting from cut mode
turn spindle off when exiting
2020-07-24 18:03:08 +10:00
Chris Morley
96a8bec9f5 Merge branch '2.8' 2020-07-23 20:22:36 -07:00
Chris Morley
15264fc87f pncconf -fix setting of maxerror on metric machines
as per Peter Wallace:
This needs to be scaled correctly for metric.
Bounding the PID to 0.0005 mm doesn't give the PID enough headroom to adjust for
timebase differences between LinuxCNC and the stepgen hardware.

The point of this setting is to limit bogus stepgen velocity corrections caused by position
feedback sample time jitter. That is, say you have 200 usec of jitter on your servo thread and a
velocity of 10 IPS, a 200 usec late position sample would be off by 0.002", This would
cause the PID to command a bogus 20% velocity change with the standard PID tuning,
by bounding the maximum PID error to 0.0005" we get a 5% change instead.

Note that this is mostly obsolete if the DPLL is used as this reduces the sample time
jitter to about 250 ns.
2020-07-23 20:10:06 -07:00
andypugh
a5e0d6fafe Merge branch '2.8' 2020-07-23 19:12:13 +01:00
andypugh
a065fd4bc7 Desktop Files: Version numbers got lost, breaks package building
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-23 19:11:10 +01:00
Chris Morley
05f460006d Merge branch '2.8' 2020-07-22 23:25:41 -07:00
Chris Morley
d6195ed63b qtvcp -qtaxis: add a spindle-at-speed LED 2020-07-22 23:24:26 -07:00
Chris Morley
c27fd67275 qtvcp -qtlathe: switch to widget based spindle-at-speed led 2020-07-22 23:24:26 -07:00
Chris Morley
270faf961a qtvcp -state_led: add spindle at speed option
flashes if not up to speed. solid on when up to speed,
dark when spindle is off.
currently within +-10 percent is near enough
2020-07-22 23:24:26 -07:00
Chris Morley
832784b69f qtvcp -led_widget: fix flashing code
With reqular flashing option on, the LED will only flash if state is true.
It should have been possible to directly turn flashing on/off with a function call,
regardless of state.
When flashing was turned off sometimes the LED would not be displaying the current state.
2020-07-22 23:21:45 -07:00
Chris Morley
1d3772713e qtvcp -add docs for status image switcher 2020-07-22 20:55:42 -07:00
andypugh
72b0da1530
Merge pull request #909 from dwrobel/Add-Kalman-linear-quadratic-estimation-LQE-filter-component
Add Kalman, linear quadratic estimation (LQE), filter component
2020-07-22 09:44:13 +01:00
Chris Morley
10adc16cba Merge branch '2.8' 2020-07-21 23:24:30 -07:00
Chris Morley
8edd9a6bee qtvcp -add a helpful error message if qrc compiling fails.
If you don't have dev tools installed compiling fails.
2020-07-21 23:22:39 -07:00
Chris Morley
97f829be34 Merge branch '2.8' 2020-07-21 22:23:10 -07:00
Chris Morley
26d7501921 qtvcp -add a simple qrc file to qtlathe 2020-07-21 22:22:11 -07:00
Chris Morley
3ae04747ef Merge branch '2.8' 2020-07-21 22:06:42 -07:00
Chris Morley
56ccc021a7 qtvcp -use a couple resource file image paths
So I can check on different systems.
ultimately I will need to change all image file to reference the resource file.
2020-07-21 22:04:31 -07:00
Chris Morley
1531c02562 qtvcp -image_switcher: use the resources path if ':/' present in path 2020-07-21 22:02:27 -07:00
Chris Morley
796bcc0cf1 qtvcp -have qtvcp look for, compile and use resource files.
if there is a BASENAME.qrc file, it will (if required) compile it into a
resources.py file and then import it into qtvcp

it check to see if the qrc file is newer then the resources.py file.
If there is just a resources.py file, it will use it.
if there is neither, it will do lothing extra.
2020-07-21 21:59:06 -07:00
Phillip Carter
ea482e3683 Merge branch '2.8' 2020-07-22 12:09:00 +10:00
Phillip Carter
795480b6a0 plasmac: fix issues caused by v0.140 2020-07-22 12:08:24 +10:00
Phillip Carter
b5899bf4f2 plasmac: fix some user guide typos 2020-07-22 12:08:24 +10:00
andypugh
f2b030d4b7 Packaging: Clear up a previously replaced file re-introduced by merge.
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-21 20:16:26 +01:00
Chris Morley
f95e608b88 Merge branch '2.8' 2020-07-21 11:27:38 -07:00
Chris Morley
21fa394ab3 Merge branch '2.7' into 2.8 2020-07-21 11:26:48 -07:00
Chris Morley
808e5961b7 docs -fix typo in hal example 2020-07-21 11:26:10 -07:00
andypugh
e31bd24705 Merge branch '2.8' 2020-07-20 22:06:25 +01:00
andypugh
bd7d309d50 Packaging: Previous commit referenced icon files not universally present.
Also, it is not a great plan to use flags to denote languages.


Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-20 21:43:03 +01:00
Damian Wrobel
3cd2445fd3 Add Kalman, linear quadratic estimation (LQE), filter component
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-07-20 13:20:38 +02:00
Chris Morley
3da22b7885 qtvcp -tooloffset: use a custom spinbox so we control the options
by default the spinbox follows the number of units in the current data.
We want consistant 4 units after the decimal
2020-07-19 18:31:43 -07:00
Chris Morley
72f53835a0 qtvcp -display X X wear in diameter if in G7 mode
Lathes use diameter mode frequrntly.
2020-07-19 18:31:43 -07:00
Colten Edwards
72eeecee2d Update private_data.py
Changed definitions of the 7i92 to include G540x2
2020-07-19 18:31:43 -07:00
andypugh
23baf404a4 Translations: Add warnings of extreme out-of-date-ness
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-19 19:54:24 +01:00
andypugh
c6927f2706 Packaging: Re-work menu structure
Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-19 19:54:24 +01:00
c-morley
70c0db7d5b
Merge pull request #908 from cdedwards/master
Update private_data.py
2020-07-19 11:38:37 -07:00
Chris Morley
b62b919768 Merge branch '2.8' 2020-07-19 11:37:11 -07:00
Chris Morley
9ee1120387 pncconf -fix more double showing signal names.
GtkCellRendererText seems to mess up the display on treeview comboboxes
2020-07-19 11:36:44 -07:00
Chris Morley
be6a7da73a qtvcp -tool_offsetview: change the units displayed as per G20/21 2020-07-19 11:36:44 -07:00
Colten Edwards
91f59a46f0
Update private_data.py
Changed definitions of the 7i92 to include G540x2
2020-07-19 06:44:05 -06:00
Chris Morley
3d16241435 Merge branch '2.8' 2020-07-17 23:45:41 -07:00
Chris Morley
59393d3d55 pncconf -fix wrong numbered sserial pin.
When using discovery, the sserials were numbered wrong leading to two
0 units
2020-07-17 23:43:52 -07:00
Chris Morley
18e556275c qtvcp -tool_offsetview: change the units displayed as per G20/21 2020-07-17 22:42:31 -07:00
Chris Morley
01a5aae89a qtvcp -mdi_touchy: remove unused imports 2020-07-17 22:41:25 -07:00
Chris Morley
e3041e3058 Merge branch '2.8' 2020-07-16 18:32:52 -07:00
Chris Morley
b8805cef38 qtvcp -mdi_touchy: add I and J to G10 when using a lathe 2020-07-16 18:31:25 -07:00
Chris Morley
65cf3a1aed Merge branch '2.8' 2020-07-15 17:32:16 -07:00
Chris Morley
63a7ca2254 qtvcp -add images for X and Z reference indicators
use with some lathe configs
2020-07-15 17:31:02 -07:00
Phillip A Carter
04ed6993c8
fix update list 2020-07-16 09:29:33 +10:00
Chris Morley
a695f97fde panelui -Fix loading error with 'import .pyui'
Not sure why this was changed but users can't load panelui anymore.
Asked on the maillist never got answer.
We will see what happens - haven't tested on python3
2020-07-15 10:30:11 -07:00
Chris Morley
97964446fd Merge branch '2.8' 2020-07-14 20:55:01 -07:00
Chris Morley
bb10f9a576 qtvcp -update qtlathe
metric button
fast/slow jog button
unit per minute feed display
2020-07-14 20:54:25 -07:00
Chris Morley
7ffad8dfcb qt5_graphics -add a function for making a XZ quad
for making a bar stock object (or other things)
2020-07-14 20:54:25 -07:00
Chris Morley
8e3f222c04 haltcl -fix spindle.0.speed-in scale
requires RPS was getting RPM
2020-07-14 20:54:25 -07:00
Phillip Carter
163d16f330 Merge branch '2.8' 2020-07-15 11:56:10 +10:00
Phillip Carter
41712f623d plasmac:fix paused motion resume on rapid segment 2020-07-15 11:53:53 +10:00
Phillip Carter
924fd9a3e3 plasmac: configurator comments all spindle lines 2020-07-15 11:53:53 +10:00
Phillip Carter
52c555ce98 plasmac: user guide update 2020-07-15 11:53:53 +10:00
Phillip Carter
6748bec52d plasmac: fix torch pulse interlock
disable torch pulse if breakaway, float switch or ohmic probe activated
2020-07-15 11:53:53 +10:00
andypugh
727f7380ab
Update changelog 2020-07-14 22:17:01 +01:00
andypugh
0ca7af7a19
Update changelog 2020-07-14 22:16:06 +01:00
Rene Hopf
c098c4dcbf
Merge pull request #905 from dwrobel/Add-missing-checking-for-setsockopt-return-value
Add missing checking for setsockopt() return value
2020-07-14 22:00:24 +02:00
Chris Morley
18bd72fdd1 Merge branch '2.8' 2020-07-14 11:30:48 -07:00
Chris Morley
ad2506eec3 docs -add some more details about homing
Final home positioninside soft limits.
encoder index moves home switch offset
2020-07-14 11:27:44 -07:00
Chris Morley
7696b5ee16 docs: homing - add note about G28/30 with origin outside soft limits 2020-07-13 22:02:24 -07:00
Chris Morley
f7f5ef7ebd Merge branch '2.8' 2020-07-13 20:33:49 -07:00
Chris Morley
7674999089 pncconf -make the quit dialog a toplevel window
Some users complained that dialog looked odd.
also remove the locked size attributes
2020-07-13 20:31:47 -07:00
Chris Morley
7d7648edd8 qtvcp -qt_action: normalise save path
paths with ../ in them confused the function.
2020-07-13 20:31:47 -07:00
Damian Wrobel
faf8f0a9c7 Add missing checking for setsockopt() return value
Improve debug messages.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-07-13 18:30:49 +02:00
613fc1291b
Merge pull request #904 from LinuxCNC/2.8
Merge 2.8 to master
2020-07-13 11:25:01 -05:00
a4500c7731
Merge pull request #903 from LinuxCNC/jepler/prefer-png-images-2.8
docs: Use pngs, never gifs
2020-07-13 11:21:24 -05:00
b531252972 docs: Use pngs, never gifs
This works around a problem where imagemagick declines to convert
files to pdf; I don't know why a gif uses this conversion path but
a png doesn't.

Note that this change confuses dependency analysis.  If you built docs
before this change, you'll get an error that the (no longer referenced)
gif files don't exist.  "make clean" or "git clean" can correct the
problem.
2020-07-13 08:52:12 -05:00
andypugh
2bef8403b3
Fix changelog typos 2020-07-13 11:57:42 +01:00
Chris Morley
a0d5678acf Merge branch '2.8' 2020-07-12 22:37:28 -07:00
Chris Morley
7d52dc98df pncconf -put the save data button on the quit dialog
Also change the quit dialog depending when it's pushed;
Don't say the config was built when it wasn't yet.
Thanks Reinhart for the suggestion
2020-07-12 22:31:26 -07:00
Chris Morley
e01ce49f31 pncconf -don't translate GUI names 2020-07-12 22:31:26 -07:00
Phillip Carter
f7b369ddd3 plasmac: fix m-code path errors 2020-07-13 14:46:32 +10:00
Phillip Carter
0467f67966 plasmac: fix m-code path errors 2020-07-13 14:38:53 +10:00
andypugh
be054ade4a Packaging: Update Changelog
Auto-generated then pared-down.

Signed-off-by: andypugh <andypugh@buster.bodgesoc>
2020-07-12 22:07:06 +01:00
andypugh
3ac53922f9 docs: Integrate Chinese docs in to build
Note: Chinese PDF Doc generation is disabled.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-12 19:09:57 +01:00
Chris Morley
7f3cbcd61d Merge branch '2.8' 2020-07-11 22:55:57 -07:00
Chris Morley
22c5a8ea8a pncconf -add a save progress button
A great idea from Reinhart - and it was easy!
2020-07-11 22:53:55 -07:00
Chris Morley
b06bf8974b Merge branch '2.8' 2020-07-11 12:18:48 -07:00
Chris Morley
1e84cf527f pncconf -pci boards require sudo for mesaflash 2020-07-11 11:52:29 -07:00
Chris Morley
22ac5b5180 pncconf -trap some discovery error
if mesa flash errorred it wasnt trapped properly.
2020-07-11 10:30:48 -07:00
Chris Morley
3de4599e89 Merge branch '2.8' 2020-07-11 09:22:49 -07:00
Markus
9be051d7d2 fix/update clear_status and save_status buttons
fix/update clear_status and save_status buttons, since not connected
2020-07-11 08:37:32 -07:00
Chris Morley
8e345ba856 Merge branch '2.8' 2020-07-11 00:23:16 -07:00
Chris Morley
08ca2e2a15 qtvcp -qtaxis: add versaprobe probing dialog 2020-07-10 21:54:46 -07:00
Chris Morley
bbd10a0e72 qtvcp -versaprobe: fix indicated buttons, add more tooltips 2020-07-10 21:53:24 -07:00
Chris Morley
505586a661 qtvcp -versaprobe: unblock the help dialog
The help dialog was blocked when versa probe dialog was shown.
One couldn;t scroll or close the help dialog
2020-07-10 20:18:17 -07:00
Chris Morley
60feb326b1 qt5_graphics -generalize some functions for user plot
These functions always created a green object with .05 z depth.
now you can choose the color and the z depth.
2020-07-10 20:15:23 -07:00
774cc04e6c
Merge pull request #901 from jepler/image-wildcard-six
packaging: Do not require 'six' for doc building
2020-07-09 09:16:47 -05:00
c3a446e7f6 packaging: Do not require 'six' for doc building
Silent failures were occurring during the doc build because the
program `image-wildcard` could not be executed:
http://buildbot.linuxcnc.org/buildbot/builders/4042.deb-buster-rtpreempt-rpi4/builds/163/steps/shell_3/logs/stdio

    Traceback (most recent call last):
      File "../docs/src/image-wildcard", line 6, in <module>
        from six.moves import map
    ImportError: No module named six.moves

Rather than depending on six (which we _could_ do), just remove the
need for it.

While we're here, unconditionally use `relpath` just so we know
whether it works.

Testing performed: built html docs locally.  Inspected make output
and viewed axis.html; images were present.

Note:  There is no way I could find to make failures in asciidoc
`sys:` to cause asciidoc to indicate build failure back to make.
The only way to see such problems is apparently to read through
all the make output, or inspect the generated documentation files.

Note 2: This is likely to fail on buster-ish systems when imagemagic
is configured to block all reading and writing of PDF files, which was
recently done due to a known security problem in ghotscript:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964090
2020-07-09 07:16:05 -05:00
Chris Morley
10f97f3d6f Merge branch '2.8' 2020-07-07 21:26:35 -07:00
Chris Morley
25dbdd820b qtvcp -update qtlathe code
update qtlathe to a more general lathe screen.
Surely needs more refinement.
sometime I'll get back to the HASS style screen that this was based from.

Thank you forum user hottabich for your work on this.
2020-07-07 21:25:44 -07:00
Phillip Carter
e42b91e155 Merge branch '2.8' 2020-07-08 10:26:10 +10:00
Phillip Carter
b1dcc634f9 plasmac: materialverter not processing Cut Mode from SheetCam 2020-07-08 10:25:38 +10:00
c058746ea4
Merge pull request #896 from LinuxCNC/jepler/war-on-sincos-2.8
Remove sincos() usage (2.8 version)
2020-07-07 19:20:16 -05:00
andypugh
ab951cc72e
Merge pull request #898 from dwrobel/Use-distinguishable-error-messages
Use distinguishable error messages
2020-07-06 21:24:27 +01:00
Damian Wrobel
96b9de5472 Use distinguishable error messages
Both hm2_queue_read() and hm2_finish_read() used
the same error message:
  "error finishing read! iter=%u\n".

Use a different error message for each of the function
to easily deduce from which location the error
commes from.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-07-06 21:12:49 +02:00
andypugh
f423d30389 Merge branch '2.8' 2020-07-05 17:22:21 +01:00
andypugh
aac71b5e56 Merge branch '2.7' into 2.8
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-05 16:12:32 +01:00
andypugh
85dfc91f5c
Merge pull request #890 from robEllenberg/issue-68-spindle-sync-blend-fixes-2.7
Issue 68 spindle sync blend fixes 2.7
2020-07-05 15:44:24 +01:00
Phillip Carter
6d8607ea1a Merge branch '2.8' 2020-07-05 13:03:04 +10:00
Phillip Carter
93e93e07ab docs: fix some asciidoc warnings 2020-07-05 13:02:05 +10:00
Phillip Carter
bb5d6a60a6 Merge branch '2.8' 2020-07-04 16:17:22 +10:00
Phillip Carter
4e55b1f9b2 plasmac: update docs 2020-07-04 16:16:53 +10:00
andypugh
282870b8ed Merge branch '2.8' 2020-07-03 20:00:09 +01:00
andypugh
601389c66c hal_lib.c: Alter the message lavel of some debugging code
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-07-03 19:57:57 +01:00
Jeff Epler
6746c9a1d3 configure.ac: Remove unused sincos checks
We now no longer use the function sincos directly, so there's no
need for a configure check.
2020-07-03 19:57:57 +01:00
2dba2e1d47 posemath: rename sincos to pm_sincos 2020-07-03 19:57:57 +01:00
eaee11b147 Makefiles: Disable conversion of paired sin/cos -> sincos 2020-07-03 19:57:57 +01:00
Chris Morley
424c1cb59c Merge branch '2.8' 2020-07-02 21:02:29 -07:00
Chris Morley
2e7efb1e64 qtvcp -calculator: add conversion buttons, disable/enable axis button
if linuxcnc is not running disable the axis button.
add buttons to convert mm -> inch, inch -> mm, metric pitch to TPI
and TPI -> metric pitch
2020-07-02 21:01:34 -07:00
Chris Morley
f4fcafb9be qtvcp -action_button: fix override actions enabling
do to fixing hal_glib state signals, these didn't enble.
2020-07-02 21:01:34 -07:00
Phillip Carter
2669cb9dbd Merge branch '2.8' 2020-07-02 15:11:51 +10:00
Phillip Carter
abe5685ae3 plasmac: incorrect version number 2020-07-02 15:11:19 +10:00
Chris Morley
447042b413 Merge branch '2.8' 2020-07-01 18:37:41 -07:00
Chris Morley
f08956ebc9 hal_glib -fix emitting double estop signals
hopefully make the code more explicit too
2020-07-01 18:35:26 -07:00
Chris Morley
f7b124901d Merge branch '2.8' 2020-07-01 16:45:39 -07:00
Chris Morley
6c71cefb7c qtvcp -status_label: use metric template more
jograte, feedrate, feedunit, and max velocity should change units
text when in different unit modes.
2020-07-01 16:45:01 -07:00
0ac3661645
Merge pull request #897 from jepler/fix-tests_rtapi_printf
Fix tests rtapi printf
2020-07-01 16:42:35 -05:00
cfa16263e5 tests/rtapi_printf.0: placate older compilers 2020-07-01 16:41:02 -05:00
3752d937d5 Make: add runtests to list of INFILES
Otherwise, when configure would be re-run by make, the file would not
be (re)built
2020-07-01 16:40:54 -05:00
Rene Hopf
9ad9e72997 fix axis u,w,w in genserkins 2020-07-01 21:29:23 +02:00
Phillip Carter
598b6bb9fe Merge branch '2.8' 2020-07-01 21:43:50 +10:00
Phillip Carter
a3715a705d plasmac: fix config rearrangement 2020-07-01 21:43:11 +10:00
Phillip Carter
5b8bfd7a0a Merge branch '2.8' 2020-07-01 21:16:03 +10:00
Phillip Carter
7a6dd24546 plasmac: rearrange config directory 2020-07-01 21:15:21 +10:00
Phillip Carter
a8e9d06747 Merge branch '2.8' 2020-06-30 18:19:22 +10:00
Phillip Carter
19a686b673 docs: new plasma rs485 connections image 2020-06-30 18:18:50 +10:00
Jeff Epler
a90bc276dd configure.ac: Remove unused sincos checks
We now no longer use the function sincos directly, so there's no
need for a configure check.
2020-06-29 10:45:53 -05:00
03d6135002 posemath: rename sincos to pm_sincos 2020-06-29 10:44:03 -05:00
738018a168 Makefiles: Disable conversion of paired sin/cos -> sincos 2020-06-29 10:44:03 -05:00
f414ce9df9
Merge pull request #861 from dwrobel/Fix-generating-config-files
Fix generating config files
2020-06-28 15:44:31 -05:00
5e389155b9
Merge pull request #888 from zultron/2020-06-09-pkg-runtests
Run tests against system install
2020-06-28 15:43:39 -05:00
08a5236397
Merge pull request #895 from jepler/configure-boost-python-detection
configure: Do better at guess the boost_python library name
2020-06-28 15:34:43 -05:00
Chris Morley
aeb6a8f327 Merge branch '2.8' 2020-06-27 16:31:59 -07:00
Chris Morley
d98dab5c41 qtvcp -stylsheeteditor -fix local qss path name
Jim pointed this out.
2020-06-27 16:27:13 -07:00
Chris Morley
1f037d286a qtvcp -statuslabel -change units of jog and max velocity rate on g20/21 2020-06-27 16:24:50 -07:00
Chris Morley
b878cda8b5 hal_glib -add get_max_velocity function
returns current max velocity in units/per minute
2020-06-27 16:21:27 -07:00
Peter Wallace
c90c1926db Fix encoder hires timestamp option (failed to update register if
hires option set true in hal file)
2020-06-24 18:53:00 -07:00
Phillip Carter
83c66f3042 Merge branch '2.8' 2020-06-24 15:44:54 +10:00
Phillip Carter
e4fea81ffb plasmac: comment out spindle lines with configurator 2020-06-24 15:44:13 +10:00
Phillip Carter
1fed7e9428 Merge branch '2.8' 2020-06-23 09:43:49 +10:00
Phillip Carter
886f4ad79d plasmac: fix not returning from cut mode 2020-06-23 09:43:12 +10:00
andypugh
15bf1b99ca
Merge pull request #878 from dwrobel/Add-vectorized-version-of-linuxcnc-icon
Add vectorized version of linuxcnc icon
2020-06-23 00:08:18 +01:00
andypugh
60eeabec5f
Merge pull request #731 from jepler/hm2-eth-reseterr
Hostmot2: Improve I/O pin state in startup error conditions
2020-06-23 00:07:18 +01:00
andypugh
b3bbb95610 Merge remote-tracking branch 'origin/2.8' 2020-06-23 00:04:11 +01:00
andypugh
9eec6d0c87 axis.py: Fix a hangover from the JA conversion #812
axis.py was comparing an axis letter to an integer. Fix that.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-22 23:50:58 +01:00
Chris Morley
09397b8d3f Merge branch '2.8' 2020-06-20 23:41:19 -07:00
Chris Morley
2f875d6a3a qtvcp -qtlathe: allows keybindings through
eg F12 stylesheet editor was blocked
2020-06-20 23:40:33 -07:00
Chris Morley
9f832f6790 hal_glib -add homing to force_update function 2020-06-20 23:40:33 -07:00
Phillip Carter
f1795f503b Merge branch '2.8' 2020-06-21 15:18:47 +10:00
Phillip Carter
ca1b6a7d90 plasmac: fix consumable change routine 2020-06-21 15:18:05 +10:00
Chris Morley
9d11a40aae Merge branch '2.8' 2020-06-19 21:36:49 -07:00
Chris Morley
ff1864c92e qtvcp -qtaxis: fix order of G53 DRO on DRO page
X was on bottom
2020-06-19 21:35:29 -07:00
Chris Morley
7ba998f323 qtvcp -dro_widget: option to always display radius or diameter
On a lathe you may want to always display diameter for the X axis, regardless of m7/m8 mode
2020-06-19 21:35:29 -07:00
Rene Hopf
829ce3e659 pass through unused axis in genserkins.
This allows axis u,v,w to be used with robots.
2020-06-19 01:21:22 +02:00
Rene Hopf
1848f0c2b4
fix typo in genserkins.c 2020-06-18 21:07:01 +02:00
Phillip Carter
8e7842fa95 Merge branch '2.8' 2020-06-18 14:09:41 +10:00
Phillip Carter
5b5ba78cef plasmac: improved material changes with error handling 2020-06-18 14:08:43 +10:00
andypugh
1f12fbc8a7 Merge branch '2.8' 2020-06-18 00:07:16 +01:00
andypugh
c1cbb001a0 cpuinfo.c: Recognise the new 8GB Pi4
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-18 00:05:11 +01:00
Ernesto Lo Valvo
4cfda6050f it.po: New Italian translation file.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-18 00:03:36 +01:00
andypugh
280ab4837a
Merge pull request #891 from dwrobel/Improve-hm2_eth-logging
Improve hm2_eth logging
2020-06-17 23:04:34 +01:00
Damian Wrobel
a41726b318 Improve hm2_eth logging
- add printing stringified 'errno' value,
 - add ERROR prefix for 'ioctl SIOCSARP' failure,
 - unify usage of hardware address and MAC.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-06-17 21:02:51 +02:00
Chris Morley
cda96a48f5 Merge branch '2.8' 2020-06-14 19:13:25 -07:00
Chris Morley
69df9c1ba9 qtvcp -qtdragon: fix launch calibration button 2020-06-14 19:10:48 -07:00
Chris Morley
d8fe4d8bc3 qtvcp -action_button: add missing launch calibration action 2020-06-14 19:09:33 -07:00
8c87078c1f configure: Do better at guess the boost_python library name
e.g., for python3.7 try -lboost_python37 and -lboost_python3
2020-06-14 18:09:54 -05:00
48275cd688
Merge pull request #884 from zultron/2020-06-09-debian-updates-pr
Packaging updates
2020-06-14 17:37:16 -05:00
cd793c0ca5
Merge pull request #885 from zultron/2020-06-09-build-updates-pr
Build system tweaks
2020-06-14 17:32:39 -05:00
e7e3daeaa5
Merge pull request #886 from zultron/2020-06-09-hal-interp-private-pr
Move HAL private functions out of interp
2020-06-14 17:27:48 -05:00
20eebd1936
Merge pull request #845 from nicokid/master
Add the preselection of the parallel ports.
2020-06-14 17:18:55 -05:00
Chris Morley
038e3f6fc0 Merge branch '2.8' 2020-06-14 13:26:20 -07:00
Chris Morley
83a0f29b8b qtvcp -qtdragon: fix probe led name 2020-06-14 13:25:35 -07:00
Chris Morley
5b6e621af3 qtvcp -fix loading of VCP panels
vcp panels wouldn;t load because of missing style filepath.
should load without one
2020-06-14 13:25:35 -07:00
Phillip Carter
182105692b Merge branch '2.8' 2020-06-14 14:05:15 +10:00
Phillip Carter
8512c5e453 plasmac: fix requested velocity 2020-06-14 14:04:28 +10:00
Phillip Carter
b7bc7df249 Merge branch '2.8' 2020-06-14 13:55:34 +10:00
Phillip Carter
3822c71928 plasmac: missing plasmac:requested-velocity signal 2020-06-14 13:54:58 +10:00
Phillip Carter
19a5a0752d plasmac: fix line numbers in gcode parser 2020-06-14 13:54:57 +10:00
Phillip Carter
f503eae9ea plasmac: update user guide gcodes 2020-06-14 13:54:57 +10:00
Chris Morley
2f4356dc9c Merge branch '2.8' 2020-06-13 16:18:40 -07:00
Chris Morley
77fccea90f qtvcp -update some widgets test code
some widgets still have qt4 test code included
2020-06-13 16:17:10 -07:00
Chris Morley
69d61039f9 qtvcp -update widget docs images 2020-06-13 16:15:19 -07:00
Nicola Quargentan
06a34258f8 Removed the option of manually inserting the parallel port
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2020-06-14 00:31:11 +02:00
Robert W. Ellenberg
4d40180b04 fix rebase 2020-06-13 17:05:26 -04:00
Robert W. Ellenberg
4cb8455838 tp: hack to reset spindle position at start of rigid tapping 2020-06-13 17:05:26 -04:00
Robert W. Ellenberg
dcdb01c424 tp: allow blending at end of position-sync move (like 2.6.x)
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-06-13 17:05:26 -04:00
Robert W. Ellenberg
9ec4e37180 tp: disallow all blending when changing to and from position sync mode (i.e. G33 moves)
Fixes issue #68 by preventing any blending between position-synced
motions (G33) and other motion modes (velocity-sync and normal):

Current behavior:

Mode Transitions    | blending allowed
--------------------+-----------------
normal -> position  | no
position -> normal  | no
all others          | yes

Note that this is more conservative than LinuxCNC 2.6:

Mode Transitions    | blending allowed
--------------------+-----------------
normal -> position  | no
position -> normal  | *yes*
all others          | yes

This patch ensures that the start and end of a sequence of G33 motions
will be exact-stop.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-06-13 17:05:26 -04:00
Robert W. Ellenberg
eebb663235 tp: improve performance of blends in velocity mode (i.e. G95)
In velocity mode, the target velocity is specified indirectly by the
spindle speed and feed-per-rev setting. The ideal solution is to know
what the maximum spindle speed could be (i.e. set point + override
limit), and multiply that by feed/rev. As a quick fix, however, we just
assume the worst case (i.e. absolute maximum velocity).

Related cleanup and fixes:

1) Purged some obsolete uses of TC_STRUCT "target_vel" field, since it's no
longer used during arc-blending optimization.

2) Refactored maximum target velocity computation so that the function is
usable in blendmath. Previously, this calculation was manually repeated
in the blend math code, and had diverged slightly from the TP version.

Now, the actual target velocity is calculated at planning time through
tpGetMaxTargetVel, or during execution by tpGetRealTargetVel. There is
more cleanup to do, but now enough infrastructure is in place for
blending to work during both velocity and position sync modes.

This refactor also fixed a minor bug in tangent calculation, so that the user's
current maximum velocity setting does not influence the planned velocity
for tangent segments.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-06-13 17:05:26 -04:00
andy pugh
3dcf6e084a G33.1 Fix for #639 & #703
Reset emcmotStatus->spindleSync on abort / empty queue
Otherwise successive spindle synched moves do not wait for index, so there
is no reset and a rapid move to catch up ensues.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-06-13 12:46:32 -04:00
Chris Morley
fd243eeff3 Merge branch '2.8' 2020-06-12 23:42:36 -07:00
Chris Morley
f5eb30afa8 qt5_graphics -fix typo in variable name
can cause display to crash when clicking with mouse
2020-06-12 22:59:50 -07:00
Chris Morley
28591617c4 docs -upgrade silverdragon docs/images 2020-06-12 22:49:55 -07:00
andypugh
07dcd21111 rtapi: add a halcmd command to set the messaging level
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-11 23:05:45 +01:00
andypugh
8cca70aa29 rtai_rtapi: Some tidying up of things found looking for rtai stability fixes
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-06-11 23:05:45 +01:00
Dewey Garrett
7377f5abc1 update_ini.py avoid attempt for int(None) 2020-06-10 15:38:44 -07:00
Dewey Garrett
a14b08a706 update_ini.py py3 compat
user report ref:
https://forum.linuxcnc.org/38-general-linuxcnc-questions/39286-error-when-opening-linuxcnc

95dc9f07a presumed python3 by using 'tkinter' module name
but #! specified python2

tested: buster with python2 as default, buster with python3 as default
2020-06-10 08:17:52 -07:00
Dewey Garrett
6127be472a update_ini.py avoid attempt for int(None) 2020-06-10 07:31:39 -07:00
John Morris
1e10f03916 Fix tool-info/random-with-startup-tool test after package build
The `dh_clean` script removes `*.orig`, which breaks this test.
2020-06-10 15:35:19 +08:00
John Morris
9616c89d78 Fix halcompile and uspace tests against system install
These tests refer to files outside the `tests` directory.  To make the
tests function disembodied from the source tree and against a system
install, add rules to the build to copy the needed files in place, and
adjust the tests to work properly.

Also, the `personalities_mod` test did something funky:  it overwrote
standard comps with modified versions, then replaced those when the
test finished.  This patch undoes that, and instead renames the comps.
2020-06-10 15:35:19 +08:00
John Morris
96ccb4f0f4 Make rtapi_vsnprintf.h a system header
Renamed from `vsnprintf.h`.  This was done mainly to fix tests, but
the header could be useful in an out-of-tree comp as well.
2020-06-10 13:57:51 +08:00
John Morris
35a5af9f9b Fix tests calling realtime script running against system install 2020-06-10 13:57:51 +08:00
John Morris
94b350e7c5 Add linuxcnc-python script to system install
Tests running against system install need `linuxcnc-python` in
`$PATH`.

The system-installed `stepconf` script uses it, too, so this
particular commit is a fix rather than a hack.
2020-06-10 13:54:40 +08:00
John Morris
2c37d43da2 Run tests against system install in GH Actions CI 2020-06-10 13:54:40 +08:00
John Morris
1950ba0a45 Fix tests/tclsh-extensions run against system install 2020-06-10 13:54:40 +08:00
John Morris
8dfc261ef3 Fix tests building RT comps against system install
Use `sudo halcompile` to install RT comps.
2020-06-10 13:54:40 +08:00
John Morris
95bd39aad3 Fix tests/rtapi_printf.0 running against system install
Move test comp from `rtapi/` to the test directory, and build and run
from that location.
2020-06-10 13:54:39 +08:00
John Morris
c5bed1faa3 tests/overrun: Fix run against system install 2020-06-10 13:54:39 +08:00
John Morris
b1f2924590 Set default tooltable for rs274 to fix tests against system install 2020-06-10 13:54:39 +08:00
John Morris
c9326f9647 tests/halcompile/userspace-count-names: .gitignore build artifact 2020-06-10 13:54:39 +08:00
John Morris
61f89d22d9 Makefile: re-enable system installs without $DESTDIR 2020-06-10 13:54:39 +08:00
John Morris
f822b9b497 Fix tests compiling against system install
Some tests make assumptions about header and library locations; these
are correct for an RIP build but not for a system build.

This patch removes those assumptions and supplies the locations as
environment variables directly from the `runtests` script.
2020-06-10 13:54:39 +08:00
John Morris
50f152d9d3 Fix tests that build user comps when running against system
The `halcompile` script installs user comps in `/usr/bin` by default.
For testing temporary test user comps against a system install, teach
`halcompile` to put them in the test directory and run the test from
there.
2020-06-10 13:54:38 +08:00
John Morris
eba9dfaa96 Template runtests for running against system install 2020-06-10 13:54:38 +08:00
John Morris
3521273ab6 Add runtests -p flag to print result, stderr on failed tests
Add the flag to the CI scripts to help debugging failed tests.
2020-06-10 13:54:38 +08:00
Sebastian Kuzminsky
9564825d9b Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  Axis GUI: add missing '[]' parentheses around touch-off expression
2020-06-09 16:17:17 -06:00
Sebastian Kuzminsky
ca63b5c477 Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  Axis GUI: add missing '[]' parentheses around touch-off expression
2020-06-09 16:05:07 -06:00
Sebastian Kuzminsky
9f0513367e
Merge pull request #887 from LinuxCNC/issue-867
Axis GUI: add missing '[]' parentheses around touch-off expression
2020-06-09 16:00:49 -06:00
Sebastian Kuzminsky
241aad43a9 Axis GUI: add missing '[]' parentheses around touch-off expression
This makes touch-off expressions work when the internal scale is not
1.0, ie when Axis is in metric view mode.  Before this commit, the scale
would be applied only to the last token in the expression.

This fixes #867, and fixes a similar unreported bug for tool-length
touch-off.
2020-06-09 11:57:34 -06:00
Dewey Garrett
1ce92e2899 motion.feed-upm new pin 2020-06-09 08:53:54 -07:00
Dewey Garrett
1480396618 tests/abort/* use linuxcnc-python for py3 compat 2020-06-09 07:34:04 -07:00
Phillip Carter
755c232e21 Merge branch '2.8' 2020-06-09 17:53:16 +10:00
Phillip Carter
209902da30 plasmac: fix float probe kangaroo 2020-06-09 17:52:52 +10:00
Phillip Carter
6f4ba8adb5 plasmac: conversational arrays can be rotated and/or arrayed 2020-06-09 17:52:52 +10:00
Chris Morley
ef938fc315 Merge branch '2.8' 2020-06-08 23:35:33 -07:00
Chris Morley
f08ffc51aa docs -comp: add an example of calling functions from the main function
also shows passing HAL pin reference to those functions.
2020-06-08 23:34:48 -07:00
John Morris
1af724cce0 runtests: Add -s option: stop after first failure
Useful when refactoring and lots of broken tests spew way too much
garbage
2020-06-09 13:38:22 +08:00
Phillip Carter
59f7904400 Merge branch '2.8' 2020-06-09 14:57:27 +10:00
Phillip Carter
282aaee550 plasmac: missing from last commit 2020-06-09 14:56:40 +10:00
Phillip Carter
895bbabf61 Merge branch '2.8' 2020-06-09 14:46:39 +10:00
Phillip Carter
87bd2f478d plasmac: fix ohmic probe kangaroo 2020-06-09 14:45:55 +10:00
Phillip Carter
8814fd39cb plasmac: fix material saving issue 2020-06-09 14:44:35 +10:00
John Morris
a184d74f18 libnml/inifile/inifile.cc: Silence compiler warning
libnml/inifile/inifile.cc: In member function ‘const char* IniFile::Find(const char*, const char*, int, int*)’:
    libnml/inifile/inifile.cc:304:26: warning: ‘elinenext’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                    elinenext = elinenext + newLinePos;
                    ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
2020-06-09 12:18:35 +08:00
John Morris
84dc153bb4 interp_namedparams.cc: Use HAL_NAME_LEN for HAL names
HAL names have their own length constant.
2020-06-09 12:13:48 +08:00
John Morris
c12156fee2 Move HAL private functions out of interp
Interp should only connect to HAL through public APIs.  This patch
introduces pin, signal and param getter functions to the public HAL
API and replaces interp calls to private functions with these.
2020-06-09 12:10:39 +08:00
John Morris
ba5a6394ac .gitignore scripts/linuxcnc-checklink 2020-06-09 11:15:28 +08:00
John Morris
7821ab39db scripts/realtime: Use $LSMOD variable
`$LSMOD` is templated in `CheckConfig()`; use it instead of templating
it again.
2020-06-09 11:15:28 +08:00
John Morris
a88710dee1 Makefile: Silence macro warning
The `cc-option` macro took two args, but passing only one arg causes
the following warning:

    Makefile:1086: warning: undefined variable '2'

There's apparently a single instance where `cc-option` is used in the
`Makefile`, and it passes only one arg.

This patch silences the warning by removing the second arg from the
macro.
2020-06-09 10:54:26 +08:00
John Morris
cc24560817 Makefile: Remove duplicate -I../include CFLAGS
This already appears in `$(EXTRA_CFLAGS)`.  Removing the arg doesn't
change search order.
2020-06-09 10:44:44 +08:00
John Morris
dd52b72e16 Debian packaging: Allow disabling doc build 2020-06-09 09:42:38 +08:00
John Morris
8948a2313d Makefiles: Add emacs file mode line
Help emacs select mode in files with non-standard names
2020-06-09 09:39:11 +08:00
John Morris
e21e16704b Debian packaging: Clean up ./configure call
In `debian/configure`, parameterize `--with-realtime=`.  Use this to
reduce duplicate `./configure` calls in `debian/rules`.
2020-06-09 09:33:12 +08:00
John Morris
20e13a0c9a Debian packaging: Add udev run-time dep to main package
Needed by `linuxcnc.postinst` running `invoke-rc.d udev restart`

    Setting up linuxcnc (1:2.8.0~pre1) ...
    invoke-rc.d: unknown initscript, /etc/init.d/udev not found.
    dpkg: error processing package linuxcnc (--install):
     subprocess installed post-installation script returned error exit status 100
2020-06-09 09:33:06 +08:00
John Morris
fec1a7df8f debian/changelog: Fix malformed entry
dpkg-buildpackage: warning:     debian/changelog(l8): found start of entry where expected more change data or trailer
    LINE: linuxcnc (1:2.7.14) unstable; urgency=medium

etc.
2020-06-09 09:01:17 +08:00
John Morris
77a5e0c373 debian: Add udev run-time dep
Needed by `linuxcnc.postinst` running `invoke-rc.d udev restart`
2020-06-09 09:00:53 +08:00
John Morris
41afd49a3e debian/control: kmod not a build/pkg requirement for uspace 2020-06-09 08:59:59 +08:00
John Morris
c58489412d po/Submakefile: Don't print giant xgettext command
...unless V=1.  This prints out a 5600 character line when
regenerating `linuxcnc.pot`, which happens even after minor changes to
sources such as `emctaskmain.cc`.
2020-06-09 08:58:12 +08:00
John Morris
ed8ec1f4c3 emc/task/Submakefile: Show bin/linuxcncsvr linker command when V=1 2020-06-09 08:56:53 +08:00
John Morris
004086b8b9 debian/control: Replace missing build-deps 2020-06-09 08:45:09 +08:00
3d9d9614a3
Merge pull request #882 from zultron/zultron/2020-06-08-lcnc-865-2.8-pr
Fix #865, '"crazy move" when pressing STOP button / ESC'
2020-06-08 16:58:31 -05:00
Chris Morley
a6a4414680 Merge branch '2.8' 2020-06-08 12:47:38 -07:00
Chris Morley
101751ade5 hal -add an image to help users visualise the concept
picture is worth a thousand words.
Maybe this should be added to hal basic tuturial?
Thanks zz912 from forum for image!
2020-06-08 12:43:40 -07:00
John Morris
803e8c0c9b tests/abort/on_abort_command-crazy-move: Initial commit
This does almost the same as the `stop-button-crazy-move` test, in
that it catches unflushed segments from readahead mistakenly flushed
to the interp queue after abort, triggered by G-code blocks run as
part of the abort process.

Instead of testing a state tag restore command, though, it tests
an `.ini` file `ON_ABORT_COMMAND` block.
2020-06-08 23:20:19 +08:00
John Morris
76a0891cca emctask.cc: Call emcTaskPlanReset() in emcTaskAbort()
LCNC [issue #865][1] found a race condition where an abort during
readahead resulted in unintended motion.  The `emcTaskAbort()`
function appears to be responsible for aborting interp, since it runs
`emcTaskPlanClose()`, but that by itself doesn't flush readahead
segments.

When `emcTaskStateRestore()` restored state from the `3D_Chips.ngc`
test program, executing `G64P.1`, the resulting `SET_MOTION_CONTROL_MODE()`
canon call ran `flush_segments()`, causing the unwanted motion to be
queued.

This patch fixes the problem by calling `emcTaskPlanReset()` alongside
`emcTaskPlanClose()` in `emcTaskAbort()`.  For good measure, it also
adds the call in a couple of other places alongside
`emcTaskPlanClose()` where the purpose is obviously to abort and clear
out interp and all queue.

[1]:  https://github.com/LinuxCNC/linuxcnc/issues/865
2020-06-08 22:43:10 +08:00
John Morris
53a27aade9 tests/abort/stop-button-crazy-move: Initial commit
Test for https://github.com/LinuxCNC/linuxcnc/issues/865

See `README.md` for more information.
2020-06-08 22:43:10 +08:00
Phillip Carter
cc3a802ab1 Merge branch '2.8' 2020-06-08 16:41:42 +10:00
Phillip Carter
0a8e97620c plasmac: add arcs to conversational 2020-06-08 16:41:09 +10:00
Chris Morley
01c8f80958 Merge branch '2.8' 2020-06-07 13:23:38 -07:00
Chris Morley
b7769ba37d qtvcp- qtdragon: update docs 2020-06-07 13:22:44 -07:00
Chris Morley
41b282dd0c qtvcp -qtdragon: add a run from line preset dialog
You can preselect the basic spindle settings
2020-06-07 13:22:37 -07:00
Chris Morley
68db0dcf0c qtvcp -screenoptions: add run-from-line dialog option 2020-06-07 13:21:26 -07:00
Chris Morley
0b4b70038b qtvcp -add a run-from-line preset dialog
you can preset the spindle before running
2020-06-07 13:21:25 -07:00
Chris Morley
63efe6364a qtvcp -don't crash if embedding vcp is unsucsesful
leave an error message and run the screen
2020-06-07 13:21:25 -07:00
Chris Morley
b5daa62434 qtvcp -update docs 2020-06-07 13:21:25 -07:00
Chris Morley
a08d0535b2 qtvcp -qtdragon: add a default setup tab page
a short explination of the setup page and a link to qtdragon's docs
2020-06-07 00:00:37 -07:00
Phillip Carter
6b9cb158b6 Merge branch '2.8' 2020-06-06 11:52:44 +10:00
Phillip Carter
a0a4749dce plasmac: add sector to conversational 2020-06-06 11:51:22 +10:00
be09b3ca71
Merge pull request #880 from dwrobel/Improve-searching-LinuxCNC-components-in-GNOME-menu
Improve searching LinuxCNC components in GNOME menu
2020-06-05 15:30:25 -05:00
Damian Wrobel
408489168e Add vectorized version of linuxcnc icon
Image has been reconstructed from pieces found it:
  http://www.fennetic.net/art/originals/chips2.svg
then installed as:
 /usr/share/icons/hicolor/scalable/apps/linuxcncicon.svg

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-06-05 21:58:51 +02:00
Damian Wrobel
57d7a372c6 Improve searching LinuxCNC components in GNOME menu
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-06-05 21:55:04 +02:00
Phillip Carter
fb4079847d plasmac: redo conversational images 2020-06-05 13:06:38 +10:00
Phillip Carter
f7151f8ac5 plasmac: update m5 commands in sample ngc files 2020-06-05 13:00:39 +10:00
2fe2838fe1
Merge pull request #879 from jepler/github-actions-build-debs
ci: build debs
2020-06-04 14:51:04 -05:00
9c5b8d84bd remove travis.yml 2020-06-04 13:01:03 -05:00
c65fb726a3 fix job names 2020-06-04 12:41:42 -05:00
85e9ccf1e2 fix yml syntax 2020-06-04 12:30:00 -05:00
4ad847e13b fix yml syntax 2020-06-04 12:27:43 -05:00
571a42b3c9 fix lintian install; split doc build 2020-06-04 12:26:21 -05:00
f925959294 ci: build debs 2020-06-04 12:09:45 -05:00
036ffdb274 Revert "Improve searching LinuxCNC components from GNOME menu"
This reverts commit d4aea4d347.

Build errors from the package build:

```
for F in debian/extras/usr/share/applications/linuxcnc-latency.desktop debian/extras/usr/share/applications/linuxcnc-gcoderef.desktop debian/extras/usr/share/applications/linuxcnc.desktop debian/extras/usr/share/applications/linuxcnc-gettingstarted.desktop debian/extras/usr/share/applications/linuxcnc-halmanual-fr.desktop debian/extras/usr/share/applications/linuxcnc-integratormanual-fr.desktop debian/extras/usr/share/applications/linuxcnc-manualpages.desktop debian/extras/usr/share/applications/linuxcnc-usermanual-fr.desktop debian/extras/usr/share/applications/linuxcnc-documentation.desktop debian/extras/usr/share/applications/linuxcnc-gettingstarted-fr.desktop debian/extras/usr/share/applications/linuxcnc-integratorinfo.desktop debian/extras/usr/share/applications/linuxcnc-pncconf.desktop debian/extras/usr/share/applications/linuxcnc-gcoderef-vi.desktop debian/extras/usr/share/applications/linuxcnc-gcoderef-fr.desktop debian/extras/usr/share/applications/linuxcnc-stepconf.desktop; do \
		desktop-file-validate $F; \
	done
debian/extras/usr/share/applications/linuxcnc-latency.desktop: error: value "cnc;linuxcnc;cncprog;benchmark" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-gcoderef.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc.desktop: error: value "cnc;linuxcnc;cncprog" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-gettingstarted.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-halmanual-fr.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-integratormanual-fr.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-manualpages.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-usermanual-fr.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-documentation.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-gettingstarted-fr.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-integratorinfo.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-pncconf.desktop: error: value "cnc;linuxcnc;cncprog;cncconfig" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-gcoderef-vi.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-gcoderef-fr.desktop: error: value "cnc;linuxcnc;cncdoc" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
debian/extras/usr/share/applications/linuxcnc-stepconf.desktop: error: value "cnc;linuxcnc;cncprog;cncconfig" for locale string list key "Keywords" in group "Desktop Entry" does not have a semicolon (';') as trailing character
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
```
2020-06-04 11:38:55 -05:00
121d87fa7a
Merge pull request #862 from ALatSMT/master
pyvcp.txt jogwheel .doc update
2020-06-04 10:17:16 -05:00
64994a2594
Merge pull request #877 from dwrobel/Improve-searching-LinuxCNC-components-from-GNOME-menu
Improve searching LinuxCNC components from GNOME menu
2020-06-04 10:13:05 -05:00
Nicola Quargentan
14e58bc43d Removed reading of the /proc/ioports file.
Now the search for parallel ports only watch /proc/sys/dev/parport.

Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2020-06-04 10:40:17 +02:00
Phillip Carter
6e48c0a90d Merge branch '2.8' 2020-06-04 13:40:06 +10:00
Phillip Carter
c8903d1afe plasmac: fix version info 2020-06-04 13:39:10 +10:00
Phillip Carter
3c74d78408 Merge branch '2.8' 2020-06-03 16:40:06 +10:00
Phillip Carter
20f54c8168 plasmac: add rotation to conversational 2020-06-03 16:39:40 +10:00
Phillip Carter
95b6a0e3d3 plasmac: save default origin for wizards 2020-06-03 16:39:39 +10:00
Phillip Carter
46d0514ece plasmac: fix touchoff for wizard arrays 2020-06-03 16:39:39 +10:00
Chris Morley
416e7b333f Merge branch '2.8' 2020-06-02 20:50:07 -07:00
Chris Morley
fc7959af90 qtvcp -update qtdragon to newest version
Jim Last updated qtdragon and I finally have it ready fir primetime.
2020-06-02 20:38:01 -07:00
Chris Morley
d6e32b74d5 qtvcp -qtdragon update INI 2020-06-02 20:38:01 -07:00
Chris Morley
94375aa989 qtvcp -fix the application of styles
Some how I missed that styles were not applied properly.
2020-06-02 20:38:01 -07:00
Phillip Carter
0c8cdaaf12 Merge branch '2.8' 2020-06-01 14:53:21 +10:00
Phillip Carter
a97d386f3c plasmac: add gcodes and examples to docs 2020-06-01 14:52:02 +10:00
Phillip Carter
a219be1261 plasmac: wizard enhancements
individual radius for rectangle corners
allow partial bolt sircles
2020-06-01 12:01:49 +10:00
Phillip Carter
3f1a17ab73 plasmac: fix gcode parser for negative Z values 2020-06-01 10:42:01 +10:00
Nicola Quargentan
aa9d1933f5 Search for parallel ports by reading /proc/sys/dev/parport/parport#/base-addr
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2020-05-30 20:45:54 +02:00
Damian Wrobel
d4aea4d347 Improve searching LinuxCNC components from GNOME menu
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-30 18:44:25 +02:00
ade0933837
Merge pull request #869 from dwrobel/Fix-heap-buffer-overflow-fixes-854
Fix heap-buffer-overflow (fixes #854)
2020-05-30 10:02:44 -05:00
2e5880528d
Merge pull request #866 from phillc54/axis_memory
axis: active code fix
2020-05-30 10:00:11 -05:00
59123890f6
Merge pull request #870 from dwrobel/Fix-desktop-files
Fix desktop files
2020-05-30 09:59:16 -05:00
Peter Wallace
cc43f1e1fd Add description of the PWM generators offset-mode to hostmot2 man page 2020-05-28 12:08:43 -07:00
Phillip Carter
6dec6b35ef Merge branch '2.8' 2020-05-28 12:51:53 +10:00
Phillip Carter
5e7dd26d8c plasmac: fix IHS skip 2020-05-28 12:51:16 +10:00
andypugh
0341eb0630 Docs: Revert a minor change made via the Github page that turned
out not to be minor.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-05-27 20:36:24 +01:00
andypugh
e02d90dfc8
Rename Updating_LinuxCNC_fr.txt to updating_linuxcnc_fr.txt
Make the file names consistent
2020-05-27 14:33:48 +01:00
Phillip Carter
4343252d22 Merge branch '2.8' 2020-05-27 17:40:03 +10:00
Phillip Carter
f99612648b plasmac: fix axis button sizes 2020-05-27 17:39:02 +10:00
Damian Wrobel
4e7195a4d2 Fix desktop files
Fixes various issues with desktop files:

$ desktop-file-validate  *.desktop
linuxcnc.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-documentation.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-gcoderef.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-gcoderef-fr.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-gcoderef-vi.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-gettingstarted.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-gettingstarted-fr.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-halmanual-fr.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-integratorinfo.desktop: warning: value "Integrator Information" for key "Comment" in group "Desktop Entry" looks redundant with value "Integrator Information" of key "Name"
linuxcnc-integratorinfo.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-integratormanual-fr.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-latency.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-manualpages.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-pncconf.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-stepconf.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
linuxcnc-usermanual-fr.desktop: hint: value "X-CNC;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
$ echo $?
1

Switch to use xdg-open(1) for opening URL in the user's preferred application.

[1]https://portland.freedesktop.org/doc/xdg-open.html

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-25 20:37:22 +02:00
Damian Wrobel
ecb3573e21 Fix heap-buffer-overflow (fixes #854)
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-25 19:38:38 +02:00
Chris Morley
deddd4e4dd Merge branch '2.8' 2020-05-24 22:08:19 -07:00
Chris Morley
008c0fcbe4 qtvcp -have qtvcp load a qss file if specified in preference file.
have styleeditor save path to preference file
2020-05-24 22:05:31 -07:00
Chris Morley
cf6945d9b2 Merge branch '2.8' 2020-05-23 18:45:21 -07:00
Chris Morley
3d8c34694d docs -add some qtvcp specific INI settings.
Probably should break out the DISPLAY settings for each GUI in the future
2020-05-23 18:43:27 -07:00
Chris Morley
fd0991bfc8 qtvcp -qtaxis: reset progressbar when -1 is sent 2020-05-23 18:01:56 -07:00
Chris Morley
94dfab1c61 qtvcp -gcode_editor: reset percent when command-stop issued
Command-stopped is the best indication of the program finished/stopped
2020-05-23 17:57:18 -07:00
Chris Morley
12d62abee0 hal_glib -add command state messages
command-running, command-stopped, comand-error
2020-05-23 17:55:47 -07:00
Chris Morley
06e99914b7 qtvcp -qtdragon: add new images 2020-05-23 15:28:35 -07:00
Phillip Carter
74d4d76219 axis: active code fix
prevent axis using memory for undo/redo
remove redundant widgets
2020-05-23 13:56:08 +10:00
Phillip Carter
1f0367696c Merge branch '2.8' 2020-05-22 15:15:59 +10:00
Phillip Carter
25d4e4e426 plasmac: arc voltage is an absolute value 2020-05-22 15:10:33 +10:00
Phillip Carter
a965833f14 plasmac: stop arc voltage flicker from 0v to -0v 2020-05-22 14:50:10 +10:00
Phillip Carter
4cb936bbf5 plasmac: allow higher cut feed rate 2020-05-22 14:47:23 +10:00
Phillip Carter
0bb67cc1c7 plasmac: change font size in status panel 2020-05-22 14:47:02 +10:00
Rene Hopf
8756d78d64 test_handler.py: python3 syntax 2020-05-21 15:31:05 +02:00
Rene Hopf
22ec5df34f hitcounter.py: python3 syntax 2020-05-21 15:30:50 +02:00
Rene Hopf
d34beaa014 probe.py: python3 syntax 2020-05-21 15:30:36 +02:00
Chris Morley
56e0a5021f Merge branch '2.8' 2020-05-20 23:43:33 -07:00
Chris Morley
f7b17e1958 qtvcp -add spindle min and increment INI setting
now one can specify a minimuim spindle speed and an increment to increase
or decrease.
Ultimately this should be motion's responsibility but it's late in the 2.8 game.
Update sample configs
2020-05-20 23:37:12 -07:00
ALatSMT
56336f469e
pyvcp.txt jogwheel .doc update
added doc update for jogwheel options
2020-05-20 09:53:48 -04:00
Dewey Garrett
b6b1ecb39a Merge branch '2.8' 2020-05-19 18:36:43 -07:00
Dewey Garrett
fa825396c5 Merge branch '2.7' into 2.8 2020-05-19 18:31:13 -07:00
Dewey Garrett
d694318434 axis.py py/tcl regression widgets.axis_N.configure
fixes radiobutton values used for  jogging (c,w letters)
problem observed: debian buster, python 2.7.16, tcl 8.6.9
similar to 1bec919b66
2020-05-19 18:24:14 -07:00
Damian Wrobel
a2c8b083a9 Fix generating config files
Removes .encode() as it generates bytes() not str() which
generates errors during parsing of configuration files.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-19 22:08:27 +02:00
Chris Morley
80f7f1d1c0 Merge branch '2.8' 2020-05-18 21:44:44 -07:00
Chris Morley
6ed50540d1 qtvcp -update docs 2020-05-18 21:43:10 -07:00
Chris Morley
41f4412603 qtvcp -add INI, INIPATH
INI = ini instance formerly inifile
INIPATH = path to the  ini
also change all 'self.inifile to 'self.INI'
2020-05-18 00:29:07 -07:00
Chris Morley
ee44e88ae0 qtvcp -handle turning on multiple spindles properly
we check for default starting speed before starting spindles.
In the case of multi spindles, (designated by -1)  we must check each default.
2020-05-18 00:21:26 -07:00
Peter Wallace
946aab67e9 Increase default encoder timestamp frequency from 1 MHz to 2 MHz and
add option for 10 MHz with hires-timestamp pin. This increases resolution
for frequency counting applications.
2020-05-17 20:35:33 -07:00
Chris Morley
b1c2db36d4 Merge branch '2.8' 2020-05-17 20:26:10 -07:00
Chris Morley
a12e34b058 qtvcp gcodes lib: use new reference to widgets.
Now the program can just import a reference to the widgets/window
which is cleaner
2020-05-17 20:17:17 -07:00
Chris Morley
3d8e9c5d3b qtvcp -fix changing combobox size with modified styles.
Styles affect the dialogs style.
Now we explicedly reset the combobox width after changing styles.
2020-05-17 20:17:17 -07:00
Chris Morley
2273d803c2 qtvcp -add a virtual keyboard widget
A virtual onscreen keyboard for entry with touch screens.
Jim Last strikes again!
2020-05-17 20:17:17 -07:00
Chris Morley
6c39b9d985 qtvcp -tap into the mainwindow's focus events
sometimes you need to know when a particular widget came into focus.
2020-05-17 20:17:17 -07:00
Chris Morley
449b790434 qtvcp -give slightly better error message for preference file nogo 2020-05-17 20:17:17 -07:00
nicokid
247bfcc375 Correct missing preset in pport1
Signed-off-by: nicokid <nicola@quargentan.com>
2020-05-18 01:27:36 +02:00
1229f518aa
Merge pull request #856 from jepler/skip-M99-endless-main-program
M99-endless-main-program test fails erratically, skip it
2020-05-17 14:43:28 -05:00
6c4fcdf62c hm2-idrom: revise test results
Because pin directions aren't actually finalized until the first
write, this error doesn't occur.  However, other invalid pin errors
occur, so just accept any of them
2020-05-17 09:07:18 -05:00
4e21bebf32
Merge pull request #836 from dwrobel/Remove-duplicate-checking-for-dblatex
Remove duplicate checking for dblatex
2020-05-17 09:01:49 -05:00
c3e92422eb test fails erratically, skip it 2020-05-17 08:58:18 -05:00
Phillip Carter
6e13332c7e Merge branch '2.8' 2020-05-17 14:28:43 +10:00
Phillip Carter
ee14eae9a0 plasmac: only show paused motion when required 2020-05-17 14:28:07 +10:00
Dewey Garrett
5471e9cec7 Merge remote-tracking branch 'origin/2.8' 2020-05-16 19:18:25 -07:00
Dewey Garrett
a17ef2f075 control.c improve msg for unexpected
joint soft limit violation
2020-05-16 19:13:30 -07:00
Dewey Garrett
cbdad75718 control.c clarify msg for starting after soft lim
when it was due to excessive external offset
2020-05-16 18:18:48 -07:00
Chris Morley
11757f63fc Merge branch '2.8' 2020-05-15 14:26:42 -07:00
Chris Morley
a0a83a7209 qtvcp -add run from line actions
one can select run from status or run from slot.
Status gets it's line number from STATUS messages ie from gcode_display.
Slot gets it's line number from a designer slot. The slot can be connected
to a lineedit for entering a line number.
2020-05-15 14:25:19 -07:00
Chris Morley
e14c972dcb qtvcp -add gcode line selected option
if you click on a gcode line the number will be displayed.
useful for run from line selection.
2020-05-15 14:25:19 -07:00
andypugh
c3f691bb74 Merge branch '2.8' 2020-05-15 02:01:48 +01:00
andypugh
1719a5f0aa hal_pi_gpio: Add yet another revision code to cpuinfo (Pi4B 2GB v1.2)
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-05-15 02:00:16 +01:00
Chris Morley
b924e38359 Merge branch '2.8' 2020-05-14 14:25:01 -07:00
Chris Morley
aee3fb8a6b qtvcp -dialog_widgets: fix hiding of overly if file loading cancelled. 2020-05-14 13:13:20 -07:00
Chris Morley
1d134062de Merge branch '2.8' 2020-05-14 10:15:39 -07:00
Chris Morley
a8f005ffcd qtvcp -give error details if there are too many errors to continue runnning.
If there are more then 5 errors qtvcp automatically quits.
This is so endless loop errors will return control back to the user.
But we didn't give the clue to the error.
2020-05-14 10:11:19 -07:00
Chris Morley
5fcda28901 qtvcp -qtaxis: don't display MDI history in gcode window.
We have a MDI history widget for that.
2020-05-14 10:11:19 -07:00
Chris Morley
08ee50d7e4 qtvcp -fix run-from-line toolbar action
Update the label so you know what line it will start on.
make available in manual/MDI/and Auto modes.
2020-05-14 10:11:19 -07:00
Phillip Carter
0f16277d42 Merge branch '2.8' 2020-05-14 14:01:34 +10:00
Phillip Carter
86f31b10f8 plasmac: custom window size for axis 2020-05-14 14:00:53 +10:00
Chris Morley
b5bdcedbdc Merge branch '2.8' 2020-05-13 13:11:41 -07:00
Chris Morley
04d7c35d09 qtvcp offset view/tool view: honour no_force_homing 2020-05-13 13:11:04 -07:00
Chris Morley
d2af0beee4 qtvcp -style_dialog: widen combobox
couldn't read the styles in combo.
Thanks Jim
2020-05-13 13:10:40 -07:00
Rene Hopf
f13249d1c2 pyngcgui: python3 compat 2020-05-13 19:56:21 +02:00
7e15aa2d54
Merge pull request #850 from dwrobel/Fix-honoring-C-CXX-CPP-LD-FLAGS-passed-to-the-configure
Fix honoring {C,CXX,CPP,LD}FLAGS passed to the 'configure'
2020-05-12 19:46:55 -05:00
Damian Wrobel
c7cc30efee Remove duplicate checking for dblatex
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-12 23:42:45 +02:00
402f37ccfa
Merge pull request #848 from dwrobel/Fix-TypeError-a-bytes-like-objectis-required-not-str-fixes-840
Fix TypeError: a bytes-like objectis required, not'str’ (fixes #840)
2020-05-12 15:22:53 -05:00
df4cce68b2
Merge pull request #849 from dwrobel/Fix-using-dumpfullversion-for-old-compilers
Fix using dumpfullversion for old compilers and clang
2020-05-12 15:20:26 -05:00
andypugh
6f1c02fd3c
Merge pull request #852 from zultron/zultron/2020-05-12-lcnc-709-single-step
Zultron/2020 05 12 lcnc 709 single step
2020-05-12 14:53:17 +01:00
John Morris
79e72188a9 emctaskmain.cc: Fix stepping over first line
When running a program, the `programStartLine` is normally set to 0.

When the "run from line" option is set, then `programStartLine` is set
to something greater than zero.  Logic in `readahead_reading()` checks
if the currently-read line number is less or equal to than the "run
from" line, and if so, clears the interp queue before queueing up the
current line.

For unknown reasons dating back to 2005 (see c06400d4), when stepping,
the "run from" line is set to 1.  Normally, clearing the queue at this
point doesn't cause a problem, since nothing is queued up.  But in the
special case of a loop, any queued commands from previous iterations
are thrown away, and only the final iteration of the loop will
execute.

It seems this bug was only recently discovered by @andypugh after all
this time because of its obsucer, corner-case nature.
2020-05-12 20:41:20 +08:00
John Morris
997b52aea6 tests/single-step: Initial commit
Add `single-step` test that demonstrates #709

https://github.com/LinuxCNC/linuxcnc/issues/709
2020-05-12 20:41:20 +08:00
Damian Wrobel
45d3c95d21 Fix using -dumpfullversion for old compilers and clang
Fixes (non-fatal) error:
 gcc: fatal error: no input files
produced by compilers which does not support -dumpfullversion
(includes old gcc and all clang).

It also uses $(CC) instead of hardcoded 'gcc' value.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-12 12:47:34 +02:00
Phillip Carter
a9e8d94d2a Merge branch '2.8' 2020-05-12 16:55:29 +10:00
Phillip Carter
ef6ad1a261 plasmac: user guide fixes 2020-05-12 16:54:14 +10:00
Phillip Carter
81fba1a034 plasmac: portrait mode for axis 2020-05-12 16:48:54 +10:00
Damian Wrobel
a2a6aa4090 Fix honoring {C,CXX,CPP,LD}FLAGS passed to the 'configure'
This fixes linking against libreadline v5 in a non standard directory.

On Fedora multiple readline libraries can be installed in parallel.
Old GPL-2 compatible libreadline v5 has its own header and library in the
following directories:

 $ rpm -ql compat-readline5-devel | grep -e 'readline\.h' -e 'libreadline\.so'
 /usr/include/readline5/readline/readline.h
 /usr/lib64/readline5/libreadline.so

As per 'configure --help' the following flags (excerpt) should be supported:
 Some influential environment variables:
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>

Despite passing above directories via 'CPPFLAGS' and 'LDFLAGS' to 'configure' the linking
process fails as follows:

 gcc -Wl,-rpath-link,../lib -ltirpc  -o ../bin/halcmd objects/hal/utils/halcmd.o
   objects/hal/utils/halcmd_commands.o objects/hal/utils/halcmd_main.o
   objects/hal/utils/halcmd_completion.o ../lib/liblinuxcncini.so.0
   ../lib/liblinuxcnchal.so.0 -lreadline
 /usr/bin/ld: cannot find -lreadline

This was due to not honoring flags passed to configure.

This also fixes the error of passing C specific compielr option to C++ compiler:
   cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration'
   is not valid for C++

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-11 20:16:57 +02:00
9876b05036
Merge pull request #842 from dwrobel/Fix-generating-html-documentation-using-python3
Fix generating html documentation using python3
2020-05-11 07:52:01 -05:00
Damian Wrobel
ad641994e9 Fix TypeError: a bytes-like objectis required, not'str’ (fixes #840)
Fixes the following exceptions:

For python3:
Traceback (most recent call last):
  File "/home/sw/projects/machinekit/linuxcnc/lib/python/stepconf/pages.py", line 91, in on_button_fwd_clicked
    self['%s_finish'%name]()
  File " fhome/sw/projects/machinekit/linuxcnc/lib/python/stepconf/pages.py", line 881, in finished_finish
    self.a.buid_config()
  File "/home/sw/projects/machinekit/linuxcnc/bin/stepconf”, line 795, in buid_config
    self.d.save(base)
  File "/home/sw/projects/machinekit/linuxcnc/bin/stepcont", line 680, in save
    d.writexml(open((filename, "wb"), addindent=" ", newl="\n")
  File "/usr/lib/python3.7/xml/dom/minidom.py", line 1791, in writexml
    writer.write('<?xml version="1.0" ?>'+newl)
  TypeError: a bytes-like objectis required, not'str’

Above generates empty ~/.stepconf-preferences which in turns triggers the next exception
(applicable for both python2/3):

Traceback (most recent call last):
  File "/home/sw/projects/machinekit/linuxcnc/bin/stepconf", line 1576, in <module>
    app = StepconfApp(False)
  File "/home/sw/projects/machinekit/linuxcnc/bin/stepconf", line 770, in __init__
    self.d.load_preferences()
  File "/home/sw/projects/machinekit/linuxcnc/bin/stepconf", line 515, in load_preferences
    d = xml.dom.minidom.parse(open(filename, "r"))
  File "/usr/lib64/python2.7/xml/dom/minidom.py", line 1918, in parse
    return expatbuilder.parse(file)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 928, in parse
    result = builder.parseFile(file)
  File "/usr/lib64/python2.7/xml/dom/expatbuilder.py", line 211, in parseFile
    parser.Parse("", True)
xml.parsers.expat.ExpatError: no element found: line 1, column 0

For the last one the warning-dialog is now diplayed depicting the problem to the user.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-11 13:52:48 +02:00
Phillip Carter
21107ad309 Merge branch '2.8' 2020-05-11 15:15:54 +10:00
Phillip Carter
80d970a0bd docs: plasmac doc update 2020-05-11 14:58:40 +10:00
Chris Morley
485472652e Merge branch '2.8' 2020-05-10 10:54:35 -07:00
Chris Morley
7a476ab6b2 qtvcp -add progressbar to overlay when loading gcode
In big programs it's nice to know it's still loading.
now overlay will hide the overlay instead of the dialog.
This is because dialog actually hides the overlay way before the program
is loaded, but because of python single thread it actually hides later.
But when we force an redraw in verlay to see the prgressbar change, it
changes this process.
2020-05-10 10:52:45 -07:00
Chris Morley
93ff08aad7 qtvcp -gcode-graphics: use STATUS to push out loading progress 2020-05-10 10:43:19 -07:00
Chris Morley
b8545c33f5 hal_glib -add a graphics-loading-progres signal
qtvcp can produce this signal - I should add the capability to gladvcp..
2020-05-10 10:43:19 -07:00
Chris Morley
a7396a68b7 qtvcp -fix nurbs logging from producing double logs
Nurbs redefined the base logger so it would start to double
log everything.
2020-05-10 10:43:19 -07:00
Rene Hopf
d5faef2719 removed unused python module code 2020-05-10 18:48:36 +02:00
andypugh
f30a8dc39e
Merge pull request #847 from a-downing/halui_posrel
apply G54-G59.3 rotation to halui.axis.x.pos-relative and halui.axis.y.pos-relative
2020-05-10 16:56:22 +01:00
Andrew Downing
9a9d3ffbb4 use TO_RAD 2020-05-10 11:30:10 -04:00
nicokid
3422f70844 Merge remote-tracking branch 'upstream/master' 2020-05-10 17:23:16 +02:00
Andrew Downing
43e6ac037a apply G54-G59.3 rotation to halui.axis.N.pos-relative 2020-05-10 11:05:58 -04:00
c0fd3c2790 hostmot2: ethernet: ensure the watchdog bites at exit 2020-05-10 09:37:53 -05:00
c8095ca6c0 hostmot2: defer DDR initialization for most special functions
.. also, move the watchdog write earliest in the write packet, so that
it occurs _before_ the DDR initialization during the first write.
2020-05-10 09:37:53 -05:00
f8a0a5ea98 Revert "Fix honoring {C,CXX,CPP,LD}FLAGS passed to the 'configure'"
This reverts commit 94fa1b2338.

It caused builds on older architectures with RTAI to fail:

    make -f /usr/src/linux-headers-3.4-9-common-rtai/scripts/Makefile.build obj=/home/buildslave/emc2-buildbot/wheezy-rtai-i386/rip-wheezy-rtai-i386/build/src
    make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
    /usr/src/linux-headers-3.4-9-common-rtai/scripts/Makefile.build:49: *** CFLAGS was changed in "/home/buildslave/emc2-buildbot/wheezy-rtai-i386/rip-wheezy-rtai-i386/build/src/Makefile". Fix it to use ccflags-y.  Stop.
    make[3]: *** [_module_/home/buildslave/emc2-buildbot/wheezy-rtai-i386/rip-wheezy-rtai-i386/build/src] Error 2
2020-05-10 09:31:10 -05:00
nicokid
571c4dff26 Add parport io preset
Signed-off-by: nicokid <nicola@quargentan.com>
2020-05-10 15:36:38 +02:00
4f82624fbd
Merge pull request #753 from ALatSMT/pyvcp_widgets-jogwheel-patch-1
optional options for jogwheel
2020-05-09 21:45:42 -05:00
ee5e669e6e
Merge pull request #805 from LinuxCNC/phillc54/axis-clear_recent_files
axis: add menu entry to clear recent file list
2020-05-09 21:44:59 -05:00
49c03ce032
Merge pull request #811 from jasenk2/2.8
Fix some major bugs in xhc-whb04b-6 user component
2020-05-09 21:43:52 -05:00
20a348ec7c
Remove undesired edits from configs/.gitignore 2020-05-09 21:41:06 -05:00
Peter Wallace
318bb56942 hostmot2: some more manpage corrections/clarifications 2020-05-09 19:41:01 -07:00
760c3e548d
Remove undesired change to .gitignore 2020-05-09 21:40:35 -05:00
72f04650bb
Merge pull request #751 from dwrobel/linuxcnc-dw-fix-5
Fix honoring {C,CXX,CPP,LD}FLAGS passed to the 'configure'
2020-05-09 21:33:48 -05:00
f404469f50
Merge pull request #827 from dwrobel/Fix-linking-error-on-gcc10
Fix linking error on gcc10
2020-05-09 21:32:18 -05:00
40d8d00c36
Merge pull request #837 from dwrobel/Fix-configure-integer-expression-expected-error
Fix configure "integer expression expected" error
2020-05-09 21:22:30 -05:00
Rene Hopf
b665f507f0 fix python3 warning in panelui 2020-05-09 19:41:20 +02:00
Rene Hopf
93fbd228fd tab removal from python files 2020-05-09 19:29:52 +02:00
Rene Hopf
e36c3345b3 qt5_graphics.py: python3 compat 2020-05-09 15:05:23 +02:00
Chris Morley
516001bec7 Merge branch '2.8' 2020-05-09 04:01:51 -07:00
Chris Morley
f5b291ac40 docs -qtdragon: add requires motion settings for probing
qtdragon requires analog I/O pins for probe settings
2020-05-09 03:59:35 -07:00
Chris Morley
ecdfb58cc5 Merge branch '2.8' 2020-05-08 17:14:00 -07:00
Chris Morley
927f5024d4 qtvcp -qtaxis:add loading/running progress bar
shows loading progress and percent completed or a running program.
2020-05-08 17:12:12 -07:00
Chris Morley
744cb79dd0 qtvcp -add precentloaded signal to graphics display
long programs loading can update the users.
The signal sends the percent loadded as a percent.
-1 means loading is done.
2020-05-08 17:12:11 -07:00
Chris Morley
beed85b673 qtvcp -restore original load() behaivor
load() will now again load the current selected file.

load(filename) will load the specified file which can be found
with getCurrentSelected()

load can be class patched to do something else if nessasary.
2020-05-08 17:07:43 -07:00
Rene Hopf
4fe346f7f2 wip: gtk3 port of pncconf 2020-05-09 01:42:28 +02:00
Rene Hopf
1559a10e8c pncconf: fix gettext for python3 2020-05-09 01:40:20 +02:00
Rene Hopf
b606ca3853 Revert "pncconf: python3 compat"
This reverts commit b24537efb1.
2020-05-09 01:37:59 +02:00
Rene Hopf
8477b8b014 Merge branch 'master' of github.com:LinuxCNC/linuxcnc 2020-05-09 01:36:39 +02:00
Rene Hopf
b24537efb1 pncconf: python3 compat 2020-05-09 01:36:22 +02:00
92ccb745b1
Merge pull request #843 from jepler/hostmot2-manpage
hostmot2: update manpage with new modules
2020-05-08 18:15:56 -05:00
Rene Hopf
f54b252661 touchy/preferences.py: python3 compat 2020-05-08 22:22:49 +02:00
Rene Hopf
0722987c55 data.py: python3 compat 2020-05-08 22:22:28 +02:00
Peter Wallace
e1e41de5a1 hostmot2: update manpage with new modules 2020-05-08 11:06:36 -05:00
Damian Wrobel
dfbf4c3f63 Fix generating html documentation using python3
Adds a possibility to owerwrite 'checklink' by using:

  $ ac_cv_path_CHECKLINK=<path-to-executable> ./configure

Note: Specifying '/usr/bin/true' as follows:

  $ ac_cv_path_CHECKLINK=/usr/bin/true ./configure

can be used to build the html documentation on machines
(usually builders) which by design disables network access
during a build process.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-08 18:00:02 +02:00
Rene Hopf
c4cad8eb30 stepconf: python2 and 3 compat 2020-05-08 15:31:46 +02:00
Phillip Carter
1a8e6869dc Merge branch '2.8' 2020-05-08 16:19:18 +10:00
Phillip Carter
ad78cd17e0 docs: fix error in plasmac user guide 2020-05-08 16:18:40 +10:00
Phillip Carter
d744c4bee2 Merge branch '2.8' 2020-05-08 15:45:51 +10:00
Phillip Carter
b4e48a07a3 plasmac: fix axis window and widget sizes 2020-05-08 15:44:03 +10:00
Rene Hopf
7d122af3c4
Merge pull request #839 from dwrobel/Fix-generating-pdf-documentation-using-python3
Fix generating pdf documentation using python3
2020-05-08 02:27:11 +02:00
Damian Wrobel
f05a0fe217 Fix generating pdf documentation using python3
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-07 21:53:14 +02:00
Rene Hopf
6dc7ceb646
Merge pull request #838 from dwrobel/Switch-to-use-linuxcnc-python-in-tests-instead-of-unversioned-python
Switch to use linuxcnc-python in tests (instead of unversioned python)
2020-05-07 18:27:20 +02:00
rpm-build
94fa1b2338 Fix honoring {C,CXX,CPP,LD}FLAGS passed to the 'configure'
This fixes linking against libreadline v5 in a non standard directory.

On Fedora multiple readline libraries can be installed in parallel.
Old GPL-2 compatible libreadline v5 has its own header and library in the
following directories:

 $ rpm -ql compat-readline5-devel | grep -e 'readline\.h' -e 'libreadline\.so'
 /usr/include/readline5/readline/readline.h
 /usr/lib64/readline5/libreadline.so

As per 'configure --help' the following flags (excerpt) should be supported:
 Some influential environment variables:
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
              nonstandard directory <lib dir>
  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
              you have headers in a nonstandard directory <include dir>

Despite passing above directories via 'CPPFLAGS' and 'LDFLAGS' to 'configure' the linking
process fails as follows:

 gcc -Wl,-rpath-link,../lib -ltirpc  -o ../bin/halcmd objects/hal/utils/halcmd.o
   objects/hal/utils/halcmd_commands.o objects/hal/utils/halcmd_main.o
   objects/hal/utils/halcmd_completion.o ../lib/liblinuxcncini.so.0
   ../lib/liblinuxcnchal.so.0 -lreadline
 /usr/bin/ld: cannot find -lreadline

This was due to not honoring flags passed to configure.

This also fixes the error of passing C specific compielr option to C++ compiler:
   cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration'
   is not valid for C++

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-07 16:36:03 +02:00
Damian Wrobel
d14a9e0b34 Switch to use linuxcnc-python in tests (instead of unversioned python)
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-07 16:33:44 +02:00
Damian Wrobel
61bc24c8d3 Fix configure "integer expression expected" error
Fixes error when micro version part contains non-digits characters.

Specifically for:

 $ dblatex --version
 dblatex version 0.3.11py3

which is available on Fedora the configure script produces:

 checking dblatex version... ./configure: line 7138: \
   test: 11py3: integer expression expected

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-07 00:06:15 +02:00
Rene Hopf
0a1635d818
Merge pull request #758 from dwrobel/dw-fix-tests-build-header-sanity
Fix tests/build/header-sanity
2020-05-06 23:47:27 +02:00
Rene Hopf
290821bdce
Merge pull request #740 from jepler/halcompile-ternary
halcompile: allow "?:" ternary operations in array size calculations
2020-05-06 22:59:02 +02:00
Rene Hopf
b73f2bc589
Merge pull request #760 from dwrobel/dw-fix-travis-install-build-deps
Fix running travis-install-build-deps.sh
2020-05-06 22:55:27 +02:00
Rene Hopf
a3a0666a3e
Merge pull request #807 from dwrobel/dw-add-pycheck
Add pycheck (Python check) Makefile target
2020-05-06 22:49:30 +02:00
Rene Hopf
a3437fd31e
Merge pull request #755 from dwrobel/dw-fix-strsep
Fix compiling strsep() for uspace
2020-05-06 22:45:49 +02:00
Rene Hopf
2a4c3405ea
Merge branch 'master' into dw-fix-tests-build-header-sanity 2020-05-06 22:43:03 +02:00
Rene Hopf
3e20a1b558
Merge pull request #831 from dwrobel/Fix-SyntaxWarning-is-not-with-a-literal-for-python3.8
Fix SyntaxWarning: "is not" with a literal - for python3.8
2020-05-06 22:39:58 +02:00
Rene Hopf
fd84d18372
Merge pull request #833 from dwrobel/Remove-relying-on-unversioned-python
Remove relying on unversioned python
2020-05-06 22:39:22 +02:00
Dewey Garrett
20326af2f7 pyngcgui.py exceptions is builtin for python3
tests: buster py2, wheezy py2
       buster py3--NA, gtk
2020-05-06 10:31:50 -07:00
Damian Wrobel
94a6261729 Fix SyntaxWarning: "is" with a literal - pyngcgui.py pull #832
Fixes the following warning when compiling for python3.8:

 linuxcnc/lib/python/pyngcgui.py:1424: SyntaxWarning: "is" with a literal. Did you mean "=="?
   if comment is '':

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-06 10:31:41 -07:00
Damian Wrobel
ef9a3a4b63 Fix invalid syntax for python3 pull #828
Fixes:
$ python3 -m py_compile pyngcgui.py
  File "pyngcgui.py", line 96
    except ImportError,msg:
                      ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-06 10:31:29 -07:00
Dewey Garrett
64f4796279 axis.py AxisPreferences py2/py3 compatibility #835
tested on buster py2, buster py3, wheezy py2
2020-05-06 05:57:45 -07:00
ce4c3b030f halmodule: correct conversion of float objects
The guard macro for python3 behavior was wrong, and so the code inside
was untested.

Once the bug was fixed, the expected output still didn't match, because
2/3 format floats differently with .format().  Ugh.  Instead, compare
the values for exact numeric equality.  Update expected output.
2020-05-06 07:51:07 -05:00
Phillip Carter
463ae3a14d Merge branch '2.8' 2020-05-06 21:15:43 +10:00
Phillip Carter
8fed9581d1 plasmac: add powermax errors to tooltips 2020-05-06 21:14:53 +10:00
Phillip Carter
748aadeeae plasmac: tidy up run and config panels 2020-05-06 19:53:47 +10:00
Phillip Carter
d701f0c20d plasmac: hide unused widgets in axis for mode 2 2020-05-06 19:36:27 +10:00
Phillip Carter
6306c01aeb plasmac: fix pause at end not saving 2020-05-06 19:34:44 +10:00
Sebastian Kuzminsky
d567ad6f6e docs: make links_db_gen work on both python2 and python3 2020-05-05 23:11:30 -06:00
2f0d65745c Forgot to add source file to Makefile 2020-05-05 16:38:36 -05:00
bcb7b1e9ee
Merge pull request #834 from jepler/newxy
hostmot2: xy2mod updates from Peter
2020-05-05 16:21:05 -05:00
Peter C Wallace
8d503c3c24 hostmot2: xy2mod updates from Peter 2020-05-05 16:19:43 -05:00
d82b10be1e
Merge pull request #732 from jepler/updates-from-peter
hostmot2: add rcpwmgen support
2020-05-05 16:09:22 -05:00
Damian Wrobel
45886a48fe Remove relying on unversioned python
Fixes the following error:

 /usr/bin/env: ‘python’: No such file or directory
 /usr/bin/xgettext: no input file given
 Try '/usr/bin/xgettext --help' for more information.
 make: *** [po/Submakefile:59: po/linuxcnc.pot] Error 1
 make: *** Waiting for unfinished jobs....

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-05 22:42:05 +02:00
andypugh
709d0fd2da
Merge pull request #830 from dwrobel/Fix-gcc-version-10-too-old-skipping-hal-user_comps-xhc-whb04b-6
Fix gcc version 10 too old: skipping hal/user_comps/xhc-whb04b-6
2020-05-05 20:36:22 +01:00
Damian Wrobel
fb0335fce4 Fix gcc version 10 too old: skipping hal/user_comps/xhc-whb04b-6
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-05 20:22:16 +02:00
Damian Wrobel
72eeaecccb Fix SyntaxWarning: "is not" with a literal - for python3.8
Fixes the following warnings:
 Checking "text/x-python" (by MIME type) files for python2 and python3 compatibility...
 ../tests/hard-limits/test-ui.py:82: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  while (all_homed is not 3) and (time.time() - start_time < 5):
 ../tests/hard-limits/test-ui.py:87: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if all_homed is not 3:

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-05 19:22:05 +02:00
Phillip Carter
a28d412d66 Merge branch '2.8' 2020-05-05 15:41:35 +10:00
Phillip Carter
23909815de plasmac: allow adding and overwriting materials from gcode file 2020-05-05 15:41:02 +10:00
Phillip Carter
b91da76e0e plasmac: gcode parser hole sensing changes
warn user if G2 cut appears to be a small hole
account for kerf width in small hole calculation
2020-05-05 15:41:02 +10:00
Phillip Carter
199c8e4011 plasmac: visible version number 2020-05-05 15:41:02 +10:00
2291af3763 Merge remote-tracking branch 'origin/jepler/debian-configure-with-python27' 2020-05-04 21:31:34 -05:00
Dewey Garrett
ebf6f6bd2b linuxcnc_var add PYTHON (py2/py3) 2020-05-04 11:02:05 -07:00
Dewey Garrett
253c276073 linuxcnctop.py py2/py3 tkinter compatibility 2020-05-04 10:51:33 -07:00
Dewey Garrett
283d2e8b29 image-to-gcode.py py2/py3 tkinter compatibility
pkg: python3-pil.imagetk
2020-05-04 10:51:33 -07:00
Damian Wrobel
4c7b154720 Fix linking error on gcc10
Fixes the following linking error:
 /usr/bin/ld: objects/hal/classicladder/files_project.o:
 /home/sw/projects/rpmbuild/BUILD/linuxcnc-bb2a4cc21a7fed9574059d46eb4507c40ba3bf55 \
 /src/hal/classicladder/files_project.c:163: multiple definition of `FileName'; \
 objects/hal/classicladder/files.o:/home/sw/projects/rpmbuild/BUILD/ \
 linuxcnc-bb2a4cc21a7fed9574059d46eb4507c40ba3bf55/src/hal/classicladder/files.c:1303: \
 first defined here

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-05-04 17:04:03 +02:00
Dewey Garrett
fa8d3eaa43 debuglevel.py py2/py3 tkinter compatibility 2020-05-04 07:14:12 -07:00
Dewey Garrett
c349232ca4 teach-in.py py2/py3 tkinter compatibility 2020-05-04 07:14:12 -07:00
Dewey Garrett
37f0e633c9 vismach.py py2/py3 tkinter compatibility 2020-05-04 07:14:12 -07:00
Dewey Garrett
5afd9eda77 inifindall for ngcgui #822
inifindall:
  py2 tuple
  py3 list

bwidget: obsolete types.InstanceType()
2020-05-04 06:28:45 -07:00
Jeff Epler
0310559763 scripts/linuxcnc: when no DISPLAY, don't try to show message dialogs 2020-05-03 10:19:53 -05:00
Jeff Epler
d7710f69b8 startup-gcode-abort: this test sometimes fails
Related open issue #49 states that a fix was added and then reverted,
back in 2017.
2020-05-03 09:12:30 -05:00
Rene Hopf
bb2a4cc21a changed linuxcnc_info to .in, so it reports the correct python version 2020-05-03 14:16:01 +02:00
Rene Hopf
97cc1d1328 linuxcnctop: python3 compatibility 2020-05-03 13:40:36 +02:00
Rene Hopf
e2eaf6ad81 debuglevel.py: python3 compatibility 2020-05-03 13:40:19 +02:00
Rene Hopf
d619902ac4 image-to-gcode.py: python3 compatibility 2020-05-03 13:39:56 +02:00
Rene Hopf
2a63953a38 fix pyvcp on python3 2020-05-03 05:19:57 +02:00
Rene Hopf
6940c9c1a7 python3 formatting 2020-05-03 02:52:35 +02:00
Rene Hopf
93fa158584 Merge branch 'master' of github.com:LinuxCNC/linuxcnc 2020-05-03 02:42:00 +02:00
Rene Hopf
a505de799f qt5_graphics.py: python3 compatibility 2020-05-03 02:41:11 +02:00
Chris Morley
702cb6236f Merge branch '2.8' 2020-05-02 17:40:06 -07:00
Chris Morley
0eab7e707d qtvcp -update docs 2020-05-02 17:38:43 -07:00
Chris Morley
c2caaf350e qtvcp -add ability to get current selected path 2020-05-02 17:38:43 -07:00
Chris Morley
44d9101672 qtvcp -basic_probe:improve error handling
If there was no macro folder then an attribute error could happen.
Now also checks for proper tool number
Thanks Jim !
2020-05-02 17:38:43 -07:00
Jeff Epler
802284c3cb debian: configure with python2.7 2020-05-02 19:23:13 -05:00
Jeff Epler
f4fe595c99 uspace: Don't memset() a rtapi_task object
These are non-trivial C++ objects.  When `do_task_new` was introduced
in 2016, this memset() should have been removed, but it was not.  The
task type is responsible for fully initializing all fields in the task
structure to valid values.
2020-05-02 19:23:08 -05:00
Rene Hopf
8945f55c38 pncconf: python3 compatibility 2020-05-03 02:09:56 +02:00
Rene Hopf
5f47cd80da stepconf, pncconf: python3 compatibility 2020-05-03 02:05:41 +02:00
Sebastian Kuzminsky
df9237d019 docs: fix a typo in the xhc-whb04b-6 manpage 2020-05-02 17:56:31 -06:00
Sebastian Kuzminsky
bd044cbc8d docs: remove trailing whitespace in xhc-whb04b-6 manpage 2020-05-02 17:56:31 -06:00
Rene Hopf
e50ba90c59 stepconf.py: more python3 2020-05-03 01:55:05 +02:00
Rene Hopf
879a21998d stepconf.py: python3 compatibility 2020-05-03 01:53:52 +02:00
Rene Hopf
934da1459a python modules: python3 compatibility 2020-05-03 01:33:21 +02:00
Rene Hopf
3bbcb3e0f4 glcanon.py: python3 compatibility 2020-05-03 01:13:58 +02:00
Rene Hopf
ba74f07be0 glnav.py: python3 compatibility 2020-05-03 01:09:38 +02:00
Rene Hopf
b432ddddb8 remap-io test: python3 compatibility 2020-05-03 01:08:35 +02:00
Rene Hopf
1a9e371f0c add py3c headers 2020-05-03 01:07:41 +02:00
Rene Hopf
0cba5345cc driver.cc, tests: flush print buffers, to make the tests more repeatable 2020-05-03 00:42:17 +02:00
Rene Hopf
dbe8becc85 fix shebang in ccomp/early-exit 2020-05-02 22:29:28 +02:00
Rene Hopf
d7926d868d change tests to use linuxcnc-python, so they use the python version specified during configure 2020-05-02 20:58:31 +02:00
Rene Hopf
f592e965fe touchy/emc_interface.py: python3 compatibility 2020-05-02 01:23:00 +02:00
Rene Hopf
1cbbe6e483 touchy/listings.py: python3 compatibility 2020-05-02 01:21:47 +02:00
Rene Hopf
cf78e7eef4 pyui: python3 compatibility 2020-05-02 01:20:39 +02:00
Rene Hopf
007ac1e70c hal_manualtoolchange.py: python3 compatibility 2020-05-02 01:17:43 +02:00
Rene Hopf
df85999509 axis.py: python3 compatibility 2020-05-02 01:17:14 +02:00
Rene Hopf
bcfb574657 OpenGLTk.py: python3 compatibility 2020-05-02 01:16:31 +02:00
Rene Hopf
dfa1d2e126 vcpparse.py: python3 compatibility 2020-05-02 01:15:13 +02:00
Rene Hopf
2ff19f37b5 pyvcp_widgets.py: python3 compatibility 2020-05-02 01:14:23 +02:00
Rene Hopf
5e3648de66 propertywindow.py: python3 compatibility 2020-05-02 01:13:31 +02:00
Rene Hopf
0707341ba0 nf.py.in: python3 compatibility 2020-05-02 01:13:00 +02:00
Rene Hopf
8743827332 bwidget.py: python3 compatibility 2020-05-02 01:12:24 +02:00
Phillip Carter
eb68f3f471 Merge branch '2.8' 2020-05-01 18:30:39 +10:00
Phillip Carter
b1a88dd4a5 plasmac: allow high velocity probing 2020-05-01 18:29:49 +10:00
Phillip Carter
948d23c72c Merge branch '2.8' 2020-05-01 15:21:38 +10:00
Phillip Carter
c9c8a5432d plasmac: change probe test probing 2020-05-01 15:21:04 +10:00
Phillip Carter
0d38b41eee plasmac: conversational changes
bolt holes fix velocity error
bolt holes add overcut option
add preamble comments
2020-05-01 15:21:04 +10:00
jasen
0561e300e4 changed constant for calculating axisJogStepSize from feedButton.stepSize() and mHal.getFeedOverrideMaxVel() 2020-04-30 12:11:44 +03:00
jasen
6b64e27d0f no 2020-04-30 10:29:24 +03:00
Chris Morley
f8285e9cd0 Merge branch '2.8' 2020-04-29 22:47:32 -07:00
Chris Morley
04a4ba45cd qtvcp -axis_tool_button, dialogs: remove debugging print statements. 2020-04-29 22:45:32 -07:00
Phillip Carter
3c953098cb Merge branch '2.8' 2020-04-30 08:59:50 +10:00
Phillip Carter
440179b6d9 plasmac: fix pmx485 load error 2020-04-30 08:59:08 +10:00
Rene Hopf
9374d26404 touchy.py: python3 compatibility 2020-04-29 23:36:21 +02:00
Rene Hopf
36061ee0f3 mdi.py: python3 compatibility 2020-04-29 22:47:26 +02:00
Rene Hopf
89ed73227b gscreen.py: fix print errors 2020-04-29 20:15:56 +02:00
Rene Hopf
74cb176d6c fix typo in gscreen 2020-04-29 20:03:17 +02:00
Rene Hopf
0249c34255 gscreen, glade: pyhon3 compatibility 2020-04-29 20:02:19 +02:00
Phillip Carter
10d2ca6602 Merge branch '2.8' 2020-04-29 13:25:02 +10:00
Phillip Carter
a3a77353f5 add pmx485 to makefile 2020-04-29 13:24:01 +10:00
Rene Hopf
5397271f14 default to python2 2020-04-28 23:51:14 +02:00
jasen
65ce2c0287 pdate gitignore 2020-04-29 00:29:44 +03:00
jasen
93288bc26a Broken rotary feed button position 'lead' code
Added necessary code to avoid segfault on unknown code for button
2020-04-29 00:18:59 +03:00
Damian Wrobel
e9290b7f03 Add pycheck (Python check) Makefile target
It is designed to be used for checking compatibility of python
scripts (currently only from the 'tests' subdirectory) with
both python2 and python3 interpreters.

Usage:
  $ make pycheck

Successfull output:
  $ make pycheck
  Reading 200/200 dependency files
  Done reading dependencies
  Reading 212/212 realtime dependency files
  Done reading realtime dependencies
  Checking *.py files for python2 and python3 compatibility...
  Checking "text/x-python" (by MIME type) files for python2 and python3 compatibility...

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-28 23:11:24 +02:00
Damian Wrobel
f503097943 Make build process more verbose
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-28 23:11:24 +02:00
ALatSMT
736b9179c0
Update pyvcp_widgets.py 2020-04-28 14:23:37 -04:00
Rene Hopf
1ebe739131 pmx485.py: python3 compatibility 2020-04-28 17:35:23 +02:00
Rene Hopf
68c445e104
Merge pull request #808 from dwrobel/hal-drivers-python3-compatibility
hal/drivers: python3 compatibility
2020-04-28 16:48:00 +02:00
Rene Hopf
6633c711e2 gremlin-run: fix python2 imports 2020-04-28 16:46:41 +02:00
Rene Hopf
a8e9e9450d Merge branch 'master' of github.com:LinuxCNC/linuxcnc 2020-04-28 16:44:09 +02:00
Rene Hopf
8a12174925 touchy: python3 compatibility 2020-04-28 16:43:47 +02:00
Phillip Carter
db1d0f168f Merge branch '2.8' 2020-04-28 17:31:08 +10:00
Phillip Carter
d2098c00fd plasmac: link to moved pmx485 component 2020-04-28 17:30:21 +10:00
Phillip Carter
069afd15a1 plasmac: kerf crossing changes 2020-04-28 17:30:21 +10:00
Phillip Carter
7a353cb137 plasmac: add probe test countdown display 2020-04-28 17:30:21 +10:00
Phillip Carter
e738803a21 plasmac: document changes 2020-04-28 17:30:21 +10:00
Phillip Carter
1f9f21a698 move pmx485 component from plasmac config to src/hal/usr_comps 2020-04-28 17:30:21 +10:00
Chris Morley
d857e8d356 Merge branch '2.8' 2020-04-27 22:27:54 -07:00
Chris Morley
8fff2cb562 qtvcp -add information on class patching the file manager 2020-04-27 22:26:41 -07:00
Chris Morley
ac84e73374 qtvcp -file_manager: allow class patching the load function
Sometimes people want to do something custom with the filename, rather then just load
the program. Now they can class patch the function to call a function in the handler file.
2020-04-27 21:40:56 -07:00
640f8b15ca Merge remote-tracking branch 'origin/2.8' 2020-04-27 19:47:26 -05:00
7290a08052 tests/tool-info: Allow a delay of up to 1s for status buffer checks
We may make a better change for this in the future, but for now
we don't guarantee any particular length of time for the changed
tool to become visible to UIs, and we're actively hitting failures
in this test on buildbot VMs and on rpis, apparently since the
tool table was enlarged.
2020-04-27 19:45:49 -05:00
Phillip Carter
5a3a095df0 axis: only show clear if recents exist 2020-04-28 10:18:52 +10:00
Damian Wrobel
3ebdec94c4 hal/drivers: python3 compatibility
Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-27 20:48:36 +02:00
Rene Hopf
0c5769af75
Merge pull request #806 from dwrobel/fix-tests-motion-g0
Fix tests/motion/g0
2020-04-27 19:33:53 +02:00
50980d5840 Merge remote-tracking branch 'origin/2.8' 2020-04-27 09:06:26 -05:00
Damian Wrobel
9fd61d5e71 Fix tests/motion/g0
Fixes:
  File "motion/g0/checkresult", line 80
    print "sample 0: X starts at %.6f, not at 0.000000" % samples[0][1]
                                                      ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("sample 0: X starts at %.6f, not at 0.000000" % samples[0][1])?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-27 09:24:57 +02:00
Phillip Carter
a229ccb7c2 axis: add menu entry to clear recent file list 2020-04-27 14:11:58 +10:00
Rene Hopf
67e28c1f1f user_comps: python3 compatibility 2020-04-27 05:27:10 +02:00
Rene Hopf
f273f0e6dc vismach: python3 compatibility 2020-04-27 05:04:18 +02:00
Chris Morley
3484e9039a qtvcp -update widget docs 2020-04-26 19:23:06 -07:00
Rene Hopf
3aba3eac37 gmoccapy fix python2 imports 2020-04-27 04:06:45 +02:00
Rene Hopf
a02c9e3b3b fix python2 imports 2020-04-27 03:36:11 +02:00
6d24dd35ac
Merge pull request #803 from LinuxCNC/jepler/2.8-cxxflags
Makefile: Fix typo
2020-04-26 18:30:16 -05:00
Rene Hopf
453705c463 gmoccapy: python3 compatibility 2020-04-27 00:26:03 +02:00
Rene Hopf
f1a2c8583a axis: python3 compatibility 2020-04-27 00:10:58 +02:00
Rene Hopf
95dc9f07a2 update_ini.py: python3 compatibility 2020-04-26 23:58:15 +02:00
Rene Hopf
d6c8cab6aa modsilent.py: python3 compatibility 2020-04-26 23:56:06 +02:00
Rene Hopf
a1cbbfd1a7 fix typo 2020-04-26 23:55:26 +02:00
Rene Hopf
79b214374b lib/python/rs274 python3 compatibility 2020-04-26 23:54:28 +02:00
Rene Hopf
230a94c3f7 xembed.py: python3 compatibility 2020-04-26 23:50:06 +02:00
Rene Hopf
f297eb44ef tooledit_widget.py: python3 compatibility 2020-04-26 23:49:29 +02:00
Rene Hopf
7bfe0f2f1c status_label.py: python3 compatibility 2020-04-26 23:47:50 +02:00
Rene Hopf
2f2a39f8b5 state_label.py: python3 compatibility 2020-04-26 23:46:10 +02:00
Rene Hopf
af74ba36ee speedcontrol.py: python3 compatibility 2020-04-26 23:45:14 +02:00
Rene Hopf
0a9121ba91 overridewidget.py: python3 compatibility 2020-04-26 23:35:55 +02:00
Rene Hopf
90c312a7e2 offsetwidget.py: python3 compatibility 2020-04-26 23:34:25 +02:00
Rene Hopf
0d127c3a06 offsetpage_widget.py: python3 compatibility 2020-04-26 23:33:01 +02:00
Rene Hopf
c3a8b22987 makepins.py: python3 compatibility 2020-04-26 23:31:30 +02:00
Rene Hopf
192e968f4b macro_widget.py: python3 compatibility 2020-04-26 23:31:06 +02:00
Rene Hopf
902752de2f led.py: python3 compatibility 2020-04-26 23:30:21 +02:00
Rene Hopf
50801163d3 jogwheel.py: python3 compatibility 2020-04-26 23:29:17 +02:00
Rene Hopf
0300e27542 hal_sourceview.py: python3 compatibility 2020-04-26 23:28:06 +02:00
Rene Hopf
201bd94c4e hal_pythonplugin.py: python3 compatibility 2020-04-26 23:25:39 +02:00
Rene Hopf
5b8323e289 hal_meter.py: python3 compatibility 2020-04-26 23:24:54 +02:00
Rene Hopf
5bfd84ce17 hal_mdihistory.py: python3 compatibility 2020-04-26 23:24:21 +02:00
Rene Hopf
b373a0d609 hal_lightbutton.py: python3 compatibility 2020-04-26 23:22:51 +02:00
Rene Hopf
3a0b291c6e hal_gremlin.py: python3 compatibility 2020-04-26 23:11:18 +02:00
Rene Hopf
11319c6b1d hal_gremlin.py: python3 compatibility 2020-04-26 23:10:22 +02:00
Rene Hopf
9cbbb32d89 hal_graph.py: python3 compatibility 2020-04-26 23:09:52 +02:00
Rene Hopf
68481eb6fd hal_filechooser.py: python3 compatibility 2020-04-26 23:09:17 +02:00
Rene Hopf
029c3138ce hal_dial.py: python3 compatibility 2020-04-26 23:08:45 +02:00
Rene Hopf
0baf76e13c hal_bar.py: python3 compatibility 2020-04-26 23:05:35 +02:00
Rene Hopf
730085f92f hal_actions.py: python3 compatibility 2020-04-26 23:04:31 +02:00
Rene Hopf
8da8114455 drowidget.py: python3 compatibility 2020-04-26 23:03:12 +02:00
Rene Hopf
5b72e3bf22 combi_dro.py: python3 compatibility 2020-04-26 23:02:20 +02:00
Rene Hopf
458a345644 calculatorwidget.py: python3 compatibility 2020-04-26 23:00:57 +02:00
Rene Hopf
ac66fe3eb0 python3 compatibility in lib/python 2020-04-26 22:56:52 +02:00
Chris Morley
ba7338e4a4 qtvcp -make mdi_touchy top buttons bigger
It was hard to use a touch screen.
Also made border spacing and button spacing smaller
2020-04-26 00:40:26 -07:00
Chris Morley
1312cfa6a5 Merge branch '2.8' 2020-04-25 22:54:23 -07:00
Chris Morley
5d39dbc7c6 qtvcp -tstat: don't crash if the wear offset has no parent tool
tool offsets above 10000 are designated as wear offsets in lathe mode.
If there was a wear offset without a parent tool to apply it to,
qtvcp errored.
2020-04-25 22:49:08 -07:00
Chris Morley
6ff145a7bf qtvcp -use the proper spindle number when default speed
ie default spindle speed can be different for different spindles
2020-04-25 22:40:08 -07:00
Phillip Carter
4d1de0992e Merge branch '2.8' 2020-04-26 14:00:03 +10:00
Phillip Carter
2745cb5b60 plasmac: change gcode errors to popups 2020-04-26 13:59:15 +10:00
andy pugh
b5c6f4e816 Touchy: Handle homing display and selected homing for non-contiguous joints
The assumption that joints map 1:1 to coordinates meant that Touchy did not
properly display the homing state of (for example) an XZ lathe.
Nor was it possible to individually home / unhome the Z axis.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-04-26 00:53:33 +01:00
Rene Hopf
cfca95f49d fix compiler warning about unhandled hal_port 2020-04-25 22:15:50 +02:00
andy pugh
fe930b7885 Touchy: Allow re-homing and unhoming in JA systems.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-04-25 21:10:29 +01:00
Jon Elson
b1b6a01ad5 made 32-bit encoder variables explicit types
Please enter the commit message for your changes. Lines starting
2020-04-25 12:53:08 -05:00
andypugh
486523b239 Docs: Address Issue #804
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-25 14:39:18 +01:00
Chris Morley
01d904853f Merge branch '2.8' 2020-04-25 01:01:02 -07:00
Chris Morley
c264ce1877 qtvcp -fix mdi_touchy widget to work with macros
I forgot to finish this when converting.
uses Touchy styled INI base macros
2020-04-25 00:54:15 -07:00
Phillip Carter
bbb6bc6835 Merge branch '2.8' 2020-04-25 17:12:00 +10:00
Phillip Carter
aa3bae01bb plasmac: fix new material error 2020-04-25 17:11:22 +10:00
Phillip Carter
afcc9f2b5a Merge branch '2.8' 2020-04-25 10:31:35 +10:00
Phillip Carter
7525a1528f plasmac: thc enable/disable fix for run panel 2020-04-25 10:24:37 +10:00
Phillip Carter
3f3d206704 glnav.py variable 2020-04-25 10:23:50 +10:00
Rene Hopf
d55f1aa670
Merge pull request #802 from dwrobel/Fix-tests-mdi-queue-length
Fix tests/mdi-queue-length
2020-04-24 22:54:32 +02:00
Rene Hopf
4e34c22a99
Merge pull request #801 from dwrobel/Fix-tests-interp-python-self
Fix tests/interp/python-self
2020-04-24 22:54:21 +02:00
Rene Hopf
9774bc5da8
Merge pull request #800 from dwrobel/Fix-tests-trajectory-planner
Fix tests/trajectory-planner
2020-04-24 22:54:08 +02:00
Rene Hopf
c1fe78a755
Merge pull request #799 from dwrobel/Fix-tests-mdi-while-queuebuster-waitflag
Fix tests/mdi-while-queuebuster-waitflag
2020-04-24 22:53:21 +02:00
Rene Hopf
2af9aa4182
Merge pull request #798 from dwrobel/Fix-tests-abort-g64
Fix tests/abort/g64
2020-04-24 22:53:12 +02:00
Rene Hopf
bc5b282cfd
Merge pull request #797 from dwrobel/Fix-tests-remap
Fix tests/remap
2020-04-24 22:52:57 +02:00
Rene Hopf
613daf2ffb
Merge pull request #796 from dwrobel/Fix-tests-limit3
Fix tests/limit3
2020-04-24 22:52:28 +02:00
Rene Hopf
96c4421156
Merge pull request #795 from dwrobel/Fix-tests-toolchanger-reload-tool-random
Fix tests/toolchanger/reload-tool/random
2020-04-24 22:52:09 +02:00
Rene Hopf
10f2996c80
Merge pull request #794 from dwrobel/Fix-tests-toolchanger-reload-tool-non-random
Fix tests/toolchanger/reload-tool/non-random
2020-04-24 22:52:02 +02:00
Rene Hopf
49c8e4c19d
Merge pull request #793 from dwrobel/Fix-tests-toolchanger
Fix tests/toolchanger
2020-04-24 22:51:53 +02:00
Rene Hopf
6de2768d1d
Merge pull request #792 from dwrobel/Fix-tests-tool-info-random-with-startup-tool
Fix tests/tool-info/random-with-startup-tool
2020-04-24 22:51:38 +02:00
Rene Hopf
04808ba859
Merge pull request #791 from dwrobel/Fix-tests-tool-info-random-no-startup-tool
Fix tests/tool-info/random-no-startup-tool
2020-04-24 22:51:24 +02:00
Rene Hopf
3a8e51f469
Merge pull request #790 from dwrobel/Fix-tests-tool-info-non-random
Fix tests/tool-info/non-random
2020-04-24 22:51:09 +02:00
Rene Hopf
983d6aaf25
Merge pull request #789 from dwrobel/Fix-tests-tlo
Fix tests/tlo
2020-04-24 22:50:04 +02:00
Rene Hopf
6b696a7271
Merge pull request #788 from dwrobel/Fix-tests-statbuffer-g5x-abort
Fix tests/statbuffer-g5x-abort
2020-04-24 22:49:36 +02:00
Rene Hopf
a746176f66
Merge pull request #787 from dwrobel/Fix-tests-startup-state
Fix tests/startup-state
2020-04-24 22:49:22 +02:00
Rene Hopf
34dff622f3
Merge pull request #786 from dwrobel/Fix-tests-rs274ngc-startup
Fix tests/rs274ngc-startup
2020-04-24 22:49:02 +02:00
Rene Hopf
8135dbc50a
Merge pull request #785 from dwrobel/Fix-tests-remap-remap-io
Fix tests/remap/remap-io
2020-04-24 22:48:45 +02:00
Rene Hopf
c0db2a5e74
Merge pull request #784 from dwrobel/Fix-tests-pyhal
Fix tests/pyhal
2020-04-24 22:48:35 +02:00
Rene Hopf
98123b6d70
Merge pull request #783 from dwrobel/Fix-tests-motion-jogwheel-joint
Fix tests/motion/jogwheel-joint
2020-04-24 22:48:15 +02:00
Rene Hopf
d761f9f888
Merge pull request #782 from dwrobel/Fix-tests-motion-jogwheel-axis
Fix tests/motion/jogwheel-axis
2020-04-24 22:47:52 +02:00
Rene Hopf
6e7fc42490
Merge pull request #781 from dwrobel/Fix-tests-motion-logger-mountaindew
Fix tests/motion-logger/mountaindew
2020-04-24 22:47:16 +02:00
Rene Hopf
b041947c95
Merge pull request #780 from dwrobel/Fix-tests-motion-logger-startup-gcode-abort
Fix tests/motion-logger/startup-gcode-abort
2020-04-24 22:46:53 +02:00
Rene Hopf
12364b7f45
Merge pull request #779 from dwrobel/Fix-tests-motion-logger-basic
Fix tests/motion-logger/basic
2020-04-24 22:46:41 +02:00
Rene Hopf
200971e2bc
Merge pull request #769 from dwrobel/dw-fix-tests-interp-good
Fix tests/interp/good
2020-04-24 22:46:28 +02:00
Rene Hopf
888badd354
Merge pull request #778 from dwrobel/Fix-tests-lathe
Fix tests/lathe
2020-04-24 22:43:47 +02:00
Rene Hopf
c5aa84f42b
Merge pull request #777 from dwrobel/Fix-tests-io-startup-nonrandom-no-tool-in-P0
Fix tests/io-startup/nonrandom/no-tool-in-P0
2020-04-24 22:43:35 +02:00
Rene Hopf
9aa50df70e
Merge pull request #774 from dwrobel/dw-fix-tests-interp-subroutine-return
Fix tests/interp/subroutine-return
2020-04-24 22:43:19 +02:00
Rene Hopf
6882083a6d
Merge pull request #773 from dwrobel/dw-fix-tests-interp-python-error
Fix tests/interp/python/error
2020-04-24 22:43:04 +02:00
Rene Hopf
c339dde484
Merge pull request #772 from dwrobel/dw-fix-tests-interp-oword-mdi-sub-update
Fix tests/interp/oword-mdi-sub-update
2020-04-24 22:42:45 +02:00
Rene Hopf
832a0848f0
Merge pull request #771 from dwrobel/dw-fix-tests-interp-mdi-oword-m66
Fix tests/interp/mdi-oword-m66
2020-04-24 22:42:31 +02:00
Rene Hopf
29a7d5b641
Merge pull request #770 from dwrobel/dw-fix-tests-interp-m98m99-12-M99-endless-main-program
Fix tests/interp/m98m99/12-M99-endless-main-program
2020-04-24 22:42:14 +02:00
Rene Hopf
e111d48e81
Merge pull request #768 from dwrobel/dw-fix-tests-interp-bad
Fix tests/interp/bad
2020-04-24 22:40:49 +02:00
Rene Hopf
34871dc949
Merge pull request #767 from dwrobel/dw-fix-tests-hm2-idrom
Fix tests/hm2-idrom
2020-04-24 22:40:12 +02:00
Rene Hopf
e20e4486b8
Merge pull request #766 from dwrobel/dw-fix
Fix tests/hard-limits
2020-04-24 22:39:36 +02:00
Rene Hopf
336211dea7
Merge pull request #765 from dwrobel/dw-fix-tests-halui-mdi
Fix tests/halui/mdi
2020-04-24 22:39:13 +02:00
Rene Hopf
0940882a2a
Merge pull request #764 from dwrobel/dw-fix-halui-jogging
Fix tests/halui/jogging
2020-04-24 22:38:59 +02:00
Rene Hopf
e7937dc3b6
Merge pull request #763 from dwrobel/dw-fix-ccomp-early-exit
Fix tests/ccomp/early-exit
2020-04-24 22:38:30 +02:00
Rene Hopf
9bf2089b7e
Merge pull request #761 from dwrobel/dw-fix-tests-halmodule.1
Fix tests/halmodule.1
2020-04-24 22:38:15 +02:00
Rene Hopf
76489a949e
Merge pull request #759 from dwrobel/dw-fix-tests-halmodule.0
Fix tests/halmodule.0
2020-04-24 22:37:51 +02:00
Rene Hopf
e68ed97a83
Merge pull request #757 from dwrobel/fix-test-abort-feed-rate
Fix tests/abort/feed-rate
2020-04-24 22:35:20 +02:00
Rene Hopf
33b9b437fa
Merge pull request #756 from dwrobel/dw-fix-test-thread.0
Fix threads.0 test
2020-04-24 22:33:42 +02:00
andy pugh
12d892e9d4 glnav.py address #775
Avoid a divide-by-zero


Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-04-24 21:27:30 +01:00
9ff9036643 Makefile: Fix typo 2020-04-24 15:22:59 -05:00
andypugh
7f0135f4b4
Merge pull request #776 from LinuxCNC/jepler/2.8-cxxflags
Silence "psabi" warnings on raspbian
2020-04-24 18:28:35 +01:00
andy pugh
b3fa2975fd G33.1 Fix for #639 & #703
Reset emcmotStatus->spindleSync on abort / empty queue
Otherwise successive spindle synched moves do not wait for index, so there
is no reset and a rapid move to catch up ensues.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-04-24 17:56:50 +01:00
Damian Wrobel
35e918966a Fix tests/io-startup/nonrandom/no-tool-in-P0
Fixes:
  File "../../test-ui.py", line 23
    print "pin '%s' reached target value '%s' after %f seconds" % (pin_name, value, time.time() - start_time)
                                                              ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:59:00 +02:00
Damian Wrobel
9345165822 Fix tests/lathe
Fixes:
  File "./test-ui.py", line 55
    print "running gcode:", gcode
                         ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("running gcode:", gcode)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:55 +02:00
Damian Wrobel
4a27585ea4 Fix tests/motion-logger/basic
Fixes:
  File "./test-ui.py", line 32
    print "sub-test %s ok" % logfile_name
                         ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("sub-test %s ok" % logfile_name)?

  File "./test-ui.py", line 81
    print("trying to exit", file=sys.stderr)
                                ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:50 +02:00
Damian Wrobel
d2107bdc63 Fix tests/motion-logger/startup-gcode-abort
Fixes:
Traceback (most recent call last):
  File "./test-ui.py", line 3, in <module>
    import linuxcnc
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString

  File "./test-ui.py", line 23
    print "UI abort"
                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("UI abort")?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:45 +02:00
Damian Wrobel
2b8ff6aa43 Fix tests/motion-logger/mountaindew
Fixes:
 Traceback (most recent call last):
  File "./test-ui.py", line 3, in <module>
    import linuxcnc
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:40 +02:00
Damian Wrobel
e8569ee524 Fix tests/motion/jogwheel-axis
Fixes:
  File "test-ui.py", line 36
    print "axis %c jogged from %.6f to %.6f (%d counts at scale %.6f)" % (axis_letter, start_pos[axis_letter], h['axis-%c-position' % axis_letter], counts, scale)
                                                                     ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:35 +02:00
Damian Wrobel
215b962808 Fix tests/motion/jogwheel-joint
Fixes:
  File "./test-ui.py", line 22
    print "Error: joint didn't stop jogging!"
                                            ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Error: joint didn't stop jogging!")?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:30 +02:00
Damian Wrobel
2f3110fba7 Fix tests/pyhal
Fixes:
Traceback (most recent call last):
  File "./test", line 9, in <module>
    port_in = c.pinNew("port-in", halType.PORT, pinDir.IN)
  File "/home/sw/projects/machinekit/linuxcnc/lib/python/pyhal.py", line 212, in pinNew
    result = lib.hal_pin_new("{0}.{1}".format(self.name, name), type, dir, ptr, self.id)
ctypes.ArgumentError: argument 1: <class 'TypeError'>: wrong type

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:25 +02:00
Damian Wrobel
3241a252af Fix tests/remap/remap-io
Fixes:
  File "./test-ui.py", line 3, in <module>
    import linuxcnc, hal
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:21 +02:00
Damian Wrobel
8709149d7e Fix tests/rs274ngc-startup
Fixes:
  File "./test-ui.py", line 29
    print "Expected g5x_index=1 (startup in G54), got %d instead" % s.g5x_index
                                                                ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:16 +02:00
Damian Wrobel
10476dbe2c Fix tests/startup-state
Fixes:
 File "./test-ui.py", line 22
    print "acceleration:", status.acceleration
                        ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("acceleration:", status.acceleration)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:11 +02:00
Damian Wrobel
900622fa92 Fix tests/statbuffer-g5x-abort
Fixes:
  File "./test-ui.py", line 53
    print "Current coordinate system is G%d, not G55" % \
                                                    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("Current coordinate system is G%d, not G55" % \)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:06 +02:00
Damian Wrobel
883b33e931 Fix tests/tlo
Fixes:
  File "./test-ui.py", line 21
    print "waiting for %s to go to %f (timeout=%f)" % (pin_name, value, timeout)
                                                  ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:58:01 +02:00
Damian Wrobel
22f6caa247 Fix tests/tool-info/non-random
Fixes:
     print "nothing from polling error channel"
                                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("nothing from polling error channel")?

Sorry: TabError: inconsistent use of tabs and spaces in indentation (test-ui.py, line 64)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:56 +02:00
Damian Wrobel
8add0449a4 Fix tests/tool-info/random-no-startup-tool
Fixes:
  File "./test-ui.py", line 57
    print "nothing from polling error channel"
                                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("nothing from polling error channel")?

Sorry: TabError: inconsistent use of tabs and spaces in indentation (test-ui.py, line 64)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:51 +02:00
Damian Wrobel
4f1b507be9 Fix tests/tool-info/random-with-startup-tool
Fixes:
  File "./test-ui.py", line 57
    print "nothing from polling error channel"
                                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("nothing from polling error channel")?

Sorry: TabError: inconsistent use of tabs and spaces in indentation (test-ui.py, line 64)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:46 +02:00
Damian Wrobel
dac0d67278 Fix tests/toolchanger
Fixes:
  File "./test-ui.py", line 20
    print "waiting for %s to go to %f (timeout=%f)" % (pin_name, value, timeout)
                                                  ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:42 +02:00
Damian Wrobel
65b32b4032 Fix tests/toolchanger/reload-tool/non-random
Fixes:
Traceback (most recent call last):
  File "./test-ui.py", line 3, in <module>
    import linuxcnc
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:37 +02:00
Damian Wrobel
492f01272b Fix tests/toolchanger/reload-tool/random
Fixes:

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:31 +02:00
Damian Wrobel
64b551351d Fix tests/limit3
Fixes:
    print "sample=%d, next_out=%.6f, vel=%.6f, seconds_to_stop=%.6f, pos_at_stop=%.6f, min=%.6f, max=%.6f" % \
                                                                                                         ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("sample=%d, next_out=%.6f, vel=%.6f, seconds_to_stop=%.6f, pos_at_stop=%.6f, min=%.6f, max=%.6f" % \)?

    print "max=%.3f, out=%.3f, position violation on line %s" % (max_value, out_value, line)
                                                            ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:26 +02:00
Damian Wrobel
752c6940ab Fix tests/remap
Fixes:
  File "./remap/sequencing/permute.py", line 41
    print perm
             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(perm)?

  File "./remap/introspect/oword.py", line 37
    print "debug: ", self.debugmask,"logging:",self.loggingLevel
                  ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("debug: ", self.debugmask,"logging:",self.loggingLevel)?

 File "./remap/oword-pycall/oword.py", line 37
    print "multiply: number of arguments=", len(args)
                                         ^
SyntaxError: invalid syntax

 File "./oremap/introspec/tword.py", line 41
    print("args=(", end=' ')
                       ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:21 +02:00
Damian Wrobel
3dd245949b Fix tests/abort/g64
Fixes:
  File "./abort/g64/test-ui.py", line 33
    print "z=%.1f; max_x = %.6f; max_y = %.6f; samples = %d" % (
                                                           ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:16 +02:00
Damian Wrobel
8dbf970690 Fix tests/mdi-while-queuebuster-waitflag
Fixes:
 File "mdi-while-queuebuster-waitflag/remap.py", line 13
    print "self.input_flag pre = %s" % self.input_flag
                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("self.input_flag pre = %s" % self.input_flag)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:06 +02:00
Damian Wrobel
60787c797e Fix tests/trajectory-planner
Fixes:
  File "./trajectory-planner/circular-arcs/run_all_tests.py", line 51
    print "In folder {0}, found {1} files:".format(testpath,len(files))
                                          ^
SyntaxError: invalid syntax

 File "./trajectory-planner/circular-arcs/run_all_tests.py", line 51
    print "In folder {0}, found {1} files:".format(testpath,len(files))
                                          ^
SyntaxError: invalid syntax

  File "./trajectory-planner/circular-arcs/machine_setup.py", line 39
    print "No G code specified, setup complete"
                                              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("No G code specified, setup complete")?

  File "./trajectory-planner/circular-arcs/linuxcnc_control.py", line 125
    print "interrupted by keyboard in c.wait_complete(self.timeout)"
                                                                   ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:57:00 +02:00
Damian Wrobel
3b0e411fc8 Fix tests/interp/python-self
Fixes:
 File "./interp/python-self/subs.py", line 24
    print "__init__: self not is this"
                                     ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("__init__: self not is this")?

 File "./interp/python-self/oword.py", line 25
    print "param1 was retained, value = ", self.param1
                                        ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("param1 was retained, value = ", self.param1)?

Sorry: TabError: inconsistent use of tabs and spaces in indentation (oword.py, line 31)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:56:55 +02:00
Damian Wrobel
d314dc829c Fix tests/mdi-queue-length
Fixes:
  File "./mdi-queue-length/test-ui.py", line 55
    print "queued_mdi_commands at %d after %.3f seconds" % (s.queued_mdi_commands, timeout)
                                                       ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 17:56:50 +02:00
49d9a94872 Makefile: Specify gnu++11 or gnu++0x as language standard
Configure's check for C++11 support leaves post-C++11 features enabled
if they are by default.  Making this change should help guide developers
to avoid language features that are not in our oldest compilers.
2020-04-24 10:56:29 -05:00
d36dcec773 Makefile: Add -Wno-psabi to silence warnings on pi builds 2020-04-24 10:46:39 -05:00
e0612d8897 Makefile: Add cxx-flag macro 2020-04-24 10:46:25 -05:00
andypugh
087aa5b032 Merge branch '2.8' 2020-04-24 12:44:27 +01:00
andypugh
becb0e2e16 Plasma primer tweaks
I was reading the plasma primer and spotted a few typos and such.

Note that I have had no luck with changing the size of the first two images. I left my edits in as markers, but they don't work.
2020-04-24 12:42:50 +01:00
Damian Wrobel
4153db32e1 Fix tests/halui/mdi
Fixes the following errors:
 File "test-ui.py", line 19
    print "%.3f: %s" % (delta_t, msg)
                   ^
SyntaxError: invalid syntax
  File "test-ui.py", line 19
    print()"%.3f: %s" % (delta_t, msg))
                    ^
SyntaxError: invalid syntax
  File "test-ui.py", line 70
    print "halui reports mode", pin_name
                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("halui reports mode", pin_name)?

  File "test-ui.py", line 73
    print "timeout waiting for halui to report mode", pin_name
                                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("timeout waiting for halui to report mode", pin_name)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 12:22:41 +02:00
Damian Wrobel
e14bf940c4 Fix tests/hard-limits
-Fixes various python errors.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 12:21:17 +02:00
Damian Wrobel
edb9a2afa0 Fix tests/interp/bad
Fixes the following errors:
  File "test", line 6
    print("#", t, file=sys.stderr)
                      ^
SyntaxError: invalid syntax
  File "test", line 6
    print("# {}".format(t), file=sys.stderr)
                                ^
SyntaxError: invalid syntax

Sorry: TabError: inconsistent use of tabs and spaces in indentation (test, line 16)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 12:20:00 +02:00
Damian Wrobel
520648b3e8 Fix tests/interp/subroutine-return
Fixes:
  File "./test-ui.py", line 56
    print "failed to start interpreter, interp_state is", e.s.interp_state

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-24 09:43:04 +02:00
Phillip Carter
6e7da981d2 Merge branch '2.8' 2020-04-24 14:50:28 +10:00
Phillip Carter
2cd7f1fd52 plasmac: change some spinbutton precision in run panel 2020-04-24 14:44:37 +10:00
Phillip Carter
a96e553330 plasmac: fix adding new material 2020-04-24 14:40:54 +10:00
Phillip Carter
e1c614ffaf plasmac: gcode parser remove leading zeros for material number 2020-04-24 14:40:10 +10:00
Phillip Carter
8eb3ac6b29 plasmac: fix shape library hole centres and cut speed 2020-04-24 12:55:30 +10:00
Phillip Carter
decc583a8b docs: change plasma primer image sizes 2020-04-24 11:59:30 +10:00
Damian Wrobel
95d8c2e062 Fix tests/interp/python/error
Fixes:
 File "canon.py", line 17
    print "%-17s %s" % (attr, " ".join(args))
                   ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:40:11 +02:00
Damian Wrobel
2598ccd10c Fix tests/interp/oword-mdi-sub-update
Fixes:
   File "./test-ui.py", line 3, in <module>
    import linuxcnc
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString
link (updating variable file): No such file or directory

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:39:11 +02:00
Damian Wrobel
385559e9e6 Fix tests/interp/mdi-oword-m66
Fixes:
  File "./test-ui.py", line 49
    print "ended at wrong location (did O-call terminate with error?)"
                                                                     ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:38:20 +02:00
Damian Wrobel
42888b4af0 Fix tests/interp/m98m99/12-M99-endless-main-program
Traceback (most recent call last):
  File "./test-ui.py", line 3, in <module>
    import linuxcnc
ImportError: /home/sw/projects/machinekit/linuxcnc/lib/python/linuxcnc.so: undefined symbol: PyString_FromString

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:37:35 +02:00
Damian Wrobel
857aafa0d7 Fix tests/interp/good
Fixes:
  File "./test", line 6
    print("#", t, file=sys.stderr)
                      ^

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:36:39 +02:00
Damian Wrobel
f22051f432 Fix tests/hm2-idrom
- Fixes various python errors.
 - Make test.sh executable.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 20:34:26 +02:00
ALatSMT
09705cc425
pyvcp_widgets-jogwheel-patch-2
added scaled output to the dro patch-2
2020-04-23 12:24:33 -04:00
Damian Wrobel
e04c18ff59 Fix tests/halui/jogging
Fixes the following errors:
 File "test-ui.py", line 22
    print "%.3f: %s" % (delta_t, msg)
                   ^
SyntaxError: invalid syntax

  File "test-ui.py", line 285
    print "%s starting at %.3f" % (name0, start_position0)
                              ^
SyntaxError: invalid syntax

  File "test-ui.py", line 294
    print "jogging %s positive using the private per-joint jog pins" % name0
                                                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("jogging %s positive using the private per-joint jog pins" % name0)?

  File "test-ui.py", line 302
    print "%s did not start jogging" % name0
                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s did not start jogging" % name0)?

  File "test-ui.py", line 310
    print "jogging selected joint (%s) negative" % (name1)
                                               ^
SyntaxError: invalid syntax

  File "test-ui.py", line 319
    print "%s did not start jogging" % name1
                                   ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s did not start jogging" % name1)?

  File "test-ui.py", line 349
    print "%s stopped jogging" % name0
                             ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("%s stopped jogging" % name0)?

  File "test-ui.py", line 366
    print "stopping jog"
                       ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("stopping jog")?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 17:08:35 +02:00
Damian Wrobel
6a7b3a8333 Fix tests/ccomp/early-exit
Fixes the following error:
  File "test-ui.py", line 70
    print "position:", s.position
                    ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("position:", s.position)?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-23 16:54:56 +02:00
Phillip Carter
759ec2dbe0 Merge branch '2.8' 2020-04-23 15:30:42 +10:00
Phillip Carter
978c016d55 plasmac: material handling
fix some error handling
display materials in ascsending order
use active material as base for a new material
2020-04-23 15:29:32 +10:00
Phillip Carter
b4c95197ff plasmac: document updates 2020-04-23 15:29:32 +10:00
andypugh
8f409228ad xhc-whb05b-6: This driver is cursed.
(And I managed to mark the manual merge conflict as resolved before saving
the file)

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 23:55:33 +01:00
andypugh
26e90060a2 Merge branch '2.8'
Mainly reducing build noise
2020-04-22 23:47:05 +01:00
Damian Wrobel
ecae0448e7 Fix tests/halmodule.1
Fixes python errors, e.g;
 File "/home/sw/projects/machinekit/linuxcnc-rip/lib/python/hal.py", line 30, in <module>
    import _hal
ImportError: /home/sw/projects/machinekit/linuxcnc-rip/lib/python/_hal.so: undefined symbol: _Py_ZeroStruct

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 21:49:06 +02:00
Damian Wrobel
8651d13128 Fix tests/halmodule.1
Fixes python errors, e.g;
 File "/home/sw/projects/machinekit/linuxcnc-rip/lib/python/hal.py", line 30, in <module>
    import _hal
ImportError: /home/sw/projects/machinekit/linuxcnc-rip/lib/python/_hal.so: undefined symbol: _Py_ZeroStruct

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 21:46:50 +02:00
Damian Wrobel
4ba62904f5 Fix tests/build/header-sanity
Fixes the following error in case where the libtirpc is used
as an RPC implementation provider:

+ g++ -std=c++0x -DULAPI -I/home/sw/projects/machinekit/linuxcnc-rip/include -E -x c++ /home/sw/projects/machinekit/linuxcnc-rip/include/cms_xup.hh
/home/sw/projects/machinekit/linuxcnc-rip/include/cms_xup.hh:19:10: fatal error: rpc/rpc.h: No such file or directory
   19 | #include <rpc/rpc.h>  /* struct XDR */
      |          ^~~~~~~~~~~

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 21:34:33 +02:00
Damian Wrobel
e928254203 tirpc 2020-04-22 21:31:34 +02:00
Damian Wrobel
86243ae5df Fix running travis-install-build-deps.sh
Fixes error:
    grep: /etc/apt/sources.list.d/*: No such file or directory
 which happens when you run:
    $sudo scripts/travis-install-build-deps.sh
in an official ubuntu:16.04 docker image.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 20:57:03 +02:00
Damian Wrobel
56b91210e3 Fix tests/halmodule.0
Fixes various python errors e.g.:
  File "<stdin>", line 14
    print "set", p, v, h[p]
              ^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("set", p, v, h[p])?

Fixes python code to be python2 and python3 compatible.
Extract the code to a separate file to be able to check the python
syntax easily. Verified with both:
 $ python2 -m py_compile test.py
 $ python3 -m py_compile test.py

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 20:21:17 +02:00
Damian Wrobel
b3d6e93905 Fix tests/abort/feed-rate
Fixes the following errors:

  File "./test-ui.py", line 69
    print "feed rate:", s.settings[1]
                     ^
SyntaxError: Missing parentheses in call to 'print'.
Did you mean print("feed rate:", s.settings[1])?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 19:16:28 +02:00
Damian Wrobel
f0608db0c6 Fix threads.0 test
Fixes errors when the unversioned python
interpreter defaults to python3.

Fixes the following errors:
  File "/home/sw/projects/machinekit/linuxcnc/tests/threads.0/checkresult", line 6
    print "result contained %d lines, not the expected 3500 lines!" % (len(l))
                                                                  ^
SyntaxError: invalid syntax
*** /home/sw/projects/machinekit/linuxcnc/tests/threads.0: FAIL: checkresult exited with 1

  File "tests/threads.0/checkresult", line 7
    raise SystemExit, 1 # failure
                    ^
SyntaxError: invalid syntax

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 19:02:17 +02:00
Damian Wrobel
95505200d3 Fix compiling strsep() for uspace
Adds a missing #ifdef guard to avoid a clash
with strsep() from <string.h>.

Fixes the following error:
Compiling rtapi/test_rtapi_vsnprintf.c
                 from rtapi/rtapi_string.h:41,
                 from rtapi/vsnprintf.h:41,
                 from rtapi/test_rtapi_vsnprintf.c:19:
rtapi/vsnprintf.h:485:7: error: expected identifier or ‘(’ before ‘__extension__’
 char *strsep(char **s, const char *ct)
       ^
rtapi/vsnprintf.h:485:7: error: expected identifier or ‘(’ before ‘)’ token
 char *strsep(char **s, const char *ct)
       ^
make: *** [objects/rtapi/test_rtapi_vsnprintf.o] Error 1

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-22 18:32:24 +02:00
andypugh
0f0db6ac2b Docs: There is no sub-level 5 in the docs
So ==== will work locally in asciidoctor (for example) but will trigger
warnings building a docs package


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 17:17:27 +01:00
ALatSMT
c3c07e4440
optional options for jogwheel
added optional dro with reset pin called clear_pin also key binding rest
added optional text
added optional scale_pin 
added color tags for active and background
2020-04-22 11:49:25 -04:00
andypugh
5637b7ec96 cpuinfo: Another compiler warning
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 15:47:24 +01:00
andypugh
30dd206afc bldc_hall3: Remove bldc_hall3 as it is more than replaced by bldc.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 14:29:51 +01:00
andypugh
7135ea4d5e xhc_whb04b-6 - simplify docs formatting so that PDF and HTML work.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 14:29:51 +01:00
Dewey Garrett
805dfff66c Merge branch 2.8 to master 2020-04-21 18:32:28 -07:00
Dewey Garrett
4aed3e262e twopass.tcl: improve conflict word handling
Halcmd commands 'list' and 'gets' conflict with normal tcl commands.
Improve handling in hal_to_tcl proc:
  list: puts to stdout
  gets: error (since unexpected in a conventional halfile)

Update tests/twopass*/ to
  a) use 'list' not 'show' to preclude possibly variable Owner id
  b) list more hal items for completeness
2020-04-21 18:25:22 -07:00
Dewey Garrett
f3c6832bff teach-in.py print for multispindle default spindle
was: failing to print as s.spindle_enabled no longer valid
is:  prints 'enabled' for the default (0) spindle only
2020-04-21 18:25:22 -07:00
Dewey Garrett
5c7396f934 homing.c absolute encoder dont set homed until
state is HOME_FINISH
when HOME_ABSOLUTE_ENCODER == 1 (final move requested)

(seldom used as no final move is most common method)
2020-04-21 18:25:22 -07:00
Dewey Garrett
72515eac97 dh-parameters.txt doc (with graphics for rv-6sl)
Credit to forum contributor: Aciera
2020-04-21 18:25:21 -07:00
andypugh
cac12e2952 Merge branch '2.8' 2020-04-22 02:17:29 +01:00
andypugh
dc0334a649 xhc-whb04b-6: add generated files to .gitignore
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 02:16:26 +01:00
andypugh
bdeac447aa xhc-whb04-6: Marginally improve manpage formatting
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 01:56:45 +01:00
andypugh
4da8c1410e Build: Silence some more compiler warnings.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-22 01:56:45 +01:00
Jeff Epler
8ef90ec679 Merge branch '2.8-lintian-fix' into 2.8 2020-04-21 19:48:33 -05:00
andypugh
45ed24bd63 Squash many compiler warnings.
Mainly truncation warnings, but a couple of others too.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-21 21:17:07 +01:00
andypugh
6cb796cab2 Build cleanup: sort out some docs building warnings.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-21 20:36:03 +01:00
Jeff Epler
83b8cdc1c0 update_ini: move into src/ so it gets #!-mangling done 2020-04-21 08:51:08 -05:00
Phillip Carter
d4d1e02da8 axis: active gcodes not showing 2020-04-21 14:47:56 +10:00
Phillip Carter
91b4c2f269 Merge branch '2.8' 2020-04-21 14:46:54 +10:00
Phillip Carter
e5ef64bccf plasmac: user guide update 2020-04-21 14:43:41 +10:00
Phillip Carter
667eac6b8b docs: change some image sizes for a better fit 2020-04-21 14:43:41 +10:00
Rene Hopf
f5a9574534
Merge pull request #748 from dwrobel/linuxcnc-dw-fix-4
Fix readline v5 GPL-2 license compatiblity checking
2020-04-20 22:32:31 +02:00
Damian Wrobel
06cb2975f8 Fix readline v5 GPL-2 license compatiblity checking
On gcc 9.3 the readline test reports false positive failure:

  checking whether readline license is compatible with GPL-2... no

due to the following compilation error:

In file included from /usr/include/readline5/readline/readline.h:36,
                 from conftest.c:51:
/usr/include/readline5/readline/rltypedefs.h:65:28: error: unknown type name 'FILE'
   65 | typedef int rl_getc_func_t PARAMS((FILE *));
      |                            ^~~~~~
In file included from /usr/include/readline5/readline/readline.h:37,
                 from conftest.c:51:
/usr/include/readline5/readline/rltypedefs.h:1:1:
  note: 'FILE' is defined in header '<stdio.h>'; did you forget to '#include <stdio.h>'?

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-20 22:18:00 +02:00
fd455aa7d2 Remove lines that have no effect 2020-04-20 11:55:58 +01:00
d2faf2475f Move libs last in link line 2020-04-20 11:55:40 +01:00
andypugh
0558a25c30 Statetags: Skip the abort/g64 test (It might be meant to fail)
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-20 03:56:13 +01:00
andypugh
5cb4a18e00 statetags: Fix some runtests
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-20 03:23:42 +01:00
andypugh
53a13f4d5e statetags: Fix some merge conflict manual resolution errors.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-20 01:17:21 +01:00
John Morris
52ce7c9aef Update tests after merge with master
- Add `SET_NAIVECAM_TOLERANCE` to expected output in `tests/interp/g84/*`
  - From post-abort restore G64 settings work in #283
- Update sequence numbers in `tests/motion-logger/startup-gcode-abort`
  - State tags restore sequence number

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:58:51 +01:00
John Morris
2928d14fb3 G64 tolerance fixes
Following the work of the previous commit, "Restore G61/G61.1/G64
state after abort," this patch addresses additional issues with G64
tolerances:

- Update tolerance settings after changing units with G20/G21

- Save and restore tolerance settings after canned cycles; affected
  regression tests are updated

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:58:51 +01:00
John Morris
6bc4a2a431 Restore G61/G61.1/G64 state after abort
After abort, restore motion control mode and blend/naive CAM
tolerances to state of last executing motion before the abort.  This
depends on Rob Ellenberg's state tags work.

The `state_tag_t` struct keeps integer settings in an array, indexed
by the `StateField` enum.  Introducing the `G64 P* Q*` tolerances adds
two more `float` types to the existing two for feed and speed.  This
patch packs those all into a new array of floats, indexed by a new
enum, to simplify handling.  These new floats are exposed in the
python module `status.settings` attribute, positions 3 and 4.

Restoring this state has two parts.  The motion control mode
G61/G61.1/G64 would have been handled by `Interp::gen_g_codes()`, and
the G64 blend/naive CAM tolerances would have been handled by
`Interp::gen_settings()`.  However, a switch from G61/G61.1 to G64 and
a simultaneous switch of P/Q tolerance values cannot be done with two
independent functions.  Therefore, `gen_g_codes()` has been merged
into `gen_settings()` in order to handle this special case.

To keep the tolerances updated during program execution, they are
added to the `Interp::synch()` function.

To restore the naive CAM tolerance, a new function
`GET_EXTERNAL_MOTION_CONTROL_NAIVECAM_TOLERANCE()` is introduced,
parallel to `GET_EXTERNAL_MOTION_CONTROL_TOLERANCE()` for blend
tolerance.

This patch fixes #177, "Forgetting G64 mode after E-stop," and one of
the remaining issues in #134, "Updating `state-tags-master` branch for
acceptance into LinuxCNC."

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:58:50 +01:00
John Morris
3bb1439a9b Fix state restore after abort
`emcTaskStateRestore()` calls `restore_from_tag()` to generate a G
code block, and executes it.  If immediately followed by
`emcTaskAbort()`, any items appended to the interpreter queue will be
cleared before they are ever issued.

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:49:16 +01:00
John Morris
10aa816778 Fix state tags restore of G61/G61.1
Fixup for bb3f193f, "motion/interp: Massive overhaul to insert state
tags at all levels."

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:49:16 +01:00
John Morris
7fb3f8605e g64 after abort test
This test runs and aborts a test .ngc program several times with
various blend mode and tolerance settings.  At various points at
execution, it compares expected and active settings for blend mode
(using the status buffer) and blend tolerances (using X coordinates
collected by halsampler).

This test replicates Github Issue #177.

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:49:16 +01:00
John Morris
41dc40e6a0 tests/motion-logger: .gitignore generated artifacts
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:49:16 +01:00
Sebastian Kuzminsky
1680847a9e tests: re-enable startup-gcode-abort and statbuffer-g5x-abort
These both work now.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-19 21:47:44 +01:00
Sebastian Kuzminsky
91741809f0 tests: update startup-gcode-abort test for state-tags
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-19 21:47:44 +01:00
Chris Radek
26aeab962d Add G92.2,3 to Active Gcodes, state tags, etc.
This puts G92.1, G92.2 and G92.3 in group 16 in order to show in Active GCodes
whether G92 is currently applied.  The readout only ever shows G92.2 and G92.3,
since G92.1 is a special case of G92.2.

Wheter G92 is applied (aka variable 5210) is added to the state tags, and
restored on abort.

Previously, aborting a program that used G92 offsets would give you unapplied
G92, contrary to expectations.

Signed-off-by: Chris Radek <chris@timeguy.com>
2020-04-19 21:47:44 +01:00
Chris Radek
0b42facc53 Let AXIS set the new state tag debug flag
Signed-off-by: Chris Radek <chris@timeguy.com>
2020-04-19 21:45:14 +01:00
Robert W. Ellenberg
4cf099b0b7 Refactor to write canon state tag with a single function
Use one function to write to canon, instead of 3. The original idea was
to have the state tag live longer, possibly as a replacement for the
interpreter's internal state, but this didn't really pan out. Instead,
we create them on demand, so it might as well be a single function call.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:45:14 +01:00
John Morris
f244415b0a statbuffer-g5x-abort test updates
Clarify pre-state tags abort bug: after point of abort in program,
switch to G56 and throw in queue buster; this shows that the problem
is one of interp running ahead of motion, not one of incomplete
clean-up by abort functions.

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:42:33 +01:00
John Morris
5a2f3b5398 Pedantic no-op: wrap long lines and indent code
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:42:33 +01:00
John Morris
207d91bb4a State tag debug messages
- State tag debugging `EMC_DEBUG_STATE_TAGS` flag and `logStateTags()`
  macro
- `print_state_tag()` prints some state tag contents when debug flag
  set
- Add debugging messages to state tags code

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
John Morris
4f040bfb64 Change licenses to GPLv2+
Change licenses to GPLv2+ for the following files, as approved by the
author Rob Ellenberg in LinuxCNC GitHub issue #134:

  src/emc/motion/state_tag.h
  src/emc/rs274ngc/modal_state.cc
  src/emc/rs274ngc/modal_state.hh

[1]: https://github.com/LinuxCNC/linuxcnc/issues/134

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Daniel Rogge
6212e3552e Unbreak tag restore when aborting before queue buster
(Original commit log)

State tag restore: fix issue where a queuebuster flag prevented a
vaalid tag from being restored (bitbucket issue #1015)

(cherry picked from commit 1f1011b18a043212e6cdf1153fc57a55b9e2a26f)
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
f2439a5ab1 tp: Added missing tag in rigid tap initialization
(cherry picked from commit 5640f2e56684235cd90ef7d769283ba932132572)
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
John Morris
d960992889 Fixup ba287609: 'TP_STRUCT' has no member 'tc_completed'
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
35ad86fed2 tp: Make sure tpClear clears all ID-related fields
The new fields added to TP that store completed ID and current state tag
should be reset when the TP is cleared.

(cherry picked from commit 70e1b624a28b6ec16c284357cefc63a8473574ec)
Signed-off-by: John Morris <john@zultron.com>

Conflicts:
	src/emc/tp/tp.c
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
0eadb5778b statetag: added additional flags to prevent restoring interp state if aborted mid-remap
(cherry picked from commit 2be1b35697218341f1204146db7d60cf7c32166b)
Signed-off-by: John Morris <john@zultron.com>

Conflicts:
	src/emc/rs274ngc/interp_write.cc
	src/emc/task/emctaskmain.cc
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
8476b0952b interp: check for valid tag before restoring
(cherry picked from commit 1ccab93b4bae9b6ecaee6ed3fd049568b8f9baf4)
Signed-off-by: John Morris <john@zultron.com>

Conflicts:
	src/emc/rs274ngc/interp_convert.cc
2020-04-19 21:29:11 +01:00
Chris Radek
e34f1bc8de Remove duplicate state_tag.h causing packaging failure
Signed-off-by: Chris Radek <chris@timeguy.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
574c437cbd state_tag: Better copy constructor definition
The StateTag copy constructor more elgantly copies the state_tag_t internals,
and initializes the bitset based on the packed flags.

(cherry picked from commit cab591735e91b4394203b47a919df1477d1fc749)
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
d49db0dce5 task: fix for state tag affecting status during MDI
We now explicitly check for AUTO mode before pulling state information
from motion, to prevent user interface stutter during MDI commands.

(cherry picked from commit d81169f5210a8f1d2a3069274a4765aaea6a5393)
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
b51601a683 interp: don't restore M codes on abort, and ensure that tool compensation is reset on abort
This further prevents odd behavior on abort by preventing M code changes
from triggering M words in the restore command.

(cherry picked from commit 28007aaa77509fe45118959522fd3307539b3b90)
Signed-off-by: John Morris <john@zultron.com>

Conflicts:
	src/emc/rs274ngc/interp_convert.cc
2020-04-19 21:29:11 +01:00
John Morris
1d7761f081 Print emcTaskStateRestore() failure messages
`restore_from_tag()` can fail; print failure message so
`emcTaskStateRestore()` breakage isn't so mysterious.

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
fe50b98fde task: call state restore only on actual abort
This also adds additional safeguards to make sure that motion is aborted
before any state restoration, so that it's not possible for any
interpreter restore commands to make it down to motion. While likely
overkill, this will help prevent hard-to-test-for race conditions.

(cherry picked from commit 92ca9e2292dc55e0d0a6e86ad1a2b76c3337a276)
Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
3edb9ffd41 Fix for header sanity test
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
3e26a13e24 statetag: fixes to prevent potential errors
1) Add error checks to prevent using an empty state tag as a source of stat information
2) Create virtual function for restore_from_tag to eliminate dangerous
pointer cast

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
cf28582fb2 Revert "statetag: optimize tag size using int16's"
This reverts commit 10bd7c50e78fcc97d4b0cb0ef339071e2e7d84f6.

[Note from rebaser: Don't trust this commit message without checking
 carefully - I think it's not an exact reversion because this commit
 changes interp_convert.cc but the original doesn't.  -cradek]

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
87b9cb9f72 statetag: check for invalid line on state restore
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
f8f9b3a35a interp: Added a method to restore state on abort
The state tag changes show the "current" state according to motion.
However, an early abort will cause the displayed modes to suddenly
switch to the actual interpreter state. This could be confusing to a
user, so we call a restore method on abort that pulls the latest state
tag from motion and unpacks it into a usable state.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
135ff13137 statetag: optimize tag size using int16's
Since G-Codes are represented internally as 10*N (N=0-99), one of these
codes can fit in a 16 bit int, and save a few bytes. Since the line
number needs to be a 32 bit int, this is broken out as a separate field.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
John Morris
7e22761eb6 Fixups for previous commit, 'motion/interp: Massive overhaul'
- Restore deleted `set_line_number()` call for `STRAIGHT_TRAVERSE()`
- Add missing `UPDATE_TAG()` to `interp/compile` test
  - `use-rs274.cc` must implement `emc/nml_intf/canon.hh`
- Remove unused function

Signed-off-by: John Morris <john@zultron.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
26f8bef104 motion/interp: Massive overhaul to insert state tags at all levels.
This commit implements state tags at all levels. State tags contain a
snapshot of the interpreter state that rides along with a motion
command. This way, we can easily determine what the interpreter state
was at the time the motion was generated. This tag in principle can be
extended arbitrarily, though the size should be kept to a minimum.

Interp: generate state tags before calling a canon command that produces
a motion. Right now this is done by manually creating a tag before it's
needed.

Canon: Keeps a local copy of the state tag, which is updated by a
dedicated canon command. This tag is added to any outgoing motion, and
it's Interp's responsibility to keep it up to date. Ideally, canon
wouldn't have to deal with this at all, and the tag would be an argument
to canon commands (or packed into an appropriate structure).

Task/NML: State tags are included in the NML messages for motion
commands. HOWEVER, "update" methods are NOT implemented, because motion
messages are never actually transmitted via NML when Task / Motion are
on the same machine. In this case, the NML message is just a holding
tank for motion data, which is eventually copied into motion shared
memory.

Motion / TP: The state tag is included as an additional argument, but is
otherwise unused currently. Pretty much all that happens here is that
the tag is copied into the TC_STRUCT, and the currently executing
segment's tag is copied into motion's status output.

Status: If motion is running, it reports a state tag through
EMC_TRAJ_STAT. Task unpacks this into the appropriate active_g/m_codes
in emcStatus, so that UI's see the active state corresponding to the
motion. If motion is not running, then the active state shown is copied
directly from interp, as before.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:29:11 +01:00
Robert W. Ellenberg
092ca6f385 interp/motion: state tag classes to pack interp state into a minimal-length struct
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:10:40 +01:00
Robert W. Ellenberg
672e18c6bf test: added test case to show limitations of displaying active state.
The included test case shows the wrong active G-Codes (for example, the
work offset will always show G56, even though this is only active for
the last 3rd of the program).

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2020-04-19 21:05:45 +01:00
Jeff Epler
cfeb7e0236 axis: move interpreter state so it is always visible
Signed-off-by: Chris Radek <chris@timeguy.com>
2020-04-19 21:05:45 +01:00
Sync
5acadaad1d fix div by zero in classicladder 2020-04-19 20:46:19 +02:00
Rene Hopf
8d0ed92831
Merge pull request #746 from Sync-/master
fix div by zero in classicladder
2020-04-19 20:45:48 +02:00
Rene Hopf
2a9b6239be Merge branch 'master' of github.com:LinuxCNC/linuxcnc 2020-04-19 20:39:54 +02:00
Rene Hopf
3765decc86 Merge branch '2.8' 2020-04-19 20:39:26 +02:00
1ef197bf15 xhc-whb04b-6: Use C++ compiler to link C++ programs 2020-04-19 19:21:03 +01:00
andypugh
044f05293e XHCWHB04B06: Simply don't try to compile for gcc < 4.7.0
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-19 19:16:19 +01:00
andypugh
32238c5e99 XHC-WHB04B-6: Fix compile on Wheezy
Signed-off-by: andypugh <andypugh@localhost.localdomain>
2020-04-19 19:15:59 +01:00
Rene Hopf
e287041c0d Merge branch 'master' of https://github.com/alkabal/linuxcnc into alkabal-master 2020-04-19 19:15:33 +01:00
Sync
0e039fe406 fix div by zero in classicladder 2020-04-19 19:43:21 +02:00
andypugh
896d42c59a XHCWHB04B06: Simply don't try to compile for gcc < 4.7.0
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-19 18:42:12 +01:00
Rene Hopf
dab2a051b3
Merge pull request #744 from LinuxCNC/2.8-pocket-fix
2.8 pocket fix
2020-04-19 19:16:15 +02:00
Rene Hopf
4c1e421fb8
Merge pull request #742 from LinuxCNC/compiler-fixes
Reduce use of sprintf, strcpy and strcat
2020-04-19 19:15:49 +02:00
Rene Hopf
6ba46eba26 fix typo 2020-04-19 18:03:00 +02:00
Rene Hopf
589a642228 interp_read.cc: Use strncpy 2020-04-19 18:01:05 +02:00
Rene Hopf
c9859a4203 fix allocator sizeof operand mismatch 2020-04-19 17:30:51 +02:00
Rene Hopf
d3d80e22be fix uninitialized variables reported by clang 2020-04-19 17:29:55 +02:00
andypugh
1a45c756ff XHC-WHB04B-6: Fix compile on Wheezy
Signed-off-by: andypugh <andypugh@localhost.localdomain>
2020-04-19 15:33:49 +01:00
Rene Hopf
cc8c89ea59 fix null pointer dereference in halrun -f
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-19 15:47:13 +02:00
Rene Hopf
e234998e1a
Merge pull request #745 from havardAasen/master
Fix some lintian complaints
2020-04-19 14:25:28 +02:00
Chris Morley
c9e34c294c Merge branch '2.8' 2020-04-19 01:31:42 -07:00
Chris Morley
612538f385 qtvcp -docs: add HAL to button's available python commands.
now you can call into the python module
2020-04-19 01:30:14 -07:00
Chris Morley
33ddadfb01 qtvcp -simple widgets: add HAL as apython command option
using button to directly call the HAL python mosule is very useful.
2020-04-19 01:30:14 -07:00
Phillip Carter
3862209284 Merge branch '2.8' 2020-04-19 11:32:19 +10:00
Phillip Carter
be6e721dfe plasmac: fix component name documentation 2020-04-19 11:31:29 +10:00
Chris Morley
b9f4cc3227 qtvcp -update docs 2020-04-18 14:56:49 -07:00
Chris Morley
80439c65a1 qtvcp -fix crashes in action button plugin
if status action selection was None
2020-04-18 14:56:32 -07:00
Chris Morley
74ea7476f3 qtvcp -update docs 2020-04-18 14:41:19 -07:00
Chris Morley
a8fcbd2378 qtvcp -fix crashes in action button plugin
if status action selection was None
2020-04-18 14:18:21 -07:00
Håvard Flaget Aasen
a8f7bd182c Add doc-base files to debian package 2020-04-18 23:16:18 +02:00
Håvard Flaget Aasen
c108377bb2 Some more spelling errors reported by lintian 2020-04-18 23:16:00 +02:00
Rene Hopf
91cb49657c fix uninitialized variables reported by clang
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-18 23:13:58 +02:00
7598146107 rtapi_string.h: include rtapi.h unconditionally
.. we will unconditionally need RTAPI_BEGIN/END_DECLS soon
2020-04-18 19:47:57 +02:00
f5c478fc7a src/libnml/cms: use rtapi_strxcat 2020-04-18 19:44:38 +02:00
12a4284e0e src/hal/utils: use rtapi_strxcat 2020-04-18 19:44:29 +02:00
666e904e9c src/hal/classicladder: use rtapi_strxcat 2020-04-18 19:44:23 +02:00
f9c5622998 src/emc/usr_intf: use rtapi_strxcat 2020-04-18 19:44:17 +02:00
0abe7bdb71 src/emc/task: use rtapi_strxcat 2020-04-18 19:44:10 +02:00
ca9866cd9f src/emc/rs274ngc: use rtapi_strxcat 2020-04-18 19:44:04 +02:00
ce99b7e359 src/emc/iotask: use rtapi_strxcat 2020-04-18 19:43:58 +02:00
4234878df8 rtapi_string: provide rtapi_strlcat, rtapi_strxcat 2020-04-18 19:43:52 +02:00
a1be83c1ca src/libnml: Use rtapi_strxcpy 2020-04-18 19:43:46 +02:00
009b4e7771 sc/hal/utils: Use rtapi_strxcpy 2020-04-18 19:43:31 +02:00
16995112b5 src/hal/user_comps: Use rtapi_strxcpy 2020-04-18 19:43:25 +02:00
af0cdd86a3 src/hal/drivers: Use rtapi_strxcpy 2020-04-18 19:43:19 +02:00
4e8321bf4d src/hal/classicladder: Use rtapi_strxcpy 2020-04-18 19:43:01 +02:00
67954ff9d3 src/emc/usr_intf: Use rtapi_strxcpy 2020-04-18 19:37:08 +02:00
dc3ce17d20 src/emc/task: Use rtapi_strxcpy 2020-04-18 19:37:02 +02:00
379797c44c src/emc/sai: Use rtapi_strxcpy 2020-04-18 19:36:53 +02:00
8ac0ad1c32 src/emc/rs274ngc: Use rtapi_strxcpy 2020-04-18 19:36:39 +02:00
3000613609 src/emc/nml_intf: Use rtapi_strxcpy 2020-04-18 19:36:00 +02:00
81a12c59ab src/emc/iotask: Use rtapi_strxcpy 2020-04-18 19:35:53 +02:00
05945b1658 src/emc/ini: Use rtapi_strxcpy 2020-04-18 19:35:37 +02:00
19b6de210c rtapi_string.h: Provide rtapi_strxcpy 2020-04-18 19:35:23 +02:00
b0808e7fd2 rtapi_string.h: Add 'rtapi_strlcpy' 2020-04-18 19:33:53 +02:00
cba7d68bc8 uspace_rtapi_app.cc: use snprintf 2020-04-18 19:33:38 +02:00
e58f602bd6 rtai_ulapi: use snprintf 2020-04-18 19:33:32 +02:00
e155ce0f50 procfs_macros.h: use snprintf 2020-04-18 19:33:26 +02:00
31472d2350 _shm.c: use snprintf 2020-04-18 19:33:18 +02:00
79b8c3d58a nmo_mod.c: use snprintf 2020-04-18 19:33:06 +02:00
8923c8ad00 cms_dup.cc: use snprintf 2020-04-18 19:33:00 +02:00
52dfc4f913 scope.c: use snprintf 2020-04-18 19:32:53 +02:00
3f716a41e1 halrmt.c: use snprintf 2020-04-18 19:32:38 +02:00
8ce07db063 mb2hal_init.c: use snprintf 2020-04-18 19:32:31 +02:00
42a55c2fb9 hy_comm.c: use snprintf 2020-04-18 19:32:22 +02:00
00e0fd4098 hm2_7i90: Consistently use rtapi_outl 2020-04-18 19:31:47 +02:00
444a54c22b hm2_7i43.c: Consistently use rtapi_outl 2020-04-18 19:31:38 +02:00
34a4c31e4f hal_parport.c: consistently use rtapi_outb
.. otherwise, we risk a n implicit-function-declaration diagnostic
from the compiler.
2020-04-18 19:31:30 +02:00
263a074621 hal_parport.c: remove defunct comment 2020-04-18 19:31:18 +02:00
e5cf954365 header-sanity: Invoke the C++ compiler in C++11 mode
This will become necessary when using C++11 features in <rtapi_string.h>.
2020-04-18 19:30:35 +02:00
c0e21e7173 Makefile: error on implicit function declaration
.. we don't want a missing include of rtapi_string.h to be silent breakage
2020-04-18 19:29:54 +02:00
d246d8ea02 hostmot2: use snprintf 2020-04-18 19:25:26 +02:00
b8c6801a73 hostmot2: use snprintf 2020-04-18 19:15:56 +02:00
Rene Hopf
22ed7ddf0a fix typo while merging
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-18 19:11:12 +02:00
9ec86a1570 classicladder: use snprintf 2020-04-18 18:48:32 +02:00
df79a0663e sockets.c: use snprintf 2020-04-18 18:34:56 +02:00
6937d3d02e shcom.cc: use snprintf 2020-04-18 18:34:56 +02:00
bd77c83fba schedrmt.cc: use snprintf 2020-04-18 18:34:56 +02:00
e5c41b61f1 emcsh.cc: use snprintf 2020-04-18 18:34:56 +02:00
d036049190 emcsched.cc: use snprintf 2020-04-18 18:34:56 +02:00
58e4b907e8 emcrsh.cc: use snprintf 2020-04-18 18:34:56 +02:00
df55d9a241 emclcd.cc: use snprintf 2020-04-18 18:34:56 +02:00
21b0978627 emcmodule.cc: use snprintf 2020-04-18 18:34:55 +02:00
ac75ecda10 signalhandler.cc: use snprintf 2020-04-18 18:34:55 +02:00
9cc1c0c5f8 backtrace.cc: use snprintf 2020-04-18 18:34:55 +02:00
13a0c51ae1 rs274ngc_pre.cc: use snprintf 2020-04-18 18:34:55 +02:00
af3260b248 interp_read.cc: use snprintf 2020-04-18 18:34:55 +02:00
0957f8779e interp_namedparams.cc: use snprintf 2020-04-18 18:34:55 +02:00
1702a2adf6 python_plugin.cc: use snprintf 2020-04-18 18:34:55 +02:00
cc8aa5196a ioControl_v2.cc: use snprintf 2020-04-18 18:34:54 +02:00
300cd2fe4d inijoint.cc: use snprintf 2020-04-18 18:34:32 +02:00
cf7798be64 inijoint.cc: use snprintf 2020-04-18 18:33:10 +02:00
89362f3bec iniaxis.cc: use snprintf 2020-04-18 18:29:56 +02:00
Håvard Flaget Aasen
1959bd588b Rename man-page from gs2.1 -> gs2_vfd.1 2020-04-18 17:03:41 +02:00
Håvard Flaget Aasen
61ece71403 Change header on man page
Change header to be only one word and capitalize it.
2020-04-18 17:03:41 +02:00
Håvard Flaget Aasen
375fa9cea5 Fix spelling error reported by lintian 2020-04-18 17:03:41 +02:00
323a1e5adc unsupport old distros in master 2020-04-18 07:58:54 -05:00
Chris Morley
180c45a7a6 docs -add a bit more clarity about what homing points are referenced from 2020-04-17 23:08:52 -07:00
883d59aa64
Merge pull request #741 from jepler/master-actions
master branch: make actions build pass
2020-04-17 18:53:33 -05:00
677f490bac Merge remote-tracking branch 'origin/2.8' into master-actions 2020-04-17 18:35:11 -05:00
fda24ef0e2 Remove lines that have no effect 2020-04-17 18:34:21 -05:00
3621d79510 Move libs last in link line 2020-04-17 18:34:18 -05:00
c9ba78ce4f xhc-whb04b-6: Use C++ compiler to link C++ programs 2020-04-17 18:34:15 -05:00
ddea10c878 halcompile: allow "?:" ternary operations in array size calculations 2020-04-17 18:31:26 -05:00
bb8a5720e3
Merge pull request #739 from jepler/actions-2.8
This makes github actions succeed on 2.8.
2020-04-17 18:31:01 -05:00
6c425a9bf3 xhc-hb04: use C++ compiler to link C++ programs 2020-04-17 18:30:21 -05:00
7464d2a0a9 Build script fixes 2020-04-17 18:30:05 -05:00
andypugh
8e47d56c44 Runtests: fix test to suit new G43.2 error wording.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-18 00:17:54 +01:00
andypugh
43c59d5250 Merge branch '2.8' 2020-04-18 00:15:09 +01:00
Chris Morley
c00c2477b6 qtvcp -fix filepath/last program recording/retrieving
There is a difference between last_file_path and recent_path.
last file path is for preselecting the directory when loading/saving.
This was originally intended but the meaning got confused and
had a diffeent meaning fot the loading dialog then from the file manager widget.

It caused an eror when qtdragon reloaded a program after homing.

Now we separate them properly by using qtaxis' Recent_path_0'.

I regret originally using the word path rather then directory and filepath
So switch to using 'last_loaded_directory' and 'RecentPath_0'
also swicthed to 'last_saved_directory and 'RecentSavedPath'
2020-04-17 17:38:45 -05:00
andypugh
0229e4a7c3 Merge pull request #736 from jepler/2.8-rdstc-fix
Fix build for legacy RTAI kernels
2020-04-17 17:38:42 -05:00
Alec Ari
7b565eb231 Fix build for legacy RTAI kernels
Signed-off-by: Alec Ari <neotheuser@ymail.com>
2020-04-17 17:37:40 -05:00
andypugh
6faf506f58 tests: fix tests affected by [RS274NGC]FEATURES removal.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 17:37:22 -05:00
andypugh
1fa0b1acd9 Docs: correct INI config args to 1 and 0 from Y and N
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 17:37:16 -05:00
Rene Hopf
7f2508b529 remove limit of bits from weighted sum component
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-17 17:37:13 -05:00
Chris Morley
2e4c10e05e qtvcp -fix filepath/last program recording/retrieving
There is a difference between last_file_path and recent_path.
last file path is for preselecting the directory when loading/saving.
This was originally intended but the meaning got confused and
had a diffeent meaning fot the loading dialog then from the file manager widget.

It caused an eror when qtdragon reloaded a program after homing.

Now we separate them properly by using qtaxis' Recent_path_0'.

I regret originally using the word path rather then directory and filepath
So switch to using 'last_loaded_directory' and 'RecentPath_0'
also swicthed to 'last_saved_directory and 'RecentSavedPath'
2020-04-17 15:13:39 -07:00
andypugh
c491fc157d
Merge pull request #736 from jepler/2.8-rdstc-fix
Fix build for legacy RTAI kernels
2020-04-17 20:27:58 +01:00
andypugh
ea8f657d00 tests: fix tests affected by [RS274NGC]FEATURES removal.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 20:09:35 +01:00
andypugh
85cff77159 Docs: correct INI config args to 1 and 0 from Y and N
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 20:09:35 +01:00
Rene Hopf
f0bddf670d remove limit of bits from weighted sum component
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-17 20:57:40 +02:00
Rene Hopf
1395c1c520 Merge branch 'alkabal-master' into 2.8 2020-04-17 20:53:23 +02:00
Rene Hopf
783d402197 Merge branch 'master' of https://github.com/alkabal/linuxcnc into alkabal-master 2020-04-17 20:51:32 +02:00
andypugh
66f9da3b12 Docs: change some anchors and reword some statements
The optional interpreter features have been documented in the remap section
from when they were introduced, but have nothing to do with remap.
So, change the docs anchors to reflect this.
Also reword a reference to a behaviour that is now defaulted to on.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 18:44:39 +01:00
Jeff Epler
54ac429539 fix broken internal doc links 2020-04-17 18:44:39 +01:00
Jeff Epler
a91476910a docs: ini-config.txt: Fix stray markup 2020-04-17 18:44:39 +01:00
Jeff Epler
0668de7e12 docs: Fix spurious 'rm' error after a real error 2020-04-17 18:44:39 +01:00
Jeff Epler
8bd2a64101 Merge remote-tracking branch 'origin/2.8' 2020-04-17 12:39:19 -05:00
Jeff Epler
f48b02a183 Merge remote-tracking branch 'origin/2.7' into 2.8 2020-04-17 12:39:06 -05:00
f38f9c3f5b
Merge pull request #738 from jepler/github-travis-docs
travis CI (& github actions): build the docs
2020-04-17 12:38:53 -05:00
Jeff Epler
513c976130 travis CI: build the docs 2020-04-17 11:52:33 -05:00
Jeff Epler
012994ab43 Merge remote-tracking branch 'origin/2.8' 2020-04-17 11:49:18 -05:00
Jeff Epler
fcb8723f80 Merge remote-tracking branch 'origin/2.7' into 2.8 2020-04-17 11:48:44 -05:00
eeab513658
Merge pull request #737 from jepler/github-actions
GitHub actions
2020-04-17 11:42:09 -05:00
Jeff Epler
7fd4c39d89 travis-build-test: be verbose about tests 2020-04-17 11:25:39 -05:00
Jeff Epler
b8b3447c15 add github actions build 2020-04-17 10:52:49 -05:00
Alec Ari
b6ebb3dc96 Fix build for legacy RTAI kernels
Signed-off-by: Alec Ari <neotheuser@ymail.com>
2020-04-17 10:47:32 -05:00
andypugh
2df2871ba0 G43.2: Add the option to specify the additional offset directly.
G43.2 requires an H word to import offsets from the tool table. This patch
allows the additional offsets to be specified directly, for example in an
MDI window. This makes it behave as an incremental G43.1 as well as an
incremental G43.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 13:11:49 +01:00
andypugh
e8fedefd72 Merge remote-tracking branch 'origin/2.8'
Convert FEATURES in to individual INI file entries.
2020-04-17 12:53:28 +01:00
andypugh
74fc449101 FEATURES: Convert the [RS274NGC] FEATURES bitmask to INI entries
Also update the documentation, moving the details out of remap to ini-config
Update the update_ini script to convert existing FEATURES entries to the
new tags.
Change the default behaviour to enable INI and HAL access from G-code.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-17 12:45:06 +01:00
Phillip Carter
3fb20aeb2c add ohmic.comp plus supporting documentation 2020-04-17 11:06:08 +01:00
Phillip Carter
db3a15891c Merge branch '2.8' 2020-04-17 14:08:51 +10:00
Phillip Carter
2a09c64af3 plasmec: fix cutter compensation for shape library holes
linuxcnc doesn't allow digital out when cutter compensation is on so we 
do the compensation  for holes ourselves
2020-04-17 14:07:40 +10:00
Chris Morley
2b7557d8b4 Merge branch '2.8' 2020-04-16 14:51:02 -07:00
Chris Morley
9480bb42fd spindle.comp -fix compiling error 2020-04-16 14:48:50 -07:00
Chris Morley
fbb570ebad qtvcp -fix action button plugin for multispindle support
now the dialog presents the spindle number selector
2020-04-16 13:49:52 -07:00
Chris Morley
d32f05ae53 qtvcp -qtdragon: don't use HAL pins for stat uless you have to.
No need to make users connect pins if we can do it in the ui file.
2020-04-16 13:49:52 -07:00
affc260d25 hostmot2: add rcpwmgen support 2020-04-16 15:06:26 -05:00
Les Newell
ada79c6660 spindle.comp: Belatedly add Les Newell's multi-spindle gearbox comp.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-16 19:06:31 +01:00
72caf17a8d Merge remote-tracking branch 'origin/2.8' 2020-04-16 10:48:05 -05:00
Rene Hopf
093b3b085e
Merge pull request #720 from NTULINUX/master
Ignore test result files
2020-04-15 17:53:30 +02:00
Rene Hopf
95efae7f97
Merge pull request #729 from dwrobel/linuxcnc-dw-fix-2
Switch to use mktemp(1) instead of tempfile(1)
2020-04-15 17:12:28 +02:00
Rene Hopf
58f656e098
Merge pull request #730 from dwrobel/linuxcnc-dw-fix-3
Fix python errors in image-wildcart
2020-04-15 17:11:03 +02:00
Damian Wrobel
92c6c9edf8 Fix python errors in image-wildcart
Fixes the following issues:

 - TabError: inconsistent use of tabs and spaces in indentation
   -- File "image-wildcard", line 12
   -- File "image-wildcard", line 22

 - SyntaxError: invalid syntax
   -- File "./image-wildcard", line 58
   Above happens as the image-wildcard uses default python interpreter and
   on my system it's python 3.x:
   $ /usr/bin/env python --version
   Python 3.7.6

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-15 17:07:27 +02:00
Damian Wrobel
3cf7cf51ff Switch to use mktemp(1) instead of tempfile(1)
tempfile(1) is not available at all on Fedora while mktemp(1) is
part of the coreutils package available virtually on all Linux
distributions.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-15 17:06:38 +02:00
Chris Morley
8f21877ef3 qtvcp -macroTab: fix running macros with no variables
would error when parcing for no existant variables
2020-04-15 03:46:28 -07:00
Chris Morley
39ec2c04cf Merge branch '2.8' 2020-04-15 01:50:51 -07:00
Chris Morley
96de785279 qtvcp -qtdragon sims: don't use kinstype=BOTH if not needed
unless you have dual joint axes, you don't need it.
If someone uses it as a sample and wants NO_FORCE_HOMING -1 it will not be
obvious why it won't work.
2020-04-15 01:47:21 -07:00
Chris Morley
26cf82f9ad qtvcp -don't cancel jog if not in manual mode
If you are not in manual mode it's not possible to be jogging.
cancelling jog while in other modes floods operator with error messages.
Cause by a program that changes to/from metric mode.
This would cause the jogging increments widgets to reset their display,
which would cancel jogging.
2020-04-15 01:41:00 -07:00
Chris Morley
4eea7c0b24 qtvcp -fix macroTab to allow running without homing if allowed
Wasn't honouring NO_FORCE_HOMING=1
2020-04-15 01:23:10 -07:00
Phillip Carter
e190588c36 Merge branch '2.8' 2020-04-15 14:09:15 +10:00
Phillip Carter
3ff6144a7d plasmac: fix document link error 2020-04-15 14:08:25 +10:00
Phillip Carter
697b7d070d Merge branch '2.8' 2020-04-15 12:24:41 +10:00
Phillip Carter
854e6c5c84 plasmac: hole cutting enhancements
allow user to specify length of overcut on automatic holes
add overcut to hole shape library
2020-04-15 12:21:38 +10:00
Phillip Carter
c9620d0ab6 plasmac: fix pmx485 comms issue with error on startup 2020-04-15 12:18:35 +10:00
andypugh
21d7a94fcd
Merge pull request #727 from dwrobel/linuxcnc-python-shebang-fix
Fix ERROR: ambiguous python shebang
2020-04-14 17:37:07 +01:00
Damian Wrobel
2ae2fd77c6 Fix ERROR: ambiguous python shebang
Fixes the following sheband errors:
*** ERROR: ambiguous python shebang in
 /usr/bin/update_ini:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/plasmac_gcode.py:
 #!/usr/bin/python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/test/plasmac_test.py:
 #!/usr/bin/python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/configurator.py:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/M190:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/pmx485.py:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/pmx_test.py:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/by_machine/plasmac/materialverter.py:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/sim/gmoccapy/lathe_configs/lathehandler.py:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/vismach/VMC_toolchange/vmcgui:
 #!/usr/bin/env python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/vismach/rolfmill/rolfmill:
 #!/usr/bin/python. Change it to python3 (or python2) explicitly.
*** ERROR: ambiguous python shebang in
 /usr/share/doc/linuxcnc/examples/sample-configs/sim/axis/vismach/3axis-tutorial/3axis-tutorial:
 #!/usr/bin/python. Change it to python3 (or python2) explicitly.

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-14 18:19:55 +02:00
alkabal
a319b36185
revert bad axis.py 2020-04-13 01:17:02 +02:00
alkabal
ddd34c22e4
update readme 2020-04-13 01:13:06 +02:00
Chris Morley
0a80180da8 qtvcp -change error dialog button names for clarity.
Cancel was used to close and print error messages, ok to continue.
now abort and retry do the same respecively. I think that is clearer.
2020-04-12 07:58:35 -07:00
Chris Morley
8de47b06b4 qtvcp -qtDragon: fix error when clearing alarms
function signature was wrong
2020-04-12 07:41:49 -07:00
Chris Morley
c5b1ee9098 qtvcp -qtAxis add G53 to DRO tab
you can turn it off with a toolbar selection
2020-04-11 23:00:29 -07:00
alkabal
310922008d
update doc... 2020-04-12 05:10:19 +02:00
alkabal
8146b7bf07
XHC-WHB04B-6 Remove useless code + patch spindle
corrected toggle spindle direction 
start spindle with 100rpm speed
Redefine some name
Add spindle speed when button Spindle +/- stay pushed
Update doc
2020-04-12 05:06:44 +02:00
Phillip Carter
5a8a9e2240 Merge branch '2.8' 2020-04-12 12:52:35 +10:00
Phillip Carter
4d02811512 plasmac: reinstate arc ok high 2020-04-12 12:51:36 +10:00
alkabal
2cb93aea5f
delete bak file 2020-04-12 00:30:37 +02:00
alkabal
9b3043534c
XHC-whb04b-6 update help and exemple 2020-04-12 00:26:33 +02:00
Chris Morley
de7b8e196b Merge branch '2.8' 2020-04-11 09:15:32 -07:00
Chris Morley
1d751de957 qtvcp -qtDragon: use STATUS rather then STAT
be more consistant. I assume alot of people will modify qtDragon.
Now it matches examples in docs better.
2020-04-11 09:05:13 -07:00
Chris Morley
b34877e11c qtvcp -update code snippet docs 2020-04-11 09:05:13 -07:00
Phillip Carter
d9405ef74a Merge branch '2.8' 2020-04-11 17:59:55 +10:00
Phillip Carter
730d8549ca plasmac: changes to powermax communications 2020-04-11 17:59:08 +10:00
Alec Ari
cc330b1e0c Ignore test result files
Signed-off-by: Alec Ari <neotheuser@ymail.com>
2020-04-10 20:51:14 -05:00
andypugh
606b0ff6a3
Merge pull request #719 from NTULINUX/master
Fix build for legacy RTAI kernels
2020-04-11 02:44:30 +01:00
Alec Ari
fe5c80b5ab Fix build for legacy RTAI kernels
Signed-off-by: Alec Ari <neotheuser@ymail.com>
2020-04-10 20:41:27 -05:00
alkabal
beec0e439e
edit linuxcnc.files file for copying the xhc-whb04b-6 rules file 2020-04-11 01:00:42 +02:00
alkabal
46d595ef95
update exemple 2020-04-11 00:54:35 +02:00
alkabal
e860f0060a
add rules 2020-04-10 20:38:06 +02:00
Chris Morley
bd65b8124f qtvcp -update actions for mutispindle -1 command
-1 designates all spindles
2020-04-10 19:19:45 +01:00
Chris Morley
db3a0a8e41 motion -teach motion to command all spindles if num is -1 2020-04-10 19:19:45 +01:00
andypugh
0a0720b735 Merge branch '2.8' 2020-04-10 19:16:27 +01:00
andypugh
1721d32b8b
Fix unbalanced quote 2020-04-10 19:13:44 +01:00
andypugh
5f4485d945 Merge pull request #718 from NTULINUX/master
Updates for RTAI kernel 4.19 support
2020-04-10 17:43:13 +01:00
andypugh
5e30c8fe3f
Merge pull request #718 from NTULINUX/master
Updates for RTAI kernel 4.19 support
2020-04-10 17:38:02 +01:00
andypugh
43a2f08af0 Merge branch '2.8'
Incorporate fix for issue #717
2020-04-10 17:33:52 +01:00
andypugh
3c7abae2d3 Classicladder: remove inappropriate strings from translation list.
See https://github.com/LinuxCNC/linuxcnc/issues/717


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-10 17:31:19 +01:00
Alec Ari
90fdd0dfc0 Updates for RTAI kernel 4.19 support
Signed-off-by: Alec Ari <neotheuser@ymail.com>
2020-04-10 00:36:00 -05:00
Chris Morley
2f61aa58a2 Merge branch '2.8' 2020-04-09 20:41:28 -07:00
Chris Morley
ec411a428b qtvcp -add a couple sample mill related macros for macroTab 2020-04-09 20:39:50 -07:00
Chris Morley
34a1b06fad qtvcp -macroTab: don't show an entry if not needed 2020-04-09 20:39:50 -07:00
Chris Morley
af0ed847d0 qtvcp -update docs on macrotab
Where macrotab looks for macros.
how svg images are displayed by layers
2020-04-09 20:39:50 -07:00
Chris Morley
becdda12d7 qtvcp -macroTabs: make image files scale to the button 2020-04-09 20:39:50 -07:00
andypugh
da3c1c163c Multispindle: Allow setting of all spindles simultaneously
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-09 20:16:05 +01:00
andypugh
822db89fa9
Merge pull request #716 from cascade256/master
Update kernel version PREEMPT_RT check
2020-04-09 11:37:47 +01:00
cascade256
3742a36808 Update kernel version PREEMPT_RT check 2020-04-08 22:46:12 -07:00
andypugh
38df8f1b8d shuttle.c: make all pin names match the new component name.
Update the update_ini script to make the comversion.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-09 00:05:01 +01:00
andypugh
f5ced01ded shuttle.c: make all pin names match the new component name.
Update the update_ini script to make the comversion.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-09 00:05:01 +01:00
Chris Morley
0f4b2aecdd qtvcp -sys_notify: try to work around systems that don't work
Some systems are reported not working by throwing errors.
The notifications shouldn't stop the screen from working so we
work around them till we can fix them.
2020-04-08 14:25:34 -07:00
andypugh
31393285bd Multispindle: rationalise behaviour based on #713
Without a $ M3, M4 & M5 now act on spindle zero.
To act on all spindles use $-1

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-08 22:17:16 +01:00
alkabal
8cac9ec015
xhc-whb04b-6 updare example-configuration.md 2020-04-08 15:55:23 +02:00
alkabal
d8dfad55d2
XHC-WHB04B-6 missing submakefile 2020-04-08 14:20:45 +02:00
alkabal
3f87b875bb
XHC-WHB04B-6 Squashed commit 2020-04-08 13:41:38 +02:00
Rene Hopf
8d6ca5c671
Update changelog 2020-04-08 13:25:09 +02:00
andypugh
56cedd4d36 Merge remote-tracking branch 'origin/2.8' 2020-04-08 11:06:53 +01:00
Dewey Garrett
29f52a6e2b axis.py: no jog incr change if jog_cont active #691
axis gui, lightly tested
2020-04-08 11:05:10 +01:00
Rene Hopf
e09ae64fb0 change docs to new tool limit
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-08 02:57:32 +02:00
Rene Hopf
5a1aee1d4d change docs to new tool limit
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-08 02:56:29 +02:00
Chris Morley
ae06dc498c Merge branch '2.8' 2020-04-07 16:00:29 -07:00
Chris Morley
861e03ef78 calibration -remove logo
On small screens the logo takes too much room
2020-04-07 15:59:07 -07:00
Chris Morley
a05ea2d294 qtvcp -update spindle controls for multispindles. 2020-04-07 15:58:52 -07:00
Chris Morley
1114a01759 hal_glib -update is_spindle_on, add get_spindle _speed()
While testing multiple spindles config,
these functions were needed/needed update.
2020-04-07 15:58:38 -07:00
Rene Hopf
25141108da Merge branch '2.8' 2020-04-07 20:56:48 +02:00
Rene Hopf
fc53605ea1 fix linuxcncrsh-tcp test
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-07 20:46:05 +02:00
andypugh
d0fb899287 Merge branch '2.8' 2020-04-07 17:54:42 +01:00
andypugh
bbf4b015f4 Contour Shuttle: Add vendor ID etc for ShuttleProV2
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-07 17:53:18 +01:00
Rene Hopf
f3e971d426 Merge branch '2.8'
Signed-off-by: Rene Hopf <renehopf@mac.com>

# Conflicts:
#	configs/common/linuxcnc.nml
2020-04-07 16:57:05 +02:00
Rene Hopf
b51ef8cc3c increase max tools from 55 to 1000
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-07 16:50:15 +02:00
Chris Morley
1f516f2b0d Merge branch '2.8' 2020-04-07 06:13:00 -07:00
Chris Morley
6fdb5c7f80 qtvcp Fix possible runaway jog on increments change
if you were continuous jogging with screen buttons and change the incrments
with key shortcut (i) then the jog would continue forever.
Though no current sample adjusts the increments with a shortcut,
it certainly could be added and the problem would show.
Now we cancel any jogging on increment change.
2020-04-07 06:11:06 -07:00
Chris Morley
50f647558a gscreen -Fix runaway jog on increments change
if you were continuous jogging with screen buttons and change the incrments
with key shortcut (shift i) then the jog would continue forever.
Now we cancel any jogging on increment change.
2020-04-07 06:11:06 -07:00
Chris Morley
e4adeb359d gmoccapy -Fix runaway jog on increments change
if you were continuous jogging with screen buttons and change the incrments
with key shortcut (i) then the jog would continue forever.
Now we cancel any jogging on increment change.
2020-04-07 06:11:06 -07:00
Phillip Carter
b27203de9a Merge branch '2.8' 2020-04-07 14:21:49 +10:00
Phillip Carter
38dc2188a5 plasmac: documentation update 2020-04-07 14:20:36 +10:00
f821f8b600
Merge pull request #710 from LinuxCNC/andypugh/halcompile
Halcompile: fix user_comp builds on RTAI platforms
2020-04-06 09:58:37 -05:00
andypugh
47f0072c64 halcompile: Allow userspace component compile with RTAI
$(EXTRA_CFLAGS) incorporates RTFLAGS from RTAI with options such as
-nostdinc which can interfere with compilation of userspace comps.

Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-06 14:18:24 +01:00
Dewey Garrett
6dd6cfad07 Merge remote-tracking branch 'origin/2.8' 2020-04-06 06:14:06 -07:00
Dewey Garrett
eb8cf0e80b axis.py restore redraw_dro() (Restore)
(reverse-run was backported from master to 2.8 but     )
(this related commit was omitted: cherry-pick 08ec94fa8)
(incorporate errata from ebf9a036b2                 )

History:
1) commit b28255e46 (Apr 2016) modified axis.py:redraw_dro()
   to remove items of the dro display tab as part
   of extensive JA work of that time:
    "axis.py: abandon DRO tab home&limit indicators JA"

2) commit 3b0eb77 was merged to the master branch
   when incorporating reverse run functionality.
   This commit claims whitespace only changes to axis.py:
      "axis: whitespace only"
   However, the fix of merge conflicts:
      "EDIT: fix merge conflicts 12 Dec 2018"
   inadvertently restored some obsoleted code
   in redraw_dro().
   The obsoleted code predates b2855e46 probably
   indicating that the reverse run branch
   had not been updated for the redraw_dro() changes
   making for a confusing merge.

3) This commit restores axis.py:redraw_dro() to agree
   with current 2.8 branch (at commit 36820175f)
2020-04-06 06:12:52 -07:00
Dewey Garrett
c853a14e1a motion.c motion.tp-reverse is an output (Restore)
(reverse-run was backported from master to 2.8 but     )
(this related commit was omitted: cherry-pick 3a47be11e)

probably a typo unnoticed to to few users connecting
this pin.

also add motion.tp-reverse to motion man page
2020-04-06 06:12:34 -07:00
Phillip Carter
a74c79ff80 Merge branch '2.8' 2020-04-06 18:10:06 +10:00
Phillip Carter
ff3ebc137d plasmac: revise install procedure for 2.8 2020-04-06 18:09:43 +10:00
Rene Hopf
f2cfff8945 fix tool-info test for 2.8
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-06 01:14:50 +02:00
Rene Hopf
63f0935a2c split find_tool into pocket and index.
call find_tool_pocket if the pocket number is required,
and only use find_tool index where the index is required.

Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-05 23:17:35 +02:00
Rene Hopf
0ab84a6ab7 remove pocket parameter from SELECT_POCKET
rename SELECT_POCKET to SELECT_TOOL
iocontrol now gets the pocket number
of the selected tool from the tooltable.

Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-05 23:17:35 +02:00
Rene Hopf
e743226f6d interp selected_pocket and iocontrol tool_prep_pocket now report the same, correct pocket number.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-05 23:11:27 +02:00
Rene Hopf
278a980e14 iocontrols tool_number and interps current_tool now return the same value, as expected and documented
Signed-off-by: Rene Hopf <renehopf@mac.com>
2020-04-05 23:11:27 +02:00
Sebastian Kuzminsky
19cd02d0ba deal with unexpected Error messages better
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-05 23:07:23 +02:00
Sebastian Kuzminsky
00989e49f0 add test random-with-startup-tool
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-05 23:07:23 +02:00
Sebastian Kuzminsky
4c6bed45f4 test: make room for two random configs...
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-05 23:07:23 +02:00
Sebastian Kuzminsky
9a28906b0a WIP: add FIXMEs where we need to add the pocket
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-05 23:07:23 +02:00
Sebastian Kuzminsky
15237441e8 WIP: tests: add a test of tool & pocket variables
This test verifies the current behavior; this is not the same as correct
behavior.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2020-04-05 23:03:54 +02:00
Chris Morley
8789ea8d0a Merge branch '2.8' 2020-04-05 11:13:59 -07:00
Chris Morley
7760ff3ad9 qtvcp -add alpha mode, inhibit selection to TOOLBAR,QtAxis,Qtdragon
Alpha mode is good when displaying very dense gcode programs.
inhibit Selection stops gcode line selection -on large programs it block for a long time.
2020-04-05 11:03:41 -07:00
Chris Morley
a67fedd4f1 qtvcp -TOOLBAR lib: add statusbar message control function
adds button to the statusbar to recall and close the notify/ statusbar
messages
2020-04-05 10:08:02 -07:00
andypugh
e37b40a1c3
halcompile: Document extra_compile_args
option extra_compile_args " ";  is allowed in a userspace component but not mentioned in the docs.
2020-04-05 13:59:09 +01:00
Chris Morley
802be11b38 qtvcp -switch all the builtin screens to new keybinding function
use KEYBINDING library to manage calling functions for better
error handling/messages
2020-04-05 05:49:24 -07:00
Chris Morley
20dd22d4c3 qtvcp -improve error handling of keycodes
push errors up a level so we can control them better
add a standard function to handle function calls -
this should work 99% of the time and it's cleaner in the
handler file.
2020-04-05 05:49:24 -07:00
Chris Morley
4bf2b7b333 qtvcp -notify library: add close and clear-all buttons to desktop dialogs
Some times you want to completely get rid of the message list.
2020-04-05 05:49:24 -07:00
Phillip Carter
d835622d54 plasmac: remove arc ok high 2020-04-05 16:09:55 +10:00
Phillip Carter
eb6f946c28 plasmac: remove arc ok high 2020-04-05 16:08:27 +10:00
Phillip Carter
e9fbd8a235 plasmac: enable reverse run for linuxcnc 2.8 2020-04-05 16:01:43 +10:00
Phillip Carter
3c40c416ff plasmac: enable reverse run for linuxcnc 2.8 2020-04-05 14:57:09 +10:00
andypugh
2cd8b4a5f2 Boost Python: Silence some compiler warnings
gcc 8 warns of using catch() with polymorphic types.


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-05 01:15:59 +01:00
Sebastian Kuzminsky
e3e61d4fd2
Merge pull request #708 from LinuxCNC/2.8-rpi4
build 2.8 on Buster in general and on RPi4 in particular
2020-04-04 09:57:15 -06:00
andypugh
6494d50c9c Update existing docs to reflect reverse-run
Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2020-04-04 16:05:52 +01:00
andypugh
d940d2ceb3 Merge remote-tracking branch 'phillc54/reverse-run' 2020-04-04 15:33:45 +01:00
andypugh
04a7fdc9d9 Silence some compiler warnings.
Continues b9aeb8bf


Signed-off-by: andypugh <andy@bodgesoc.org>
2020-04-04 15:29:30 +01:00
John Morris
83e74baa4c rs274ngc/paramclass.hh: Silence compiler warning
Fix typo from 5ad444c6 causing compile warnings:

    emc/rs274ngc/paramclass.hh:24:0: warning: "BOOST_PYTHON_MAX_ARITY" redefined
     #define BOOST_PYTHON_MAX_ARITY 4
     ^
    emc/task/taskmodule.cc:21:0: note: this is the location of the previous definition
     #define BOOST_PYTHON_MAX_ARITY 7
     ^
2020-04-04 15:27:37 +01:00
Sebastian Kuzminsky
43dc7bb1fa platform-is-supported: if we can't open the kernel config, assume vanilla 2020-04-03 16:48:59 -06:00
Sebastian Kuzminsky
a912fcf723 lsb_release on Buster currently reports "10" as the release
(cherry picked from commit 8805c924bc)
2020-04-03 16:45:37 -06:00
Chris Morley
b0a0416d31 Merge branch '2.8' 2020-04-02 16:06:06 -07:00
Chris Morley
2b39af88db qtvcp -notify messages: add a general temparary message
Some messages are not too important so let them disapear after a timeout.
 You still recall them later in some screens like <qtaxis or Qtdefault
2020-04-02 16:01:51 -07:00
Chris Morley
7e13e02b70 qtvcp -add a temparary message about limits active again.
sent after homing or after limits_orverride is finished
2020-04-02 08:59:10 -07:00
Chris Morley
cda151fb67 qtvcp -add is_homing to hal_glib and check for it in qt_action
Was sending messages about limits switches durimg homing, which is expected
when using shared limits/home. now we ignor them during homing
2020-04-02 08:59:10 -07:00
Chris Morley
47f32a4777 Merge branch '2.8' 2020-04-02 03:18:45 -07:00
Chris Morley
7087c5015e qtvcp -qt5_graphics: set the current view when shown
You can;t set the view untill it's actually showinng.
Now we catch the event and set the view, so the display defaults
to mwhatever it was set to, rather then doing it on the first loading.
2020-04-02 03:17:30 -07:00
Chris Morley
45bea072e2 qtvcp -improve 'widget missing slot' error and allow to continue
missing a slot shouldn't kill the screen -GTK handles this better.
2020-04-02 03:17:30 -07:00
Chris Morley
ac0ed37905 qtvcp -Qt_default: add nurbs editor launch on F11 for easier testing 2020-04-02 03:17:30 -07:00
Chris Morley
8efbee3596 qtvcp -nurbs_editor: fix flicker and add options
Now that qt5_graphics doesnt reset the view when reloading, we
don't have to restore the zoom setting - no flicker

added: invert X and Y uttons, reset view button, grid space spin button.
Also now you can set tool number and the gcode will still display.
2020-04-02 03:17:30 -07:00
Chris Morley
43f77f3895 qtvcp -update fake_status file for fake tools
for qt5_graphics to load gcode with tool commands, requires tool tooltable to have
the tool proper number in it. linuxcnc isn't running we need to fake it.
If you ask for a tool number more then 55 this will fail.
you could always change them after initializing.
2020-04-02 03:17:29 -07:00
Chris Morley
71b1823eb1 qtvcp -qt5_graphics: remove debugging code 2020-04-02 03:17:29 -07:00
Chris Morley
9fdcc2a131 qtvcp -qt5_graphics: don't reset the view when reloading, just redraw
When you loaded a gcode program, we called set_current_view() to redraw the
screen. This function resets the zoomsistance and recenters the view.
Bow it doesn't. If you want to reset the view you have to specifically ask for it
by calling set_current_view()
2020-04-02 03:17:29 -07:00
Chris Morley
42f13eb5e8 Merge branch '2.8' 2020-04-01 07:21:31 -07:00
Chris Morley
28fefa4e2d pncconf -add home/limit switch diagram to help page 2020-04-01 07:19:54 -07:00
Chris Morley
4f10a591c4 pncconf -fix parellel port output/input type.
type in glade files and pages.py didn't jive with pncconf.py.
It force users to edit the HAL file to adjust the loading parameter.
2020-04-01 05:29:03 -07:00
Chris Morley
db96f5621f Merge branch '2.8' 2020-03-31 07:16:10 -07:00
Chris Morley
38380b3ae9 qtvcp -update nurbs editor and fake_status
feedrate, tool number and now 7 selectable control points
fake_status was changed so grids could properly calculate size
it needed some real numbers...
2020-03-31 07:15:18 -07:00
Chris Morley
c6d6083af6 qtvcp -add ability to block rotation by mouse
in some cases rotation doesn;t mmake sense - like a lathe
2020-03-31 07:15:18 -07:00
Chris Morley
dc18a5a8e5 qtvcp -Qtaxis: add grid spacing submenu size selection 2020-03-31 07:15:18 -07:00
Chris Morley
07514eb77c qtvcp -add ability to adjust grid spacing on gcode_graphics 2020-03-31 07:15:18 -07:00
Phillip Carter
1acb6e034c Merge branch '2.8' 2020-03-31 18:15:49 +11:00
Phillip Carter
70e7a729e5 plasmac: fix gcode parser for hole cutting 2020-03-31 18:14:47 +11:00
Chris Morley
7bfebcb23a Merge branch '2.8' 2020-03-30 03:08:26 -07:00
Chris Morley
ff41968619 qtvcp -QtAxis & default : add descktop notify control buttons to statusbar
Not sure i like them visably wise or not...
2020-03-30 03:07:35 -07:00
Chris Morley
85305abe56 qtvcp -notify lib: clean up, add 'display last message' functions
now you can use buttons to cycle showing the last critical messages.
or clear the dialog with an external button.
On the destop notify baloon you can press a button to show the last 5 messages.
add comments and cleaned up the code a bit.
2020-03-30 03:07:35 -07:00
Chris Morley
09b6faadd7 qtvcp -regression fix: axis_tool_bar didn't send axis variable
looks like copy paste error. Strangely linuxcnc accepted the error without complaint.
it ended up with a MDI call of:
G10 L20 p0 1.000
Added a check for valid axis in qt action SET_ORIGIN function
2020-03-30 03:07:06 -07:00
Chris Morley
c156239de3 qtvcp -have screenoptions give reference to Notify library
The was no reference to Notify available in the handler file and if I import it
i'll get a new instance rather then the one from screenoptions.
Now screenoptions can inject data into the main object.
2020-03-29 22:39:33 -07:00
Chris Morley
c3d4c0edc3 Merge branch '2.8' 2020-03-29 02:22:32 -07:00
Chris Morley
a6346a9919 qtvcp -qt5_graphics: if linuxcnc isn't running fake it.
When using the widget without linuxcnc running it wold show a blank
screen. It's useful in designer to see the actual screen so you can
exersice the options.
2020-03-29 02:21:14 -07:00
Chris Morley
c61c686d1d qtvcp -don't set the overlay color when setting the background color 2020-03-29 02:21:14 -07:00
Phillip Carter
b12f97380b Merge branch '2.8' 2020-03-29 14:00:23 +11:00
Phillip Carter
3f3644a00d plasmac: fix gcode parser for numbered blank lines 2020-03-29 13:59:04 +11:00
Phillip Carter
0fc6b47a66 Merge branch '2.8' 2020-03-29 09:45:55 +11:00
Phillip Carter
d87df953e3 plasmac: increase arc ok high limit 2020-03-29 09:45:13 +11:00
Chris Morley
27884285fb Merge branch '2.8' 2020-03-28 04:18:07 -07:00
Chris Morley
ad29499e83 qtvcp -add the basics of a nurbs editor using Graphics display
so i don't lose it -might end up being like an ngcGUI
2020-03-28 04:14:18 -07:00
Chris Morley
8fa27346a4 qtvcp -update graphics widget for gradient background option 2020-03-28 04:14:18 -07:00
Chris Morley
625778b082 qtvcp -Qt_graphics: gradient background option
finally figured out how to display a gradient background in openGL
2020-03-28 04:14:18 -07:00
Chris Morley
b11777d2b6 qtvcp -remove debug code from pstat 2020-03-28 04:14:18 -07:00
Phillip Carter
4953c55c06 docs: fix indents in plasma primer 2020-03-28 16:06:15 +11:00
Phillip Carter
1c9bd4eb81 Merge branch '2.8' 2020-03-28 16:05:15 +11:00
Phillip Carter
1fce0cd883 docs: plasma updates 2020-03-28 16:01:51 +11:00
Dewey Garrett
f68a5223a3 Merge remote-tracking branch 'origin/2.8' 2020-03-25 18:04:00 -07:00
Dewey Garrett
5a8cd4879f Merge remote-tracking branch 'origin/2.7' into 2.8 2020-03-25 17:42:00 -07:00
Dewey Garrett
3b07688d0e vismach.py bugfix for memory link (Hud() fontbase)
Reported: https://forum.linuxcnc.org/38-general-linuxcnc-questions/38673-xyzbc-trt-gui-memory-problem#161490
2020-03-25 17:06:21 -07:00
Chris Morley
ac9396c317 Merge branch '2.8' 2020-03-25 01:53:21 -07:00
Chris Morley
0ce0fbc4ae pncconf -up max spindle rpm to 100 000 rpm 2020-03-25 00:59:52 -07:00
Chris Morley
1ad4fcbb15 Merge branch '2.8' 2020-03-24 00:38:31 -07:00
Chris Morley
e156e24c34 qtvcp -Qtaxis: add a tool status label corner widget to tab
easier then tryimg a custom status line on the bottom
2020-03-24 00:35:54 -07:00
Chris Morley
d38c369f65 qtvcp -Qtaxis: do a manual mode change if tab set to manual
Thought this was done all ready - might be a regression
2020-03-24 00:34:38 -07:00
Chris Morley
208b60d68b qtvcp -qt_action: don't increase spindle speed after hitting max
Before if you asked for spindle increase past the maximuim,
you would get 'wind up' and decreasing speed wouldn't do anything
till requested speed was below the maximuim
2020-03-24 00:31:19 -07:00
Chris Morley
b3e81f2e70 qtvcp -qt_action: fix homing bug using sequence list
Only errored if using a single button to home multiple axes.
sequence list name had been changed
2020-03-24 00:28:34 -07:00
Chris Morley
c366d6543e Merge branch '2.8' 2020-03-23 01:45:55 -07:00
Chris Morley
a990f1a65f qtvcp -make the simulated gantry home dual joint synchronized 2020-03-23 01:45:03 -07:00
Chris Morley
969ea2a656 qtvcp axis_tool_buttons: some works towards adding homing options
Not sure if this is the way to go but might as well commit the work.
2020-03-23 01:45:03 -07:00
Chris Morley
1dcfa447a4 qtvcp -istat: pull out information about synch joints
gives a list of a list of joints that are to be synched
2020-03-23 01:45:03 -07:00
Phillip Carter
38166abfc1 add ohmic.comp plus supporting documentation 2020-03-23 11:49:53 +11:00
andy pugh
a8d79a6215 Merge remote-tracking branch 'origin/2.8' 2020-03-23 00:20:17 +00:00
andy pugh
252e2899f9 Make amp-enable go false when kinematics fails.
https://github.com/LinuxCNC/linuxcnc/issues/655

Signed-off-by: andy pugh <andy@bodgesoc.org>
2020-03-23 00:18:27 +00:00
61187470a9
Merge pull request #703 from jepler/fix-build2
Fix the doc build again?
2020-03-21 20:52:07 -05:00
e963227230 add references to added docs 2020-03-21 20:47:47 -05:00
f81e5ef28a remove references to removed docs 2020-03-21 20:47:47 -05:00
7699f8d012 remove file that should not have been committed 2020-03-21 20:47:47 -05:00
d2a7aab777 Revert "Revert "Merge pull request #633 from simaoamorim/master-cleanup-docs""
This reverts commit 43bae25f66.
2020-03-21 20:47:27 -05:00
andypugh
43bae25f66 Revert "Merge pull request #633 from simaoamorim/master-cleanup-docs"
This reverts commit 238e1fa2c0, reversing
changes made to a7b8618e1e.
2020-03-22 00:01:32 +00:00
andypugh
4bec4fe5af Revert "Attempt to fix package building after file cleanup"
This reverts commit 0349e4768a.
2020-03-22 00:00:56 +00:00
andypugh
a07a572faa Revert "Found another hard-coded reference to a now-deleted file."
This reverts commit 9b7fb9d9d5.
2020-03-22 00:00:35 +00:00
andypugh
6af9d0ebb4 Revert "Expunge another hard-coded reference to a non-extant file"
This reverts commit ffb6112622.
2020-03-22 00:00:12 +00:00
andypugh
ffb6112622 Expunge another hard-coded reference to a non-extant file
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-03-21 21:46:30 +00:00
andypugh
9b7fb9d9d5 Found another hard-coded reference to a now-deleted file.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-03-21 16:38:20 +00:00
root
0349e4768a Attempt to fix package building after file cleanup
Signed-off-by: root <andy@bodgesoc.org>
2020-03-21 14:13:56 +00:00
andypugh
9162192dee Merge branch '2.8' 2020-03-20 20:34:39 +00:00
andypugh
238e1fa2c0
Merge pull request #633 from simaoamorim/master-cleanup-docs
Cleanup docs
2020-03-20 20:06:15 +00:00
Curtis Dutton
c077d43e8e Axis preview failing with wrapped rotary axis.
When a wrapped rotary axis absolute position is > 360 or < -360, axis preview will fail to load a file. This is because axis issues hidden "g53 g0 ..."  commands to the preview interpreter prior to sending the file contents to the preview interpreter. Axis uses the absolute coordinates as part of those commands which is not correct for a wrapped_rotary type axis.

Included is a sim file wrapped_rotary to demonstrate this issue as well as demonstrate the fix.

To Test:
  1. linuxcnc wrapped_rotary.ini
  2. home
  3. mdi "g0 a180"
  4. mdi "g0 a0"
  5. ctrl-r (reload axis.ngc)
2020-03-20 20:00:14 +00:00
Chris Morley
a7b8618e1e Merge branch '2.8' 2020-03-20 10:24:15 -07:00
Chris Morley
6ab32faa4d docs -improve homing docs again.
incorporate some suggestions from users.
2020-03-20 10:21:36 -07:00
Chris Morley
54852e0dc5 docs -hal module: add function descriptions, example code
example code for VCPs
2020-03-20 10:13:59 -07:00
Chris Morley
a31fb08c08 qtvcp -core:add function to return pinname
.text() function replicates a common qt paradigm
but does the same as .get_name()
2020-03-20 10:00:28 -07:00
Phillip Carter
1d69bb2209 Merge branch '2.8' 2020-03-20 19:47:31 +11:00
Phillip Carter
039316974c plasmac: configurator syntax error 2020-03-20 19:46:49 +11:00
andypugh
2adf6ddf65
Merge pull request #701 from mark-v-d/g7x_fixes
Had a good laugh at this, thanks ;-)
2020-03-19 08:56:11 +00:00
Chris Morley
c8a6b13e49 Merge branch '2.8' 2020-03-19 01:43:32 -07:00
Chris Morley
66a9d29821 qtvcp -remove debug code so notify works again
I forgot to remove the breakage I used to test.
2020-03-19 01:42:52 -07:00
Phillip Carter
f2f8f8312f Merge branch '2.8' 2020-03-19 16:41:57 +11:00
Phillip Carter
65d421f158 plasmac: simplify sim configs 2020-03-19 16:41:06 +11:00
Mark
d21c9b6c9c Had a good laugh at this, thanks ;-) 2020-03-18 23:14:49 +01:00
andypugh
9ca49f458a
Merge pull request #700 from mark-v-d/g7x_fixes
Fix segmentation fault on single point path.
2020-03-18 18:27:19 +00:00
Mark
0dd78a6ab1 Fix segmentation fault on single point path. 2020-03-18 18:27:14 +01:00
Chris Morley
5a79b2a82e Merge branch '2.8' 2020-03-18 01:24:05 -07:00
Chris Morley
7c8e0c9c18 docs -another homing diamgram miss description
one of the figures shows a shared limit switch
2020-03-18 01:23:17 -07:00
Chris Morley
c787995e69 qtvcp -don't post an error dialog if desktop notify fails
In a raspberry pi3 install notfy failed, but this shouldn't kill the screen.
notify is nice but not necessary
2020-03-18 01:23:17 -07:00
Phillip Carter
fd820ab24f Merge branch '2.8' 2020-03-18 17:55:29 +11:00
Phillip Carter
dd1f7ce274 plasmac: document update 2020-03-18 17:54:41 +11:00
andypugh
e555cfc935
Merge pull request #698 from ButterflyTech/2.8
added chinese translation for Getting Started(2.8)
2020-03-17 09:38:05 +00:00
Chris Morley
8efd498dbf Merge branch '2.8' 2020-03-17 01:18:40 -07:00
Chris Morley
ee9eb9cf0f docs -homing description fix
oops can't do math...
2020-03-17 01:16:57 -07:00
Chris Morley
792e7155c0 docs -update homing description add diagrams
After testing and discussion - we were lying a bit.
Modified some drawing from the french docs? to show things hopefully clearer.
2020-03-17 00:59:56 -07:00
loopsun
093196681f added chinese translation for Getting Started 2020-03-17 09:39:48 +08:00
Chris Morley
875adf6b82 Merge branch '2.8' 2020-03-13 23:06:21 -07:00
Chris Morley
638c357678 qtvcp -use new indicator offsets in default screen 2020-03-13 23:05:04 -07:00
Chris Morley
6fe6d3250a qtvcp -indicatorbutton: LED can be offset from right and top
new properties:
    top_edge_offset
    right_edge_offset

renamed properties:
    h_percent -> height_fraction
    w_percent -> width_fraction

add these to plugin dialog
2020-03-13 23:05:04 -07:00
Phillip Carter
27fca82a7d Merge branch '2.8' 2020-03-14 15:39:24 +11:00
Phillip Carter
98c7ab6166 plasmac: fix configurator plasmac.hal to tcl change 2020-03-14 15:38:40 +11:00
Chris Morley
28375e3971 qtvcp -gcode editor: widen line number with add function to do same
cause some programs have 100 000  lines
2020-03-13 11:39:05 -07:00
Chris Morley
69b2dce178 Merge branch '2.8' 2020-03-13 00:51:40 -07:00
Chris Morley
9980b4ad5d qtvcp -back out richtext for action buttons
richtext button use a label on top of the button.
I didn't realize this would mess with stylesheets changing the text of the button.
of cource the text is now a lable rather then a button.
I'll look into if there is a work around - why isn't this standard?
2020-03-13 00:48:29 -07:00
Chris Morley
c75ef37f60 Merge branch '2.8' 2020-03-12 13:04:34 -07:00
Chris Morley
5bb1cc114b docs -add more info on homing's machine assumptions
Setting up homing, befor confirming axis direction is gonna get you lost
fast for instance.
2020-03-12 13:01:05 -07:00
Chris Morley
94adf68ff1 pncconf -raise the upper limits of axis velocity sliders
For mm based machines they were too low - now at 20000
2020-03-11 23:49:44 -07:00
Chris Morley
e4b5d50f81 Merge branch '2.8' 2020-03-11 13:39:19 -07:00
Chris Morley
ab5323d6b1 qtvcp -default screen: change to sidebar LEDs and some richtext
estop and power use side LEDs - just to prove they work
richtext mode buttons - again for proof/demo
2020-03-11 13:36:20 -07:00
Chris Morley
f0969bc7ff qtvcp -actionbuttonplugin: add side bar shape selection
LEDs can be triangle, topbar or side bar
Still need some beautification work
2020-03-11 13:34:13 -07:00
Chris Morley
250e575148 qtvcp -rich text for action buttons
Strangely pyqt doesn't use richtext for pushbutton text.
but you can put a label on top of it with some work...
2020-03-11 13:18:11 -07:00
Chris Morley
ee8a822bf1 qtvcp -action buttons: add vertical bar LED 2020-03-11 12:36:51 -07:00
Chris Morley
4320bc4331 qtvcp -stylesheet editor: use libraries rather then passed reference
path and widgets are loaded as libraries so it loads just like other libraries.
update sample screens with new syntact.
Old way of loading the editor still works
2020-03-10 11:12:45 -07:00
Chris Morley
21d7db0acb qtvcp -add some designer icons 2020-03-10 01:13:22 -07:00
Chris Morley
39bd783d5f qtvcp -update widget/library docs 2020-03-10 00:18:14 -07:00
Chris Morley
6c1f3bb440 qtvcp -rename the main wimdow class
since we can import it into a library VCPWindow makes more sense.
2020-03-10 00:18:14 -07:00
Chris Morley
84d7e0ab66 qtvcp -add basicProbe designer icon
it's a copy of versaprobe
2020-03-10 00:17:54 -07:00
Chris Morley
5e0d31ebdd qtvcp -have the calculator axis Tool button preselect
if you are calculating the axis offset, you probably want the axis tool
button preselected to the relevent axis
2020-03-10 00:17:23 -07:00
Chris Morley
d82ebec602 qtvcp -give entry dialog focus when displayed 2020-03-10 00:17:09 -07:00
Chris Morley
86a5677845 Merge branch '2.8' 2020-03-09 14:30:36 -07:00
Chris Morley
ce4300a57e pncconf -don't accept negative sequence numbers -they are automatic
it was causing double negative to show in the INI
2020-03-09 14:17:28 -07:00
Dewey Garrett
f342333fbc kins_util.c workaround 4.14.148-rtai-amd64 prob
Example problem demonstration:
$ halrun
$ halcmd: loadrt trivkins
--> results in rtai lockup

problem is reproducible on a virtual machine (vbox)
problem occurs with: gcc (Debian 8.3.0-6) 8.3.0
problem does not occur with gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
2020-03-09 06:16:28 -07:00
Chris Morley
b1d579220d Merge branch '2.8' 2020-03-07 18:51:43 -08:00
Chris Morley
12b579ab77 qtvcp -qtaxis: ad a calculator toolbar selection 2020-03-07 18:46:23 -08:00
Chris Morley
fa59515b21 qtvcp -toolBar libray: add a calculator selection 2020-03-07 18:44:20 -08:00
Chris Morley
e94e30d20e qtvcp -calculator: add an axis button
gives the current relative position of the selected axis
2020-03-07 18:42:19 -08:00
Chris Morley
9ca25b4aa9 qtvcp -axisToolButton - record geometry under different names
you may want a calculator dialog a different size/location then an entry dialog
2020-03-07 15:27:38 -08:00
Chris Morley
9c14b5975c qtvcp -dialog: re-factor code, add geometry mixin class
Make a mixin class to make geometry functions easier to work with.
Make it possible to have different geometry entries in the preference file.
Fix Calculator dialog geometry recording
2020-03-07 15:27:11 -08:00
Chris Morley
e4357b0d8f Merge branch '2.8' 2020-03-07 00:01:06 -08:00
Chris Morley
477d453cae docs -update qtvcp/GStat docs 2020-03-07 00:00:36 -08:00
Chris Morley
998417808b qtvcp -update buitin screens to use latest ACTION functions
Since people will tend to use these as a base try to keep with
best practices. Using ACTION raher then directly calling functions
allows use to future proof screens from future library changes
2020-03-06 22:51:01 -08:00
Chris Morley
9f22349a75 qtvcp -toolbar_actions: import window instance directly
import window directly so it instantiates like the other libraries.
update qtaxis to use newest ACTION/toolbar_action features
2020-03-06 22:47:16 -08:00
Chris Morley
8dd27c656b qtvcp -add functions for dialogs/sound/logs/pointer
We prefer users to use these functions rather then calling libries directly.
In the is way we can future proof things somewhat
2020-03-06 22:28:27 -08:00
Chris Morley
1fe1fbcddf qtvcp -make MyWindow always give the same instance
So Now we can import the window instance in a handler file
2020-03-06 22:25:30 -08:00
Chris Morley
264dccc148 qtvcp -audio_player: fix beep_start sound 2020-03-06 20:43:03 -08:00
Chris Morley
f135886c81 qtvcp -machine log library: it's ok not to have an option argument
it will be Nonw by default
2020-03-06 19:08:13 -08:00
Chris Morley
6b004beba1 qtvcp -add ACTION function to set graphics views
Seems I had not been using ACTION to do view changes...
breaking my own rules!
using ACTION allows us to do updates in the future without breaking
old configs in most cases.

changed the GObject signal to add a python object - for options
that python option will be a dict
2020-03-06 14:55:02 -08:00
Chris Morley
af42e7cdda Merge branch '2.8' 2020-03-05 17:22:49 -08:00
Chris Morley
3b1405d82f docs -update macroTad description 2020-03-05 17:20:58 -08:00
Chris Morley
742f97943e qtvcp -macroTab: fix loading/saving macro data
Now actually update the screen entries
Use the appropriate file extensions
2020-03-05 17:20:57 -08:00
Chris Morley
e783d3fdcf qtvcp -dialog_widget: fix extenion keyword spelling, use default extensions
if no specfic extension is designated, use the default set in the INI.
previously if you specified an extension then any other dialog got the
same extension from thn on.
2020-03-05 17:20:57 -08:00
Chris Morley
967e2b763a nc_file -update go-to-position macro for Qtvcp
So it can be used in the macro widget.
Needs image file to look nice in the widget
2020-03-05 17:20:57 -08:00
john
8a0a225263 Docs update hardware drivers with links 2020-03-05 18:11:32 -06:00
Chris Morley
d8dd9673e0 qtvcp -macro_widget: can use png image files now
and tooltips on the buutons
and whatThis on the buttons
2020-03-04 23:15:35 -08:00
Chris Morley
74766502a9 qtvcp -Don't close panel if it isn't made yet
Avoids an error dialog we don't need and is not helpful
2020-03-04 22:11:12 -08:00
Chris Morley
ba560f7049 Merge branch '2.8' 2020-03-04 16:32:55 -08:00
Chris Morley
38e03bf9d4 qtvcp -update macro widget for multiple sub path entries
Now it searches all sub routine paths listed in the INI and if it has
'macro. in it will search for magic macros
2020-03-04 16:31:53 -08:00
Chris Morley
22d040cc9a qtvcp -add MACRO_PATH_LIST to IStat
list of subroutine path with .macro. in it.
2020-03-04 16:31:53 -08:00
Chris Morley
037891137e qtvcp -have probe widgets check for subroutine path
Oword paths are painful to get right by a user - at least give them an idea
what is wrong and don't even try to probe untill the macros are found.
2020-03-04 16:31:53 -08:00
Chris Morley
a9c8f29711 qtvcp -add SUB_PATH_LIST in IStat
it's the same as SUB_PATH except it's already split into a list
2020-03-04 16:31:53 -08:00
Chris Morley
3081fe45ab qtvcp -default screen: use some of the new button LEDs 2020-03-04 16:31:35 -08:00
Chris Morley
137da0d8ed qtvcp -fix annoying plugin behaivor 2020-03-04 12:41:38 -08:00
Chris Morley
2940cc7a29 qtvcp -add a bar LED for action buttons
Not sure this is nice enough but maybe someone will comealong
and make it prettier.
2020-03-04 12:39:57 -08:00
Chris Morley
238be76eeb Merge branch '2.8' 2020-03-03 19:48:56 -08:00
Chris Morley
f1838f88da qtvcp -workaround for treeview combobox
If you dont select the action (because it is already showing)
you get None rather then what it shows.
It seems the view and the selection aren't jiving.
Ican't figure it out - so hack around it somewhat
2020-03-03 19:48:02 -08:00
Chris Morley
99bb38b0e0 qtvcp -actionbutton: add jnum, is_joint_homed to plugin
now you can use the dialog to set is_joint_homed as a status to
watch
2020-03-03 19:48:02 -08:00
Chris Morley
1fa987a3d2 qtvcp -actionbutton: don't change indicator if watching status
ation button would change the state of the indicator led even
if status was supposed to.
2020-03-03 19:48:02 -08:00
Phillip Carter
fe7dbd6df2 Merge branch '2.8' 2020-03-04 14:00:02 +11:00
Phillip Carter
d6ec70b6b8 plasmac: fix configurator for missing kins coordinates 2020-03-04 13:58:34 +11:00
Chris Morley
480a49b380 Merge branch '2.8' 2020-03-03 14:30:36 -08:00
Phillip Carter
f11d21c50b axis: allow pyvcp panel at bottom of windows 2020-03-03 14:28:46 -08:00
Chris Morley
8eae79f58a docs -add details about cone base size adjustment 2020-03-03 14:28:46 -08:00
Chris Morley
1d4442f472 glcanon -Make the cone size adjustable via INI
Some users what the cone size smaller so thy can see more detail
eg. under the DISPLAY heading add CONE_BASESISE = .25
2020-03-03 14:08:49 -08:00
c-morley
ad6bdff041
Merge pull request #685 from phillc54/pyvcp-position
axis: allow pyvcp panel at bottom of windows
2020-03-03 11:30:09 -08:00
Chris Morley
35a0860b52 Merge branch '2.8' 2020-03-02 22:09:25 -08:00
Chris Morley
9efb1399dc qtvcp -update actionbutton plugin dialog
add new status watch options to dialog
make it 3 tabs instead of 2 to help with tidiness
2020-03-02 22:06:32 -08:00
Chris Morley
44ded068a2 qtvcp -qtdragon: add missing modified core HAL file
otherwise qtdragom/qtdragon_xyz dont load
2020-03-02 12:28:30 -08:00
Chris Morley
11f566964b qtvcp -actionbutton: give triangle indicator gradient 2020-03-02 12:00:39 -08:00
Chris Morley
712de56493 qtvcp -actionbutton: round button off color fix
off color should be configurable just like on color
2020-03-02 11:33:52 -08:00
Chris Morley
4e2c343147 qtvcp -remove old code from action plugin
we don't use a separate dialog for imdicator actions
2020-03-02 11:32:50 -08:00
3dcaac8050
Merge pull request #687 from jepler/eth-warning-fix
hm2_eth: silence a message printed on the first run after reboot, on …
2020-03-02 11:47:03 -06:00
Chris Morley
63db25ebda qtvcp -action button: add a circular indicator 2020-03-01 20:07:50 -08:00
Chris Morley
a837949783 qtvcp -indicator: add LED controlled by cnc status 2020-03-01 18:19:07 -08:00
Chris Morley
821a934f19 qtvcp -state_led: add spindle/mode states 2020-03-01 18:18:34 -08:00
Chris Morley
7f73c4291c hal_glib -initiate spindle-control-changed to zero
So LEDs etc are correct when linuxcnc starts
2020-03-01 18:01:04 -08:00
Chris Morley
13426347de stepconf -fix highlighting warnings on newer systems
GTK3 strikes again
2020-03-01 15:40:08 -08:00
Chris Morley
26754c91b9 docs -add SilverDragon screen writeup 2020-03-01 15:16:47 -08:00
Chris Morley
4161b4aaae qtvcp -add links to qtvcp docs 2020-03-01 15:16:47 -08:00
Chris Morley
fff5864c2c Merge branch '2.8' 2020-03-01 00:59:37 -08:00
Chris Morley
17a13d672d stepconf -don't crash on control-c
If you control-c in the terminal the next time you pressed something
in stepconf it would get a keybparditerrupt and become unusable.
GTK 3 sucks
2020-03-01 00:57:26 -08:00
Chris Morley
1cd19c5a2a stepconf -fix axis sanity_test highlighting
If you enter a bad number in the axis page, it now highlights it.
2020-03-01 00:26:13 -08:00
Chris Morley
4b46e48327 stepconf -fix crash when cancelling gui quit
if quitting with the window button when cancelling the window would
disapear and the terminal is unuseable.
2020-03-01 00:22:28 -08:00
Chris Morley
df859139b4 qtvcp -docs: on going updates 2020-02-29 21:52:23 -08:00
Chris Morley
5556f99a84 Merge branch '2.8' 2020-02-29 19:01:53 -08:00
Chris Morley
7302cc1ba5 qtvcp -QtTouchy: remove reference to richfont_selector
It was named wrong and not actually used.
In the future, maybe setting rich text on the DRO might be nicer.
2020-02-29 18:47:58 -08:00
Chris Morley
5ebde8e89b Revert "qtvcp -QtTouchy: wrong richtext selector file was commited"
This reverts commit 99152d11a4.
2020-02-29 18:41:06 -08:00
Chris Morley
4db516cde7 Merge branch '2.8' 2020-02-29 15:36:01 -08:00
Chris Morley
ff35df86e3 pncconf -fix loading of external firmware
I forgot to test external firmware loading from system folders.
Mesa cards such as 7i43 and 5i20 for instance.
It caused 'global name 'currentboard' is not defined'
2020-02-29 15:33:30 -08:00
Chris Morley
14b019faaa Merge branch '2.8' 2020-02-28 15:21:24 -08:00
Chris Morley
40cb5b70a0 qtvcp -add basicprobe as a widget 2020-02-28 15:18:05 -08:00
Chris Morley
eb0e0c2e7d qyvcp -update basic probe ui files
adjusting size and margins
2020-02-28 15:16:45 -08:00
Chris Morley
b48a26aed9 qtvcp -QtTouchy: add MPG view controls 2020-02-28 14:43:45 -08:00
Chris Morley
ae1e149a37 qtvcp - qt5_graphics: add rotate and pan functions
These function can be used for external MPG scrolling
2020-02-28 14:41:04 -08:00
andypugh
fe14f645c5
Merge pull request #689 from jepler/g7x-precise-mk2
Testing in a test branch indicates that this compiles on current platforms. 
I am open to further changes and corrections, but let us get the master branch compiling cleanly again.
2020-02-28 20:41:39 +00:00
Chris Morley
2cbbcc7220 Merge branch '2.8' 2020-02-28 12:16:53 -08:00
Chris Morley
a03101ac48 docs -update qtvcp library docs 2020-02-28 12:15:36 -08:00
Chris Morley
3c32120ffa qtvcp -move PATHS class inside core
PATH class was a little painful to get a reference to, now
you can just grab an instance though qtvcp.core like all the other
core libraries
2020-02-27 21:51:39 -08:00
Chris Morley
51be31bf72 Merge branch '2.8' 2020-02-27 20:38:06 -08:00
Chris Morley
742a4246a9 qtvcp -have image switcher check the built in image folder
using absolute pathways breaks on different systems so now also
check the builtin image folder.
This way you can reference images directly from the folder, but
still use your own images too.
2020-02-27 20:34:22 -08:00
Chris Morley
84d5bdaab9 qtvcp -QtTouchy: deselect axis properly
The last selected axis would still be jogged, even if
jog select and all axis select buttons were unchecked
2020-02-27 20:07:15 -08:00
Chris Morley
de686a826b qtvcp -deselect the axis if button is unchecked
The halpin or status selected axis/joint would stay True/selected
2020-02-27 20:05:06 -08:00
andypugh
de5ffca2e0 hal_pi_gpio: cpuinfo.c - correct a bracketing problem in the previous commit.
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-02-28 00:18:51 +00:00
andypugh
6c1b9736eb hal_pi_gpio: Update cpuinfo.c for the V1.2 revision of the Pi4
Signed-off-by: andypugh <andy@bodgesoc.org>
2020-02-27 22:05:33 +00:00
b809e5054e remove other c++11isms not in precise's compiler 2020-02-27 15:22:30 -06:00
a4ce2670e2 Revert "Make sure we use c++11"
This reverts commit 8efba9beb4.
2020-02-27 15:18:58 -06:00
eaf8caad91 Revert "Make c++11 mandatory."
This reverts commit e7bc262714.
2020-02-27 15:17:36 -06:00
dd89928ed4 Revert "The c++11 option should now be handled by configure."
This reverts commit 8746c7b09f.
2020-02-27 15:17:30 -06:00
Jeff Epler
fa45ea2006 hm2_eth: silence a message printed on the first run after reboot, on buster 2020-02-27 14:19:11 -06:00
Mark
8746c7b09f The c++11 option should now be handled by configure. 2020-02-27 19:42:37 +01:00
Mark
e7bc262714 Make c++11 mandatory. 2020-02-27 19:36:53 +01:00
Chris Morley
86664852dd Merge branch '2.8' 2020-02-26 20:56:18 -08:00
Chris Morley
f7a686f709 qtvcp -QtTouchy: set minimuim buttons size larger 2020-02-26 20:53:56 -08:00
Chris Morley
a02bf99b43 qtvcp -QtTouchy: add an exit button 2020-02-26 20:52:02 -08:00
Chris Morley
c57dd9f46d qtvcp -qtaxis: make editing more useful
make the editor panel grow in edit mode.
make the edit mode exit button work properly in qtaxis context
make typing in gcode display only wotk in edit mode - other wise
call the keybindings functions.
2020-02-26 17:19:10 -08:00
Chris Morley
99152d11a4 qtvcp -QtTouchy: wrong richtext selector file was commited 2020-02-26 16:33:49 -08:00
Mark
e02b720429 Remove string literals. 2020-02-26 23:09:14 +01:00
Mark
704bfb59e7 Change all 1.0i to I, and made a constexpr for I (which is 1i) 2020-02-26 23:03:07 +01:00
Mark
8efba9beb4 Make sure we use c++11 2020-02-26 22:53:50 +01:00
Mark
8195558fa8 Fix a noisy compiler. 2020-02-26 22:34:33 +01:00
andypugh
1183f58c07
Merge pull request #683 from mark-v-d/g7x
G7x
2020-02-26 19:12:33 +00:00
Chris Morley
3e2ff855e1 Merge branch '2.8' 2020-02-26 10:53:37 -08:00
Mark
8049d5fe2d Work around for old compilers. 2020-02-26 18:08:39 +01:00
Chris Morley
def0d26999 qtvcp -qtaxis: add show offsets -simplify DRO tab 2020-02-25 12:15:03 -08:00
Chris Morley
b73bc91118 qtvcp -add 'show offsets' to toolbar/gcode graphics 2020-02-25 12:03:16 -08:00
Phillip Carter
ccaa6e834b axis: allow pyvcp panel at bottom of windows 2020-02-25 13:06:59 +11:00
Phillip Carter
eb670bb094 Merge branch '2.8' 2020-02-25 12:25:36 +11:00
Phillip Carter
373bee30df plasmac: userguide links
change some links for local html docs
2020-02-25 12:24:30 +11:00
Phillip Carter
896a6aee3d Plasmac: user guide additional installation info 2020-02-25 12:24:29 +11:00
Phillip Carter
49da025a3a plasmac: materialverter case changes 2020-02-25 12:24:29 +11:00
Chris Morley
13c2238731 Merge branch '2.8' 2020-02-24 12:08:42 -08:00
Chris Morley
2401b0e05b qtvcp -qtaxis: change spindle stop button to momentary 2020-02-24 12:07:47 -08:00
Chris Morley
db1271aa67 qtvcp -crash proof probe routines
If qtvcp crashes without calling it's cleanup functions,
the subprograms run forever and use large CPU cycles.

Now the sub programs check for the main programs running process.
This was the easiest way I could find.
2020-02-24 12:07:20 -08:00
Chris Morley
5ad0cc5a56 Merge branch '2.8' 2020-02-23 21:21:17 -08:00
Chris Morley
111c654698 qtvcp -add overlayed DRO to default screen
But only when you switch to large graphics display
2020-02-23 21:18:27 -08:00
Chris Morley
e0389d2153 qtvcp -qtaxis: add overlayed DRO 2020-02-23 21:04:02 -08:00
Chris Morley
bf94ddc306 qtvcp -change overlay as well as the background color
You could color them differently by calling either directly.
2020-02-23 20:58:36 -08:00
Chris Morley
f06286f31a qtvcp -fix DRO display
Originally I called glcanon's function for this.
Now we supply out own extactly like gladevcp.
It's probably better - now we can do what we want.
2020-02-23 20:55:59 -08:00
Chris Morley
ece7b1ef18 Merge branch '2.8' 2020-02-20 15:29:50 -08:00
Chris Morley
d6885b3339 pncconf -fix error modifying XYZ to XYZA
A axis data is saved with a string value for the PID 'P' value.
The string is 'None' and is used as a switch to tell pncconf to calculate
the P value for steppers.
pncconf was expecting a float value or python's None value but got a string.
2020-02-20 15:24:00 -08:00
Chris Morley
93ec3ad055 pncconf -'A' joints should be angular 2020-02-20 15:23:27 -08:00
Chris Morley
92e34912e2 qtvcp -more work for AXIS style VCP capibility 2020-02-20 14:11:06 -08:00
Chris Morley
ed0e28b929 qtvcp -add AXIS style gladevcp loading INI check 2020-02-20 07:37:39 -08:00
Chris Morley
cf2887bacd qtvcp -qtaxis add geometry for a right side panel 2020-02-20 07:36:14 -08:00
Chris Morley
762ff19306 qtvcp -add units to gcode desciption
In prep for building a move around bounds utility
2020-02-20 07:33:38 -08:00
Dewey Garrett
e3548bc385 command.c inRange() for iterative kins (genserkins)
The inRange() test formerly set all joint positions to zero
before computing new joint values by kinematicsInverse().

This method is suitable for most kinematics inverse
calculations but can fail for kins that *iterate* to a
solution using current joint positions as the start values
for the computation.

Such a failure occured with the sim puma560.ini using genserkins
with 'benign' reports like:
  "ERR kI - compute_jinv (joints: 0.000000 ... ), (iterations=0)

Investigation showed that genserkins:kinematicsInverse()
detected a singular matrix as reported by compute_jinv()
but the function genserkins:kinematicsInverse() returns the
error reported from the gomath library (GO_RESULT_SINGULAR
-- a positive enum).   The test in inRange() used '<0' as
its criteria so the error was masked.
2020-02-19 14:53:29 -07:00
Phillip Carter
fbf9d19f7b Merge branch '2.8' 2020-02-19 11:53:21 +11:00
Phillip Carter
15983d91bc plasmac: fix run panel save issues 2020-02-19 11:52:49 +11:00
Phillip Carter
146da9365d plasmac: fix user guide typos 2020-02-19 11:52:49 +11:00
Mark
1558f50626 Make sure we're using a more recent C++ version. 2020-02-17 20:28:36 +01:00
Chris Morley
48dc57a531 Merge branch '2.8' 2020-02-16 21:28:22 -08:00
Chris Morley
084acf16ef qtvcp -istat: remove debug statement 2020-02-16 21:16:24 -08:00
Chris Morley
542782a774 qtvcp -workaround qtdragon stylesheet image path problem
stylesheets image paths are hard to make relocatable.
It shouldn't be this hard.
2020-02-16 21:14:19 -08:00
Chris Morley
ffebb0ccb4 qtvcp -substitute stylesheet image path
Qss file are not easily relocateable if they have image paths.
here we look for the resource file signature and replace it with
qtvcp standard image path.
This would be easier if you could tell pyqt where paths are relative to ...
2020-02-16 21:14:07 -08:00
Mark
d34220e0db Adding incremental coordinates U and W (for X and Z) in G7x 2020-02-16 12:08:03 +01:00
Phillip Carter
3d10f8cd99 Merge branch '2.8' 2020-02-16 12:11:49 +11:00
Phillip Carter
19a1a378ce axis: fix touch off error from german translation 2020-02-16 12:10:49 +11:00
Phillip Carter
66eec6097f plasmac: some locale additions 2020-02-16 12:10:49 +11:00
Chris Morley
b3ea9b4d32 Merge branch '2.8' 2020-02-15 10:48:28 -08:00
Chris Morley
701328aeae docs -GSTAT: add component loading info 2020-02-15 10:47:19 -08:00
Chris Morley
f180bfff4e docs -GSTAT add current-z-rotation message description 2020-02-14 17:01:52 -08:00
Chris Morley
def92fbb46 Merge branch '2.8' 2020-02-14 09:04:31 -08:00
Chris Morley
854627b80e qtvcp -qtdragon update to latest
Integration of Jim's latest updates.
Now handles 3 and 4 axis machines.
handler grantry machines
probing builtin
2020-02-14 09:01:05 -08:00
Chris Morley
8882fd41c2 qtvcp -update widget doc
s
2020-02-14 03:23:00 -08:00
Chris Morley
7173136a13 qtvcp -fixup window title in dialogs
try to be more consistant with title variables.
Message dialog didn't honour title settings.
2020-02-14 02:54:08 -08:00
Chris Morley
f0ac284d22 qtvcp -work around screen with misconvigured homeall button
If the machine needs individual homing but the screen only has a
home-all button, issue a warning and offer to work around the problem
by homing each jopint wityh another push of the home button.
2020-02-13 12:54:00 -08:00
Chris Morley
b1fb7482e8 qtvcp -build a home sequence list 2020-02-13 12:50:46 -08:00
Chris Morley
7839e0ba17 Merge branch '2.8' 2020-02-12 14:48:07 -08:00
Phillip A Carter
da909a3402 axis: withdraw instead of iconify
some window managers don't deiconify after iconify but they will deiconify after withdraw

Signed-off-by: Phillip A Carter <phillcarter54@gmail.com>
2020-02-12 14:41:46 -08:00
Dewey Garrett
16caf95ade svd-ps_vfd fix buildbot docs failures #677
aa38c80db used filename ../docs/src/man/man1/svd-pd_vfd.txt
09fb7c8ec renamed to    ../docs/src/man/man1/svd-pd_vfd.1.txt
0892a45f9 merge commit passed travis tests
          but failed buildbot docs building on all hosts

This commit:
1) use consistent name ../docs/src/man/man1/svd-ps_vfd.1.txt
   (buildbot failures ultimately report unrealistic:
   'fatal error: hostmot2-serial.h: No such file or directory')

2) removes empty "ISSUES" section which caused xmllint error;
    a2x: executing: "xmllint" ... svd-ps_vfd.1.xml"
    .../svd-ps_vfd.1.xml:325: element refsect1: validity error : \
        Element refsect1 content does not follow the DTD,...
2020-02-11 12:33:33 -07:00
88458ed54f
Merge pull request #679 from phillc54/axis-withdraw
axis: withdraw instead of iconify
2020-02-11 13:30:37 -06:00
andypugh
35572dde8a
Document the linuxcnc startup script -l switch 2020-02-11 14:19:01 +00:00
Phillip Carter
4f67356ece Merge branch '2.8' 2020-02-11 15:25:21 +11:00
Phillip Carter
a73392ab1e plasmac: user guide enhancements 2020-02-11 15:24:26 +11:00
Phillip Carter
770d93dfac plasmac: fix axis jog error
caused from not allowing text to be localised by gettext
2020-02-11 15:18:58 +11:00
Rene Hopf
0892a45f95 Merge pull request #677 from tinic/master
Add support for Soyan Power SVD-P(S) VFDs
2020-02-10 00:28:34 +01:00
Rene Hopf
c90ac4eb3b Merge branch '2.8' 2020-02-10 00:23:21 +01:00
Benjamin Weis
a2c2f92e12 Improve German translation 2020-02-10 00:17:20 +01:00
Chris Morley
80915affc6 docs -add info about preference magic word
for specifying using the launched configuration path.
2020-02-09 01:17:57 -08:00
Chris Morley
3f8626b24e qtvcp -add magic word for config folder preference file
CONFIGFOLDER will be replaced by the path of the launched configuration
2020-02-09 01:17:57 -08:00
Chris Morley
cd328da48b qtvcp -add more description of requirements 2020-02-09 01:17:20 -08:00
Phillip A Carter
5aba231f6e axis: withdraw instead of iconify
some window managers don't deiconify after iconify but they will deiconify after withdraw

Signed-off-by: Phillip A Carter <phillcarter54@gmail.com>
2020-02-08 13:11:20 +11:00
Chris Morley
2e0f88e2ad Merge branch '2.8' 2020-02-05 06:45:54 -08:00
Chris Morley
6d32d53c46 qtvcp -screenoptions -preferences follow designer defaults
originally the preference defaults were hard coded and didn't
always follow the designer selected options that the integrator
intended - now it should.

Added another preference to avoid the notify initial greeting, while still
allowing the error messages to use the noify protocol.
2020-02-05 06:40:20 -08:00
6aa05983c3
Merge pull request #678 from LinuxCNC/buster-on-buildbot
lsb_release on Buster currently reports "10" as the release
2020-02-04 14:06:05 -06:00
Sebastian Kuzminsky
8805c924bc lsb_release on Buster currently reports "10" as the release 2020-02-03 08:32:24 -07:00
Phillip Carter
a17434b4d1 Merge branch '2.8' 2020-02-01 12:33:00 +11:00
Phillip Carter
8c827f646d plasmac: add powermax communications 2020-02-01 11:29:49 +11:00
Phillip Carter
a17c1cd331 plasmac: change ok high and ok low limits and defaults 2020-02-01 10:42:36 +11:00
5a907fe354
Merge pull request #670 from jepler/hm2-rpspi-improvements
hm2_rpspi: remove and reinstate the kernel spi driver at startup/shutdown
2020-01-30 15:19:13 -06:00
Dewey Garrett
b2e2a6ad39 xyz[ab]c-trt-kins use map_coordinates_to_jnumbers
Allows unconventional mapping of coordinate letters to
joint numbers with the module 'coordinate' parameter in
the same way trivkins uses the parameter.

Default mapping is unchanged:
 xyzac-trt-kins:  x:0,y:1,z:2,a:3,c:4
 xyzbc-trt-kins:  x:0,y:1,z:2,b:3,c:4
2020-01-28 18:05:17 -07:00
Dewey Garrett
1b44b21219 kins_util.c (new) provide coordinate mapping
New kinematics utility routine: map_coordinates_to_jnumbers()
for use with trivkins and other kinematics modules needing
flexible mapping of coordinate letters to joint numbers.

Notes:
 1) No configuration or functional changes intended.
 2) Supports coordinates specifications with duplicate letters
    typically used for two-motor gantry configs.
 3) Also supports unconventional settings like coordinates=zyx
    (reversed order).  Such a reversed order config is not
    supported by the axis gui with the default (identity)
    kinstype so when using trivkins, a note is printed
    recommending kinstype=both (which works with the axis gui).
2020-01-28 12:00:25 -07:00
Tinic Uro
09fb7c8ec2 Rename man file. 2020-01-28 05:45:46 -08:00
Tinic Uro
aa38c80dbf Add user space hal component to support for Soyan Power SVD-P(S) VFDs. 2020-01-31 10:51:30 -08:00
582ad8f592
Merge pull request #676 from jepler/parens
{filt,raw}-data-not: need to parenthesize
2020-01-28 06:52:55 -06:00
8ec2f781b5 {filt,raw}-data-not: need to parenthesize 2020-01-27 09:18:01 -06:00
Dewey Garrett
fb76f66af5 xyz[ab]c-trt.ini sims: remove unused ini stanzas 2020-01-25 09:41:02 -07:00
Sebastian Kuzminsky
d957df75f0 Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  docs: improve description of automatic minor-release updates
  LinuxCNC v2.7.15
  docs: fix #<_coord_system> value for G54
  docs: be more clear about Cycle Start in M2/M30 docs
  docs: fix typos in "About LinuxCNC"
2020-01-24 08:24:37 -05:00
Sebastian Kuzminsky
1c5bbdb5b3 docs: improve description of automatic minor-release updates 2020-01-24 08:21:29 -05:00
Chris Morley
10ae352190 Merge branch '2.8' 2020-01-24 00:24:26 -08:00
Chris Morley
ac431bfdc5 qtvcp -Add feed/spindle override keyboard shortcuts
using the new keybinding function to call a single function
with multiple keys
2020-01-24 00:14:15 -08:00
Chris Morley
9c29208814 qtvcp -add missing dollarsign definition 2020-01-24 00:12:44 -08:00
Chris Morley
b94a437274 qtvcp -More work on embedding programs
In the pursuit of having AXIS styles embedding.
QT5 doesn't do embedding well - very inconsistant.
Having qt embed a running program seems to work best.
Try that if we can, otherwise allow the program to embed.
There seems to be a race - hence the sleep statements

the move/resize event works only when qt embeds the program.
And it's flakey
2020-01-23 23:26:42 -08:00
Chris Morley
6bfa926b72 gladevcp- drop the plug and move XWin id push
For qtvcp embedding only seems to work reasonably
if we use the top window rather then the plug - go figure.

We push the XWin id number with either aproach = it's a signal that gladevcp
has finished making pins etc
2020-01-23 23:26:42 -08:00
Chris Morley
f0a905e2b1 qyvcp -screenoptions needs to add a widget to embed programs.
Can use tab or stacked widget for embedding now
2020-01-23 23:26:42 -08:00
Dewey Garrett
422340bebd sim_lib.tcl: remove halcompile limit of 16 ddts
Restriction for halcompile names= items was eliminated
at commit f56515517e
2020-01-23 20:31:23 -07:00
Chris Morley
757b9e3aeb Merge branch '2.8' 2020-01-22 03:26:03 -08:00
Chris Morley
bb20c615a5 qtvcp -add test code for multi-keybinding function call
more then one key can call a single function with a extra value that was bound to the key
2020-01-22 03:23:31 -08:00
Chris Morley
152c917f87 qtvcp -add an optional value variable to keybbinding
This is useful if calling one function with multiple keys or convienent
if each ket repersents a value such as keys 1-0 for 10% - 100%
Each key could have the percent value attached.
The value can be any python object.
2020-01-22 03:18:16 -08:00
Chris Morley
a79b92a071 qtvcp -fix Logging of the INI file
Was not detecting id linuxcnc was running or not properly
2020-01-22 02:00:30 -08:00
Chris Morley
79ed3f43ef qtvcp -don't crash if the hal_manualtoolchange component is present
Qtvcp sample screens make HAL pins the same name as hal_manualtoolchange
to help with easy intergration to existing users configs.
If the orginal component was still loaded QTVCP crashed with hard
to discover error code.
Now we print a warning and just use the orignal tool change component.
2020-01-22 00:59:31 -08:00
Chris Morley
e2c3094bce Merge branch '2.8' 2020-01-21 21:27:20 -08:00
Chris Morley
deb87b98ba pncconf -fix tune test with inverted stepgens
missed this required code change
2020-01-21 21:23:17 -08:00
Chris Morley
65eecabf37 docs -fix typos in classicladder docs
table was wrong and missed speeld hex designations.
2020-01-21 14:27:27 -08:00
Chris Morley
4be595ffe2 Merge branch '2.8' 2020-01-20 16:00:55 -08:00
Chris Morley
8ce1e7cd2b classicladder -improve modbus debug message legibility
Easier to read the actual data sent/received if the CRC is marked.
Also improve the if-then code around the debug messages
2020-01-20 15:55:03 -08:00
Chris Morley
07f3fb7bab classicladder -fix leading whitespaces
No structual changes intended.
2020-01-20 15:17:50 -08:00
Chris Morley
7327c8d14e docs -Add modbus message info for Classicladder
Hopeful help people understand the debug messages written in terminal
2020-01-20 14:51:34 -08:00
Chris Morley
0b2e9eba9f Merge branch '2.8' 2020-01-19 20:15:12 -08:00
Chris Morley
69126924f8 qtvcp -fix abort on qtaxis screen
copy/paste error - need to use the ACTION library

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:31 -08:00
Chris Morley
5924e31495 qtvcp -add library info for the widgets too
Convienent to know...

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:31 -08:00
Chris Morley
16420fb03b qtvcp -check for espeak before using it
No need to keep trying to use it if it's not there...

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:31 -08:00
Chris Morley
24e19beb30 qtvcp -don't error if there isn't a preference file
it's not required to have a preference file, so don't check for
things that require it.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:31 -08:00
Chris Morley
619b400536 qtvcp -fix typo: error when making new filename
If the preference file was missing, it wasn't made because of this typo

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:31 -08:00
Chris Morley
8197ee2833 pncconf -use alias pin for step invert too
I didn't know there was an alias for this pin - now I
checked on my system...

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2020-01-19 20:14:24 -08:00
Chris Morley
c0634266f1 Merge branch '2.8' 2020-01-19 13:54:44 -08:00
Chris Morley
228e1144dc pncconf -use stepgens alias for direction invert pin
Makes it more obvious what we are inverting and we wont
make a mistake calculating the GPIO number
2020-01-19 13:47:11 -08:00
Phillip Carter
9d324a377d Merge branch '2.8' 2020-01-19 13:41:52 +11:00
Phillip Carter
93cb4ecf2c plasmac: document links and plasmac.hal
add links to online documents in example configs
reinstate plasmac.hal so old configs will run until upgraded
2020-01-19 13:40:28 +11:00
Phillip Carter
6e154410c1 Merge branch '2.8' 2020-01-17 14:27:57 +11:00
Phillip Carter
c4e6fc43bd plasmac: fix shape library for gmoccapy 2020-01-17 14:27:17 +11:00
Phillip Carter
cd6952b130 Merge branch '2.8' 2020-01-15 17:05:27 +11:00
Phillip Carter
696bd26068 plasmac:
user guide updates
sample config links
configurator version error
2020-01-15 17:03:59 +11:00
Phillip Carter
f3198b65eb Merge branch '2.8' 2020-01-15 11:14:15 +11:00
Phillip Carter
42349c6710 plasmac: fix links in sample configs 2020-01-15 11:12:37 +11:00
f18c021e70 remove debug print 2020-01-14 13:07:28 -06:00
4cb29acdf4 sserial: This structure must match device memory layout 2020-01-14 12:37:41 -06:00
45e40bcc1c uspace: allow forcing realtime via environment 2020-01-14 12:21:17 -06:00
Phillip Carter
a1ddf40713 Merge branch '2.8' 2020-01-14 12:23:34 +11:00
Phillip Carter
abc394e9be plasmc: fix hal file in sample configs 2020-01-14 12:22:55 +11:00
Dewey Garrett
baf1e6262b pentakins rm file remaining after merge 2020-01-13 06:54:38 -07:00
b1b69e1bd2
Merge pull request #674 from jepler/hm2-spi-improvements
Fix for pre-c99 compilers
2020-01-13 07:51:33 -06:00
7a48482e22 Fix for pre-c99 compilers 2020-01-13 07:33:01 -06:00
4824d32175
Merge pull request #671 from jepler/hm2-spi-improvements
Hm2 spi improvements
2020-01-12 20:34:39 -06:00
Dewey Garrett
518628ec90 Merge 'origin/2.8' with #673 from 2.8 branch 2020-01-12 17:51:44 -07:00
andypugh
553d948cfc
Merge pull request #673 from pkmcnc/pentakins
Pentakins
2020-01-13 00:16:39 +00:00
Andrew Kyrychenko
3a021b7d6b pentakins kinematics #673
Introduce kinematics for a pentapod parallel kinematics machine
2020-01-12 16:57:16 -07:00
Dewey Garrett
4ed3f747a1 makefile permission restore
inadvertent executable (ex  e0dc3a0bb9)
noticed by pkmcnc
2020-01-12 16:55:37 -07:00
Andrew Kyrychenko
080c84052c pentakins: correct README file in sim config 2020-01-12 23:51:44 +02:00
Andrew Kyrychenko
3cf70b0625 pentakins: remove "last change" date 2020-01-12 23:44:04 +02:00
Andrew Kyrychenko
4f7e6bdaf2 pentakins: add manpage 2020-01-12 23:38:47 +02:00
Andrew Kyrychenko
88b0b1eb6b pentakins: add a sim config 2020-01-12 23:05:46 +02:00
Mark
d98a87286b While in dive we don't care if we're near the start of the segment. 2020-01-12 21:02:06 +01:00
Mark
3b0495a3fd Use the interpreter tolerance to make sure we don't draw full circles. 2020-01-12 14:38:05 +01:00
Andrew Kyrychenko
0e07ef326c Makefile: add pentakins to the build
Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2020-01-12 13:12:32 +02:00
Andrew Kyrychenko
f8cf6f1393 kinematics/pentakins.c: initial commit
Introduce kinematics for a pentapod parallel kinematics machine

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2020-01-12 13:12:32 +02:00
Mark
e9ed54f0b9 Adding parameter check for I. 2020-01-11 19:27:30 +01:00
Mark
37e695f344 Some more tolerance work. 2020-01-11 19:23:44 +01:00
Mark
dab656b2dc Due to rounding we may only find the entry point of an arc. 2020-01-11 14:58:34 +01:00
Mark
715045c117 Remove debugging output. 2020-01-09 23:46:57 +01:00
Mark
333f3ce048 More doc. 2020-01-09 22:22:39 +01:00
Mark
86fd2846f1 Documentation. 2020-01-09 22:00:39 +01:00
Mark
33ff3587e0 Indent fix? 2020-01-09 21:40:51 +01:00
Mark
b9a05d0ea7 More documentation. 2020-01-09 21:39:39 +01:00
Mark
f542f98a9e Add documentation for the G7[12] cycles. 2020-01-09 21:14:29 +01:00
Mark
35a95b7807 Avoid cutting too little material in the G7x.2 cycles. 2020-01-09 21:13:42 +01:00
a2b9321029
Merge pull request #672 from jepler/buster-deps-2.8
debian/: Update deps for Debian 10 & Raspbian 10
2020-01-09 14:02:26 -06:00
Phillip Carter
adb5ab425c Merge branch '2.8' 2020-01-09 19:17:35 +11:00
Phillip Carter
db949798a0 plasmac: add automatic PlasmaC configuration upgrades rename some pins and variables for consistency 2020-01-09 19:16:47 +11:00
Chris Morley
32479c9ec7 Merge branch '2.8' 2020-01-08 22:30:59 -08:00
Chris Morley
c4ca81f6b8 canterp -update example/comments for Andy's spindle update
Andy updated linuxcnc to use multiple spindles.
This code got missed for updating and would not run.
2020-01-08 22:29:40 -08:00
Dewey Garrett
3456882956 tc_types.h indexer_jnum naming (no code changes)
clarify name as the item is a joint number assigned for a locking
indexer as used with JA
 was: indexrotary
  is: indexer_jnum

aside:
motion.h struct emcmot_command_t overloads its 'turn' item as:
  'turns for circle or joint number for a locking indexer'
so it is (still) confusing to see:

taskinf.cc:emcTrajLinearMove() emcmotCommand.turn = indexer_jnum
2020-01-08 20:10:10 -07:00
e31ba3c8b8 debian/: Update deps for Debian 10 & Raspbian 10
I think the gir1.2-vte dependency is not strictly correct (it's gtk3
only) but this dependency will be part of the way forward for gscreen's
terminal widget when it transitions to gtk3.

This yields a working package which can be installed, and AXIS runs.
2020-01-07 19:34:42 -06:00
ad2b36f651 hm2_rpspi: remove and reinstate the kernel spi driver at startup/shutdown
this allows other spi utilities like the "mesaflash" firmware utility
to be run after LinuxCNC has been run

Testing performed: On pi4 only
2020-01-07 19:27:43 -06:00
c69bc472d4 hm2_spi: Handle zero-byte writes
These routines are documented as returning true/false, not counts, but
do_pending returned either a count or a negative errno value.
2020-01-07 19:26:07 -06:00
fa4093a33f hm2_spi: Handle 8-bit-only SPI devices 2020-01-07 19:26:07 -06:00
5ec5a3f6b0 hm2_spi: Add newer Mesa cards 2020-01-07 19:26:06 -06:00
Mark
c03c90a0b6 Enable incremental mode. 2020-01-07 21:51:53 +01:00
317dce964b
Merge pull request #665 from jepler/mesa-updates
Mesa: take a pile of updates from Peter
2020-01-07 10:11:42 -06:00
Mark
e91f6bae37 Avoid cutting too much at once in G7[12].2. 2020-01-06 23:34:37 +01:00
Mark
feb45954f1 Another tolerance issue. 2020-01-06 22:23:42 +01:00
Phillip Carter
368e2f45d9 Merge branch '2.8' 2020-01-06 18:29:25 +11:00
Phillip Carter
6273bdd4fa plasmac: rework component tool handling 2020-01-06 18:27:10 +11:00
Mark
3eb46ddf03 Fix a floating point tolerance issue. 2020-01-06 00:32:40 +01:00
Mark
97ea9d8efc Translate to string literals and fixed a serious safety issue. 2020-01-05 22:53:39 +01:00
Mark
cc184cf0ba Yes, those arcs need correction too. 2020-01-05 22:35:51 +01:00
Mark
99ae405fe9 First take on corner finishes.
Add Axx on a motion command to create a fillet with radius xx,
or use Cyy to create a chamfer with length yy.
2020-01-05 13:04:21 +01:00
Phillip Carter
5e111c1dbb Merge branch '2.8' 2020-01-05 11:01:40 +11:00
Phillip Carter
9c1921acde plasmac: change entry order in configurator 2020-01-05 10:55:56 +11:00
Mark
512ae5ee8c Remove std::complex<double> i(0,1) and use 1i instead. 2020-01-04 19:46:19 +01:00
Mark
90bfcb8cd3 Minor cleanup. 2020-01-04 19:34:37 +01:00
Mark
8d1a85fb76 Check if the path is monotonic before adding a distance. 2020-01-04 15:44:44 +01:00
Mark
edb868dc1b There was an error if a part of the path was on the initial move resulting
in zero length feeds. We now simply skip these moves.
2020-01-04 15:24:41 +01:00
Mark
611c805126 Minor cleanup. 2020-01-04 12:48:30 +01:00
Phillip Carter
e179b4ecdc plasmac: fix configurator for upgrades from v6 2020-01-04 18:29:10 +11:00
Phillip Carter
791d4aff9a Merge branch '2.8' 2020-01-04 17:27:17 +11:00
Phillip Carter
c2cec71816 plasmac: fix version omission 2020-01-04 17:26:43 +11:00
Phillip Carter
c3eb473c7b Merge branch '2.8' 2020-01-04 16:59:25 +11:00
Phillip Carter
90cd7244fe plasmac: fix version omission 2020-01-04 16:58:52 +11:00
Phillip Carter
edbec3469e Merge branch '2.8' 2020-01-04 16:54:17 +11:00
Phillip Carter
81b9c9b6ef plasmac: add pause at end of cut and remove torch off delay 2020-01-04 16:53:20 +11:00
Phillip Carter
30ab2110a0 plasmac: rework doc for thcad 2020-01-04 16:43:52 +11:00
Mark
f0018977a1 Remove debug output. 2020-01-03 23:32:11 +01:00
Mark
867ff8ccca Don't change the current_x and current_z on exit. This enables proper
gougin detection.
2020-01-03 23:24:08 +01:00
Mark
108b18f140 We're no longer parsing so don't include <regex> 2020-01-03 22:36:03 +01:00
3a9f0d36d2 Merge remote-tracking branch 'origin/master' into mesa-updates
Note that this removes a duplicated case label in
src/hal/drivers/mesa-hostmot2/pins.c
which is not shown by `git show` (!) and prevented a successful build.
2020-01-02 16:53:27 -06:00
67ea53e21b Fix places where the "float" type is used
This is almost never desired, because it means that only 24 bits
of precision are kept.  Usually this was done by accident, when
thinking about the HAL type hal_float, which is actually a "double
precision" type too.
2020-01-02 16:46:26 -06:00
344bd4d7fb Remove some X-bits that crept in 2020-01-02 16:46:26 -06:00
7fff17be27 More updates from Peter 2020-01-02 16:46:26 -06:00
Mark
874252285f Add proper error message when not operating in the correct plane. 2020-01-02 23:23:11 +01:00
Chris Morley
f4801f6fe5 Merge branch '2.8' 2020-01-02 14:12:58 -08:00
Mark
42cca71ad2 Apparently we also need some code to allow local variables. 2020-01-02 23:12:37 +01:00
Chris Morley
baedf7ec84 docs -add info about handler file location 2020-01-02 14:12:05 -08:00
Mark
0826db3195 Allowing O words in G7x subroutines. 2020-01-02 21:27:39 +01:00
Sebastian Kuzminsky
ba122d8c3f LinuxCNC v2.7.15 2020-01-02 12:02:01 -07:00
Chris Morley
95959cb66c Merge branch '2.8' 2020-01-02 10:32:55 -08:00
Chris Morley
c61a692e99 gladevcp -fix error if no handler file.
variables were not initialized if there wasn't a handler file
causing the panel to fail.
2020-01-02 10:30:22 -08:00
Mark
5787d2f329 Allow #<_x>, #5520, #<_z> and #5522 to be used in the SUBroutine. 2020-01-02 19:13:16 +01:00
Mark
d668aabf9b Demonstrate cutter compensation. 2020-01-02 18:45:33 +01:00
Mark
e39f078b65 Cleanup distance tolerances. 2020-01-02 18:37:36 +01:00
Mark
bcdfa832cf Fixed G70 again, now it fails with a message if the path is neither
monotonic in Z nor in X.
2020-01-01 23:50:02 +01:00
Dewey Garrett
3518e4d430 externaloffsets cleanup unused #define s 2020-01-01 15:46:12 -07:00
Mark
0030fb6074 Do not copy local variables to new frame.
Fix G70 for paths which are not monotonic in Z, but are
monotonic in X.

Remove the wrong side of curve message, and move the point to
the correct side just like Fanuc.
2020-01-01 23:21:35 +01:00
Mark
cc6dfc70c5 Allow G90.1 and G91.1 modes to be active. 2020-01-01 21:42:22 +01:00
Mark
621694c5cb G70 works with tool radius compensation. G7[12] give the user an error
if the cycle is started with tool radius compensation turned on.
2020-01-01 21:32:14 +01:00
Mark van Doesburg
596e08e54f Don't add zero length segments. 2020-01-01 13:29:33 +01:00
Mark van Doesburg
3326fa0652 Allow R type arcs to be used. 2019-12-31 23:02:30 +01:00
Mark van Doesburg
f6c388cbc2 Remove old development code. Remove useless copy in G71. 2019-12-30 22:43:51 +01:00
Mark van Doesburg
3d098654cc Remove most debugging output. 2019-12-30 22:38:07 +01:00
Chris Morley
2286bb3c9e Merge branch '2.8' 2019-12-30 10:35:11 -08:00
Chris Morley
6278c1f16d docs -update for python action widget 2019-12-30 10:33:14 -08:00
Chris Morley
4ef37abacf sim -add gladevcp test config
for python code action
2019-12-30 10:33:14 -08:00
Chris Morley
7bbed89de6 gladevcp -add EMC_action_python
allows easier access to small python coded arbitrary actions.
If there is a handler file it can call functions in it.
It can call arbitrary python code.
It has some specfic references to Gstat, linuxcnc command, linuxcnc Stat.
It should be easier for users to use then adding a full handler file for small
code snippets
2019-12-30 10:33:13 -08:00
Chris Morley
09fe59af88 Merge branch '2.8' 2019-12-30 09:44:42 -08:00
Chris Morley
91aee0e509 pncconf -fix spindle-on/spindle-enable signal 2019-12-30 09:29:23 -08:00
Mark
d3d93e6efc Floating point error fixed. 2019-12-29 22:44:16 +01:00
Mark
bba5c3fea8 Clean G7[0-2] patch 2019-12-29 20:25:06 +01:00
Phillip Carter
ce0b013717 Merge branch '2.8' 2019-12-28 13:24:32 +11:00
Phillip Carter
f10cce3a08 plasmac: fix configurator indentation properly this time 2019-12-28 12:59:35 +11:00
Phillip Carter
87271d7bd4 Merge branch '2.8' 2019-12-28 11:17:45 +11:00
Phillip Carter
d3bcfef957 plasmac: path typo in docs, indentation error in configurator 2019-12-28 11:16:34 +11:00
Phillip Carter
0a80c3b5cf plasmac: version list tidy up 2019-12-23 15:25:56 +11:00
Phillip Carter
769bc21ac4 Merge branch '2.8' 2019-12-21 12:17:08 +11:00
Phillip Carter
904fb1009b plasmac: version fix 2019-12-21 12:00:48 +11:00
Phillip Carter
fc383e68db Merge branch '2.8' 2019-12-21 11:56:06 +11:00
Phillip Carter
38259283b8 plasmac: fixes for configurator error handling and button images 2019-12-21 11:55:33 +11:00
Phillip Carter
850d0bcbd9 plasmac: add debounce description to the docs 2019-12-21 11:55:33 +11:00
Sebastian Kuzminsky
d3a6cf7a3c docs: fix #<_coord_system> value for G54 2019-12-20 14:46:47 -07:00
Dewey Garrett
a7eaec088c Merge remote-tracking branch 'origin/2.8' 2019-12-19 17:59:01 -07:00
Dewey Garrett
6b927afb83 axis.py homekey fix for lathe_historical_config 2019-12-19 17:53:14 -07:00
Dewey Garrett
1c0c778149 sim_pin u32 pins show hex values too 2019-12-19 15:05:17 -07:00
Sebastian Kuzminsky
2e487fe6b9 docs: be more clear about Cycle Start in M2/M30 docs 2019-12-16 17:52:15 -07:00
Dewey Garrett
3ecbd4d6d9 tests/: remove unintended file
left over from: bc1fd41ec 2011-09-26 07:20:00 +0200
2019-12-13 06:44:39 -07:00
Phillip Carter
cbeac799fb Merge branch '2.8' 2019-12-13 14:33:55 +11:00
Phillip Carter
c61a5df6e7 plasmac: allow creating and deleting materials from the run panel 2019-12-13 14:33:11 +11:00
Phillip Carter
9a6d149056 plasmac: allow saving changed cut parameters for materials 2019-12-13 14:33:10 +11:00
Phillip Carter
9cab575762 Plasmac: Axis - shape library automatically opens preview panel 2019-12-13 14:33:10 +11:00
Phillip Carter
f276876cf0 plasmac: display material when program loaded if automatic material change 2019-12-13 14:33:10 +11:00
Rene Hopf
2a42439e5e
fix #666 by allowing pin width of 19 2019-12-11 17:15:02 +01:00
1bc7f009a2 docs: hostmot2: add undocumented modparams 2019-12-10 07:29:34 -06:00
6a1ae6fcb2 hostmot2: Take a mass of updates from Peter
* absenc: incompatible change: require version 4, support new register
 * eth: add support for 7i94, 7i95, 7i97
 * inmux: add support for inputs from multiplexor chips
 * inm: add support for MPGs
 * pwmgen: Add support for "offset mode"
 * xymod: Add support for galvanometer hardware interface
2019-12-10 07:29:34 -06:00
Phillip Carter
31eab59796 Merge branch '2.8' 2019-12-10 17:38:59 +11:00
Phillip Carter
eb9eb47db2 plasmac: allow configurator to be called from any location 2019-12-10 17:38:14 +11:00
Phillip Carter
2a69e16381 plasmac: add threshold for centre spotting 2019-12-10 17:38:14 +11:00
Phillip Carter
a48e20516c plasmac: documentation updates 2019-12-10 17:38:13 +11:00
Phillip Carter
80c1c879d0 plasmac: materialverter files set to: .tools for sheetcam .json for fusion360 2019-12-10 17:38:13 +11:00
Chris Morley
7f5772c610 Merge branch '2.8' 2019-12-09 17:23:08 -08:00
Dewey Garrett
50b070e985 halshow.tcl use loaded filename as window title
(if loading file from command line or menu)
2019-12-09 18:06:53 -07:00
Dewey Garrett
2c9ecafd0b sim_lib.tcl support spindle orient
shortcircuit:  spindle.0.orient -- spindle.0.is-oriented
2019-12-09 18:02:39 -07:00
Chris Morley
f15c3cce0d qtvcp -update qtaxis to use new offset tool button 2019-12-09 03:17:59 -08:00
Chris Morley
d5b208ba55 qtvcp -add a tool offset tool button
A convienant button to set the current axis tool offsets in multiple ways.
2019-12-09 03:08:15 -08:00
Chris Morley
011bf5028f qtvcp -add a set direct tool offset function to ACTION library
the current offset function set the current position based on offset the tool.
This new function sets the actual tool offset directly.
2019-12-09 03:05:08 -08:00
Chris Morley
13dc4b3226 hal_glib -add a function to give the tool number 2019-12-09 03:04:24 -08:00
Chris Morley
2118e13fa4 Merge branch '2.8' 2019-12-08 10:14:31 -08:00
Chris Morley
5426b7c39f qtvcp -add jump-to-dir buttons to file_manager 2019-12-08 10:13:18 -08:00
Chris Morley
ac96ec5b6c qtvcp -fix missed code change for audio in sim 2019-12-06 03:11:56 -08:00
Dewey Garrett
3a47be11ed motion.c motion.tp-reverse is an output
probably a typo unnoticed to to few users connecting
this pin.

also add motion.tp-reverse to motion man page
2019-12-04 20:26:19 -07:00
Dewey Garrett
57199ba79f motion/control.c bugfix for entering teleop mode
1) In motion/control.c when entering teleop, joint positions
were set for the number of joints specified by the number of
joints used for kinematics:
   (NO_OF_KINS_JOINTS == ini: [KINS]JOINTS value).

2) The joint structures for higher joint numbers allowed
by the compile-time setting of EMCMOT_MAX_JOINTS were
uninitialized and consequently these joint position values
could be nonzero (unpredictably).

3) The joint position values are used by the subsequent
kinematicsForward() function to establish teleop positions.

4) The trivkins module kinematicsForward() sets a world
position (EmcPose) for the total number of allowed joints
(EMCMOT_MAX_JOINTS) since it has no information for the
exact number of joints used (ini: [KINS]JOINTS value).

5) When using trivkins with no specified coordinates=
parameter, it defaults to "xyzabcuvw" and can
set the EmcPose structure for unused coordinates
using the uninitialized joint values.

5) The interpreter routines do not always honor
the axis_mask (ini: [TRAJ]COORDINATES value).
Example, moves like G0,G1 (STRAIGHT_TRAVERSE)
in src/rs274ngc/interp_convert.cc:Interp::convert_straight()
use src/rs274ngc/interp_find.cc:Interp::find_ends()
and may set canon moves for *non-used* coordinates
with *unitialized* values.

6) When unitialized *nonzero* values are propagated to
commands in the motion module, a confusing error will
be reported by command.c:check_axis_constraint().

Example report (axis gui, using mdi tab, then switching
to manual tab mdi):
  "linear move on line 0 would exceed B´s negative limit
  "invalid params in linear command"
where the coordinate (B) is not specified in
[TRAJ]COORDINATES.

7) This commit forces initialization of all possible
joint structures (EMCMOT_MAX_JOINTS) when entering
teleop mode.

------------------------------------------------------
Notes:

a) The interpreter should probably never populate items with
non-default values for coordinates that are not specified
with [TRAJ]COORDINATES (axis_mask).

b) Errors have been reported for the master branch,
for complex setups, example:
https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=210#150437

c) The same conditions may occur with the 2.8 branch.  If
so, the backport is slightly different due to the
incorporation of extrajoints in the master branch
(ee816bd9b5)
2019-12-02 18:40:42 -07:00
Chris Morley
9f803acee6 Merge branch '2.8' 2019-12-02 01:00:38 -08:00
Chris Morley
2f18a56d05 qtvcp -update docs 2019-12-02 00:59:52 -08:00
Phillip Carter
1dfd26bfb3 Merge branch '2.8' 2019-12-02 17:32:59 +11:00
Phillip Carter
31977f1489 plasmac: configurator, enable upgrade and reconfigure from source directory 2019-12-02 17:32:00 +11:00
Sebastian Kuzminsky
a29395d2dd docs: fix typos in "About LinuxCNC" 2019-12-01 11:18:33 -07:00
Phillip Carter
939981bf53 plasmac: fix version number 0.81 2019-12-01 13:39:54 +11:00
Phillip Carter
459047102f Merge branch '2.8' 2019-12-01 13:19:11 +11:00
Phillip Carter
0444fe243c plasmac: allow configurator to run from users config directory for upgrade or reconfigure 2019-12-01 13:18:28 +11:00
Rene Hopf
0ee5746dbe
Merge pull request #661 from 0wn3r/ff3_term_for_pid
Add FF3 term to PID
2019-11-29 12:45:04 +01:00
Rene Hopf
8d8ea674af
Merge pull request #663 from sittner/add-task-pll-functions
added support for task PLL functions
2019-11-29 12:43:45 +01:00
Phillip Carter
4584862551 Merge branch '2.8' 2019-11-27 13:25:23 +11:00
Phillip Carter
a292e77e8e plasmac: fix version number 2019-11-27 13:24:34 +11:00
Phillip Carter
2eec50cc89 Merge branch '2.8' 2019-11-27 13:18:08 +11:00
Phillip Carter
e56b6b5556 plasmac: remove a print statement 2019-11-27 13:17:13 +11:00
Phillip Carter
3614e24613 plasmac: add shapes library 2019-11-27 13:14:51 +11:00
Phillip Carter
33161617fe plasmac: fix single cut 2019-11-27 12:40:10 +11:00
Dewey Garrett
144c093ce4 vismach trt guis startup view angles 2019-11-26 08:16:33 -07:00
andypugh
a548bd9775
Merge pull request #664 from sittner/fix-halcompile-userspace-singleton
fix halcompile singleton option on userspace components
2019-11-23 11:12:17 +00:00
Chris Morley
800f34deb1 Merge branch '2.8' 2019-11-22 23:00:41 -08:00
Chris Morley
c17138212a qtbcp -qtaxis:add spindle speed bar
also set manual mode when manual tab shows
2019-11-22 22:41:07 -08:00
Chris Morley
8d0d7c625b qtvcp -add check for max spindle rpm 2019-11-22 22:37:36 -08:00
Sascha Ittner
bd2b8e52e8 added PLL functions for rtai/xenomai userspace 2019-11-22 19:20:23 +01:00
Sascha Ittner
2caf046d83 fix halcompile singleton option on userspace components 2019-11-22 18:40:31 +01:00
Sascha Ittner
7c14a66179 added support for task PLL functions 2019-11-22 18:00:47 +01:00
Chris Morley
12ebf348a7 Merge branch '2.8' 2019-11-22 00:38:39 -08:00
Chris Morley
eaa43ae8a7 qtvcp -error when not possible to home-all 2019-11-22 00:33:34 -08:00
Chris Morley
dc8be2f1a8 qtvcp -fix versa probe from endless loop of errors
If you got an error before the machine was on/homed, versa probe would issue
a G90 - causing an error....
2019-11-22 00:33:19 -08:00
Chris Morley
128438955d qtvcp -qtaxis: automatically change home-all to home-selected 2019-11-22 00:32:58 -08:00
Chris Morley
76b2e48981 qtvcp -ISTAT:add home-all flag and joint info to collection 2019-11-22 00:32:42 -08:00
Chris Morley
76efe224ba Merge branch '2.8' 2019-11-20 20:08:00 -08:00
Dewey Garrett
7c4522a9a9 vismach.py new hal pin vismach.plotclear
The pin can be accessed by virtual control panels (like pyvcp)
or with sim_pin. Example:

$ sim_pin vismach.plotclear/mode=Pulse
2019-11-18 17:39:43 -07:00
Chris Morley
e150ce0404 qtvcp -give hint of error and available panels 2019-11-17 17:22:59 -08:00
Chris Morley
d14501547a Merge branch '2.8' 2019-11-17 08:12:11 -08:00
Chris Morley
6881c578f4 qtvcp -add a sample qttouchy config 2019-11-17 08:09:44 -08:00
Chris Morley
fca9b3a527 qtvcp -add a touchy styled sample 2019-11-17 08:01:42 -08:00
Chris Morley
89ffb34635 qtvcp -strip negative sign when parcing window geometry
otherwise it is not recongnised as digits and not recorded
2019-11-17 07:57:35 -08:00
Chris Morley
5fde06b78b qtvcp -add a widget that hides based on axis/joint mode/availibility
useful for hiding DRO or job buttons that are not available or not in the right mode
2019-11-17 05:39:15 -08:00
Chris Morley
63ef4f7326 qtvcp -have axis selection widgets select the joint number too
When selecting a axis to un/home we nee the joint number set.
Since we are not in joint mode it was not set by the widget.
If we set it normally it sends a STATUS message that puts tings out of synch.
We get around this by setting the joint number without sending a STATUS message.
Hopefully that doesn't create problems later
2019-11-17 05:34:24 -08:00
Chris Morley
120b4188d5 qtvcp -add unhone/home selected joint action 2019-11-16 22:17:01 -08:00
Chris Morley
05059e74dd qtvcp -status label: add user system and fix unset choice 2019-11-16 22:15:29 -08:00
Chris Morley
b231804368 qtvcp -fix misspelled joginc_angular
may need tp update all ui file that use it
2019-11-16 22:00:50 -08:00
Chris Morley
2666e93a12 qyvcp -add a tab widget with adjustable height tabs
so it's easier to use with a touch screen
2019-11-15 15:12:28 -08:00
Dewey Garrett
7f6b9fa70d trivkins.c readability updates
1) name change to clarify mapping based on
   module 'coordinates' parameter:
     was: data->joints[i]
      is: data->axis_idx_for_jno[i]

2) more consistent indentation
2019-11-15 15:41:22 -07:00
Eduard Kachur
6f79bc58de Add FF3 term to PID 2019-11-13 12:23:40 +02:00
Chris Morley
a15a25271a Merge branch '2.8' 2019-11-11 23:38:21 -08:00
Chris Morley
d15716c96e qtvcp -make a menu for setting status label properties
hopefully easier to set richtext too
2019-11-11 23:36:04 -08:00
Chris Morley
e9b296548e Merge branch '2.8' 2019-11-10 00:58:10 -08:00
Chris Morley
7e7f9a1168 qtvcp -update action widget plugin
Make selecting options a liitle easier - just double click
2019-11-10 00:55:56 -08:00
Chris Morley
3fdfa33869 hal_glib -add unhomed message 2019-11-09 12:29:03 -08:00
Chris Morley
263c251765 qtvcp -add switch for single axis homed/unhomed 2019-11-09 12:28:13 -08:00
Chris Morley
bc98f2e431 qtvcp -add reload display to view actions 2019-11-08 23:51:44 -08:00
Chris Morley
f45e8aa5fe qtvcp -add tool offset dialog action 2019-11-07 20:50:07 -08:00
Phillip Carter
b4d48f53c1 Merge branch '2.8' 2019-11-08 14:33:14 +11:00
Phillip Carter
cf78b1f7ce plasmac: temporary fix for single cut mode change 2019-11-08 14:32:24 +11:00
Phillip Carter
b39c7ba5ef Merge branch '2.8' 2019-11-08 12:20:18 +11:00
Phillip Carter
eec2840945 plasmac: add single cut feature 2019-11-08 12:19:18 +11:00
Phillip Carter
9ce083c4e6 plasmac: fix version notes for configurator 2019-11-08 12:10:40 +11:00
Chris Morley
afb9de3c8c Merge branch '2.8' 2019-11-05 14:27:33 -08:00
Chris Morley
8cc0bce091 stepconf -convert mach_import to dynamic library gtk
otherwise steconf can't use it
2019-11-05 14:25:39 -08:00
Chris Morley
474b2043de Merge branch '2.8' 2019-11-04 19:16:48 -08:00
Chris Morley
ddf38bc1eb qtvcp -versa probe: reset after errors, help dialog, clear offsets
More great work from Jim Persei
2019-11-04 19:15:53 -08:00
Chris Morley
c651e25b91 qtvcp -fix loading of widgets in designer - installed versions
Installed versions of linuxcnc don't have the environent variables
avaiable if inuxcnc isn't running
2019-11-04 14:07:08 -08:00
Chris Morley
7728f36a3e Merge branch '2.8' 2019-11-03 00:17:20 -07:00
Chris Morley
74d3932e2f qtvcp -add a calculator button 2019-11-03 00:16:22 -07:00
Chris Morley
8960b1c849 qtvcp -catch error when 'next' pressed inappropriately
instead of an error message
2019-11-03 00:16:22 -07:00
Chris Morley
1f1b0877b0 qtvcp -axis tool buttons should allow axes selection before homing is done
The pop up window shows things only avaiable after homing.
So now the button is avaiable but the pop up menu is disabled until after homing
2019-11-03 00:16:22 -07:00
Chris Morley
b7582ec7fa hal_glib -update _is_all_homed variable before emitting message
Otherwise if you call is_all_homed() it will report wrong
2019-11-03 00:16:22 -07:00
Phillip Carter
0ab6f7b2c6 Merge branch '2.8' 2019-11-02 11:49:44 +11:00
Phillip Carter
c20f7ed388 plasmac: add some debugging pins 2019-11-02 11:46:31 +11:00
Phillip Carter
8224e07c94 plasmac: versioning improvements 2019-11-02 11:44:04 +11:00
Chris Morley
dc1bd47d0d Merge branch '2.8' 2019-11-01 17:20:48 -07:00
Chris Morley
6fc1314fcd pncconf -fix discovery button not showing without debug option
debug should show an input tab in the help file.
The button should show whether in debug or not.
2019-11-01 15:45:03 -07:00
Chris Morley
54e7990424 Merge branch '2.8' 2019-11-01 14:34:34 -07:00
Chris Morley
6cd19c1a4a Qtvcp -update versa probing
Jim Persei put lots work to make this function and be better laid out.
I added error checking to stop movement if anything goes wrong.
Needs lotsa testing

reading the stndin status before reading data, stops blocking
2019-11-01 14:28:53 -07:00
Chris Morley
a8a7326ad3 Merge branch '2.8' 2019-10-30 15:45:52 -07:00
Chris Morley
6acbabdbae pncconf -ok 7i96 parcing really should work now...
I tested using injected firmware data - possible from previous commit
2019-10-30 15:44:52 -07:00
Chris Morley
8c28ab67b7 pncconf -fake reading a mesa card firmware for developers
If a user can supply me what pncconf reads from a card (that I don't have)
Now I can inject it into pncconf so I can test.
2019-10-30 15:44:52 -07:00
Chris Morley
1324ba9245 pncconf -ssr components are numbered differently then gpio
HAL pin names were wrong.
We now code the component number in the firmware so we can
extract the component numbers later for the HAL pin names
2019-10-30 15:44:52 -07:00
Chris Morley
15eafceed4 pncconf -two more typos in discovery code 2019-10-30 15:44:52 -07:00
Dewey Garrett
992c548f0a Merge remote-tracking branch 'origin/2.8' 2019-10-30 14:17:04 -07:00
Dewey Garrett
41dfdbb367 sim_lib.tcl:save_halcmds proc updates
1) improve formatting for setp commands in *_cmd.hal
2) use 'allu' option for hal save if the ini
   file uses multiple [HAL]HALFILEs
3) add note about ALL unconnected pins
   when using 'allu' option

Note: 2) above allows basic_sim.tcl to support
      creation of more complete *_cmds.hal when
      using twopass and multiple HALFILEs
2019-10-30 14:12:23 -07:00
Dewey Garrett
8cf5a00d56 show_errors.tcl update regexp for dmesgreport #657
rtai version 3.4-9-rtai-686-pae does not report strings formerly used
  "^.*Adeos: Pipelining started\.|^.*I-pipe: Domain RTAI registered\."

so use abbreviated "RTAI registered" which is reported with 3.4-9-rtai

This eliminates the verbose inclusion of all of dmesg output
in report

Ref:  last commit 098ae0daf3 was for 2.6.24-16-rtai
Date: Thu Apr 23 12:53:33 2009 +0000
2019-10-30 13:32:16 -07:00
Dewey Garrett
55febb6fdc linuxcnc.tcl.in use 'RTS' not 'SIMULATOR' #657
Ref: 1d6c0d0646
     Mon Jun 23 22:07:03 2014 -0500
     configure: Change "sim" to "uspace", with fallout elsewhere
2019-10-30 13:32:16 -07:00
Phillip Carter
de0ae9c19a Merge branch '2.8' 2019-10-30 14:12:25 +11:00
Phillip Carter
11d12ea820 plasmac: add more gcode file extensions 2019-10-30 14:11:29 +11:00
Phillip Carter
b29d1afcb0 plasmac: add z relative height output 2019-10-30 14:11:29 +11:00
Chris Morley
a080633183 Merge branch '2.8' 2019-10-28 13:05:17 -07:00
Chris Morley
271aeb423e qtvcp -make qtdefault's logdialog nonblocking 2019-10-28 13:03:49 -07:00
Chris Morley
915019a0e4 pncconf -fix discovery parcing of 7i76 card 2019-10-28 13:01:49 -07:00
Chris Morley
b208886d23 qtvcp -have log widget get integrator log path from INI 2019-10-28 12:59:56 -07:00
Chris Morley
ad58852cee pncconf -fix unsensitive control button when selectting ssr signal
anytime the function returns it should sensitize the control buttons
2019-10-28 10:51:38 -07:00
Chris Morley
ad9e1942bf qtvcp -update qtdefault screen: machine log, nonblocking camview 2019-10-27 23:43:53 -07:00
Chris Morley
86b6910f52 qtvcp -fix machine log dialog's default magic name
used for calling the dialog from STATUS
(copy paste error)
2019-10-27 23:33:31 -07:00
Chris Morley
9f295aaadf qtvcp -add non blocking option to camview dialog 2019-10-27 23:32:00 -07:00
Chris Morley
e67a63cb77 Merge branch '2.8' 2019-10-27 19:23:08 -07:00
Chris Morley
76298f11b8 pncconf -replace gksudo
New distributions have removed gksudo - pkexec is supposed to
replace it. Works for mint 18.2..
2019-10-27 19:22:16 -07:00
Chris Morley
b251d66775 pncconf -add ssr pin type for 7i76
Now the HAL pin should be right
2019-10-27 19:22:16 -07:00
Chris Morley
db97bc9b4f qtvcp -add missing qtdragon jog button images 2019-10-27 19:22:16 -07:00
andypugh
a48d613fb3 Merge remote-tracking branch 'origin/2.8' 2019-10-27 23:08:15 +00:00
andypugh
e0dc3a0bb9 hal_pi_gpio: Add a HAL driver for Raspberry Pi GPIO
Based on the hal_gpio driver from Machinekit, modified for the LinuxCNC
build environment and with support for the Raspberry Pi Version 4.


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-10-27 23:06:10 +00:00
Chris Morley
a8fe34c556 Merge branch '2.8' 2019-10-26 21:07:25 -07:00
Chris Morley
4599a355eb qyvcp -switch to QProcess and work on return data
We now have two way communication between veraprobe and versaprobe_subprog
more work yet to make it use the data
2019-10-26 21:00:35 -07:00
Chris Morley
42f10f29fb pncconf -fix typo in discovery code 2019-10-26 17:39:45 -07:00
Chris Morley
dcc307decd Merge branch '2.8' 2019-10-26 11:59:10 -07:00
Chris Morley
8d84844526 pncconf -improve mesa discovery option
now it's easier to set address of etho cards
also prints any errors in the help page
2019-10-26 11:58:16 -07:00
Chris Morley
9c5ec0e161 pncconf -work around the 7i96's odd connector designations 2019-10-26 11:58:15 -07:00
Chris Morley
738011dfc0 qtvcp -general messagbox and log dialogs can be non-blocking
add 'NONBLOCKING':'True' to the message dict
2019-10-26 11:57:59 -07:00
Chris Morley
488e47e126 pncconf -fix stepper spindle HAL signals
It added joint code instead of spindle code.
This currently leaves the spindle as internally PID rather the the preferred
external - I'd need to test to do better
2019-10-25 20:45:22 -07:00
Chris Morley
5d9e24cba1 pncconf -hide panel test buttons
They only worked on some old cards. maybe some day i'll fix it.
2019-10-25 15:09:00 -07:00
andy pugh
f4f6517aa3 Merge remote-tracking branch 'origin/2.8' 2019-10-24 20:01:41 +01:00
andy pugh
f37f653614 carousel.comp: Fix a bug in BCD mode
The parity calculation would attempt to access pins out of range if the
number of sense pins was not a multiple of 4.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2019-10-24 20:00:05 +01:00
Phillip Carter
ff7fb87641 Merge branch '2.8' 2019-10-24 10:21:50 +11:00
Phillip Carter
3cd9d29341 plasmac: documentation enhancements 2019-10-23 17:28:57 +11:00
Phillip Carter
056cd3d71a Merge branch '2.8' 2019-10-23 11:21:12 +11:00
Phillip Carter
f7ce81f85d plasmac: fix ccName[loop] in consumable change 2019-10-23 11:20:52 +11:00
Phillip Carter
7aa58b1be9 Merge branch '2.8' 2019-10-23 10:52:53 +11:00
Phillip Carter
c5b4dd1a26 plasmac: consumable change fixes 2019-10-23 10:52:02 +11:00
Norbert Schechner
e99a996540 Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8
Conflicts:
	configs/sim/gmoccapy/lathe_configs/savestate.sav
	configs/sim/gmoccapy/tool.tbl
2019-10-22 16:15:30 +02:00
Norbert Schechner
20c5978f33 keine Ahnung warum 2019-10-22 16:08:41 +02:00
Phillip Carter
e1e9e70bc0 plasmac: documentation fixes 2019-10-22 14:31:42 +11:00
Phillip Carter
30a982ad2e Merge branch '2.8' 2019-10-21 18:19:33 +11:00
Phillip Carter
1244b5a714 plasmac: add change consumables 2019-10-21 18:18:47 +11:00
Phillip Carter
bf110a8942 Merge branch '2.8' 2019-10-20 13:01:06 +11:00
Phillip Carter
f2a6ea6469 plasmac: add path tolerance to user guide 2019-10-20 12:59:50 +11:00
Phillip Carter
c72dfc68db plasmac: user guide change for buildbot 2019-10-20 12:59:50 +11:00
Phillip Carter
b0f3db2351 plasmac: fix g64 parameter for imperial configs 2019-10-20 12:59:50 +11:00
Chris Morley
719df5060b Merge branch '2.8' 2019-10-19 17:39:12 -07:00
Chris Morley
3d6c0e234c qtvcp -add rapid speed to probe entries/ rearrange layout.
Thanks Jim Persei!
2019-10-19 17:34:16 -07:00
Chris Morley
e7a5b3487a qtvcp -quiet a LOG message
its not an error it's just for debugging
2019-10-19 17:32:07 -07:00
Chris Morley
bcf041fc20 qtvcp -fix abort command in MDI function 2019-10-19 17:31:16 -07:00
Chris Morley
634b5bf8f8 pncconf -add beginning of 7i96 support
I'll have to wait for reports from users to see if it works properly.
2019-10-19 16:58:29 -07:00
Chris Morley
de018b1fb3 Merge branch '2.8' 2019-10-19 08:17:19 -07:00
Chris Morley
0ffad50524 qtvcp -add missing mdi_touchy.ui file 2019-10-19 08:16:20 -07:00
Chris Morley
47d87b6427 Merge branch '2.8' 2019-10-18 21:32:32 -07:00
Chris Morley
5357f3e150 pncconf - fix INI substitution syntax for mesa cards.
Didn't realize you needed brackets - should have checked other sim files...
2019-10-18 21:30:12 -07:00
Chris Morley
30d3a26e98 Merge branch '2.8' 2019-10-18 15:39:14 -07:00
Chris Morley
db6c19ab4c nc_file - fix typo in probe/down.ngc for versaprobe 2019-10-18 15:36:53 -07:00
Chris Morley
5f8f852e97 qtvcp -revamp versaprobe to use subprocess
use sybprocces so it doesn't block the gui from updating/responding.
Now the main program launches the subprogram and communicate the function to call.
2019-10-18 15:36:53 -07:00
Chris Morley
27a582f48d qtvcp -add timeout option to MDI commands
stock time is 5 seconds - some routines take longer (like probing)
2019-10-18 15:36:53 -07:00
Chris Morley
a4b5b04883 qtvcp -fix subpaths in x1mill simulation 2019-10-18 15:36:53 -07:00
Chris Morley
6ff492a00b qtvcp -fix keyboard abort in x1mill 2019-10-18 15:36:53 -07:00
Chris Morley
e13e5d2e0b qtvcp -fix axis jogging
forgot to set axis as well as joint number in action button
2019-10-18 15:36:53 -07:00
andypugh
17c9137cad Pretend to merge branch 'origin/2.7' into 2.8
(to prevent an unwanted merge of a change to mesa_uart in 2.7 from
being brought in to 2.8 the "-s ours" option was used.)
2019-10-18 01:11:07 +01:00
andypugh
a3f30ca35c mesa_uart: Remove header file not in 2.7
just make mesa_uart compile by removing a reference to a header only found
in 2.8+


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-10-18 00:59:35 +01:00
andypugh
feff71eada configure.ac: Fix a problem with KERNEL_VERS
The grep/cut combination used to find the kernel version sometimes returns
a multi-line result, leading to an unterminated kernel version string in
config.h and a rather nonsensical error message when booting linuxcnc
"LinuxCNC requires the real-time kernel 4.14.132-rtai-amd64
#define __GCC_ASM_FLAG_OUTPUTS__ 1 to run." for example.
A -s switch in the cut command appears to address this problem.


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-10-18 00:31:26 +01:00
Chris Morley
d121abdee2 Merge branch '2.8' 2019-10-17 02:06:20 -07:00
Chris Morley
2f82dd005b qtvcp -add a touchy based MDI widget
still need to add macro seelection to it
2019-10-16 20:26:00 -07:00
Chris Morley
f09965cb04 qtvcp -fix error with qtvcp panels with no preference file
We give a default of None
2019-10-16 20:26:00 -07:00
Chris Morley
f717fd1f20 qtvcp -fix spindle control button
when button were checkable - they would indicate incorrectly
2019-10-16 20:26:00 -07:00
andypugh
c2c4838a73 Merge remote-tracking branch 'origin/2.8' 2019-10-15 22:03:42 +01:00
andypugh
b6304e2cd9 Merge remote-tracking branch 'origin/2.7' into 2.8 2019-10-15 22:02:45 +01:00
andypugh
e39fe3055e mesa_uart.comp: Fix a long-standing names bug.
I eventually realised that = does not copy strings in C.


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-10-15 21:57:26 +01:00
Chris Morley
a9980b2c07 Merge branch '2.8' 2019-10-14 21:48:27 -07:00
Chris Morley
cfd8b10b02 qtvcp -fix Make file for moved files - again
I tested it on my sytem this time...
2019-10-14 21:47:11 -07:00
Chris Morley
4d5850fda7 Merge branch '2.8' 2019-10-14 15:53:39 -07:00
Chris Morley
448b3b11f8 qtvcp -add code so versaprobe dialog saves data
we now register the widget when it's built in screenoptions and
add a springboard function so closing cleanup is called on versaprobe
when called on the dialog
2019-10-14 15:50:26 -07:00
Chris Morley
37310f36f2 qtvcp -revamp how hal-ized widgets are recorded
now we can arbitraily add widgets to the list, for instance if we
use screenoptions widget or the handler file to create widgets outside
of qtvcp's normal routine.
In this way we can still get them to call closing cleanup functions.
2019-10-14 15:45:44 -07:00
Chris Morley
60446889c5 qtvcp -versaprobe: add saving to preference file
Seems I forgot to add the closing cleanup code actually save the data
2019-10-14 15:42:24 -07:00
Chris Morley
ef21d391f9 qtvcp -fix typos in versa probe widget
Thanks Jim Persei
2019-10-14 13:44:11 -07:00
Chris Morley
141f90df63 qtvcp -update make file for moved files 2019-10-14 13:37:57 -07:00
Chris Morley
af5e3a10f2 Merge branch '2.8' 2019-10-13 19:08:49 -07:00
Chris Morley
3d85a2c83e qtvcp -fix spelling mistake 2019-10-13 19:05:27 -07:00
Chris Morley
3a37f1f726 qtvcp -fix system shutdown- on mint?
I thought I had this working properly but it doen't work on Mint.
I'll check debian after
2019-10-13 19:02:59 -07:00
Chris Morley
d9a655ba52 qtvcp -preference library: build a missing file
If the preference file is missing make it instead of errorring
2019-10-13 19:01:20 -07:00
Chris Morley
16d9807698 qtvcp -move widget ui files to shared folder
designer image paths are relative - since I want all images files in one
place the relative position of ui and images must stay the same.
I'm sure there is a better way to do this but this fixes the problem for now.

Jim Persei supplies an updated versa probe ui file to fix some small issues.
Thanks Jim
2019-10-13 17:53:44 -07:00
Chris Morley
a179772bbc qtvcp -add library path to istat 2019-10-13 17:33:25 -07:00
Chris Morley
abab1e4bd6 qtvcp -add max velocity option to status adjustment bar
Thanks Jim Persei (persei802) for the code
2019-10-13 17:03:03 -07:00
Chris Morley
9724680d8a qtvcp -fix error when using is-limits-overridden led
do to code changes to hal glib override-limits-changed message
2019-10-13 16:49:25 -07:00
Dewey Garrett
895db76959 twopass.tcl: loadusr prog identification fix #653 2019-10-13 06:27:12 -07:00
Dewey Garrett
920d396e1b src/Makefile provide means to quiet warnings 2019-10-13 06:26:05 -07:00
Phillip Carter
1337f284e2 Merge branch '2.8' 2019-10-08 17:14:01 +11:00
Phillip Carter
45f0a41e1a plasmac: configurator typos in ini files 2019-10-08 17:07:17 +11:00
Phillip Carter
01362fd465 plasmac: axis ini file typos 2019-10-08 16:24:44 +11:00
Phillip Carter
40aa555bcf plasmac: fix paramater saving bug 2019-10-08 15:17:42 +11:00
Phillip Carter
91b82a6447 Merge branch '2.8' 2019-10-08 11:16:29 +11:00
Phillip Carter
a3fa0c2fb9 plasmac: configurator missing some toolchange comments 2019-10-08 10:10:23 +11:00
Phillip Carter
7a34babb49 Merge branch '2.8' 2019-10-07 15:09:10 +11:00
Phillip Carter
d1e239e45d plasmac: set configurator to default to metric 2019-10-07 15:07:59 +11:00
Phillip Carter
137b7e956e plasmac: widget sizes in config panel and run panel 2019-10-07 15:07:59 +11:00
Dewey Garrett
1900782af5 twopass: msg if missing/nonexecutable loadusr prog 2019-10-03 06:15:59 -07:00
andypugh
2142ff2267
Merge pull request #651 from BsAtHome/2.8
Backport the RPi4 fixes and 7C80/7C81 board additions to the 2.8 branch
2019-10-02 22:39:28 -06:00
Bertho Stultiens
a783cea020 Backport the RPi4 fixes and 7C80/7C81 board additions to the 2.8 branch (see master for detailed log). 2019-10-02 20:13:35 +02:00
Chris Morley
db27e3811c Merge branch '2.8' 2019-10-01 15:03:32 -07:00
Chris Morley
ff4c1800be qtvcp -allow user to redirect the system shutdown process
incase you need to do an unusual shutdown procedure
2019-10-01 15:02:50 -07:00
Chris Morley
40e303feee Merge branch '2.8' 2019-09-30 13:13:02 -07:00
Chris Morley
94992af2e5 pncconf -add a break statement to speed up iter
once we find the match dtop looking
2019-09-30 13:05:18 -07:00
Chris Morley
c14614663c pncconf -fix error when using sserial pins
indent was wrong pinname was never actually built
2019-09-30 13:02:40 -07:00
Chris Morley
f88ebad3a6 Merge branch '2.8' 2019-09-29 22:05:40 -07:00
Chris Morley
a74955f058 qtvcp -make system shutdown work in most systems
specifically gnome and xfce standard ways are tried
otherwise a more general direct method
2019-09-29 22:04:33 -07:00
Dewey Garrett
622ad38dc3 Merge branch '2.8' 2019-09-29 08:28:54 -07:00
Dewey Garrett
5295eeebb8 homing.c additional cleanup after abort close #650 2019-09-29 08:26:44 -07:00
Chris Morley
c9534695ac Merge branch '2.8' 2019-09-28 10:38:38 -07:00
Chris Morley
5eef7c1a31 qtvcp -add missing image file for qtdragon 2019-09-28 10:37:06 -07:00
Chris Morley
72ef462d22 qtvcp - Add Jim's qtdragon screen
Jim Persei built and gave this screen to linuxcnc.
This is the initial upload to linuxcnc - I adjusted a couple
paths from his original code.
2019-09-28 10:25:14 -07:00
Chris Morley
cdcfa416db qtvcp -quiet debug messages in tooloffsetview widgets 2019-09-28 10:08:12 -07:00
Chris Morley
3d06acfa23 Merge branch '2.8' 2019-09-24 19:02:38 -07:00
Chris Morley
4fdbed0965 qtvcp -periodic check waited too long
once a second seems about right
2019-09-24 18:10:11 -07:00
Dewey Garrett
c2dc3e6dc9 spartan_handler.py remove DOS lineendings
DOS line endings are handled by some py3 converters (/usr/bin/2to3)
but create problems for rebasing
2019-09-23 08:03:51 -07:00
Chris Morley
8ae1f679f8 Merge branch '2.8' 2019-09-23 00:42:06 -07:00
Chris Morley
7ab541176a qtvcp -revamp how limits override action/button works
Action button should only be able to be clicked if on hard limit.
Should only be resetable after hard limit is cleared.
Add some Error messages to warn the operator
add limits override to qtaxis for testing
2019-09-23 00:37:12 -07:00
Chris Morley
7d4192170d hal_glib -add state to override-limits-changed, add is_ functions
State of limits_override is probably more importatant - not sure you
can set override on separate joints.
Added functions:
is_hard_hard_limits_tripped
is_limits_override_set
2019-09-23 00:36:45 -07:00
Chris Morley
2119997387 Merge branch '2.8' 2019-09-21 22:06:23 -07:00
Chris Morley
8da4d21ad9 hal_glib -fix missed spelling mistakes
I actually broke anything that uses hal_glib here sorry
2019-09-21 22:04:51 -07:00
Chris Morley
5261ee366e Merge branch '2.8' 2019-09-21 20:52:54 -07:00
Chris Morley
89fef34df0 docs -Gstat fix docs on user-system-changed message 2019-09-21 20:45:28 -07:00
Chris Morley
ed5c790aaa docs -Gstat fix misspelled hard-limits-tripped message 2019-09-21 20:41:35 -07:00
Chris Morley
25b9df7d18 hal_glib - fix missed spelled message user-system-changed 2019-09-21 20:38:14 -07:00
Chris Morley
648d7899ea qtvcp -remove debugging print 2019-09-21 17:36:50 -07:00
Chris Morley
e6d8204aa3 qtvcp -add integrator log to machine log widget/dialog
Might be useful - might want to make it optional on the dialog
2019-09-21 17:35:37 -07:00
andypugh
a33d3b2db7 Merge branch '2.8' 2019-09-21 20:44:45 +01:00
andypugh
c711eb2279 Merge remote-tracking branch 'origin/2.7' into 2.8 2019-09-21 20:36:07 +01:00
andypugh
5ffa41e504 RTAI_RTAPI: Allow rtapi to compile with kernel 4.14+
See https://lkml.org/lkml/2017/9/30/189


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-09-21 20:33:24 +01:00
Chris Morley
c1670850b2 Merge branch '2.8' 2019-09-20 22:21:23 -07:00
andypugh
0dbbfb3ae1 RTAI_RTAPI: RTAPI does not compile with kernel 4.14 without this change.
This commit is a lazy way to test that it is backwards compatible using the
buildbot.


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-09-21 02:00:28 +01:00
Chris Morley
b3f7b2519e qtvcp -fix error message from machineLogDialog
copy paste error; mchinelog doesn't have an entry widget
2019-09-20 15:59:04 -07:00
Chris Morley
b56f8e4ef8 qtvcp -entryDialog: substitute axis position for letters
now typing (eg) x+2 to represent current x relative position plus 2.
send conversion, answer to machine log
2019-09-20 15:53:34 -07:00
andypugh
0044b8caf3 hal_motenc: Give more informtion when an unknown card type is detected
Signed-off-by: andypugh <andy@bodgesoc.org>
2019-09-20 21:23:38 +01:00
Chris Morley
b25997c913 Merge branch '2.8' 2019-09-19 23:16:55 -07:00
Chris Morley
f6d82186c3 qtvcp -update blender a bit 2019-09-19 23:05:02 -07:00
Chris Morley
94ae71e549 qtvcp -update no_tool background, add unknown tool image 2019-09-19 23:05:02 -07:00
Chris Morley
8b0e1cb8a5 qtvcp -fix misspelled environment variable
I missspelled it to test and forgot to fix it I guess.
2019-09-19 23:05:02 -07:00
Chris Morley
3930268130 qtvcp -actionbutton: add zero rotated Z axis 2019-09-19 23:05:01 -07:00
Chris Morley
6d7cf1000e qtvcp -have entry dialog check for proper data
we check if there are math statements an process them.
check if answer is a proper float.
if we divide  two integers - now the answer is a float.
2019-09-19 23:05:01 -07:00
Chris Morley
bece23d53d qtvcp -imagewidget: catch some possible errors with paths
Display a default image if anything goes wrong
use INFO to get default image path
add a function to set a new default image path
2019-09-19 23:04:36 -07:00
Chris Morley
731ce56ac2 qtvcp -log the preference file to terminal
switch to caps for log instance, like all the other files
2019-09-19 18:32:14 -07:00
Chris Morley
0742250aef Merge branch '2.8' 2019-09-19 17:19:07 -07:00
Chris Morley
08c06a0f9d qtvcp -add a function to get checked tools list
In case someone wants to do something like 'load selected tool'
2019-09-19 16:48:29 -07:00
Chris Morley
40f0068aac qtvcp -don't error in designer if environment variable is missing
I think I need a better way to look up linuxcnc path locations
when linuxcnc isn't running - it's easy when using a RIP,
not so much on installed.
2019-09-19 16:48:03 -07:00
Chris Morley
ed8ef5d2d4 Merge branch '2.8' 2019-09-18 22:32:40 -07:00
Chris Morley
0e0bd80e0d qtvcp -action buttons: adjust abort, step and pause enabled states
abort should be available as long as machine is on
pause/step are now only available if the interpeter is running
2019-09-18 22:29:30 -07:00
Chris Morley
dc0ce8106d hal_glib -add interpeter is_status functions
for directly checking interpeter state
2019-09-18 22:28:15 -07:00
Chris Morley
ba54161555 qtvcp -round button should always be round
not sure why I only clipped the image if it was checked...
2019-09-18 21:32:44 -07:00
Phillip Carter
6a93a0fbd7 Merge branch '2.8' 2019-09-18 10:02:51 +10:00
Phillip Carter
affa9a06f7 plasmac: comment out user guide references to spotting 2019-09-18 09:50:02 +10:00
Phillip Carter
28a1030fad plasmac: fix configurator labels for up and down inputs 2019-09-18 09:50:01 +10:00
Phillip Carter
7c30fd3924 plasmac: user guide Z axis recommendations 2019-09-18 09:50:01 +10:00
Chris Morley
3e077cb5f5 Merge branch '2.8' 2019-09-17 12:31:52 -07:00
Chris Morley
67a62274a6 qtvcp -add images donated from Emanresu on forum
Thank you!
2019-09-17 12:30:21 -07:00
Chris Morley
e33e15d58f qtvcp -fix status label's intepeter state report
If you paused it would not reset when unpaused.
Now you can manipulate the label to hipe states or use different words.
2019-09-17 12:28:09 -07:00
Chris Morley
22da0ea59e qtvcp -change debug printing
There is some information we normally want
2019-09-17 11:36:35 -07:00
Chris Morley
2eba614760 qtvcp -remove debugging print statement 2019-09-17 01:10:19 -07:00
Chris Morley
ee7bfc3e43 qtvcp -quiet debugging messages.
It's too bad there isn't a verbose debugg option in logger
2019-09-17 01:09:08 -07:00
Chris Morley
a00812dd7b qtvcp -hide useless error messages when linuxcnc not running.
When using designer there is no INI so we try to surpress those errors messages.
Now other widgets can check INFO to decide if linuxcnc is running
2019-09-17 01:01:08 -07:00
Chris Morley
5d80e7a521 Merge branch '2.8' 2019-09-15 23:27:04 -07:00
Chris Morley
b39bb4c1ba qtvcp -fix restoring of saved main window geometry 2019-09-15 23:24:36 -07:00
Chris Morley
1f80efa1ec qtvcp -add checkboxes to tooloffsetview / code to delete tools
check the boxes and (in the dialog version) press delete and the checked tools
will be removed from the toolfile.

A ton of work to add space in the array for the checkbox.
pyqt is not nearly as easy as GTK in this regard.
This code needs clean up ... but that will have to come later
2019-09-15 22:59:38 -07:00
Chris Morley
bfbd7c9ce1 qtvcp -if there is not toolfile entry then return python None 2019-09-15 22:21:26 -07:00
Chris Morley
01c0c1fa0e Merge branch '2.8' 2019-09-15 14:13:35 -07:00
Chris Morley
51e34637e6 qtvcp -revamp toolfile staleness check, add delete tool
previously it was easy for multiple widgets reading the HASH code to
fool each other that the toolfile hadn't changed.
Now the toolfile is checked with STATUS and then if it has changed
we emit a signal with the new data, again using STATUS

Also added a delete tool function that takes a list of tool numbers to
delete. It loads and saves the tool file, ignoring the tools in the list.

added a toolfile-stale signal to STATUS to facilitate this. This signal
is not available in GStat (gladevcp's version)

Updated tooloffsetview widget to use new signal for update
2019-09-15 14:11:16 -07:00
Norbert Schechner
856775d947 Merge branch '2.8' 2019-09-15 12:49:24 +02:00
Norbert Schechner
aa15d6e185 gmoccapy_3_0_8_2 - minor bug in enable_gremlin_dro
ver 3.0.8.2
- minor bug in enable_dro handling from gremlin dro,
  special case for non identical kinematics
- some additional print statements and code clearance

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-09-15 12:48:57 +02:00
Norbert Schechner
c2dcb99a70 Merge branch '2.8' 2019-09-15 11:54:24 +02:00
Norbert Schechner
8fdb610d68 gmoccapy_3_0_8_1 : Bug in jogging a lathe in diameter mode
ver 3.0.8.1
- bug reported by Markus, jogging in diameter mode would only jog half the requested
  distance, what is OK for X axis, but not for all other axis.

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-09-15 11:51:00 +02:00
Chris Morley
ffc84f1ea5 Merge branch '2.8' 2019-09-13 23:36:07 -07:00
Chris Morley
b87d815775 qtvcp -fix saving of tool data
oops that print staement was important...
2019-09-13 23:33:25 -07:00
Chris Morley
b7c897fe26 Merge branch '2.8' 2019-09-13 19:07:15 -07:00
Chris Morley
50edd6fa62 qtvcp -fix error when using designer
There is no tool or INI file when using designer.
Make sure we add dummy lists in that case.
2019-09-13 19:06:22 -07:00
Dewey Garrett
4cd952ff95 Merge remote-tracking branch 'origin/2.8' 2019-09-13 16:55:54 -07:00
Dewey Garrett
7521ab37ab sim_lib.tcl accommodate neg SEARCH_VEL 2019-09-13 16:52:46 -07:00
Chris Morley
4d4a72c203 Merge branch '2.8' 2019-09-13 12:10:46 -07:00
Chris Morley
f5edd1f8ff qtvcp -cleanup toolfile offsets code, add docs 2019-09-13 12:09:44 -07:00
Chris Morley
36f53bbf8a Merge branch '2.8' 2019-09-13 00:33:23 -07:00
Chris Morley
ac903436b1 qtvcp -fix load file action button
If you request a file dialog with an ID of anything but None it will return the file path
rather then actually load the file
2019-09-13 00:29:38 -07:00
Chris Morley
c1d23be27e qtvcp -save the orientation as an integer
otherwise it screews up linuxcnc's tcl tooledit program
2019-09-12 23:41:09 -07:00
Chris Morley
1358febd5b Merge branch '2.8' 2019-09-12 22:35:57 -07:00
Chris Morley
02995b3d46 qtvcp -fix is-idle LED
never lit up when idle
2019-09-12 22:35:12 -07:00
Chris Morley
a5ba772e37 qtvcp -add machine log options to qtlathe and qtaxis
an action button for qtlathe
a toolbar button in qtaxis
2019-09-12 22:35:12 -07:00
Chris Morley
9d4f34c974 qtvcp -qtdefault: use auto machine log option
displays machine log while in manual mode
2019-09-12 22:35:12 -07:00
Chris Morley
ced2795564 qtvcp - add options/widgets to display the machine log
machine log text view widget
machine log dialog widget
action button to launch dialog
add dialog to screen option widget
2019-09-12 22:35:12 -07:00
Chris Morley
d086e451fb qtvcp -don't error if return message is incomplete
just ignore the message
2019-09-12 22:35:12 -07:00
Chris Morley
b0739910ff qtvcp -add back the option to show machine log on manual 2019-09-12 22:35:12 -07:00
Phillip Carter
3955a9906c Merge branch '2.8' 2019-09-13 10:11:48 +10:00
Phillip Carter
77c824f32e plasmac: fix z comment bug in gcode parser 2019-09-13 10:11:05 +10:00
Phillip Carter
bcddb47dd9 plasmac: add coordinates to docs 2019-09-13 10:11:05 +10:00
Chris Morley
58a2416865 Merge branch '2.8' 2019-09-12 14:09:32 -07:00
Chris Morley
149dd6f010 qtvcp -tooloffsetview: fix conversion of toolinfo
we use a trick to cover tool wear for lathes.
but we need to convert from linuxcnc and qtvcp info arrays.
we were not adding some of the information so somtimes
tooloffsetview would not register the change on screen.

Switch to a ascending tool number view.
move code for future upgrade to metric/imperial conversion.
2019-09-12 14:04:55 -07:00
Chris Morley
1226a9a340 qtvcp -add unhome action 2019-09-12 14:04:55 -07:00
sphasse
b763538f3f added a document describing the process to add a new Mesa card
resolve typos
2019-09-12 14:04:55 -07:00
Dewey Garrett
fc665701dc check_config.tcl avoid spurious warning
if case differs for values supplied for
   trivkins coordinates=value1
and
   [TRAJ]COORDINATES=value2

trivkins.c and initraj.cc explicitly ignore case
2019-09-12 09:51:35 -07:00
Chris Morley
53daec22e6 Merge branch '2.8' 2019-09-11 21:48:53 -07:00
Chris Morley
6082da7762 pncconf -add a checkbox to excluse spindle definitions
Plasma machines for instance may not want spindle defs.
2019-09-11 21:44:44 -07:00
Chris Morley
1b01310dfb pncconf -spindle INI substitution should be SPINDLE_0
not SPINDLE_9
2019-09-11 20:39:05 -07:00
c-morley
f091eadaf8
Merge pull request #647 from sphasse/shasse/pncconf-7i93-servo-gantry
pncconf servo tandem tandem_check finalize
2019-09-11 20:18:41 -07:00
Dewey Garrett
ef45ee4fcc Merge branch 'origin/2.8' into master 2019-09-11 15:30:30 -07:00
Dewey Garrett
3d69d373ac extrajoints: glcanon.py updates for preview
1) preview tab: show extra joints' values after
   homing (if not showing offsets)

2) preview tab: show allhomeicon for extra joints
   as well as the coordinates

3) preview tab: show limitedicon (not somelimiticon)
   individually for extra joint on limit switch

also:
 a) consolidate logic for icon display for w/wo offset
 b) use common params for glBitmap for all icons
 c) refactor show_icon() and use for all icons
2019-09-11 15:30:16 -07:00
Dewey Garrett
6934e5f642 emccalib.tcl use toupper when testing tmpvar
since upvarnames was toupper earlier in proc

Before commit, emccalib.tcl silently declines to
update ini file for vars with lowercase elements
in name
2019-09-11 11:40:37 -07:00
Dewey Garrett
db9740e946 emccalib.tcl support [SPINDLE_S]
Support emccalib tuning for up to 10 spindles (numbered 0..9)

Note:
     Current multispindles allows 8 spindles (numbered 0..7)
     but legacy [SPINDLE_9] configs exist
     so allow for 10 (0..9)
2019-09-11 10:59:00 -07:00
sphasse
758820c676 correctly fix the A axis as well 2019-09-11 09:28:33 -05:00
sphasse
fd631f0142 switch the tandem logic in these last few remaining cases to use the tandem_check function, which works for both stepgen and pwm configurations 2019-09-11 09:17:16 -05:00
Chris Morley
1c98885784 qtvcp -recently loaded programs are saved and remebered in Qtaxis
save to the preference file.
2019-09-09 23:35:10 -07:00
Chris Morley
73c8391a23 qtvcp -adjust the geometry of qtaxis
Active code overlapped the MDI history when at minimuim size.
Allow the screen to be made smaller in height
2019-09-09 23:34:41 -07:00
Dewey Garrett
21fcaa4a36 extrajoints/12extrajoints.ini demo update
to use helper script extrajoints.tcl supporting
any number of allowed extra joints
2019-09-09 12:18:11 -07:00
Dewey Garrett
ebf9a036b2 commit message errata for 08ec94fa8
prior commit 08ec94fa8 referenced history of: b2855e46
correct SHA is:                               b28255e46
2019-09-09 11:21:16 -07:00
Dewey Garrett
08ec94fa8d axis.py restore redraw_dro()
History:
1) commit b2855e46 (Apr 2016) modified axis.py:redraw_dro()
   to remove items of the dro display tab as part
   of extensive JA work of that time:
    "axis.py: abandon DRO tab home&limit indicators JA"

2) commit 3b0eb77 was merged to the master branch
   when incorporating reverse run functionality.
   This commit claims whitespace only changes to axis.py:
      "axis: whitespace only"
   However, the fix of merge conflicts:
      "EDIT: fix merge conflicts 12 Dec 2018"
   inadvertently restored some obsoleted code
   in redraw_dro().
   The obsoleted code predates b2855e46 probably
   indicating that the reverse run branch
   had not been updated for the redraw_dro() changes
   making for a confusing merge.

3) This commit restores axis.py:redraw_dro() to agree
   with current 2.8 branch (at commit 36820175f)
2019-09-09 10:33:37 -07:00
Chris Morley
8e17de8f63 Merge branch '2.8' 2019-09-08 01:38:43 -07:00
Chris Morley
36820175f1 qtvcp -make the softkey optional on widgets 2019-09-08 01:35:11 -07:00
Dewey Garrett
ee816bd9b5 extrajoints support in motion
New motmod parameter: num_extrajoints

1) An 'extra' joint uses the normal joint homing process but
   transfers control to a new hal pin (joint.N.posthome-cmd)
   after homing.  An independent motion planner/controller
   (limit3 component typically) must be employed to manage
   the 'extra' joint  motion using this input.

2) Includes: simulation configs:
      1extrajoint.ini  XYYZ (4joints) +  1 extra ( 5 joints total)
      2extrajoints.ini XYYZ (4joints) +  2 extra ( 6 joints total)
     12extrajoints.ini XYYZ (4joints) + 12 extra (16 joints total)
   and example M144 command to set extra joints jN.limit3.in

3) motion man page update

Notes:
 1) if num_extrajoints is nonzero, require KINEMATICS_BOTH
    in order to make sensible axis gui displays

 2) by legacy, [KINS]JOINTS=  sets the *total* number of joints
    e.g., num_joints + num_extrajoints
    Example non-motion source files using [KINS]JOINTS:
        a) src/emc/ini/initraj.cc
        b) src/emc/usr_intf/halui.cc
        c) src/emc/usr_intf/axis/scripts/axis.py

------------------------------------------------------------
updates:
rebased to origin/master ae6e7e00a Thu Sep 5 22:27:20 2019 -0700

   1) report numExtraJoints to task
   2) axis.py update joint jog radiobuttons for homing
   3) use #define for ALL_JOINTS,NO_OF_KINS_JOINTS,IS_EXTRAJOINT
   4) axis.py formerly would not 'unhome all' unless machine on
   5) add demo ini for 16 joints (12 extra)
   6) glcanon.py posstrs minor format

------------------------------------------------------------
2019-09-07 14:13:24 -07:00
Chris Morley
fbd3f7f261 qtvcp -add linuxcnc version number to INFO and error message 2019-09-06 18:52:36 -07:00
Chris Morley
b720e86b97 pncconf -add linuxcnc version to INI, HAL and error messages 2019-09-06 18:52:18 -07:00
Chris Morley
397ad7efbc pncconf -fix error on 'overwrite rc file' message
reference to _APP was wrong - from when I pulled data class out of pncconf.py
2019-09-06 18:51:59 -07:00
Dewey Garrett
76963bc538 Increase EMCMOT_MAX_JOINTS (9->16)
Anticpated support for 'extra' joints can use a number of joints
that exceeds the number of axes used (maxium of 9 for coordinates
xyzabcuvw).

Test increasing EMCMOT_MAX_JOINTS (64bit OS) using
configs/sim/axis/extrajoints/demo1.ini:
    EMCMOT_MAX_JOINTS =  9 ==> sizeof EMC_STAT = 14816
    EMCMOT_MAX_JOINTS = 16 ==> sizeof EMC_STAT = 16336 <--

Message size for emcStatus is allocated in configs/common/linuxcnc.nml:
  B emcStatus  SHMEM localhost 16384 0 0 2 16 1002 TCP=5005 xdr

From 2.7 (77309ebf9) to master (0f67445fa) the sizeof EMC_STAT
for 9 joints max has grown by about 2500 bytes
(14816-12304=2512).  The message size allocation of 16384
(4 4096sized pages) is marginal for 16 joints.  This commit
indreases this size to 20480 leaves (20480-16336)=4144 bytes
for future growth.

Notes:
1) EMC_STAT includes:
      EMC_MOTION_STAT
      EMC_TRAJ_STAT
      EMC_JOINT_STAT joint[EMCMOT_MAX_JOINTS]
      EMC_AXIS_STAT axis[EMCMOT_MAX_AXIS]
      EMC_SPINDLE_STAT spindle[EMCMOT_MAX_SPINDLES]
      int synch_di[EMCMOT_MAX_DIO]
      int synch_do[EMCMOT_MAX_DIO]
      double analog_input[EMCMOT_MAX_AIO]
      double analog_output[EMCMOT_MAX_AIO]
      int debug
      int on_soft_limit
      int external_offsets_applied
      EmcPose eoffset_pose

2) Tested on:
  a) Debian GNU/Linux 10   (buster)
     4.19.0-5-amd764 (uspace sim)

  b) Debian GNU/Linux  9.3 (stretch)
     4.9.0-5-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.65-3+deb9u2 x86_64

  c) VirtualBox: Debian GNU/Linux 7.9 (wheezy)
     3.4-9-rtai-686-pae #1 SMP PREEMPT Debian 3.4.55-4linuxcnc i686
     (sizeof EMC_STAT = 15592 rtai,32bit)

  d) Debian GNU/Linux buster/sid
     4.19.0-1-amd64 #1 SMP Debian 4.19.12-1 x86_64

3) fix runtests that are hardcoded for the number of joints:
       interp/m98m99/12-M99-endless-main-program
       motion-logger/basic adapt
       motion-logger/mountaindew

4) axis gui (axis.py) updated to display up to 16 joint radio
   buttons and can display 16 joint values in preview and DRO
   tabs.
   (Future increases of EMCMOT_MAX_JOINTS beyond 16 will require
    additional changes to display all joints in the DRO tab and
    in the Preview created by glcanon.py)

5) tested guis touchy,gmoccapy,gscreen,tklinuxcnc to verify that
   *existing* sim configs continue to startup.
2019-09-06 09:18:11 -07:00
Chris Morley
ae6e7e00a4 Merge branch '2.8' 2019-09-05 22:27:20 -07:00
Chris Morley
03283086ae docs -fix typos in preference example
Thanks Jim - persei8
2019-09-05 22:23:48 -07:00
Chris Morley
e2fd24a41f qtvcp - add a step action
I would prefer linuxcnc had a step mode but this allows AXIS like
behaviour
2019-09-05 22:23:48 -07:00
Chris Morley
0bbc14057a qtvcp -add zero g5x and zero g92 actions 2019-09-05 22:23:48 -07:00
Chris Morley
59006021e3 pncconf -fix missing reference to basename variable 2019-09-05 22:23:48 -07:00
Chris Morley
b37eca9e8b qtvcp -left and right keys were switched.
Now jogging matches AXIS directions
2019-09-05 22:23:48 -07:00
Chris Morley
2e9fe7cc7b qtvcp -fix spelling mistakes in istat and action library
Thanks Jim -- Persei8
2019-09-05 22:23:48 -07:00
Chris Morley
7f928613c1 qtvcp -check toolfile hash: update only if stale
This makes things like sorting work better.
It used to sort based on the file order every second.
Now it only update when it notices the file changed.
Use new status function to check for valid status object.
2019-09-05 22:23:48 -07:00
Chris Morley
7079cb2086 qtvcp -update periodic checks: use new functions
use the new status is_status_active() function
and use STATUS library rather then calling linuxcnc.status() directly
2019-09-05 22:23:48 -07:00
Chris Morley
81bbfaeb28 qtvcp -update istat: addtool, hash curent
add a tool to the front of the array so it's easier to find.
add bool return values and change the same of the function
to compare the hash value between now and last.
It the function retrns false we need to update things.
Switch from calling linuxcnc directly to using ACTION library.
2019-09-05 22:23:48 -07:00
Chris Morley
9ef9c14510 hal_glib -add is_status_valid() function
used to see if a valid linuxcnc session is running.
2019-09-05 22:23:48 -07:00
Chris Morley
9469e4aa0e qtvcp -don't enable origin offset editor when unuseable 2019-09-05 22:23:48 -07:00
Chris Morley
f58ed65a72 qtvcp -add an 'add tool' to tool offset widgets 2019-09-05 22:23:48 -07:00
Dewey Garrett
34ffc2ae78 Merge remote-tracking branch 'origin/2.8' 2019-09-05 17:47:12 -07:00
Dewey Garrett
5dc84c0c2f updating-linuxcnc.txt note [EMCMOT]EMCMOT
can be used to specify num_spindles=, like:
[EMCMOT]
EMCMOT = motmod num_spindles=2
2019-09-05 15:41:01 -07:00
Dewey Garrett
26f2129ada command.c: msg for multispindle misconfiguration
Report if EMCMOT_SET_NUM_SPINDLES (typ: [TRAJ]SPINDLE=)
requests more spindles than configured for the motion module
(typ: [EMCMOT]motmod num_spindles=)

For other spindle commands, include erroneous spindle number
requested
2019-09-05 15:40:30 -07:00
Phillip Carter
3b8769b947 Merge branch '2.8' 2019-09-05 11:47:33 +10:00
Phillip Carter
30873cf49b plasmac: user guide rt type fix 2019-09-05 11:46:35 +10:00
Chris Morley
3db7a495b9 qtvcp -add tool and origin offset dialogs to qtaxis 2019-09-04 18:41:13 -07:00
Chris Morley
9d3759f066 Merge branch '2.8' 2019-09-03 21:48:44 -07:00
Chris Morley
d1d9e54629 qtvcp -add surface speed labels for testing 2019-09-03 21:00:37 -07:00
Chris Morley
a21a2cbff3 qtvcp -fix status label surface speed display
It didn't take into account tool diameter units or
that typical units are in feet or meters
or to immediately change the display if units changed.
2019-09-03 21:00:36 -07:00
Chris Morley
9a735a48a3 qtvcp -add convience functions for changing machine units
sometimes you need to change data from whatever machine units is, to a certain unit.
2019-09-03 21:00:35 -07:00
Chris Morley
a81abebc9c qtvcp -fix missing MIN_ABGULAR_VOLOCITY error message
spelled wrong
2019-09-03 17:37:58 -07:00
Chris Morley
b7a4626b6d qtvcp -fix status label call for surface speed 2019-09-03 13:56:22 -07:00
Phillip Carter
ca74fc7185 Merge branch '2.8' 2019-09-03 18:19:11 +10:00
Phillip Carter
666a48c361 plasmac: user guide fixes 2019-09-03 18:18:20 +10:00
Phillip Carter
5887ad8579 plasmac: axis display size report 2019-09-03 18:18:20 +10:00
Phillip Carter
81096ef82f plasmac: fix material file version nag 2019-09-03 18:18:20 +10:00
Phillip Carter
6e3a03e4cc plasmac: set axis probe test defaults 2019-09-03 18:18:20 +10:00
Chris Morley
cd55cfc1e7 Merge branch '2.8' 2019-09-03 00:28:35 -07:00
Chris Morley
c350694918 qtvcp -update qtlathe handker file after close dialog changed 2019-09-03 00:27:24 -07:00
Chris Morley
3515d7e8a0 docs -update qtvcp docs for dialogs 2019-09-03 00:27:24 -07:00
Chris Morley
8e21650221 qtvcp -fix double dialogs and make easier to use.
The close dialog and lncdialog from screen option both used the same
NAME so if you asked for one you got both sometimes.

changed the return codes to true and false ( and -1 for shutdown)
so they are easier to use.
added an ok/cancel option.
type now uses text keys: OK YESNO OKCANCEL for different dialog buttons
add a 'qualifiedreturn' function so we can add the -1 return code only
for the close dialog (signifies to shutdown the whole system)
add ability in Designer to change user added dialog's NAME id
so you could have more then one say message dialog and they won't react
to each other's requests.

screenoption's close dialog is a special case and needed to be updated
to use the new ways of launching and returning.
2019-09-03 00:27:24 -07:00
Chris Morley
369d7e9684 qtvcp -if text is specified as None, don't display any text 2019-09-02 23:38:36 -07:00
Chris Morley
6ac0f6c784 Merge branch '2.8' 2019-09-02 01:32:49 -07:00
Chris Morley
2ae2dbeec3 pncconf -fix annoying INI heading for spindle
set it to 0 as actually now you can have many spindles.
2019-09-02 01:31:58 -07:00
Chris Morley
efbe23b1f2 pncconf -move data class to it's own file
break pncconf up a bit to help ability to understand
2019-09-02 01:31:41 -07:00
Chris Morley
ecca11f73f pncconf -move some functions out of the data class
make_pinname called a function in the app instance that the data instance
doesn't have access to. So we moved the functions.
These didn't belong in the data class anyways.
2019-09-02 01:31:25 -07:00
Chris Morley
650b6f583d Merge branch '2.8' 2019-09-01 00:35:04 -07:00
Chris Morley
cde9e5e363 pncconf -try to remove hard coded mesa board data
Working towards making adding cards easier
now if ncconf doesn't recognise the card, it prompts you to add
the data.
2019-09-01 00:31:57 -07:00
Chris Morley
76f71af686 pncconf -add an INI substitution option for mesa board names
I personally don't like using INI substitutuion for mesa boards
names but it does make it easier to modify HAL files for boards
that pncconf doesn't know about.
2019-08-31 16:38:04 -07:00
Chris Morley
a6d379c1ae Merge branch '2.8' 2019-08-31 12:46:08 -07:00
Chris Morley
2e67692be4 pncconf -add 7i93 to pncconf
Not tested - pushing so someone can test
made pncconf look up the boardnames from internal firware data rather
then having then hard coded.
I think I should build a card metdata class so things like driver type
can be looked up rather then hard coded.
2019-08-31 12:45:18 -07:00
Phillip Carter
ead53e692c Merge branch '2.8' 2019-08-31 16:00:29 +10:00
Phillip Carter
690319a673 plasmac: add centre spotting 2019-08-31 15:58:56 +10:00
Chris Morley
1c58673211 qtvcp -have gcode graphics automatically load a file when realized 2019-08-30 14:41:50 -07:00
Dewey Garrett
cbe35858e0 axis.py: minor clean, remove unused unhome_joint()
superseded by unhome_joint_number() long ago
(commits fd985dba5, ac063ef2b)
2019-08-29 17:43:32 -07:00
Phillip Carter
5530314531 Merge branch '2.8' 2019-08-29 12:32:37 +10:00
Phillip Carter
cfbe314d9d plasmac: cut type auto switching for gmoccapy 2019-08-29 12:31:31 +10:00
Phillip Carter
95f4e77a19 plasmac: set default pid-p gain to 10 2019-08-29 12:31:31 +10:00
Dewey Garrett
46c88268f3 Merge remote-tracking branch 'origin/2.8' 2019-08-28 10:18:16 -07:00
Dewey Garrett
251351e8de pickconfig.tcl: reallow recursion for minimal_tree
but eliminate updates in the treeclose proc

Restores prior tree display while eliminating
multiple background error reports for
"too many nested evaluations" in treeclose

Improves fix of 06ac1139b7
2019-08-28 10:00:30 -07:00
Chris Morley
550a27b0d0 Merge branch '2.8' 2019-08-27 20:34:46 -07:00
Chris Morley
0c9d88dee3 qtvcp -add button to sim panel
add the override buttons, abort and feed hold
2019-08-27 20:33:07 -07:00
Chris Morley
3e091e678a gladevcp -remember the prefiltered filename when loading.
useful if you wish to reload a program without a dialog.
2019-08-27 20:33:07 -07:00
Chris Morley
6559db16b7 qtvcp -ACTION record prefiltered filename so you can refilter
Some times one wants to reload a filtered program without a dialog.
We record the last prefiltered file path so you could use it directly.
2019-08-27 20:33:07 -07:00
Chris Morley
ef1124def2 qtvcp add a lathe config/screen to test with 2019-08-27 20:33:07 -07:00
Chris Morley
fec0f83d9f qtvcp -allow setting the display to lathe only views 2019-08-27 20:33:07 -07:00
Chris Morley
95a0f9c9f0 qtvcp -add some stock images 2019-08-27 20:33:07 -07:00
Chris Morley
39d35a0722 qtvcp -update file manager - add external scrollng ability 2019-08-27 20:33:07 -07:00
Chris Morley
caccec0711 docs -add percentDone signal name info to gcode edit 2019-08-27 20:33:07 -07:00
Phillip Carter
0dbddad61d Merge branch '2.8' 2019-08-28 12:12:46 +10:00
Phillip Carter
294b9bf456 plasmac: scribe update for gmoccapy 2019-08-28 12:12:11 +10:00
Phillip Carter
3376fb0ae9 Merge branch '2.8' 2019-08-28 11:43:01 +10:00
Phillip Carter
7797101392 plasmac: set default thc delay to 1.5 2019-08-28 11:41:31 +10:00
Phillip Carter
4871393bf9 plasmac: configurator enhancements:
set cycle_time in Axis to 0.1
read axes from [KINS] instead of [TRAJ]
show correct linuxcnc run path
2019-08-28 11:41:31 +10:00
Dewey Garrett
06ac1139b7 pickconfig.tcl: no recursion in minimal_tree
avoid background error reports like:
   "::tcl::Bgerror {too many nested evaluations (infinite loop?)}
    {-code 1 -level 0 -errorstack {INNER {invokeStk1 treeclose
    ...
    error in background error handler:
    too many nested evaluations (infinite loop?)"

for trees with many nodes

Ref: https://forum.linuxcnc.org/49-basic-configuration/37241-tcl-errors-from-config-selector#143282
2019-08-27 18:16:41 -07:00
Dewey Garrett
ae888f9c29 pickconfig.tcl: terminate if preexisting dir,file
exists where pickconfig makes a link to system-provided
examples and lib_* directories

Ref: https://forum.linuxcnc.org/49-basic-configuration/37241-tcl-errors-from-config-selector#143282
2019-08-27 18:16:34 -07:00
Phillip Carter
b8549124db Merge branch '2.8' 2019-08-27 09:59:51 +10:00
Phillip Carter
a042b00534 plasmac: fix all sim configs 2019-08-27 09:58:48 +10:00
Phillip Carter
3ee4401f79 Merge branch '2.8' 2019-08-25 12:33:45 +10:00
Phillip Carter
ae2e3413a0 plasmac: twopass compatibilty for configs from 7i96 config tool 2019-08-25 12:32:38 +10:00
Dewey Garrett
49b095c5e1 homing: simplify get_home_is_synchronized()
update H[jno].home_is_synchronized any time
a H[jno].home_sequence is changed
2019-08-24 05:08:05 -07:00
Dewey Garrett
8664992bc9 Merge remote-tracking 'origin/2.8' to master 2019-08-24 04:49:06 -07:00
Dewey Garrett
ba46e5466a homing.c: handle specialcase synched home_sequence
Make joint-jog rejection in control.c, command.c conform
to documentation when a HOME_SEQUENCE is specified with
mixed positive and negative specifiers.

docs/src/config/ini-homing.txt: "If any joint has a
negative HOME_SEQUENCE value, then all joints with the
same absolute value (positive or negative) of the
HOME_SEQUENCE item value will synchronize the final move."
2019-08-24 04:25:51 -07:00
Phillip Carter
9ac8148d51 Merge branch '2.8' 2019-08-24 18:36:11 +10:00
Phillip Carter
e2e049d99f plasmac: add thc active indicator 2019-08-24 18:35:29 +10:00
Phillip Carter
542ed9f7b0 Merge branch '2.8' 2019-08-23 17:47:49 +10:00
Phillip Carter
e851e71fe0 plasmac: air scribe bug fixes 2019-08-23 13:59:33 +10:00
Phillip Carter
ef4be03279 Merge branch '2.8' 2019-08-22 15:50:19 +10:00
Phillip Carter
9f2062490f plasmac: rename air scribe outputs 2019-08-22 15:49:20 +10:00
Phillip Carter
7247685ad5 Merge branch '2.8' 2019-08-22 15:03:02 +10:00
Phillip Carter
b706abc387 plasmac: doc update for:
air scribe
cut types
2019-08-22 15:01:48 +10:00
Phillip Carter
8e86e2a286 plasmac: add air scribe start delay 2019-08-22 14:48:05 +10:00
Phillip Carter
f78564c057 plasmac: configurator will remove existing pyvcp and gladevcp panels 2019-08-22 14:47:00 +10:00
Phillip Carter
5ccc925d18 Merge branch '2.8' 2019-08-21 18:18:24 +10:00
Phillip Carter
5be4fc83fb plasmac: add cut type to gmoccapy
fix cut type for axis
2019-08-21 18:17:31 +10:00
Phillip Carter
82bdeec54b plasmac: add read motion module load with variables to configurator 2019-08-21 18:17:31 +10:00
Dewey Garrett
0fa312507c Merge remote-tracking branch 'origin/2.8' 2019-08-20 19:10:06 -07:00
Dewey Garrett
8da187d0b2 twopass.txt: minor ordering clarification 2019-08-20 17:13:40 -07:00
Phillip Carter
b6b465a4bc Merge branch '2.8' 2019-08-20 08:58:47 +10:00
Phillip Carter
8f0727b581 plasmac: temp fix for cut-type 2019-08-20 08:57:27 +10:00
Phillip Carter
cd4faf1176 Merge branch '2.8' 2019-08-19 18:25:33 +10:00
Phillip Carter
f54c76f879 plasmac: fix reconfigure bug in configurator
sample gcode file updates
air-scribe doc fixes
set axis minimum width
cut mode for axis
2019-08-19 18:23:29 +10:00
Phillip Carter
ef5a375dfe plasmac: fix reconfigure bug in configurator 2019-08-19 18:23:29 +10:00
Phillip Carter
7c00f29f4b plasmac: sample gcode file updates 2019-08-19 18:23:29 +10:00
Phillip Carter
e359322338 plasmac: air-scribe doc fixes 2019-08-19 18:23:29 +10:00
Phillip Carter
09fca236c1 plasmac: set axis minimum width 2019-08-19 18:23:28 +10:00
Chris Morley
2dda053057 qtvcp -fix error when selecting an axis 2019-08-18 21:24:06 -06:00
Chris Morley
0a2a45c304 qtvcp -emove debug print statements 2019-08-18 21:23:34 -06:00
Norbert Schechner
0f67445fad Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git 2019-08-18 19:59:40 +02:00
Norbert Schechner
06fda23651 Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2019-08-18 19:50:13 +02:00
Norbert Schechner
3fc45f0640 gmoccapy_3_0_8 - added macro button with custumer images
ver 3.0.8
+- added the possibility to add also images to macro button. The images will be
+  resized to fit the buttons (72x48). The macro file need to contain a line like
+  (IMAGE, ./macros/images/goto_x_y_z.png)
+  the path must be absolute or relative to the config dir, "~" is allowed in path

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-18 19:49:59 +02:00
Dewey Garrett
505f19ca1e control.c: fix ordering needed for index-homing
Fix incorrect ordering of control.c call to new api
function read_homing_in_pins() introduced at:
   commit 84d5758ed "homing.h api"

For index homing, process_inputs() handles a special
case where index_enable is deasserted while in the
state HOME_INDEX_SEARCH_WAIT in order to ignore a
possible ferror caused by a transient discrepancy due
to changed encoder position (handled later by the next
homing state (HOME_INDEX_SET_POSITION)).
2019-08-18 04:55:12 -07:00
Phillip Carter
19d6583ec1 Merge branch '2.8' 2019-08-18 16:17:43 +10:00
Phillip Carter
fbe462b84b plasmac: add air-scribe 2019-08-18 16:07:54 +10:00
Phillip Carter
41d537aecb plasmac: fix config file initializing errors 2019-08-18 16:07:53 +10:00
Phillip Carter
40c08cb119 plasmac: fix material file read error 2019-08-18 16:07:53 +10:00
Chris Morley
feb68705ce qtvcp -fix home/unhome actions to call right axis
lambda function closure was making the axis letter always
be the last in the conversion list.
2019-08-17 21:26:29 -06:00
Moses McKnight
5a9471bacb Merge branch '2.8'
* 2.8:
  Updated more runtests
  Updated runtests for surpise-motion-after-abort fix
2019-08-16 10:08:20 -05:00
Moses McKnight
f178a17395 Updated more runtests 2019-08-16 10:05:22 -05:00
Moses McKnight
b1c45efcdd Merge branch '2.7' into 2.8
* 2.7:
  Updated runtests for surpise-motion-after-abort fix
2019-08-16 00:06:22 -05:00
Moses McKnight
bcee1fc49d Updated runtests for surpise-motion-after-abort fix 2019-08-15 23:18:01 -05:00
Moses McKnight
3ae9f8f996 Merge branch '2.8'
* 2.8:
  Fix motion after abort from Rob Ellenberg - fixes #579
2019-08-15 13:51:22 -05:00
Moses McKnight
d7465c4dfb Fix merge issue in saicanon.cc 2019-08-15 13:48:45 -05:00
Moses McKnight
eef66563fa Merge branch '2.7' into 2.8
* 2.7:
  Fix motion after abort from Rob Ellenberg - fixes #579
2019-08-15 13:47:44 -05:00
Moses McKnight
b353bd3042 Fix motion after abort from Rob Ellenberg - fixes #579 2019-08-15 13:31:24 -05:00
Chris Morley
fa6df4b374 Merge branch '2.8' 2019-08-14 22:06:38 -06:00
Chris Morley
c5e35fe374 qtvcp -adjust surface speed calculation with lathes.
lathes use workplace diameter, mills use tool diameter
2019-08-14 22:03:30 -06:00
Chris Morley
facedc8aab qtvcp -remove debugging code (caused error) 2019-08-14 21:51:05 -06:00
Chris Morley
836116d662 hal_glib -work around requested spindle speed eror with css
linuxcnc reports requested spindle speed in css mode as maximuim rpm
rather then requested rpm - now we will watch the HAL pin which
does show the requested speed as the diameter changes.
2019-08-14 21:47:34 -06:00
Dewey Garrett
4977d55941 docs: updating-linuxcnc-txt typo/minor update 2019-08-14 19:42:40 -07:00
Phillip Carter
bae7eee66c Merge branch '2.8' 2019-08-14 16:58:42 +10:00
Phillip Carter
1c0a0720f7 plasmac: add reconfigure ability to the configurator 2019-08-14 16:57:57 +10:00
Phillip Carter
e5d844bdd0 plasmac: materialverter - set default values for optional variables 2019-08-14 16:57:57 +10:00
Phillip Carter
6c23de9a65 plasmac: gcode parser - fix program end bug 2019-08-14 16:57:56 +10:00
Dewey Garrett
f517ade6a2 sim_home_switch.comp: support index-enable reset
For use with ini setting [JOINT_n]HOME_USE_INDEX

sim_home_switch.comp: new I/O hal pin for index-enable
                      and pin to set time delay for reset delay

sim_lib.tcl:   if [JOINT_n]HOME_USE_INDEX is specified,
               make connection to I/O pin:
               joint.N.index-enable

sim configs:   /sim/axis/axis_9axis.ini: incorporate
               [JOINT_n]HOME_USE_INDEX for three joints
2019-08-12 17:03:58 -07:00
Norbert Schechner
5464b2b8b4 Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git 2019-08-12 21:20:40 +02:00
Norbert Schechner
06a6db1a3c gmoccapy_3_0_7_3 - bug in edit offsets
ver 3.0.7.3
- Ralf reported an error toggling the Edit Offsets button. It was caused because
  I missed to change the widget handling of the dynamically created widgets on
  this special page.

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-12 21:19:37 +02:00
simaoamorim
c4702c2476
Relocated old UPDATING file to archive
UPDATING -> archive/UPDATING
2019-08-11 18:40:16 +01:00
simaoamorim
5d0cd2c94e
Relocated docs related help files into docs/help
asciidoc-markup.txt -> help/asciidoc-markup.txt
rtfaults.txt -> help/rtfaults.txt
2019-08-11 18:35:35 +01:00
simaoamorim
1d65fba853
Delete ice-age doc files 2019-08-11 18:33:46 +01:00
Chris Morley
53a0a9e943 Merge branch '2.8' 2019-08-10 22:24:51 -07:00
Chris Morley
7ddafe4d87 hal_glib -have the 'hard-limits-tripped' signal give joint limits data
Useful to know what limit tripped
2019-08-10 22:20:43 -07:00
Chris Morley
63f5d24325 qtvcp -add code to be used for handwheel scrolling 2019-08-10 22:20:43 -07:00
Phillip Carter
4a869a29df Merge branch '2.8' 2019-08-10 15:54:42 +10:00
Phillip Carter
f7d2048c38 plasmac: docs and configurator for materials error handling 2019-08-10 11:59:14 +10:00
Phillip Carter
fd7362807c plasmac: fix for Bad character ')' used error from gcode parser 2019-08-10 11:59:14 +10:00
Dewey Garrett
5ea573adde homing.c [JOINT_n]HOME_INDEX_NO_ENCODER_RESET
Support user application for an encoder with index that does not
reset at receipt of index pulse after assert of index_enable.

Adds ini setting: [JOINT_n]HOME_INDEX_NO_ENCODER_RESET
applicable only in conjunction with [JOINT_n]USE_INDEX

Ref: https://forum.linuxcnc.org/10-advanced-configuration/31813-tcp-5-axis-kinematics?start=120#139881
2019-08-09 17:27:00 -07:00
Dewey Garrett
5928bc35ba tests/pyhal/test: rtai needs realtime start #631 2019-08-09 17:16:09 -07:00
Rene Hopf
3c9708827d Merge branch '2.8' 2019-08-10 00:14:02 +02:00
Rene Hopf
85a8f266b6 dont fail assert in xhc-hb04 driver when device is disconnected
Signed-off-by: Rene Hopf <renehopf@mac.com>
2019-08-10 00:12:44 +02:00
Norbert Schechner
e77e5564ac Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git 2019-08-09 18:20:46 +02:00
Norbert Schechner
43519172fd Merge branch '2.8' of https://github.com/LinuxCNC/linuxcnc.git into 2.8 2019-08-09 18:08:48 +02:00
Norbert Schechner
c6988999c2 gmoccapy_3_0_7_2 - corrected toolmeasurement hal pin init
- getiniinfo did a find all for machine units, leading in a returned
  tupple, so comparison with string gave wrong results, corrected!
- changed glade file, so hardware settings page does not have
  overlapping widgets any more in min resolution
- did not update the gmoccapy.toolmeasurement hal pin, so tool
  measurement ended with an error after a restart of the GUI
  Thanks to Mark and Ralf for reporting
- deleted unneeded def n_tbtn_use_screen2_toggled as that widget
  does not exist any more
- deleted some print statements

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-09 18:07:42 +02:00
mozmck
c0bdc74a64
Merge pull request #631 from OKComputers/curtdutt/halportfix
Fixes build break caused by halport commit.
2019-08-08 21:27:39 -05:00
Curtis Dutton
19c66851a8 Fixes build break caused by halport commit.
The export name hal_port_size should have been hal_port_buffer_size.
tests/pyhal had duplicated code in the tail end that shouldn't have been there.
2019-08-08 22:09:47 -04:00
andypugh
1db55cf218
Merge pull request #630 from OKComputers/curtdutt/hal_port
Adds PORT pin type to hal.
2019-08-08 21:56:08 +01:00
Curtis Dutton
b987b3fce5 Adds PORT pin type to hal.
A HAL port pin is a hal pin that acts as a real time one way byte oriented data stream An output port on any component may be connected to an input port on any other component via a signal. Data written on the output pin becomes accessible to the input pin. A HAL port signal may link only a single writer and a single reader. A port buffers data with a user definable buffer size.

Includes:
	Documentation on how to use a port object.
	a ctypes wrapper for the hal api (pyhal.py)
	a test to exersice hal port code along with pyhal.py
	changes to allow halcmd to understand and manipulate ports.
2019-08-08 15:17:37 -04:00
Dewey Garrett
e8a64d9a84 Merge remote-tracking branch 'origin/2.8' 2019-08-08 05:27:49 -07:00
Dewey Garrett
e846c2b520 corexy sims: demonstrate two methods
corexy_by_kins.ini Uses corexykins kinematics module
                   requiring home switches triggered
                   by joint 0,1 motor positions

corexy_by_hal.ini  Uses trivkins kinematics module
                   and a hal component (corexy_by_hal)
                   to allow home switches triggered
                   by coordinate x,y positions

Thanks to: nbremond
https://forum.linuxcnc.org/49-basic-configuration/28417-need-help-homing-sequence-in-h-bot-corexy-system?start=20#138301
2019-08-08 05:25:37 -07:00
Phillip Carter
53cc61295e Merge branch '2.8' 2019-08-08 15:04:43 +10:00
Phillip Carter
a4828e46a2 docs: remove link to missing image file 2019-08-08 15:03:35 +10:00
Phillip Carter
61fc304689 plasmac: more error handling for materials 2019-08-08 13:53:01 +10:00
Robert W. Ellenberg
0a06ac5dda
Merge pull request #628 from LinuxCNC/fix-627
gcodemodule:: Remove unique_ptr wrapper that throws an assert on shutdown
2019-08-07 09:29:34 -04:00
Phillip Carter
17230be013 Merge branch '2.8' 2019-08-07 19:59:44 +10:00
Phillip Carter
92a654363e plasmac: error handling for materials 2019-08-07 19:53:16 +10:00
Phillip Carter
15e5bc5eb0 plasmac: materials bug fix
G0 bug fix
prevent extra end program code
2019-08-07 17:42:24 +10:00
Phillip Carter
788355f5fa Merge branch '2.8' 2019-08-06 21:37:42 +10:00
Phillip Carter
e09947330e plasmac: add pierce only option to GCode parser 2019-08-06 21:36:54 +10:00
Phillip Carter
b5c89b3901 plasmac: more efficient material changes
better error reporting
2019-08-06 21:36:54 +10:00
Norbert Schechner
4c1918f4a7 Merge branch '2.8' 2019-08-05 21:50:05 +02:00
Norbert Schechner
9bf5008dd4 cleaning up gmoccapy config folder
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-05 21:42:12 +02:00
Norbert Schechner
e922149f7d gmoccapy_3_0_7_1 - joint jogging needs an integer
- I did just return button_name[0], but that is a string so it
  has to be converted to an integer before return

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-05 21:12:44 +02:00
Norbert Schechner
f26c30e124 gmoccapy_3_0_7 - corrected the jogging behavior for lathe
- jogging on configs with missing axis like XZ (Y missing) did lead to an error
  due to not taken care about the homing status. Not homed requires the joint
  number, while jogging in homed state requires the axis index.

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-05 20:59:20 +02:00
Chris Morley
1080e3c5c0 Merge branch '2.8' 2019-08-05 03:41:46 -07:00
Chris Morley
23b7348fa8 qtvcp -add a simulated axis control panel
convienent for testing
2019-08-05 03:40:09 -07:00
Chris Morley
b767f7c3e7 qtvcp -add image switcher and dial widgets
image switcher can switch images based on some linuxcnc states or programically
dial acts like a MPG
2019-08-05 03:37:43 -07:00
Chris Morley
abac32514e qtvcp -fix loading of plain vcp panels
don't assume panels always have handler file.
fix the searched path names for pabels
2019-08-04 22:32:23 -07:00
Norbert Schechner
b1f0b23c0d gmoccapy-configs - deleted doble config
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 02:56:11 +02:00
Norbert Schechner
b3f26783d9 gmoccapy - missing images
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:57:28 +02:00
Norbert Schechner
8a42e73637 documentation - gmoccapy - added new documentation for 3.0 release
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:43:17 +02:00
Norbert Schechner
1b51f44d54 configs - gmoccapy - added new configs and cleared up stuff a little bit
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:41:36 +02:00
Norbert Schechner
c83555e6a5 gmoccapy_3_0_6 - most widgets for axis and joint controls are generated on the fly
- Most widgets like homing and touch button are now generated on the fly,
  leading to the need of less resources and a quicker start of the GUI

- gmoccapy now supports 9 axis and 9 joints

- configuration of joint axis relation are now applied as given in the
  ini file, allowing also strange configs like XZCW lathe configs or
  scara or 6 axis robot arms

- Display of cutting speed is now correct, even on a lathe with
  constant surface speed

- Jog increments on a lathe do now take care of being in diameter or
  radius mode, so if you jog 1,0 mm in diameter mode, the X axis will
  only move 0.5 mm!

- a lot of internal stuff has been optimized

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:33:43 +02:00
Norbert Schechner
bed140fb86 gladevcp - CombiDRO - new signal and other axis joint assignment
- The axis joint assignment did not work correct, if the axis and
  joint count was not according to XYZABCUVW to 012345678, leading
  to strange reactions on a lathe with XZ being joint 0 and 1. It was
  even worse on a XYCW lathe config having joint 0,1,2,3

- added a new signal, clicking on the axisletter will emit a new signal
  ('axis-clicked') clicking on the numbers will still toggle the readout

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:22:59 +02:00
Norbert Schechner
2f97820101 gladevcp - calculator widget - delete text if selected
- Added a code to delete the selected text if a new value is entered with
  the popup keyboard. Prior to this change the new value was added to the
  displayed text. That was an other behavior as known from the
  normal OS behavior.

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-08-04 01:15:41 +02:00
Chris Morley
e2928c43f8 qtvcp -sometime you just want the filename not path 2019-08-03 00:56:13 -07:00
Chris Morley
341055956e qtvcp -use new macro pathe variable
If you use macros with remap, the macro would not parse the macro path
properly
2019-08-03 00:56:13 -07:00
Chris Morley
0dcaf1511b qtvcp -add a macro filepath variable
saves the pain of parsing for Macro paths everywhere
2019-08-03 00:56:13 -07:00
Chris Morley
43a99ad0e7 qtvcp -use the wrapped HAL component everywhere
The wrapped component can catch HAL pin change events.
originally the widgets got the wrapped version but the handler file didn't.
It useful to be able to make event driven HAL pin in the handler
2019-08-03 00:56:13 -07:00
Phillip Carter
954ec694a2 Merge branch '2.8' 2019-08-03 16:59:22 +10:00
Phillip Carter
c065ec4579 plasmac: gcode parser - commenting out z in mixed axes lines 2019-08-03 16:58:11 +10:00
Phillip Carter
8af874bdcd Merge branch '2.8' 2019-08-03 12:27:56 +10:00
Phillip Carter
42c7ca3517 plasmac: test panel - remove debug messages 2019-08-03 12:15:56 +10:00
Phillip Carter
93a86cd899 plasmac: gcode parser output formatting
hole sense terminology and calculation changes
2019-08-03 12:07:24 +10:00
Phillip Carter
d88ab04669 plasmac: no torch off delay if external torch off 2019-08-03 11:54:24 +10:00
Phillip Carter
a0a5e417ab plasmac: remove probe debug message 2019-08-03 11:49:31 +10:00
Phillip Carter
02a608481f Merge branch '2.8' 2019-08-02 12:21:53 +10:00
Phillip Carter
682a6fb061 plasma: gcode parser - restore defaults on exit 2019-08-02 12:21:13 +10:00
Phillip Carter
4409d91e84 plasmac: test panel set minimum volts when torch off 2019-08-02 12:21:12 +10:00
Chris Morley
14733c55d7 Merge branch '2.8' 2019-07-31 22:57:50 -07:00
Chris Morley
b3c98f7869 qtvcp -remove useless button in error notification 2019-07-31 22:56:14 -07:00
Chris Morley
de6ced8d79 qtvcp -fix message library: status play-alert message is removed 2019-07-31 22:49:29 -07:00
Chris Morley
65f817ff6e qtvcp -if axis is not available, hide the wear column too 2019-07-31 22:31:12 -07:00
Chris Morley
444350d862 qtvcp -add system shutdown option to new close dialog 2019-07-31 22:29:40 -07:00
Phillip Carter
e5b06ca3c5 Merge branch '2.8' 2019-07-31 20:40:45 +10:00
Phillip Carter
856358a157 plasmac: add small hole feature to gcode parser 2019-07-31 20:39:32 +10:00
Robert W. Ellenberg
b522453237 gcodemodule:: Remove unique_ptr wrapper that throws an assert on shutdown 2019-07-30 11:53:00 -04:00
Phillip Carter
b0b27580ed Merge branch '2.8' 2019-07-29 15:41:39 +10:00
Phillip Carter
46b666d947 plasmac: remove arc reference from gcode parser 2019-07-29 15:37:45 +10:00
Phillip Carter
32b37d3e21 plasmac: change some types 2019-07-29 15:37:45 +10:00
Phillip Carter
51d5190efb plasmac: fix ohmic retry to probe height error 2019-07-29 15:37:44 +10:00
Phillip Carter
ae5e39add7 plasmac: remove redundancies 2019-07-29 15:37:44 +10:00
Phillip Carter
9ce339b4c0 plasmac: ensure Z at cut height before x/y motion 2019-07-29 15:37:44 +10:00
Phillip Carter
f4e6ee7d8f plasmac: add torch off input pin 2019-07-29 15:37:44 +10:00
Phillip Carter
e77766d06a plasmac: don't raise Z axis until torch off delay complete 2019-07-29 15:37:44 +10:00
Phillip Carter
aebd80c9cf plasmac: add lowpass to configurator 2019-07-29 15:37:44 +10:00
Chris Morley
2705df06ea qtvcp -add a special function named before_loop__
before_loop__ is a function to be added optionally to the handler file.
It will be called just before the Qt exec call (event loop).
2019-07-28 22:04:26 -07:00
Chris Morley
a6bae49b35 qtvcp -simplify making status class instances 2019-07-28 22:04:26 -07:00
Dewey Garrett
af57d7ff63 updating docs: begin noting changes beyond 2.8.x 2019-07-27 10:45:36 -07:00
Dewey Garrett
fd7fb831fd Merge remote-tracking branch 'origin/2.8' 2019-07-27 10:23:59 -07:00
Dewey Garrett
e576036401 updating-linuxcnc.txt clarify 2.8. update scope
and establish docs section to record changes beyond 2.8.x
that can be entered in the master branch version
of the document.
2019-07-27 10:22:25 -07:00
Chris Morley
effc1715d7 Merge branch '2.8' 2019-07-27 02:34:05 -07:00
Chris Morley
b385d3507b qtvcp -add wear offset adjustment ability
requires a remap to use though
2019-07-27 02:31:40 -07:00
Chris Morley
03108c61f6 qtvcp -leave comments column strechable/add minimuim width 2019-07-27 02:31:40 -07:00
Dewey Garrett
93d533cc39 Merge remote-tracking branch 'origin/2.8' 2019-07-26 18:23:29 -07:00
Dewey Garrett
bed8643e85 sim/configs/gantry/gantry_jjog.ini new sim demo
Uses a pyvcp panel "J1,3 JOGGING" to illustrate methods to:
  1) Synchronize homing final move for joint1 and joint3
     (disallows joint mode jogging of these joints to
     prevent inadvertent racking)
  2) Enable individual joint mode jogging of joint1 and joint3
     using the axis gui jog buttons (operator may rack gantry)
  3) Enable synchronized jogging of joint1 and joint3
     using the pyvcp panel COUNTS setting to emulate
     the counts of a realtime Manual-Pulse-Generator (MPG)

Note:
  The messaging methods for jogging that are used by the
  non-realtime guis (axis, halui, etc), and programming
  interfaces (python, tcl) start and stop jogging using commands
  for a single-joint-per-message making it problematical to
  guarantee synchronization for multiple joints.  The synchronized
  jogging method demonstrated uses the provisions for realtime
  MPG jogging using the joint jog pins for the synchronized joints:
      jog.N.enable
      jog.N.counts
      jog.N.scale
2019-07-26 18:19:35 -07:00
Dewey Garrett
5a4bf64901 sim/configs/axis/gantry: gantry sim dir
provide for expansion of example configurations
2019-07-26 09:00:51 -07:00
Dewey Garrett
7a98ab32ff ini-homing.txt make example more realistic
by using correct data type (s32) multiplexed to
ini.N.home_sequence pins

add note about realtime sync of joint jogs
2019-07-26 08:48:29 -07:00
john
0ff00e80e7 Docs: remove $revision 2019-07-25 10:43:09 -05:00
john
8930db23f5 Docs update version info 2019-07-25 05:43:16 -05:00
Phillip Carter
435c86a8e0 Merge branch '2.8' 2019-07-24 17:46:16 +10:00
Phillip Carter
c9c9d70b8f plasmac: add ohmic probe offset 2019-07-24 17:45:17 +10:00
Phillip Carter
c70c4b4202 plasmac: monitor panel consistency 2019-07-24 17:45:17 +10:00
Chris Morley
7a5074e48c Merge branch '2.8' 2019-07-23 19:48:09 -07:00
Chris Morley
f587eddf97 qtvcp -fix text entry on buttons
was showing changing text rather then set text
2019-07-23 19:43:38 -07:00
Chris Morley
015ba46666 qyvcp -update widgets/screens for separate axis jogging
lathe configs showed the limits of not fully separating joints/axis for jogging.
2019-07-23 19:43:38 -07:00
Chris Morley
485382b615 hal_glib -add axis-selection-changed
we separate joint and axis messages now
2019-07-23 19:40:33 -07:00
Phillip Carter
57a0882c1b Merge branch '2.8' 2019-07-23 15:08:16 +10:00
Phillip Carter
fdbd5c5713 plasmac: move some spinbuttons from run tab to config tab 2019-07-23 15:07:20 +10:00
Phillip Carter
e9a5d82ae9 plasmac: separate probing frame in config panel 2019-07-23 15:07:19 +10:00
Phillip Carter
79705f783c plasmac: run tab ohmic probe tooltip 2019-07-23 15:07:19 +10:00
Phillip Carter
6b4b96efc1 docs: plasmac user guide type 2019-07-23 15:07:19 +10:00
Dewey Garrett
eee813d067 Merge remote-tracking branch 'origin/2.8' 2019-07-21 10:46:25 -07:00
Dewey Garrett
ebfdd58db1 python-interface.txt: expand jog parameters defs 2019-07-21 09:58:46 -07:00
Dewey Garrett
fe62e95745 command.c: decline jog request for undefined joint
Avoid segfault if a gui sends a request to jog an undefined joint.

Valid joint numbers are defined by ini setting: [KINS]JOINTS
so legal joint_nums are 0 ... ([KINS]JOINTS-1)
2019-07-21 09:56:39 -07:00
Dewey Garrett
caf543102c Merge remote-tracking branch 'origin/2.8' 2019-07-20 08:24:10 -07:00
Dewey Garrett
91b9d0ed54 includes_demo.ini fix breakage
includes_demo.ini corrupted at commit:
  ac154e06d Multispindle:  Update sample configs

also: update version in emc.inc that checked by by update_ini
2019-07-20 08:18:03 -07:00
Chris Morley
d46e9eb1ba Merge branch '2.8' 2019-07-19 23:39:18 -07:00
Chris Morley
108dd0d6d5 gscreen -update silverdragon skin and sim 2019-07-19 23:28:44 -07:00
Phillip Carter
67e0a8999b Merge branch '2.8' 2019-07-20 12:40:03 +10:00
Phillip Carter
cb94be3a54 docs: plasmac - typo 2019-07-20 10:20:02 +10:00
Dewey Garrett
84d5758ed7 homing.h interface api (new file)
0) clarify interface with new homing.h
1) provide for initialization (homing_init())
2) localize per-joint homing-specific hal pins:
      use: export_joint_home_pins() (one-time)
           read_homing_in_pins()    (servo-rate)
           write_homing_out_pins()  (servo-rate)
3) localize internal homing state machine (home_state_t)
   'hiding' state variables from other motion components
4) use simple set_/get_ functions for overall and per-joint
   queries and settings (instead of macros)
5) maintains use of existing logic and core routines:
      do_homing_sequence()
      do_homing()
6) use rtapi_bool.h
7) uses sequence states (home_sequence_state_t) per existing
   design

No interface or functional changes are intended.

Rebases:
baaf887f1 Wed Jul 17, 2019

Related earlier work:
   4aa4791cd1 2008-02-27 (provisional)
   0a7f2d34fc 2009-12-24 (enabled)
2019-07-19 17:01:28 -07:00
Phillip Carter
8ed7964ffa plasmac: axis - frame title consistency 2019-07-19 16:46:42 +10:00
Phillip Carter
ec8a7231be plasmac: axis - change heights for widescreen display 2019-07-19 16:41:53 +10:00
Phillip Carter
0679f21a0f axis: allow custom name for gladevcp panel
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-07-19 12:05:22 +10:00
Phillip Carter
635dc711a0 docs: plasmac - move ohmic enable to run tab 2019-07-19 11:58:15 +10:00
Robert W. Ellenberg
7a0d3a0536
Merge pull request #619 from LinuxCNC/rellenberg-618-catch2-unit-tests
Add support for Catch2-based unit tests for interp
2019-07-18 11:05:35 -04:00
Phillip Carter
baaf887f1e Merge branch '2.8' 2019-07-17 17:09:11 +10:00
Phillip Carter
b65e6464dc plasmac: configurator - fix axis run tab 2019-07-17 17:07:04 +10:00
Phillip Carter
b90b9d2d5a plasmac: move ohmic probe enable to the run tab 2019-07-17 16:29:44 +10:00
Phillip Carter
6cb7c556c6 plasmac: add more material file methods 2019-07-17 15:18:44 +10:00
Phillip Carter
bb4114e1c8 Merge branch '2.8' 2019-07-16 14:07:23 +10:00
Phillip Carter
f83f4f7ec2 plasmac: add test directory to configs 2019-07-16 14:03:36 +10:00
Phillip Carter
97fd8e0577 docs: plasmac installation update 2019-07-16 12:33:55 +10:00
Chris Morley
7ae2ca4db4 Merge branch '2.8' 2019-07-14 23:39:11 -07:00
Chris Morley
88eab9a41c gscreen -remove industrial lathe
we provide a better version
2019-07-14 23:31:01 -07:00
Chris Morley
5824c67a6f gscreen -add industrial lathe with wear offset config 2019-07-14 23:28:02 -07:00
Chris Morley
6d6562066f Merge branch '2.8' 2019-07-14 21:38:01 -07:00
Chris Morley
b3c2f28b8a gladevcp -add a s32 pin to scale widgets
avoids having to use a converting component to connect to s32 pins
2019-07-14 21:33:17 -07:00
Sebastian Kuzminsky
facd3e5c7e Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  packaging: let debian/configure be explicit about the yapps runtime
  remove our copy of yapps, we can rely on packaged yapps now
  process halcompile with the packaged yapps, not our own copy
  build-depend on yapps
  halcompile: move yapps preparser code to after the parser itself
  halcompile: switch from py2-style print to py3-style print_function
2019-07-14 11:25:59 -06:00
Sebastian Kuzminsky
cb2e098a9d Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  packaging: let debian/configure be explicit about the yapps runtime
  remove our copy of yapps, we can rely on packaged yapps now
  process halcompile with the packaged yapps, not our own copy
  build-depend on yapps
  halcompile: move yapps preparser code to after the parser itself
  halcompile: switch from py2-style print to py3-style print_function
2019-07-14 10:40:50 -06:00
Sebastian Kuzminsky
9a62d76c9d
Merge pull request #623 from LinuxCNC/remove-yapps
Clean up our use of yapps
2019-07-14 10:15:25 -06:00
Phillip Carter
92d5600e6a Merge branch '2.8' 2019-07-13 17:53:11 +10:00
Phillip Carter
85b013c556 docs: plasma docs - fix build warnings 2019-07-13 17:52:22 +10:00
Chris Morley
565da9abce Merge branch '2.8' 2019-07-11 23:21:11 -07:00
Chris Morley
d4dab150dc gscreen - protect against a missing vte library
Or at least give an error message
2019-07-11 23:19:56 -07:00
Phillip Carter
1c7a9ea1f8 Merge branch '2.8' 2019-07-12 14:18:26 +10:00
Phillip Carter
785cdfc660 docs: plasma - add external offset info, fix spelling, grammar, typos and links. 2019-07-12 14:17:41 +10:00
andypugh
5884d44cb2 Merge branch '2.8'
merge up changes to pci_8255
2019-07-11 23:01:07 +01:00
andypugh
469d3cb9b7 pci_8255: Change function names to avoid clash with v4.x kernel macros.
Signed-off-by: andypugh <andy@bodgesoc.org>
2019-07-11 22:45:04 +01:00
Phillip Carter
f8233b2cc4 Merge branch '2.8' 2019-07-11 18:25:35 +10:00
Phillip Carter
adf1eff73a plasmac: add ohmic probe enable input 2019-07-11 18:24:21 +10:00
Phillip Carter
31f00acaa3 plasmac: don't move to probe height if safe height is lower than probe height 2019-07-11 18:24:20 +10:00
Norbert Schechner
9d98d1c41e gmoccapy_2_3_5_1 : removed unused import statements
- removed unused import statements vte and pango
  from gmoccapy.py file

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-07-11 08:18:04 +02:00
Sebastian Kuzminsky
d91e1635c9 packaging: let debian/configure be explicit about the yapps runtime
Debian's packaging of the yapps runtime changed between Stretch and
Buster.  In Stretch and earlier the runtime was in `yapps2-runtime`,
but in Buster the package was renamed to `python-yapps`.

Our `linuxcnc-dev` package runtime-depends on the yapps runtime because
halcompile imports it.

This commit lets the -dev package pull in either the old yapps2-runtime
or the new python-yapps, whichever it needs, depending on the distro
it's built for.
2019-07-10 23:06:55 -06:00
Sebastian Kuzminsky
2bd9a22982 remove our copy of yapps, we can rely on packaged yapps now 2019-07-10 23:06:15 -06:00
Sebastian Kuzminsky
6bd1b01ff2 process halcompile with the packaged yapps, not our own copy 2019-07-10 23:06:15 -06:00
Sebastian Kuzminsky
8ff8f4c8f3 build-depend on yapps
All distros supported by 2.7 and newer (Lucid and newer) have yapps
packaged in a usable way.

This commit adds the yapps package to our build dependencies and configure
script, in preparation for getting rid of our old copy.

Note: on Buster the yapps executable is called bin/yapps2, on Stretch
and older it's called just bin/yapps.
2019-07-10 23:05:41 -06:00
Sebastian Kuzminsky
469c3ea8ce halcompile: move yapps preparser code to after the parser itself
Buster's yapps 2.2 writes "from __future__ import print_function" at
the top of its parser, which must come first in the python program,
before any other python statements.

This commit just moves halcompile's early python statements to come
after the yapps parser, instead of before.
2019-07-10 14:57:26 -06:00
Sebastian Kuzminsky
a373dcbdd7 halcompile: switch from py2-style print to py3-style print_function
All our supported platforms have Python 2.6 or newer, which means they
have `__future__.print_function()`.

Buster's yapps uses future-style print(), which means the whole program
needs to use it everywhere.

This commit mechanically changes all old-style `print` calls into
future-style `print()` calls.  I verified there's no change in
halcompile's output for any of our in-tree halcompile components.
2019-07-10 14:20:55 -06:00
Phillip Carter
dcfbbb6a7d plasmac: rebranding 2019-07-08 15:37:10 +10:00
Phillip Carter
c3a745019e plasmac: rebranding 2019-07-08 15:32:57 +10:00
Phillip Carter
33daf4564e Merge branch '2.8' 2019-07-08 12:49:30 +10:00
Phillip Carter
3c066b7b4e plasmac: user guide - update materialverter 2019-07-08 12:39:20 +10:00
Phillip Carter
bd3145d5ad plasmac: user guide typos and link 2019-07-08 12:39:19 +10:00
Chris Morley
e1bb890d79 Merge branch '2.8' 2019-07-07 16:08:47 -07:00
Chris Morley
fd2d3e693f docs -add gladevcp code example 2019-07-07 16:07:16 -07:00
Chris Morley
664bd969ef docs -fix plasma docs to compile
I think this looks right now.
2019-07-06 11:03:06 -07:00
Phillip Carter
3fc7713cdf Merge branch '2.8' 2019-07-06 16:48:11 +10:00
Phillip Carter
e48a2fc84d plasmac: a complete plasma cutting configuration 2019-07-06 16:36:27 +10:00
Chris Morley
f99e63a558 Merge branch '2.8' 2019-07-05 23:31:37 -07:00
Chris Morley
794e760dcb hal_glib -fix error of missing default tool-prep-number
pin iocontrol.0.tool-prep-number is only valid when
iocontrol.0.tool-prepare is true. So until that happened,
the self.old[] dict was missing the tool-prep-number entry
2019-07-05 23:30:01 -07:00
Chris Morley
9948f41b42 Merge branch '2.8' 2019-07-05 12:48:19 -07:00
Chris Morley
92df086386 qtvcp -add macro data load/save ability
This also extends the file dialog to set directory, filename and extentions
when a dialog request is made.
update a boring macro sample to add the load/save keywords
2019-07-05 12:47:31 -07:00
Chris Morley
64c9cbc185 qtvcp -fix dialog entry error messages
dialogs can give errors when they are c++ owned rather then python.
This allows the native key event to run if there is an error.
2019-07-05 12:47:31 -07:00
Chris Morley
bab0231f01 qtvcp -add a new image swicthing widget to blender screen
Widget can swicth between a list of pixmap paths.
Blender uses it to show an image of the current tool
2019-07-05 12:47:31 -07:00
Chris Morley
12c251a19b hal_glib -add tool-prep-changed signal
issued before the tool is actually changed.
2019-07-05 12:47:31 -07:00
Phillip Carter
a6522b9638 plasmac: change some defaults 2019-07-04 18:22:36 +10:00
Phillip Carter
79bea5c048 plasmac: user guide distinguish between rip and buildbot upgrades 2019-07-04 16:55:28 +10:00
Phillip Carter
799f066276 plasmac: user guide distinguish between rip and buildbot installations 2019-07-04 16:23:37 +10:00
Sebastian Kuzminsky
f741a2c432 Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  packaging: Buster needs asciidoc-dblatex to build docs
2019-07-03 14:06:22 -06:00
Robert W. Ellenberg
666720451b test: Fix g84 spindle direction check and runtests
G84 runtests were failing locally because the spindle was not started in
the test NGC files, and an invalid spindle state (i.e. not stopped, CW or
CCW) was ignored in the interp.
2019-07-03 10:23:26 -04:00
Robert W. Ellenberg
64233390ef interp: Fix a forward declaration 2019-07-03 10:23:22 -04:00
Robert W. Ellenberg
817d10f11b canon: Fix a possible comma misuse 2019-07-03 10:23:18 -04:00
Robert W. Ellenberg
c06adecdc6 canon: remove a redundant declaration 2019-07-03 10:23:07 -04:00
Robert W. Ellenberg
07499a0b22 interp: document header containing BOOST_PYENUM macros 2019-07-03 10:23:12 -04:00
Robert W. Ellenberg
09f20b709d sai: Fix rebase error that broke multispindle support 2019-07-03 10:23:07 -04:00
Robert W. Ellenberg
b199336adb nml: use CANON_UNITS for programUnits in EMC_TASK_STAT NML message 2019-07-03 10:23:07 -04:00
Phillip Carter
aabdd45e97 docs: add plasma cnc primer 2019-07-03 10:10:52 +10:00
Phillip Carter
896d94493b plasmac: use lowpass internally 2019-07-02 09:50:31 +10:00
Phillip Carter
f40432d8e1 plasmac: statistics - probe time error 2019-07-02 09:49:38 +10:00
Sebastian Kuzminsky
77fdae813b packaging: Buster needs asciidoc-dblatex to build docs 2019-07-01 13:47:31 -06:00
Phillip Carter
af378c9a5a plasmac: add a lowpass filter 2019-07-01 18:08:53 +10:00
Phillip Carter
7829eb1647 plasmac: axis - fix torch pulse time and paused motion time for consistency 2019-07-01 14:45:59 +10:00
Chris Morley
fbce5877d4 Merge branch '2.8' 2019-06-30 12:02:16 -07:00
Chris Morley
b97f3d47ce qtvcp -fix Gstat sound messages: use 'play-sound'
missed these before.
2019-06-30 12:01:28 -07:00
John Thornton
c0ceb121d8 Docs: fix markup typo 2019-06-30 13:43:05 -05:00
Phillip Carter
b6029ebb64 Merge branch 'master' into plasmac 2019-06-30 15:32:41 +10:00
Phillip Carter
c5293fa3f2 plasmac: statistics panel rework and additions 2019-06-30 15:28:32 +10:00
Chris Morley
89f05246a8 Merge branch '2.8' 2019-06-29 11:32:08 -07:00
Chris Morley
a54c12f815 docs -update gstat docs 2019-06-29 11:30:14 -07:00
Chris Morley
d3a6f9ae56 gstat - remove play-alert message: play-sound is enough 2019-06-29 11:30:14 -07:00
Chris Morley
b8d7c16acd gstat -change view-changed signal
graphics-view-changed is more consistant
2019-06-29 11:30:14 -07:00
Chris Morley
b47116a640 gstat- change reload-MDI-history signal name
mdi-history-changed is more consistant with other signals
2019-06-29 11:30:14 -07:00
Chris Morley
c7e0ef1703 Gstat -change the select_axis signal/functions
selecting joints is whats required now.
conversion from joints to axes will have to be done else where.
2019-06-29 11:30:14 -07:00
Chris Morley
2e5028eb89 docs -fix miss titled entry: current-tool-offset 2019-06-29 11:30:14 -07:00
Phillip Carter
7f433551eb plasmac: wrench samples for cutting 2019-06-29 14:54:13 +10:00
Phillip Carter
d212c139c0 plasmac: use z axis maximum height if safe height set to zero 2019-06-29 13:43:33 +10:00
Phillip Carter
0ddcea211c plasmac: add error meassages to user guide 2019-06-29 13:35:34 +10:00
Robert W. Ellenberg
81d3c7ae3f test: remove a now obsolete test replaced with a unit test 2019-06-28 15:46:03 -04:00
Robert W. Ellenberg
744964cb57 sai: fix M19 runtest due to mis-formatted PRINT 2019-06-28 15:43:55 -04:00
Robert W. Ellenberg
591cd2d4b9 python: clean up forward declarations in paramclass.hh 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
80d52da04f unit_test: Convert a bunch of REQUIRE's to CHECK for log clarity
Aome failures are easier to diagnose when all asserts are tested in a
block (e.g. rotations).
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
19b17f6086 unit_test: add a unit test for G10 L20 on an active work offset 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
8e93be8ef4 unit_test: replace some specialized interp testing macros with catch Matcher backend 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
a006d52a03 catch: crudely compact the console reporter to produce more GCC-friendly failure messages for QtCreator
NOTE: this is purely cosmetic and can be reverted in the future if necessary.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
301a53d2e8 Update to catch2 2.7.2 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
0f6f3688e3 unit_test: parse tests for G0 and G2 moves 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
b90dc99c65 unit_test: Add simple case for parsing G-code (linear move command) 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
f6dfd76a17 test: Remove obsolete runtest (case is handled by interp unit tests now) 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
1f0eaa3e86 unit_test: Make G10 L2 unit tests easier to follow (include math instead of magic numbers) 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
089c716bf4 interp: Fix pedantic comma misuse warnings 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
aa21a53324 unit_test: check axis offset unit conversion 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
da0a074b23 unit_test: Prevent test_interp cross contamination via saicanon globals 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
2d87910117 unit_test: Add current axis offset inspection methods 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
3269713a05 unit_test: add convert_length_units test cases to ensure that current position and work offsets are converted as expected. 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
ff22f0dc14 unit_test: check save / restore of G92 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
035d1795bc unit_test: Add test cases for a subset of the g10-with-g92 runtest 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
04f2a1d685 interp: Add current work offset inspection methods for unit tests 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
fbf9cf8688 unit_test: Fix unit tests after saicanon changes
The "mock" file just had a few globals that would be clearer to just
store in the main test file.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
8794b78933 sai: refactor SAI to store its static vars in a class for easier cleanup.
Collectes scattered static variables into a single container class for
one-click reset of all internal state in saicanon. This includes some
cleanup of global variables in canon.hh that were either lazily
implemented (instead of a getter / setter) or not used except by
saicanon.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
5802197453 Try doing sections in test cases instead of individual tests 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
23e2b031f8 Fix warnings about missing canon plane cases 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
1b8d53a25e Redirect unit test canon output to a log file (not currently used for tests results) 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
a234da8f9e sai: Clean up PRINT usage and add a helper macro to echo the function call to the outfile
ECHO_WITH_ARGS prints the function name and parenthesis automatically,
so you just have to provide the argument format string and values. It's
still an ugly way to do it, but less verbose than before.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
91a1a86b2d Suppress nag warnings about python exceptions in unit tests 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
c112ab3e0c unit_test: Move some interp test helpers to a separate header for easier reuse. 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
26d4ae0055 catch: crudely compact the console reporter to produce more GCC-friendly failure messages for QtCreator
NOTE: this is purely cosmetic and can be reverted in the future if necessary.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
85909962a3 unit_test: Add basic interp unit tests and refactor for faster compile
Unit tests for interp are now broken up into:
* tests_main.cc, which defines some common resources and the main function.
* test_interp_basics.cc, which has the initial batch of unit tests

It's trivial to add more test_XXX files as needed to cover more interp
test cases.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
9359953aaa interp: Try being more explicit about initializing parameters 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
0535ae0a84 interp: replace hard-coded forward declarations with the interp_fwd header 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
ad52ddce11 interp: move interp_internal C-style struct typedefs to a forward header 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
6d2ab179c6 task: Use a cleaner macro to define boost python enums for various NML message types 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
66f9507bab interp: convert and clean up constants / enums exported to interpmodule 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
27e8c6dc52 interp: Add helper macros for defining boost python enums with the same names as the C++ native enums 2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
059e42fb5a canon: Use enums instead of typedefs and defines
C++ makes #defines for const signed int values all but obsolete, and
canon.hh is a pure C++ header. The same is true for the "typedef struct {...}
StructName;" pattern, which is an anti-pattern in C++.

Also, propagate this change through to various places (like python
modules) to avoid changing the external API. Canon enum values are
exported at module scope, for example.
2019-06-28 12:15:29 -04:00
Robert W. Ellenberg
d31e06f04b interp: Convert various preprocessor #define constants into enums 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
6996b90ea3 interp: Create explicit enums for G code parameters (instead of magic numbers). 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
4a78d4598b inifile: Reduce the scope of a dependent header 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
777e004f63 interp: Fix missing include guards and make some implicit header dependencies explicit 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
cba28fe0ee interp: Whitespace cleanup 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
c6d168a261 interp: Remove deprecated exception specifications in interpreter module 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
0efb95c464 unit_test: add hello world interp unit test and better meson build infrastructure
The meson build system is expanded a bit:
* meson.build files in subdirectories list files / include directories
(relative to that subdir) for later use. These build files should NOT
include any dependencies (so they can be included in any order)
* top-level meson.build specifies everything else (deps, libraries,
targets, etc.) after including the subdir files
* Some kludgy mock files are used to pave over stray missing symbols not
really needed for unit tests

The meson build could eventually be expanded to replace the existing autotools / make build if
desired (there are guides on how to do this), or scrapped and replaced
with CMake 3 if need be.
2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
6e55ededc5 unit_test: add catch.hpp for Catch2 C++ unit testing 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
69f6ae9f85 interp: fix obsolete usage of 0 as NULL 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
d8b4a4efb2 sai: Replace some obsolete macros with a single case using varargs and a GNU extension that is de-facto standard 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
2974e2493a sai: Use unique_ptr to manage memory in SAI 2019-06-28 12:06:34 -04:00
Robert W. Ellenberg
7b28d7d3b4 gcodemodule: Update pinterp with unique_ptr and replace some obsolete macros 2019-06-28 11:08:55 -04:00
Robert W. Ellenberg
f38a552b11 emcpose: Remove unnecessary includes 2019-06-28 11:06:47 -04:00
Robert W. Ellenberg
ff09b03482 interp: Replace strstore stringtable with unordered set (hash table) for faster lookups 2019-06-28 11:06:47 -04:00
Robert W. Ellenberg
68d39839cb interp: Remove unnecessary link dependency of python plugin on interp lib
The strstore function is just a means to make sure that a const char *
is not deleted prematurely (it also does some caching to avoid creating
duplicate strings).

Having a separate set of strings between pyplugin and librs274 may
increase memory used slightly (since strings will no longer be shared).
2019-06-28 11:06:47 -04:00
Robert W. Ellenberg
7e01099db8 Remove an implicit dependency on HAL header 2019-06-28 11:06:47 -04:00
Robert W. Ellenberg
bb761c0e43 test: add coordinate system rotation tests
Calling G92 will compute axis offsets with XY rotation applied, so the
stored offset will depend on the current rotation.

Note that the current test result is technically wrong (interp applies
the rotation before all offsets), so the reported current position does
not match expectations.
2019-06-28 11:06:47 -04:00
Phillip Carter
b2c0f0360a plasmac: a plasma configuration 2019-06-28 12:51:30 +10:00
Phillip Carter
69b64100be docs: change anchor name 2019-06-28 10:55:03 +10:00
Chris Morley
182fb54a99 Merge branch '2.8' 2019-06-25 19:20:28 -07:00
c-morley
9da1f61867
Merge pull request #606 from phillc54/gladevcp_panel_names
Gladevcp panel names
2019-06-25 18:35:09 -07:00
Chris Morley
9d6903ba09 docs -fix markup in qtvcp docs 2019-06-25 18:28:59 -07:00
Chris Morley
063bee2229 qtvcp -add a system shutdown toolbar button 2019-06-23 22:36:45 -07:00
Chris Morley
300b52db7a qtvcp -add a system shutdown toolbar action. 2019-06-23 22:36:45 -07:00
Chris Morley
dff40b515a Merge branch '2.8' 2019-06-23 20:25:57 -07:00
Chris Morley
fbaf221344 qtvcp -fix useless warning in toolbar library
it would warn the action was not recognised even if it knew
the action was user supplied.
2019-06-23 20:16:07 -07:00
Chris Morley
62cf466f39 docs -update qtvcp handler file example 2019-06-23 20:15:50 -07:00
Chris Morley
c6acc17431 docs -add code snippets to qtvcp docs 2019-06-23 20:15:32 -07:00
Chris Morley
52a6e3849d Merge branch '2.8' 2019-06-21 18:41:29 -07:00
Chris Morley
6e93318557 Merge branch '2.7' into 2.8 2019-06-21 18:39:31 -07:00
Chris Morley
f5ff69034c gladevcp -fix error when ensuring linuxcnc is in MDI 2019-06-21 18:38:16 -07:00
Chris Morley
56b37cf31a gscreen -remove debugging code 2019-06-21 18:37:41 -07:00
Chris Morley
92aefdc347 docs -add info about using Gstat in Gscreen 2019-06-20 20:20:46 -07:00
andypugh
887626f884 update_ini: Improve HOME_SEQUENCE handling.
1) Convert HOME_SEQUENCE = -1 to no entry to suit the new mode of excluding
2) Set paired gantry axes to the same negative HOME_SEQUENCE
3) Assign HOME_SEQUENCE properly for missing-axis configs.


Signed-off-by: andypugh <andy@bodgesoc.org>
2019-06-21 00:58:03 +01:00
andypugh
8064ba07b2 update_ini: Improve HOME_SEQUENCE handling.
1) Convert HOME_SEQUENCE = -1 to no entry to suit the new mode of excluding
2) Set paired gantry axes to the same negative HOME_SEQUENCE
3) Assign HOME_SEQUENCE properly for missing-axis configs.


Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-21 00:56:04 +01:00
andypugh
63790ff2ff Merge branch '2.8' 2019-06-19 22:58:10 +01:00
andypugh
0b722d4161 Merge branch '2.7' into 2.8
Merge to add encoder fixes from PCW
2019-06-19 22:57:05 +01:00
peter wallace
364e864274 Issue #394 BUGFIX: hm2 muxed encoder skew drift due to integer division truncating converted to rounding. This affects changing the muxed encoder skew value when other encoder parameters are changed. 2019-06-19 22:55:06 +01:00
peter wallace
2334748708 BUGFIX: hostmot2 encoder quadrature error reporting bug. Previous to this patch the quadrature errors were not reported correctly and could be lost.
This patch requires a firmware change in the the encoder firmware.
Writing 1 to the quadrature error bit in the encoder control register will reset the error and writing 0 to it will do nothing.
Previous driver had a bug in error handling, where it did not report the quadrature error properly.
Using this patch with unpatched firmware is harmless as the encoder quadrature error did not work to start with.
2019-06-19 22:54:12 +01:00
andypugh
bb2fc4d11a Merge branch '2.8'
Pulling in changes to update_ini and sserial.x
2019-06-19 22:19:44 +01:00
andypugh
2c95823d03 Merge branch '2.7' into 2.8 2019-06-19 22:16:10 +01:00
andypugh
b22d9daa6f sserial,c: Don't report "remote error" as the error when there is a remote error
https://github.com/LinuxCNC/linuxcnc/issues/439



Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-19 22:14:05 +01:00
andypugh
66a66ba6b9 update_ini: Correct joint assignments in the HAL file when skipping
a joint with a lathe config.


Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-19 21:53:41 +01:00
andypugh
45421ebc9f update_ini: convert lathe configurations correctly and improve ganry handling
The previous version of this script did not correctly convert lathe configs
with three axes declared. It also failes with gantries using gantrykins but
defined as XYZA in "coordinates"
This commit addresses both these issues and improves the section ordering for
gantry configs


Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-18 22:49:34 +01:00
andypugh
24539b0ae2
Merge pull request #613 from manymachines/docs-python-attribute-ordering
docs: Correct alphanumeric order of Python interface attributes/keys
2019-06-18 11:38:53 +01:00
Lorenz Neureuter
b351f145e2 docs: Correct alphanumeric order of Python interface attributes and
dictionary keys.
2019-06-17 19:29:56 -04:00
Dewey Garrett
3c3dc5e796 initraj.cc fix [TRAJ]*LINEAR_ACCELERATION
History:

1) Early joints-axes work (commit: 0f0d50adfd 23Mar08)
   changed initraj.cc to rename [TRAJ] items:
     MAX_ACCELERATION     --> MAX_LINEAR_ACCEL
     DEFAULT_ACCELERATION --> DEFAULT_LINEAR_ACCEL
   This change anticpates future support for ANGULAR
   acceleration trajectory planning limits (not implemented)

2) later JA work (commit: 30429d703 21Jun16) updated many
   sim configs (some were missed) but erroneously
   used:   MAX_LINEAR_ACCELERATION, DEFAULT_LINEAR_ACCELERATION
   instead of the abbreviated forms used in initraj.cc:
           MAX_LINEAR_ACCEL,        DEFAULT_LINEAR_ACCEL

3) update_ini script followed erroneous pattern of 2) with
   commit 3a16c157 23Jun16

Since this error is longstanding and numerous user configs
have already been updated with update_ini, this commit amends
initraj.cc and all sim configs to use:
   MAX_LINEAR_ACCELERATION, DEFAULT_LINEAR_ACCELERATION

No changes required for update_ini or configs converted by it.

User configs created independently need updating if they make
use of the abbreviated names
2019-06-16 17:13:02 -07:00
Chris Morley
65541630b3 Merge branch '2.8' 2019-06-16 00:08:04 -07:00
Chris Morley
2c2ea0f853 Merge branch '2.7' into 2.8 2019-06-16 00:07:40 -07:00
Chris Morley
688c6f5796 gladevcp -fix a missed update from long ago.
The widget seems to still not change color
It seems to be a know problem with some themes
2019-06-16 00:02:47 -07:00
Chris Morley
8209d825fd Merge remote-tracking branch 'origin/2.8' 2019-06-15 00:36:59 -07:00
Chris Morley
2425d5b607 docs -add a sample image of a VCP panel 2019-06-15 00:28:17 -07:00
Chris Morley
774a88c5c5 qtvcp -fix error when loading a VCP panel
qtvcp was looking for a non existant confuration file path.
VCP's don't usuallu have a config path as they are really for
controlling a cnc machine - time will tell what paths a VCP will need
2019-06-15 00:26:20 -07:00
Chris Morley
e6ea68bb76 docs -update installed paths for qtvcp 2019-06-12 22:34:01 -07:00
Dewey Garrett
819099711c tests/interp/oword-mdi-sub-update rm sim.var
*.var files are deleted at the conclusion of the
runtests script so having sim.var in the git tree
creates a git working dir change (deletion) whenever
runtests is run
2019-06-12 17:23:09 -07:00
Dewey Garrett
c378f1e3c7 check_config.tcl warn for trivkins coords specs
if
   trivkins coordinates=
is not consistent with
   [TRAJ]COORDINATES
2019-06-12 15:01:39 -07:00
Dewey Garrett
ccf82714aa configs/sim/halui/pyvcp.hal #608 2019-06-12 14:40:06 -07:00
Dewey Garrett
9d45b153ad halui man page remove confusing numerical refs
in the identification of axis (coordinate letter) jogging
2019-06-12 10:54:45 -07:00
John Thornton
2b9fe48ca3 Docs: attempt to fix building error 2019-06-12 07:21:18 -05:00
Chris Morley
3dc9e09a22 qtvcp -add a warning rather then crash on tool file error 2019-06-11 16:49:33 -07:00
Chris Morley
2deedf9c1a qtvcp -fix selecting action changing button text in Designer 2019-06-11 16:49:33 -07:00
John Thornton
356350545e Docs: add manual pages to menu 2019-06-11 16:50:48 -05:00
John Thornton
ed60126989 Docs: fix desktop entry name 2019-06-11 15:14:07 -05:00
Chris Morley
54ea6640f4 docs -add how to add an Actions on buggy version of GLADE
The normal way crashes GLADE
2019-06-10 12:53:53 -07:00
Chris Morley
0460a8154f gscreen -remove debugging code 2019-06-09 23:06:06 -07:00
andypugh
71bbc3c4f9 Merge remote-tracking branch 'origin/2.8'
Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-09 20:01:57 +01:00
jethornton
54541dd51c
Merge pull request #605 from manymachines/doc-ok_for_mdi_2.8
docs - Correct the Python Interface example function ok_for_mdi
2019-06-09 08:56:22 -05:00
jethornton
1a59ec5b74
Merge pull request #603 from manymachines/doc-ok_for_mdi
docs -  Correct the Python Interface example function ok_for_mdi
2019-06-09 08:30:03 -05:00
Phillip Carter
a8a9a37a49 Merge branch 'master' into gladevcp_panel_names 2019-06-09 11:49:11 +10:00
Phillip Carter
a22a00f100 axis: allow custom name for gladevcp panel
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-06-09 11:45:27 +10:00
andy pugh
7277657ba6 Merge branch '2.7' into 2.8 2019-06-09 02:42:18 +01:00
andypugh
e73f9a425c
Merge pull request #604 from sleepybishop/vismach_stl_import_bug-2.7
fix bug in vismach stl import
2019-06-09 03:34:28 +02:00
Lorenz Neureuter
57cf0eeaa4 The example Python function ok_for_mdi() attempts to check that the machine is homed before returning True. The homed attribute returns a tuple of length 9 with home status of each axis. The current example will always return True for the homed test even if all axes are unhomed.
Since there is a 1:1 correspondence between a joint and an axis, I suggest to correct the example by counting the homed axes and comparing with the number of joints (2.8) or number of axes (2.7):

2.8: s.homed.count(1) == s.joints

2.7: s.homed.count(1) == s.axes
2019-06-08 21:07:35 -04:00
joseph calderon
2f40e30fe0 fix undefined variables causing some stl imports to fail in lib/python/vismach.py 2019-06-08 17:49:25 -07:00
Lorenz Neureuter
70a03c2c3e The example Python function ok_for_mdi() attempts to check that the machine is homed before returning True. The homed attribute returns a tuple of length 9 with home status of each axis. The current example will always return True for the homed test even if all axes are unhomed.
Since there is a 1:1 correspondence between a joint and an axis, I suggest to correct the example by counting the homed axes and comparing with the number of joints (2.8) or number of axes (2.7):

2.8: s.homed.count(1) == s.joints

2.7: s.homed.count(1) == s.axes
2019-06-08 20:41:14 -04:00
John Thornton
9b55a730b9 Docs: mini has been removed 2019-06-08 17:28:16 -05:00
andypugh
aacff428fe Update existing docs to reflect reverse-run
Signed-off-by: andypugh <andypugh@rm-one.bodgesoc>
2019-06-08 23:27:39 +01:00
John Thornton
d23e85831d Merge branch '2.7' into 2.8 2019-06-08 17:00:11 -05:00
John Thornton
afcf17eb5c Docs: minor fix
Should merge up ok.
2019-06-08 16:59:59 -05:00
Rick M
ce03781304 Changed an instance of HOME_FINAL to HOME_FINAL_VEL 2019-06-08 16:59:59 -05:00
John Thornton
35cccb3e95 Docs: minor fix
Should merge up ok.
2019-06-08 16:57:37 -05:00
andypugh
e3b3578bfc Merge remote-tracking branch 'phillc54/reverse-run' 2019-06-08 21:53:34 +01:00
andypugh
d8be60eca9
Merge pull request #594 from sleepybishop/num_sserials_obsolete
num_sserials=N is not used in hostmot2.c
2019-06-08 15:33:37 +02:00
Chris Morley
b6b307e40d docs -update qtvcp docs -spelling, local file locations 2019-06-08 00:53:42 -07:00
Chris Morley
4e8ac0f9ce qtvcp -walk the config folder for local files
So one could hide the files in a neater folder
Move some code to prove it
2019-06-08 00:53:42 -07:00
Sebastian Kuzminsky
83b934f8a4 packaging: add Integrator Info desktop file to debian package 2019-06-07 22:26:11 -06:00
Sebastian Kuzminsky
0fc2d357d3
Merge pull request #601 from LinuxCNC/2.8-docs-fix
2.8 docs fix
2019-06-07 13:18:05 -06:00
Sebastian Kuzminsky
aeb28390e8 docs: clarify M3/M4/M5 examples 2019-06-07 11:44:10 -06:00
Sebastian Kuzminsky
468fe50cc6 docs: square brackets "[]" indicate optional arguments 2019-06-07 11:44:10 -06:00
Sebastian Kuzminsky
d6142a92d8 docs: fix a couple of asciidoc syntax errors 2019-06-07 11:44:10 -06:00
Sebastian Kuzminsky
c07a418a05 docs: fix an asciidoc syntax error 2019-06-07 11:44:10 -06:00
John Thornton
029951d2de Docs: add integrator info desktop entry 2019-06-07 06:11:58 -05:00
Phillip Carter
f0699a15d7 Merge branch 'master' into reverse-run 2019-06-07 17:59:58 +10:00
Chris Morley
ff921d60aa docs -fix qtvcp libraries spelling mistake 2019-06-06 19:49:28 -07:00
John Thornton
0b3ec1b2ef docs: expand on spindle control description 2019-06-06 15:38:40 -05:00
John Thornton
e8a3cca222 update changelog 2019-06-06 14:50:43 -05:00
John Thornton
57d885b150 update changelog 2019-06-06 05:50:24 -05:00
Chris Morley
bb1ad8db25 docs -qtvcp fix spelling mistake 2019-06-05 21:56:36 -06:00
John Thornton
aea34aae09 update changelog 2019-06-05 18:30:16 -05:00
John Thornton
ad029d53b3 update changelog with 2.8 changes 2019-06-04 19:10:06 -05:00
mozmck
88ef680515
Merge pull request #600 from JetForMe/2.7
Changed an instance of HOME_FINAL to HOME_FINAL_VEL
2019-06-04 16:50:23 -05:00
John Thornton
c4402f7d1e Merge branch '2.8' 2019-06-04 16:30:18 -05:00
John Thornton
204fbfc821 Docs: remove generated html image files 2019-06-04 16:29:40 -05:00
Rick M
b6ec378299
Changed an instance of HOME_FINAL to HOME_FINAL_VEL 2019-06-04 14:23:31 -07:00
John Thornton
8121a5297e Merge branch '2.8' 2019-06-04 16:15:27 -05:00
John Thornton
81a520a9e1 fix gitignore to ignore generated html files 2019-06-04 16:14:58 -05:00
John Thornton
665b398b5e Docs: remove image files from html directory
These should have been in the .gitignore file so generated documents don't get pushed.
2019-06-04 15:32:25 -05:00
Sebastian Kuzminsky
2f12e4567a Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  packaging: buster needs the py2 python-yapps package
  debian/configure: oops, Debian Buster isn't released yet
  fix some compiler warnings in libnml
  debian buster packaging: use correct package names for python imaging debs
  let debian/configure specify python-imaging and python-imaging-tk package names
  debian/configure: Debian-testing will become Debian-10
  packaging: don't depend on python-gnome2
  remove unused program halgui
  hy_gy_vfd: fix modbus byte timeout
  mb2hal: add support for libmodbus 3.1.2 and newer
2019-06-04 09:54:03 -06:00
Phillip Carter
7e3a9bcb18 Merge branch 'master' into reverse-run 2019-06-04 14:45:11 +10:00
Sebastian Kuzminsky
a8ec01585f packaging: buster needs the py2 python-yapps package
Our packaging runs our halcompile tool, which is a python2 program that
imports yapps.

Our package build-depends on yapps2, which on older (pre-Buster) distros
pulls in the correct python2 yapps runtime package, but Buster switched
the yapps2 runtime to the python3 version.

This commit updates debian/configure to, on Buster, explicitly
build-depend on the py2 python-yapps package.

The halcompile runtime dependency (for the linuxcnc-dev package) uses
${python:Depends} to automatically depend on python-yapps, so no change
is needed there.
2019-06-03 12:29:35 -06:00
Sebastian Kuzminsky
5650c0fb1e Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  debian/configure: oops, Debian Buster isn't released yet
2019-06-03 11:45:02 -06:00
Sebastian Kuzminsky
7bd61a2059 debian/configure: oops, Debian Buster isn't released yet
`lsb_release -s -r` shows just "10", not "10.0" for the release number.
2019-06-03 11:42:18 -06:00
Sebastian Kuzminsky
e780f042ea Merge remote-tracking branch 'origin/2.7' into 2.8
* origin/2.7:
  fix some compiler warnings in libnml
  debian buster packaging: use correct package names for python imaging debs
  let debian/configure specify python-imaging and python-imaging-tk package names
  debian/configure: Debian-testing will become Debian-10
  packaging: don't depend on python-gnome2
  remove unused program halgui
  hy_gy_vfd: fix modbus byte timeout
  mb2hal: add support for libmodbus 3.1.2 and newer
2019-06-03 11:33:45 -06:00
Sebastian Kuzminsky
4da3452882 Merge remote-tracking branch 'origin/2.8'
* origin/2.8:
  work with Debian Buster's yapps2
2019-06-03 11:05:14 -06:00
Sebastian Kuzminsky
d36e168755 work with Debian Buster's yapps2
Buster's yapps2.deb installs bin/yapps2, instead of bin/yapps like
Stretch and older versions of yapps2.deb.

This lets configure.ac find and use either, and substitutes the actual
yapps binary found for the Makefiles.

The new yapps also import from __future__, so the yapps parser has to
come at the very beginning of halcompile.
2019-06-03 11:03:14 -06:00
Sebastian Kuzminsky
4517c078ab Merge remote-tracking branch 'origin/2.7-buster' into 2.7
* origin/2.7-buster:
  fix some compiler warnings in libnml
  debian buster packaging: use correct package names for python imaging debs
  let debian/configure specify python-imaging and python-imaging-tk package names
  debian/configure: Debian-testing will become Debian-10
  packaging: don't depend on python-gnome2
  remove unused program halgui
  hy_gy_vfd: fix modbus byte timeout
  mb2hal: add support for libmodbus 3.1.2 and newer
2019-06-03 11:00:46 -06:00
Sebastian Kuzminsky
a6df5eb030 fix some compiler warnings in libnml
This fixes a bunch of compiler warnings from GCC 8.2.0 (in Debian 10
"Buster") of this sort:

    libnml/cms/cms_up.hh:80:11: warning: unnecessary parentheses in declaration of ‘encoded_data’ [-Wparentheses]
	 void *(&encoded_data); /* pointer to local copy of encoded data */
	       ^
    libnml/cms/cms_up.hh:81:11: warning: unnecessary parentheses in declaration of ‘encoded_header’ [-Wparentheses]
	 void *(&encoded_header); /* pointer to local copy of encoded header */
	       ^
    libnml/cms/cms_up.hh:82:11: warning: unnecessary parentheses in declaration of ‘encoded_queuing_header’ [-Wparentheses]
	 void *(&encoded_queuing_header); /* pointer to local copy of encoded
	       ^
2019-06-02 18:15:08 -06:00
Sebastian Kuzminsky
e063b5980f debian buster packaging: use correct package names for python imaging debs
The names of the packages providing python-imaging and python-imaging-tk
changed in Debian 10 "Buster", this updates our packaging to use the
new names.
2019-06-02 18:15:08 -06:00
Sebastian Kuzminsky
d78a2fd3bf let debian/configure specify python-imaging and python-imaging-tk package names
Up until Debian 9 "Stretch", the package names have been `python-imaging`
and `python-imaging-tk`, but in Debian 10 "Buster" the packages are named
`python-pil` and `python-pil.imagetk`.

This commit updates the debian packaging infrastructure so that different
distros can use different names for these packages.
2019-06-02 18:15:08 -06:00
Sebastian Kuzminsky
5bb17e1e71 debian/configure: Debian-testing will become Debian-10 2019-06-02 18:13:00 -06:00
Sebastian Kuzminsky
50a17a30f1 packaging: don't depend on python-gnome2
It's not available in Debian 10 "Buster", and i don't think anything
uses it.
2019-06-02 18:13:00 -06:00
Sebastian Kuzminsky
a344e39683 remove unused program halgui
It was added in 2005 and never touched since.  It's never been installed
as part of our build system or packaging.  Our documentation has always
listed it as "not implemented yet".

It's the only part of our code that tries to import python-gnome2,
which is no longer included in Debian 10 ("Buster").

I'm removing it because i think no one uses it or cares about it.
2019-06-02 18:13:00 -06:00
Sebastian Kuzminsky
76abad2899 hy_gy_vfd: fix modbus byte timeout
This commit fixes two bugs in hy_gt_vfd modbus timeout handling:

* Fix a copy/paste error that called the wrong function(!) on all
  platforms.

* Fix disabling of modbus byte timeout on libmodbus >= 3.1.2 (Debian
  Buster)
2019-06-02 18:13:00 -06:00
Sebastian Kuzminsky
1231cd8f02 mb2hal: add support for libmodbus 3.1.2 and newer
This commit makes mb2hal build with both libmodbus < 3.1.2 (Debian
Stretch and older) and libmodbus >= 3.1.2 (Debian Buster).
2019-06-02 18:13:00 -06:00
Sebastian Kuzminsky
10561703fc First 2.9 pre-release: 2.9.0~pre0 2019-06-02 16:54:22 -06:00
Sebastian Kuzminsky
0d2a52602d Merge branch '2.8'
* 2.8:
  githelper: made new 2.8 branch, master is now 2.9~pre
2019-06-02 16:51:07 -06:00
Sebastian Kuzminsky
efc3491786 githelper: made new 2.8 branch, master is now 2.9~pre 2019-06-02 16:45:35 -06:00
Sebastian Kuzminsky
bb3717c730 fix botched merge of debian/configure 2019-06-02 11:39:08 -06:00
andy pugh
101b867b2c Merge remote-tracking branch 'origin/2.7'
Conflicts mainly caused by multispindle resolved.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2019-05-30 01:48:27 +01:00
Dewey Garrett
d3956a3bf0 tcl/show_errors.tcl: fix linuxcnc_info file name
name of linuxcnc_info out file was changed at commit: aa4160e7a4
2019-05-29 08:17:37 -07:00
andypugh
885e48fc66
Fix "interperter" typo. 2019-05-29 15:31:20 +01:00
Chris Morley
60416609ab gsceen -fix error when selecting run-from-here start point
got float instead of needed integer (error was shown in terminal)
2019-05-27 22:14:11 -06:00
Chris Morley
5ef501243b gscreen -fix error when selecting run-from-line startpoint
got float instead of needed integer
2019-05-27 22:12:02 -06:00
Phillip Carter
85abf350ae Merge branch 'master' into reverse-run 2019-05-27 17:15:28 +10:00
Chris Morley
3753aa4cd1 qtvcp -add tool comments information to manualtool change dialog 2019-05-25 14:33:11 -07:00
Chris Morley
2ab3127127 docs -add missing Designer plugin information 2019-05-25 14:05:43 -07:00
Rene Hopf
9b6be13fc1
fix german Zero coordinate system translation
closes #597
2019-05-25 14:22:58 +02:00
Chris Morley
a880719e6d docs -better explain qtvcp's widgetswitcher widget 2019-05-25 00:18:45 -07:00
andypugh
adf37eb5ac
Fix some markup in French docs 2019-05-24 21:01:48 +01:00
andypugh
03dcc2f998
Add md5 and sha256 sums 2019-05-23 23:06:36 +01:00
andypugh
c5629cc927
Fix a broken link in French docs 2019-05-23 22:06:59 +01:00
andypugh
ae9073009b
Change links to point at new Wheezy ISO 2019-05-23 21:19:07 +01:00
Chris Morley
2a127da2ac stepconf -fix timing for g540 with 3.3v parport
These are safer numbers that will at least move the steppers.
One could adjust them lower for better speed if hardware allows.
A suggestion from Peter W from the forum
2019-05-21 18:09:11 -07:00
joseph calderon
e4aea3b472 num_sserials=N is not used in hostmot2.c 2019-05-21 01:09:15 -07:00
Chris Morley
a14261e3f6 docs - add an image of the silverdragon screen skin 2019-05-20 18:44:09 -07:00
Phillip Carter
eb06486736 Merge branch 'master' into reverse-run 2019-05-21 11:23:25 +10:00
Chris Morley
8d6e41eaf6 gscreen -add files for silverdragon screen
Initial files for a screen built by persei8 from the forum.
Jim used it for a router.
Thanks for giving back to linuxcnc Jim!
2019-05-20 11:39:54 -07:00
John Thornton
c2677bf8bc Docs: fix pin names 2019-05-19 08:26:36 -05:00
John Thornton
5dd702b132 Bug: fix python-gst hard coded version for ubuntu 18 2019-05-18 07:36:58 -05:00
Phillip Carter
50962ee539 Merge branch 'master' into reverse-run 2019-05-18 16:22:25 +10:00
Moses McKnight
65b9b4506a time.comp: fixed from last commit to match the version in 2.7 2019-05-17 17:26:04 -05:00
Moses McKnight
115cd02832 time.comp: merge changes from version in 2.7 2019-05-17 12:42:52 -05:00
Moses McKnight
6d4f223b18 time.comp: merge changes from version in master 2019-05-17 12:37:22 -05:00
Moses McKnight
d77e182259 time.comp: add pause pin to pause timing while code is paused. 2019-05-16 16:05:43 -05:00
Moses McKnight
e4244c1518 Update configure and control.in for Ubuntu 16.04 and 18.04 2019-05-15 15:28:04 -05:00
Chris Morley
26311513b6 docs - add info about iocontrol to code notes 2019-05-14 15:29:50 -06:00
John Thornton
a24d2765cb Docs: add to m61 and add link to g43 2019-05-14 05:28:14 -05:00
Phillip Carter
fb930c102d Merge branch 'master' into reverse-run 2019-05-14 15:50:17 +10:00
Rene Hopf
cf62082e08
Merge pull request #556 from zultron/zultron/lcnc-pr-build
Misc fixes:  Travis CI ccache; .gitignore test artifacts
2019-05-14 01:26:14 +02:00
Rene Hopf
223a27736f python3 fixes in elbpcom.py
Signed-off-by: Rene Hopf <renehopf@mac.com>
2019-05-14 01:05:28 +02:00
Rene Hopf
305b617531 python3 fixes in halcompile
Signed-off-by: Rene Hopf <renehopf@mac.com>
2019-05-14 01:04:50 +02:00
Rene Hopf
26b68c8f5c
Merge pull request #590 from TurBoss/configure-python3
Configure python3
2019-05-14 00:25:18 +02:00
Rene Hopf
9a2afa88ec scale axis on HiDPI displays
Signed-off-by: Rene Hopf <renehopf@mac.com>
2019-05-13 23:40:54 +02:00
Rene Hopf
91940cf44f change fixpaths.py so it works with pyhton2 and python3
modern distributions use python3 as default

Signed-off-by: Rene Hopf <renehopf@mac.com>
2019-05-13 23:31:15 +02:00
Rene Hopf
f27135af1d
Merge pull request #587 from awigen/392-fallback-to-libtirpc
Fallback to building with TI-RPC if RPC is not provided by libc
2019-05-13 22:57:06 +02:00
Chris Morley
aadb652c52 docs -add some sample pics to qtvcp docs 2019-05-13 09:27:25 -07:00
Chris Morley
4f298400b9 docs -add info/pics for gscreen 2019-05-13 08:52:23 -07:00
Chris Morley
8a8c24c2e5 gscreen -initilize user messages before calling handler function
So user could maniputate them if required.
2019-05-12 08:53:45 -07:00
Chris Morley
e16f6a6cc2 gscreen -fix usermessage name in data class
we didn't use the actual name used 'name' for everything
2019-05-12 08:50:23 -07:00
Alex Wigen
3e809b6cd9 Fallback to building with TI-RPC if RPC is not provided by libc
This commit updates autoconf to attemt building with TI-RPC if libc does
not provide RPC.

The RPC implementation in libc was obsoleted in 2011. Ref:

https://sourceware.org/git/?p=glibc.git;a=commit;h=7b57bfe5988e476ea40934457dfd1c8a231e2391

Quote from NEWS:
 The RPC implementation in libc is obsoleted.  Old programs keep working
 but new programs cannot be linked with the routines in libc anymore.
 Programs in need of RPC functionality must be linked against TI-RPC.
 The TI-RPC implemtation is IPv6 enabled and there are other benefits.
 Implemented by Ulrich Drepper.

This was removed in Fedora 28, Removal of Sun RPC Interfaces From glibc:
https://fedoraproject.org/wiki/Changes/SunRPCRemoval

This fixes issue #392

Signed-off-by: Alex Wigen <alex@wigen.net>
2019-05-11 12:20:58 +02:00
andypugh
ac9b2b8062
Merge pull request #586 from awigen/master
Use autoconf provided name for yapps
2019-05-11 12:18:42 +02:00
Alex Wigen
77f98eb642 Use autoconf provided name for yapps
While autoconf will correctly identify yapps or yapps2, the provided
variable should be used in the Makefile.

Signed-off-by: Alex Wigen <alex@wigen.net>
2019-05-11 11:33:23 +02:00
andypugh
da1ad3180f
Merge pull request #584 from awigen/master
Add yapps2 as optional yapps binary
2019-05-10 14:51:37 +02:00
Alex Wigen
cfef4b05b9 Add yapps2 as optional yapps binary
Fedora (and others) do not package YAPPS. When installing from pip the
binary is named yapps2. Modify the binary search to search for either
binary name.

Also fix a spelling mistake.

Signed-off-by: Alex Wigen <alex@wigen.net>
2019-05-10 00:39:08 +02:00
John Thornton
410bf13cd7 Doc update dev install to include uspace 2019-05-05 17:18:17 -05:00
Phillip Carter
8fc21825db Merge branch 'master' into reverse-run 2019-04-29 17:54:28 +10:00
andypugh
6862585409
Merge pull request #571 from AndreaRicchi/issue_#570
Add static declaration for negate function.
2019-04-28 17:35:47 +01:00
andypugh
b964362f03
Merge pull request #551 from robEllenberg/bug-550-tp-canon-displacement-checks
Apply minimum displacement checks consistently between canon and TP.
2019-04-28 17:34:05 +01:00
andypugh
04d7be913e
Merge pull request #547 from robEllenberg/bug546-tangent-segment-acceleration-corner-cases
Bug546 tangent segment acceleration corner cases
2019-04-28 17:33:29 +01:00
andypugh
6f9a274e28
Merge pull request #580 from itaib/patch-1
time.comp: add support for pausing timer.
2019-04-28 17:26:53 +01:00
andy pugh
50fb9d6435 encoders / resolvers: Add RPM pin for convenience
Add an -rpm velocity pin for HAL encoder and Mesa encoder and resolver modules.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2019-04-26 20:16:22 +01:00
John Thornton
ee7a3ce163 Docs: fix example 2019-04-25 18:29:18 -05:00
itai
d15c2b5f2c
time.comp: add support for pausing timer. 2019-04-25 23:21:32 +03:00
Chris Morley
5d6f7e9a48 pncconf -set g540 step timing more consrvative.
better to limit the max speed then have a machine that doesn't move.
Peter suggested these would work better, particulaily if using 3.3v
2019-04-20 16:06:17 -07:00
Phillip Carter
f30daa9469 Merge branch 'master' into reverse-run 2019-04-18 15:20:23 +10:00
Chris Morley
edd61b82a0 stepconf - add XY config option for weird machines 2019-04-16 22:58:34 -07:00
Chris Morley
1b0c537fc0 Merge branch '2.7' 2019-04-16 18:15:26 -07:00
Chris Morley
4c0164d3c8 stepconf -add a warning label for simulated hardware
it's easy to not notice that you are configuring a simulated
hardware config, that woun't run hardware.
Worse yet the tests in stepconf _will_ run hardware, even
with the simulator option.
Now there is a big red warning label on the finish page.
2019-04-16 16:26:52 -07:00
Chris Morley
5181e21fc1 qtvcp -add basic run-from-line capability
and you can pick the line from the graphics widget
2019-04-15 22:51:47 -07:00
Chris Morley
bd614b336e qtvcp -add preload value to calculator, fix button return values 2019-04-15 22:49:43 -07:00
Chris Morley
df366e01dd qtvcp -make it possible to select a line graphically
I turned this option off because it made the screen ipdate
stop while the program searched for the line number.
Now we check to see if the program is idle before searching.
There is no point in finding the line if the program is running anyways
2019-04-15 21:16:34 -07:00
Chris Morley
c9c2b34e64 docs -update docs on GStat 2019-04-15 17:20:53 -07:00
Phillip Carter
c6ccc66722 Merge branch 'master' into reverse-run 2019-04-11 17:34:18 +10:00
Dewey Garrett
1d9333d3a8 lib/hallib/wheeljogpins.tcl typo
ref: https://www.mail-archive.com/emc-users@lists.sourceforge.net/msg76494.html
2019-04-10 15:36:33 -07:00
Phillip Carter
33e97d34e5 Merge branch 'master' into reverse-run 2019-04-10 20:09:25 +10:00
Chris Morley
2aae46852c hal_glib -fix is_on_and_idle() check
was looking at task_mode instead of task_state
2019-04-09 20:24:17 -07:00
John Thornton
1ea62143fb Revert "Docs: add link to debian 9"
This reverts commit ee45fdc220.
2019-04-08 06:46:45 -05:00
John Thornton
ee45fdc220 Docs: add link to debian 9 2019-04-08 04:59:46 -05:00
Rene Hopf
550923db39
fix link to mesa regmap file 2019-04-06 02:25:20 +02:00
Phillip Carter
c7eca256ca Merge branch 'master' into reverse-run 2019-04-05 15:13:32 +11:00
Chris Morley
73f44f829c stepconf -don't require MDI commands when selecting HALUI
really should probably but the halui selection on the halui page...
but this fixes the problem
2019-03-30 19:15:51 -07:00
John Thornton
5ea93f8080 pyvcp - add width and height to bar 2019-03-28 07:04:18 -05:00
Phillip Carter
2de15f34a9 Merge branch 'master' into reverse-run 2019-03-26 09:43:58 +11:00
John Thornton
9fccfe00e5 Docs: expand path mode description 2019-03-24 05:10:21 -05:00
John Thornton
bb65ba3ff4 Docs: minor edit 2019-03-24 05:10:21 -05:00
John Thornton
bf811ba746 Docs: update lathe images 2019-03-24 05:10:21 -05:00
Chris Morley
ac5175a61b qtvcp -update x1mill jog buttons and jog sliders 2019-03-23 22:36:42 -07:00
Chris Morley
d2cffdd28e qtvcp -add templated label option for jog increment action button
So the button changes text on imperial/metric mode changes.
2019-03-23 22:12:24 -07:00
Chris Morley
b514cf3a3c hal_glib -add a forced-update message
So one can tell objects to initialize/update when GStat does
2019-03-23 22:06:16 -07:00
Chris Morley
ce5e715329 docs -add example code for making HAL pins
HAL pins that are part of AXIS's component.
2019-03-23 00:35:58 -07:00
Chris Morley
2051982174 qtvcp -modify widegt switcher for more utility
now it can pull widgets from arbitrary parents rather then just from it's pages
2019-03-22 16:17:59 -07:00
Phillip Carter
00364ebb0b Merge branch 'master' into reverse-run 2019-03-21 09:53:41 +11:00
Andrea Ricchi
e047849588
Add static declaration for negate function. 2019-03-20 19:32:10 +01:00
jethornton
39977ac31f
Merge pull request #541 from KurtJacobson/local-bin-PATH
add ~/.local/bin to PATH in linuxcnc start script
2019-03-20 11:55:35 -05:00
Kurt Jacobson
99e80a6872 only add .local/bin to PATH if it exists 2019-03-20 10:05:16 -04:00
Chris Morley
6cdbc93b86 qtvcp -update stylesheet setting
auto load a qss file if its in the config file and named the same as the ui file.
have the style editor search for qss file better:
-don't error if not found
-search the screen folder and the comfig folder
2019-03-20 01:58:11 -07:00
Chris Morley
53f96ea7ca qtvcp -update plugin for action buttons
add exit option
2019-03-20 01:55:59 -07:00
Chris Morley
2b8b4f89b9 qtvcp -add the beginning of a screen from a forum user
This is the conversion of Ilya's interesting screen from the forum.
2019-03-19 23:07:04 -07:00
Chris Morley
00887ba724 qtvcp -add a close aplication action 2019-03-19 22:49:59 -07:00
Phillip Carter
619b4f6a8f Merge branch 'master' into reverse-run 2019-03-20 16:41:26 +11:00
Chris Morley
327e212760 qtvcp -remove delays in camView and status label
make the widgets much snappier and seems to to slow down the GUI
2019-03-19 22:30:49 -07:00
Kurt Jacobson
792de62f8b add ~/.local/bin to PATH in linuxcnc start script
There is a regression in bash shipped with Debian Stretch which results in `~/.local/bin` not being on the path. This is the location to which pip installs python entry points, so is needed for linuxcnc to be able to find and launch some python based displays.

Thanks to JT for writing the needed lines of bash.
2019-03-19 18:00:43 -04:00
Chris Morley
3f2976547a qtvcp -add scaled label ability to DRO and status_label
trying to duplicate AXIS's DRO
2019-03-18 16:17:56 -07:00
Dewey Garrett
201288d6ca axis_9axis.ini supply axis min,max vel,accel items 2019-03-14 18:53:24 -07:00
Dewey Garrett
e8590ff141 servo_sim.hal remove confounding trailing commas 2019-03-14 18:53:24 -07:00
Dewey Garrett
4b8c196d2f hal c components, no component for trailing comma
e.g., if using names=aa,bb,
do not create an unintended, oddly-named component
2019-03-14 18:53:24 -07:00
Dewey Garrett
603b522456 xhc-hb04.cc avoid future warnings
for deprecated libusb_set_option()
observed in debian buster: gcc (Debian 8.2.0-21) 8.2.0
2019-03-14 18:53:24 -07:00
andypugh
6d15ac4f40
Add references to remapping and ON_ABORT to the [RS274NGC] section
The REMAP and ON_ABORT INI-file entries are currently only mentioned in the Remap sections and not in the INI Config section.
2019-03-12 11:49:53 +00:00
John Thornton
a79a4b4255 Docs: update gcode images 2019-03-12 04:30:35 -05:00
John Thornton
4cd05bf7ae Docs: add template files for svg images 2019-03-11 12:57:26 -05:00
John Thornton
03cec38604 Docs: update stepconf images 2019-03-11 08:28:56 -05:00
andypugh
b2510c0dfb
Merge pull request #555 from zultron/zultron/lcnc-pr-fix-mdi-sub-calls
Interp:  Clear `offset_map` on subroutine return in MDI
2019-03-10 22:18:13 +00:00
andypugh
6858ecde63
Merge pull request #554 from zultron/zultron/lcnc-pr-docker-cleanup-fixes
Zultron/lcnc pr docker cleanup fixes
2019-03-10 22:17:57 +00:00
andypugh
c9a8e8c2ba
Merge pull request #568 from yoleg/master
Add Tk options and a doc string to pyvcp table widget.
2019-03-10 18:55:56 +00:00
andypugh
8841b63097
docs: Explain "alias" behaviour
Note that aliased pins can no longer be seen directly with "show" but are still valid to use in HAL.
2019-03-09 14:57:39 +00:00
Oleg Pryadko
8a9b17b48b Add Tk options and a doc string to pyvcp table widget. 2019-03-08 19:42:26 -08:00
John Thornton
7ac1c0a930 Comment out editor = gedit
gedit is no longer the default editor.
This closes issue #366
2019-03-08 11:59:26 -06:00
Phillip Carter
ebc50d7b95 Merge branch 'master' into reverse-run 2019-03-08 15:52:34 +11:00
John Thornton
8d71cbc225 Docs: fix incorrect information 2019-03-07 16:22:46 -06:00
John Thornton
71ff6f09db fix tool table editor 2019-03-07 16:16:01 -06:00
John Thornton
b1e65a8aab fix tool table editor 2019-03-07 16:13:21 -06:00
Chris Morley
c78b6008f4 qtvcp -fix the yes/no option in message dialog
setting type to 'False' would actually set it to None - with weird results.
Also removed the default details test string
2019-03-06 20:04:16 -08:00
Phillip Carter
f4f8033d16 Merge branch 'master' into reverse-run 2019-03-07 10:02:02 +11:00
Phillip Carter
abc27107e2 qtvcp -gcode editor line highlighting change
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-03-06 14:13:09 -08:00
Chris Morley
2c121b1d17 qtvcp -update docs 2019-03-06 14:06:56 -08:00
Chris Morley
3d48365c8f qtvcp -fix error when right clicking some widgets 2019-03-04 16:13:45 -08:00
Chris Morley
39ab67a811 qtvcp -add test config for a multi-joint axis machine 2019-03-03 22:10:35 -08:00
Chris Morley
81d2f1eeba qtvcp -support independent joint jogging/multi-joint axes
Linuxcnc makes joint/axis separation possible but awkward.
Qtvcp descibes axes with the unique joint numbers.
when in 'axes' mode if you jog either joint the related axis
will jog.
In 'joint' mode the individual joint will jog.
This seems reasonable to me - time will tell.

Istat needed to supply different information so we adjusted
the available information collected.
2019-03-03 21:55:17 -08:00
Chris Morley
ea4071a939 qtvcp -don't error if the tool file is missing
Thi sshould be caught somewhere else - probably the Istat module
2019-03-03 21:44:24 -08:00
Phillip Carter
8f279b835f qtvcp -Up/Down Keycalls swapped with PageUp/PageDown
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-03-02 02:25:09 -08:00
John Thornton
2d261d5c58 Doc: remove confusing remark
Most likely left over from an earlier version
2019-03-01 14:00:00 -06:00
Phillip Carter
31318f381f Merge branch 'master' into reverse-run 2019-03-01 17:17:44 +11:00
Phillip Carter
98b68a0fdf qtvcp - use qtvcp filedialog for saving file
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>

Chris M has also modified code so we use dialog-request
for all dialogs rather then have load-file-request and save-file-request.
touched some other file because of this change.
2019-02-27 14:31:56 -08:00
Chris Morley
932e918782 qtvcp -add some code to gtaxis to test embedded tabs
Xembedding needs work but the tab loading works fine...
2019-02-27 00:41:49 -08:00
Chris Morley
08ebebdb36 qtvcp -have screenoptions optionally process embedded programs
Though it seems Xembed still needs work :(
2019-02-27 00:26:36 -08:00
Chris Morley
cfb618ab54 qtvcp -have xembed kill the embedded program when finished.
and some logged error checking
2019-02-27 00:18:18 -08:00
Chris Morley
d1184a45f1 qtvcp -add error checking and combined info for embedded tabs info 2019-02-27 00:15:00 -08:00
Chris Morley
5e42cb0b0f qtvcp -remove hander close_cleanup frm screenoptions
its done in qt_makegui.py and was actually only run if you had sound option
on.
2019-02-26 16:55:33 -08:00
Chris Morley
bba989044c qtvcp -auto adjust jog controls for avalable axes 2019-02-26 12:50:12 -08:00
Phillip Carter
e8bb2f27bc Merge branch 'master' into reverse-run 2019-02-26 14:08:24 +11:00
Chris Morley
b9db97dcb7 gscreen -update theme so gcode view edit mode is consistent
when edit mode was applied the widget became 'sensitive' to input
so the colors changed. We cover that now.
2019-02-25 16:28:58 -08:00
Chris Morley
4a8a55ebe8 qtvcp -fix file dialog qt filters
Muliple endings such as for images, was not recognised.
commas are not allowed with qt filters
2019-02-25 02:56:55 -08:00
Chris Morley
ff2b7078b8 qtvcp -fix filter program error dialog
Was still using GTK code - so errer out.
now we use the standard message dialog with STATUS messages
2019-02-25 01:34:59 -08:00
Chris Morley
53a2971b10 qtvcp -make the Lcncdialog like all other dialogs
- loadable by the screenoption widget
- callable by status dialog-request
- still callable directly by python function
2019-02-25 01:27:13 -08:00
Chris Morley
414d6306cf qtvcp -fix error on openning/closing if no preference file
On start/closing we read/record the size/location of window.
but we need a perence file for that...
2019-02-25 01:13:43 -08:00
Chris Morley
e97ad438b2 qtvcp -keep track of the units for return-to-last 2019-02-24 18:02:01 -08:00
Phillip Carter
f43b82cd27 Merge branch 'master' into reverse-run 2019-02-25 12:38:33 +11:00
Chris Morley
f7e033c300 qtvcp -allow entry dialogs to enter 0
0 was interpeted to be like None
2019-02-24 00:35:45 -08:00
Chris Morley
dbddc99daf qtvcp -now make open program work with properly filters 2019-02-24 00:01:23 -08:00
Chris Morley
ba76e7d85f qtvcp -update screen and editor when loading same file
before if you loaded the same file STATUS would not notice
so the gcode display and gcode editor wouldn;t update.
Now we check for that explicitly and force an update.
This is probably a problem in GladeVCP too though I havent checked.
2019-02-23 22:06:33 -08:00
Chris Morley
400bce2d64 gscreen -add a dark them for gscreen default
based on a forum request Ivan_The_Red
2019-02-23 18:09:45 -08:00
Chris Morley
b7fdd6f0df gscreen -remove ugly gladevcp panels
They were proof of concept - but are ugly.
2019-02-23 18:01:51 -08:00
Chris Morley
c89e950d2a qtvcp -in edit mode, open the file in the controller too 2019-02-23 15:54:59 -08:00
Chris Morley
9b6451b04e pncconf -add board id to 7i77 pin map 2019-02-23 13:09:35 -08:00
Phillip Carter
4a6833773b qtvcp -create mdi history file if it does not exist
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-02-22 18:35:19 -08:00
Chris Morley
ef357461e7 qtvcp -make the return key work as acknowledge
other wise the entry is ignored
2019-02-22 07:26:33 -08:00
Chris Morley
c9fa813ea4 qtvcp -have gcode editor use the STATUS file dialog
for consistancy
2019-02-22 07:25:28 -08:00
Chris Morley
3322830aeb gladevcp -fix theming of hal_sourceview highlight color 2019-02-22 02:39:35 -08:00
Phillip Carter
e1eab5455e Merge branch 'master' into reverse-run 2019-02-20 10:42:46 +11:00
Chris Morley
13385a1f96 qtvcp -add run from line function 2019-02-18 05:06:28 -08:00
Chris Morley
892c76a78f qtvcp -emit a line selected signal, when not running
so we can select a run-from-line start point
2019-02-18 05:00:02 -08:00
Chris Morley
c39ac7555c qtvcp -oops fix a copy and paste error 2019-02-18 04:58:31 -08:00
Chris Morley
011f4039d8 hal_glib -add gcode-line-selected signal
we use it for selecting line to run
2019-02-18 04:56:09 -08:00
Chris Morley
479683f8be qtvcp -let the RUN command specify the line number 2019-02-18 04:55:08 -08:00
Chris Morley
db2ff634e8 qtvcp -fix error if certain command switches are used
any switch related to geometry would cause an error when closing
2019-02-18 04:52:03 -08:00
Chris Morley
a620ea26a1 add a calculator entry dialog 2019-02-17 19:05:54 -08:00
Phillip Carter
03f298f182 Merge branch 'master' into reverse-run 2019-02-18 12:58:35 +11:00
Chris Morley
956b3b56d8 qtvcp -update qt default screen to use sceenoptions dialog loading 2019-02-17 02:26:47 -08:00
Chris Morley
794328d887 qtvcp - add preference geometry placement to main window
If you don't set an INI switch geometry option, then the window will
use the preference file geometry - which usually just remembers where
the wimdow was at when closed. If the is no preference file then it shows
in the natural place.
2019-02-17 02:20:17 -08:00
Chris Morley
2f16ff1e42 qtvcp -add other dialogs to screenoptions widget 2019-02-16 23:23:26 -08:00
Chris Morley
584314c79e qtvcp -add new launch-halscope action, fix spelling
and add  a bit of comments for the next guy to try to understand
2019-02-16 17:45:53 -08:00
Phillip Carter
5c14e178ff qtvcp -add halscope to action_button
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-02-16 17:33:53 -08:00
Phillip Carter
5e7f50c152 qtvcp -up/down keys in mdi_history
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2019-02-16 17:32:31 -08:00
Dewey Garrett
0e515b9a6c halcmd: support line extends with backslash (\)
Line continuation using trailing backslash:
1) Adapt halcmd_main.c for scripted & interactive usage
2) Update twopass.tcl to concatenate extended lines
3) Add backslash examples in tests/loadrt.1
4) Update halcmd.1 man page

Notes:
a) The tcl "source" cmd substitutes a trailing '\' with
   a single ' ',  so in twopass.tcl, detect a
   trailing '\' in a .tcl file and line extend
b) haltcl uses the tclreadline package with dubious
   support for prompt2 handling
2019-02-16 09:10:25 -07:00
Phillip Carter
ea43b60923 Merge branch 'master' into reverse-run 2019-02-16 09:52:37 +11:00
Chris Morley
60ecbbbf3a qtvcp -use the STATUS message way of loading dialogs 2019-02-15 05:21:17 -08:00
Chris Morley
01f6f1cd0a qtvcp -fix copied code names, use safer .get() function
forgot to change the copied code names that select which dialog shows.
general messages can have anything in them so we should use safer
.get() function to not error if it's the wrong message.
2019-02-15 05:15:04 -08:00
Chris Morley
2acd8919ad qtvcp -oops fix typos 2019-02-15 05:14:31 -08:00
Chris Morley
3c84fab894 qtvcp -update docs about entry dialog 2019-02-14 23:55:13 -08:00
Chris Morley
fb75998240 qtvcp -mention new screenoption options 2019-02-14 21:40:23 -08:00
Chris Morley
20cfc4d190 qtvcp -use dialogs from screen options, add overlay, add edit mode
Not happy with edit mode yet - it's different from AXIS so more though needed.
2019-02-14 21:22:24 -08:00
Chris Morley
24d2cd50aa qtvcp -adjust default screen to use dialogs from screenoption widget
and move a function to the proper section in the handler file
2019-02-14 21:21:13 -08:00
Chris Morley
529132607f qtvcp -screen options for loading dialogs and focus overlay
It's much easier to select dialogs here then place them on the screen.
Since they are usually hidden and the show posiiton is controlled by
the preference file - placement on the screen is unimportant.
i should add the rest of the dialogs..TODO

The focus overlay is really difficult to place and have it work properly.
The seems to work reall well - and is more convenient.
There are some options not exposed such as image paths...TODO
2019-02-14 21:14:48 -08:00
Chris Morley
5d51e7f878 qtvcp -make focus overlay set geometry to top window
Also if the was no image path set at all, the STATUS signal
was never registered - so no overlay was ever called.
2019-02-14 21:09:55 -08:00
Chris Morley
827b90c86e qtvcp -fix a typo in ischeckable signal function 2019-02-14 21:05:56 -08:00
Chris Morley
921dcdcf53 qtvcp -adjust the text modified flag
As per forum user phillc54
2019-02-14 21:00:04 -08:00
Phillip Carter
08dd99e542 Merge branch 'master' into reverse-run 2019-02-14 17:02:30 +11:00
Dewey Garrett
59380be3ee twopass.tcl exit on load_the_modules fail also 2019-02-13 16:34:12 -07:00
Dewey Garrett
d455c3b22f Merge branch 'itaib-master' 2019-02-13 16:06:17 -07:00
itaib
19bbb144c0 set twopass error count before the loop instead of inside loop body. 2019-02-13 23:01:51 +02:00
Chris Morley
677d7b51f0 qtvcp -update qtaxis tool offset button and more menu actions 2019-02-12 22:24:06 -08:00
Chris Morley
18ae0fa684 qtvcp -add more actions/ split out submenu function 2019-02-12 22:24:06 -08:00
Chris Morley
3dc70d57b3 qtvcp -add buttons and settable title 2019-02-12 22:24:05 -08:00
Chris Morley
06099e9820 qtvcp -add zero G5x offset action 2019-02-12 20:13:13 -08:00
Chris Morley
5ecddf9069 qtvcp -add tool offset signals to hal_glib and status_label 2019-02-12 20:08:55 -08:00
Chris Morley
6c7abec375 qtvcp -add curent-z-rotation to hal_glib and drowidget 2019-02-12 13:56:25 -08:00
Chris Morley
053193abfa qtvcp -make the request name possible to change
Eventualy someone will want two of te same dialogs in a screen.
Then the request name will need to be changed on each additional.
2019-02-12 02:26:29 -08:00
Chris Morley
9ebd6483d4 qtvcp -fix multiple dialogs showing up
Since each button instance had it's own dialog, a call to show the dialog
would show a dialog for the total of axis_tool_button instances.
Now we must add a dialog to the main ui and all the toolbuttons will use that one.
Modify the screens that use axistoolbuttons to have a dialog in the main screen.
2019-02-12 02:25:58 -08:00
Chris Morley
6c6db78384 qtvcp -add entry dialog to designer 2019-02-12 02:08:07 -08:00
Chris Morley
f64fb161db qtvcp -revamp keypress events and only jog when possible
jog on machine on and in manual mode
Don't process keybinding code when certain widgets are shown.
Particularily dialogs
2019-02-12 01:51:42 -08:00
Chris Morley
91badae7cd qtvcp -fix error with camview dialog on keypress
The dialog box button is not owned by python so could not collect
keypress events programmically.
2019-02-12 01:51:42 -08:00
Chris Morley
8b1ea56e31 qtvcp -allow shift and control as keypresses 2019-02-12 01:51:42 -08:00
Dewey Garrett
f56a73a9d6 halcompile: MAX_PERSONALITIES=64, docs update
1) Increase MAX_PERSONALITES from 16 to 64
   Only components that actually use personality are affected.
2) With a prior commit, names= storage was converted to
   RTAPI_MP_STRING and the number of names= realtime comps is
   no longer limited by halcompile (similar to count= usage)
3) Add doc notes for personality assignment in two special
   cases:
   a) more instances than specified personalities
      (a personality of 0 is assigned for these instances)
   b) more personalities then MAX_PERSONALITIES
      (personalities are indexed modulo the MAX_PERSONALITIES)
      A message is printed for this case now.

Future: Additional memory limiting compile-time settings may
        require adjustment when using many components with
        personality.
2019-02-11 21:16:30 -07:00
Chris Morley
8c9359663f qtvcp: fix missed function signature changes 2019-02-10 20:29:22 -08:00
Chris Morley
c4e5416234 qtvcp -add set_tool_offset ACTION 2019-02-10 20:29:22 -08:00
Chris Morley
47b47dbc34 qtvcp -fix error message on AUTO mode switch
If there was no file loaded previously, on a MODE switch to AUTO
there was an error message printed to the terminal.
Also add access to Designer options lost when the edit mode widget was
built
Also flesh out some more possible mode change options
2019-02-10 20:29:22 -08:00
Chris Morley
6277fe82c7 qtvcp -add return messages to dialog interactions
Entry dialogs need to return the answer to the sender.
There is a general message that can do this (or anything else) now.
Axis_toolbutton uses it for setting the offset
2019-02-10 20:29:22 -08:00
Chris Morley
469dc49077 qtvcp -make spindle stop only work when useful
set the checked/and enable when apropriate
2019-02-09 20:21:02 -08:00
Phillip Carter
b75e36ea2e Merge branch 'master' into reverse-run 2019-02-10 13:09:02 +11:00
Chris Morley
57391823fa qtvcp -add class patching function to docs 2019-02-09 15:57:39 -08:00
Chris Morley
40bdd5a790 qtvcp -add max velocity as an override 2019-02-09 15:36:32 -08:00
Chris Morley
c9f303623d qtvcp -add a class patching ability to handler files
an an example of patching the editor close button.
class patching allows some basic  modification of widget behaivour.
2019-02-09 02:35:57 -08:00
Chris Morley
2ba032779b qtvcp -make gcodeeditor easier to class patch buttons 2019-02-09 02:35:57 -08:00
Dewey Garrett
f56515517e halcompile: more names= items for realtime comps
Users using twopass processing request increased number of
named component instances (typically for simple logic elements
like and2,or2,...).   This commit removes the maximum
limit of 16 for names= items for realtime components.

Notes:
  1) For realtime components (loadrt), the maxium number of
     names= items is not limited by halcompile.
  2) For userspace components (loadusr), the maximum number
     of names= remains fixed at: MAX_USERSPACE_NAMES=16
  3) The maxium number of personalities is by default:
     MAX_PERSONALITIES=16
  4) A command line option can set the maximum number of
     personalities: -P|--personalities
  5) Behavior for count= directives is unchanged.
  6) Current MAX_CMD_LENGTH=1024 in src/hal/halcmd.h may
     need increasing if using many very long names= names.
  7) For normal usage, all names= items (comma-separated)
     must (still) be on a single loadrt line.  Using twopass
     processing allows multiple loadrt lines for the same
     component type.
  8) Formerly, a loadrt directive that specified no count= parameter
     and an empty names= parameter resulted in an error and no
     component was loaded. With this commit, such a directive
     loads a single instance (like and2.0)

Updated tests/:
  a) module-loading/or2/17-names ---- remove, no longer applicable
  b) module-loading/or2/0-names  ---- adapt per Note 8 above
  c) module-loading/pid/17-names ---- no change (pid.c    hardcoded for 16)
  d) module-loading/siggen/17-names - no change (siggen.c hardcoded for 16)
  e) halcompile/personalities_mod --- new tests for personalites that are
                                      modulo the compiled-in personalities
                                      using the --personalities= option
2019-02-08 07:17:50 -07:00
andypugh
133d6f8a1a
Merge pull request #557 from inoxix/carousel-fix
Fix in carousel.comp for individual sensor position detection
2019-02-07 19:22:07 +01:00
Chris Morley
8db5e0e57d qtvcp -make the view button exclusive 2019-02-07 04:51:01 -08:00
Thomas Burkhard
06523577e2 Removed white-space changes 2019-02-07 10:57:59 +01:00
Phillip Carter
114f9d6b73 Merge branch 'master' into reverse-run 2019-02-07 11:23:58 +11:00
Chris Morley
42d119ddd5 qtvcp -make the stylesheet editor friendlier
add a clear and color button and ability to load an arbritary style.
2019-02-05 07:07:46 -08:00
Chris Morley
479d08e1b6 qtvcp -add a simple qtylesheet to qtsxis 2019-02-05 06:50:37 -08:00
Thomas Burkhard
2866e61442 Fix in carousel.comp for induvidual sensor position detection 2019-02-05 12:03:26 +01:00
Chris Morley
e0de5cddf0 qtvcp -add about, properties and homing menu functions 2019-02-03 22:02:21 -08:00
Chris Morley
0a712fc7df qtvcp -make loading calibration program easier
now you don't need to specify the INI path
2019-02-03 22:02:21 -08:00
Chris Morley
300b034104 qtvcp -pretty up the properties text 2019-02-03 22:02:21 -08:00
Norbert Schechner
4907898079 gmoccapy _ just some preferences changes
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 16:33:21 +01:00
Norbert Schechner
1f5ca4a4da gmoccapy_2_3_5 - jogging problem with unhomed machine solved
ver 2.3.5
- jogging a not homed machine did change the button state of MDI and AUTO to be
  sensitive, what is not correct.
- it was not possible to jog a unhomed machine over the given limits, what is
  not a correct behavior.

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 16:26:47 +01:00
Norbert Schechner
35ad7efd0a gmoccapy_new_debug_path, unfortunately not working jet
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 13:21:53 +01:00
Norbert Schechner
5d05d81e30 documents - gmoccapy - corrected default for keyboard shortcuts
Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 12:55:13 +01:00
Norbert Schechner
638349c10b gmoccapy_2_3_4_2 - new keyboart shortcuts
In AUTO Mode we will allow the following key shortcuts
 * R or r = run program
 * P or p = pause program
 * S or s = resume program

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 12:33:55 +01:00
Norbert Schechner
bdc0183622 Merge branch 'gmoccapy_additional_keyboard_shortcuts'
Conflicts:
	src/emc/usr_intf/gmoccapy/release_notes.txt

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 12:13:28 +01:00
Norbert Schechner
e2c861fcb4 gmoccapy_2_3_4_1 - dro size not restored properly after restart
ver 2.3.4.1
- Philippe mentioned that a change of the DRO Size on settings page will be
  saved as expected, but after new start of the GUI, the value did note be
  restored properly. I have corrected the behavior

Signed-off-by: Norbert Schechner <nieson@web.de>
2019-02-03 11:53:46 +01:00
Phillip Carter
48a4952946 Merge branch 'master' into reverse-run 2019-02-03 15:40:41 +11:00
Chris Morley
90bf00bbf9 AXIS -add ability to set hal.ready() in .axisui
I personally don't think this is a great idea - so I won't document it.
It can hide hal connecting code that usually should be in a HAL file in the .axisui file.
This could easily frustrate the typical user.
But for really customized AXIS screens built by power users - this can be convenient.
2019-02-02 16:56:05 -08:00
Chris Morley
7dea8a8bf8 qtvcp -add more menu options in QtAxis including gcode properties 2019-02-02 16:46:44 -08:00
Chris Morley
9a396e87ea qtvcp -add gcode properties functions
it's now available from hal_glib and by python function from gcode_graphics.py
On very large programs it may add a lot of time - my need to address that later
2019-02-02 16:43:20 -08:00
Phillip Carter
9831f7a531 Merge branch 'master' into reverse-run 2019-02-02 16:34:23 +11:00
Chris Morley
9d36887d20 qtvcp - quiet warnings and expected error messages 2019-02-01 21:04:30 -08:00
Chris Morley
c2e53e0c8a AXIS -add ability in .axisrc to create HAL pins
Create pins using AXIS's component rather then building a new
component
2019-02-01 20:42:54 -08:00
Chris Morley
60cc4ec766 docs -add section for AXIS code snippets
Phillip Carter has documented code snippets that can be used
to customize AXIS. Surely hard to find knowledge that others
have often looked for. Thanks Phillip
2019-02-01 20:06:51 -08:00
Chris Morley
3222e5cd9d qtvcp -fix debug messages for theme failures 2019-02-01 06:41:37 -08:00
Chris Morley
2cca18f395 qtvcp -fix error dialog for qy5.9
Custom Error dialog would not resize in qt5.9
so we used a standard message box - which is better anyways
2019-02-01 06:41:37 -08:00
Dewey Garrett
c0ccf0a31d halcompile: support --names cmdline option
The --names option alters the default limit (16) of
'names' instances.

Users request increased quantity of 'names' items when
using many components with twopass processing.

Example usage:
   $ halcompile --names=20 --install ...

Note: current default 'names' limit is set in halcompile.g as
      MAX_NAMES = 16
2019-02-01 06:49:17 -07:00
Dewey Garrett
ab4e62d702 Revert "halcompile: support HALCOMPILE_MAX_NAMES"
reverts commit dab2a76f8c
next commit supports command line option instead
2019-02-01 06:43:27 -07:00
John Morris
c703e05ec6 .travis.yml: Add ccache 2019-02-01 20:35:07 +08:00
John Morris
1b5bd09a49 tests/: .gitignore test artifacts 2019-02-01 20:13:07 +08:00
John Morris
a4488d08ab rs274ngc_pre.cc: Fix MDI calls after sub updated
As long as it stays in MDI mode, interp never clears out the
`offset_map` cache of `O` offset pointers.  Calling a sub in MDI
causes its `O` offsets to be cached.  Editing the sub to change
the `O` offsets within the file and calling the sub a second time
results in an error:

    unwind_call: call_level=1 status=INTERP_ERROR - error: 5 from execute emc/rs274ngc/rs274ngc_pre.cc:516
    unwind_call leaving sub ''
    unwind_call: setting sequence number=11 from frame 1
    unwind_call: exiting current sub ''
    unwind_call: call_level=0 status=INTERP_ERROR - error: 5 from execute emc/rs274ngc/rs274ngc_pre.cc:516
    unwind_call: call_level=0 status=INTERP_ERROR - error: 5 from execute emc/rs274ngc/rs274ngc_pre.cc:534
    <-- execute(): error returned, clearing remap and call stack
    emc/task/emctask.cc 389: interp_error: 5: duplicate O-word label - already defined in line 4: 'o100 if [ #1 GT 5]'
    5: duplicate O-word label - already defined in line 4: 'o100 if [ #1 GT 5]'

This patch clears out the `offset_map` after executing an MDI block,
forcing subs to be reread on the next call.
2019-02-01 20:01:30 +08:00
John Morris
8a943f54d9 Add test for #455 2019-02-01 20:01:30 +08:00
John Morris
3f424aaaa4 scripts/linuxcnc: Run better in Docker
When killing processes in the `linuxcnc` and `realtime` scripts,
ignore defunct zombies, which can benignly pile up in Docker
containers.

https://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/
2019-02-01 19:32:20 +08:00
John Morris
95fe1e149c scripts/linuxcnc.in: fix cleanup log messages
When these variables are cleared inside the loop, you see messages
like these, where the task name is empty:

    Could not kill task linuxcncsvr, PID=3047
    Could not kill task , PID=3046
    Could not kill task , PID=1952
2019-02-01 19:32:20 +08:00
John Morris
d0dd077965 scripts/{linuxcnc,realtime}: Use autoconfigured grep executable
Be more consistent with the rest of the code.
2019-02-01 19:31:46 +08:00
Chris Morley
30d3c107f3 qtvcp -update tester INI and remove left over UI file 2019-01-31 22:22:08 -08:00
Chris Morley
dfb6a7c35b qtvcp -add the start of a QTvcp version of AXIS
Much more customizable and pushes what qtvcp can build.
specifically toolbar controls
2019-01-31 22:22:08 -08:00
Chris Morley
527b9f0b4a qtvcp -put one option per line
cleanner - in prep of adding data to them for descriptions
2019-01-31 22:22:08 -08:00
Chris Morley
17493e6403 qtvcp -shrink the minimuim size 2019-01-31 22:22:08 -08:00
Chris Morley
89c2d34524 qtvcp -don't error if the axis isn't recognized
put an log message and use default axis X
2019-01-31 22:22:08 -08:00
Chris Morley
c4064908db qtvcp -axis_tool_buttons can be used for selected axes
if the joint number is -1 the button will pop up right away
and you can select the setting options.
other wise there is a delay and the button is used to select an axis
2019-01-31 22:22:08 -08:00
Dewey Garrett
dab2a76f8c halcompile: support HALCOMPILE_MAX_NAMES
as an environmental variable.

Users request increased quantity of names= items when
using many components with twopass processing.

Example usage:
  $ HALCOMPILE_MAX_NAMES=20 halcompile ...

Note: current default names= limit is set in halcompile.g as
      MAX_NAMES_DEFAULT = 16
2019-01-31 19:34:30 -07:00
Phillip Carter
5d335b9a4a Merge branch 'master' into reverse-run 2019-01-31 15:46:17 +11:00
Chris Morley
645d249a11 gladevcp -add horizontal, vertical bar LEDs
Contributed by KevKim from linuxcnc forum
2019-01-29 17:08:41 -08:00
Chris Morley
59a77176dc qtvcp -fix sample config for ngc test 2019-01-29 17:08:41 -08:00
Chris Morley
f2f59f5cf2 qtvcp -add a style sheet editor dialog
add code to default screen to invoke it
2019-01-29 17:08:41 -08:00
Dewey Garrett
cd2306d51b halcompile.g MAX_NAMES,MAX_PERSONALITIES
make it easier to change maximum number of
  names= and personality=
parameters allowed in components built by halcompile.

Note:
   The current values of

       MAX_NAMES = 16
       MAX_PERSONALITIES = MAX_NAMES

    are not changed by this commmit
2019-01-29 17:17:08 -07:00
Phillip Carter
d519f81030 Merge branch 'master' into reverse-run 2019-01-29 14:16:47 +11:00
Chris Morley
649f421f0d gscreen -revamp tester screen
Try to make testing screens more friendly.
now the sample glade file gives a message of how to
get a custom glade file to load as linucnc screen.
Moved files around to try to get out of the way for the user
2019-01-27 22:44:00 -08:00
Chris Morley
4003c3ea3e qtvcp -limit the number of error message dialogs
After 5 error dialogs qtvcp will now shutdown and print the
error to the terminal
2019-01-26 16:25:44 -08:00
Chris Morley
ecd416a5b9 qtvcp -update docs for action button property dialog 2019-01-26 04:55:51 -08:00
Chris Morley
91ae3399ea qtvcp -add graphics view commands -pan rotate zoom
action buttons and the action library and the gcode_graphics widget
now understand zoom, pan, rotate commands
2019-01-26 04:53:53 -08:00
Dewey Garrett
fde1f46d1c twopass update runtests
loadusr commands are now executed in pass0 (formerly pass1)
before pins are created so using  'loadusr -w halcmd ...'
cannot be used to show pins in the test.

However, using 'hal show' in the last halfile suffices.
2019-01-25 20:41:47 -07:00
Dewey Garrett
118a46ed0f twopass runtests skip till fixed
test no longer appropriate for loadusr handling
2019-01-25 20:02:12 -07:00
Dewey Garrett
b03ca613f9 twopass.tcl loadusr in pass0
An out-of-tree application uses a realtime component (lcec)
that depends on loading of a user component (lcec_conf).

This commit causes any loadusr directive to execute in the
initial pass so if wait (-w) is specified, the user component
should be ready before any loadrt.
2019-01-25 16:34:08 -07:00
Robert W. Ellenberg
10c3678ab0 Apply minimum displacement checks consistently between canon and TP.
fixes #550

1) Change the minimum displacement calculation in PmCartLineInit to use
infinity-norm (i.e. max component) rather than the vector magnitude.
This is consistent with how Canon checks for minimum displacement
2) Apply the minimum displacement checks in canon with a threshold based
on user units, so that the cutoffs are the same for both the TP and
canon.

To be clear, this is an ugly way to fix the issue. The TP has to repeat
the work that canon does, and do so the exact same way to avoid weird
edge cases. The long-term fix needs to be more robust, perhaps with an
API change to enforce canon's choice of linear / angular or pure-angular
move.
2019-01-25 12:32:19 -05:00
Chris Morley
cf56ed34dc qtvcp -fix missing files when building debian package 2019-01-24 15:28:13 -08:00
Dewey Garrett
aa4160e7a4 linuxcnc_info outfilename, dpkg
1) make outfile name suitable for forum
2) also report dpkg for *linuxcnc*
2019-01-24 16:13:27 -07:00
Dewey Garrett
19b02176f2 twopass doc updates
The utility formerly named comp is now halcompile
rm some redundant info
reorder two sections
note handling of ordering dependency of user-space comps
2019-01-24 16:01:23 -07:00
Dewey Garrett
af45b6e1bb axis.txt update homing button description JA 2019-01-23 16:28:10 -07:00
Dewey Garrett
919579002e axis.py homebutton fix text for non-id kins
including configs not having all home_sequences defined
2019-01-23 16:25:24 -07:00
Dewey Garrett
39c4d7d570 axis.py homing_order_defined needs seq for all jts 2019-01-23 12:45:36 -07:00
Dewey Garrett
7149374f51 limit3.comp add enable pin
The enable pin default is 1 for compatibility
with existing usage.

Usecase:

  Some limit3 producers (in pin) may set an
  in pin value before the limit3 consumer (out pin)
  is enabled.  Enabling the consumer may require
  the consumer to handle an abrupt change on its
  input.

  With this commit, the signal that enables the
  consumer can also be used to enable the limit3
  component so the limit3 output follows its accel,vel
  constraints when enabled and the abrupt transition
  is avoided.

  A target application uses non-kinematic 'extra'
  joint(s) that use LinuxCNC homing but are managed
  by external motion planner/controllers after homing.
  The joint.N.homed signal is used to enable a limit3
  component used for motion planning.
2019-01-23 05:41:58 -07:00
Robert W. Ellenberg
0e1d4b9333 Clean up some compiler warnings 2019-01-22 23:46:19 -05:00
Robert W. Ellenberg
f7e45dec7f Compute effective radius of helix too 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
0e1b0ff03f Factor common calculation out for peak velocity over a distance 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
9b53e8899a Add documentation to new functions 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
ce6e626744 Reimplement sharp corner detection using new anti-parallel detection 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
3f62f48589 Move a pmCartesian function into blendmath for use outside of tp.c 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
fd4c5dd12b blendmath: implement unit tests for new parallel / anti-parallel check functions
Uses a simple meson build file to hackily build and run the unit test
executable. Eventually, the shortcuts taken in the build file could be
fixed up (i.e. with proper object file dependencies, build flags, etc.)
2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
edb3525a9c Add greatest unit test framework (C, header-only macro-based unit tests) 2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
dab708c012 tp: Refactor and simplify parallel / anti-parallel checks
In several places in the TP, we need to check if unit vectors are
parallel and / or anti-parallel. Previously, this was implemented with
dot product / arccos, which could be expensive to evaluate. This is now
implemented as a tolerance on the delta between the sum or difference of
the vectors, which is fast, and numerically robust (no divisions /
trancendentals).
2019-01-22 23:12:12 -05:00
Robert W. Ellenberg
dfee1b78ab Refactor circle maximum velocity / acceleration ratio calculation.
Slightly redesign the acceleration ratio / maximum velocity calculation
for circular motions. For circles with small radii relative to their
requested velocity, limit the tangential acceleration to 50% of the
peak, and cap maximum velocity so that normal acceleration is 86% of
peak.

For large radius circles, allow the tangential acceleration to be
higher, since less of the acceleration budget will be used for normal
acceleration.
2019-01-22 23:12:12 -05:00
Chris Morley
bee2d20121 qtvcp -fix actionbutton plugin property dialog
graphics view combo box didn't show the current selection.
Joint number wouldn't allow -1 selection for homing.
2019-01-20 01:16:52 -08:00
Chris Morley
3930f7d007 qtvcp -update widget docs on action buttons 2019-01-20 01:15:48 -08:00
Phillip Carter
c0790f2bdf Merge branch 'master' into reverse-run 2019-01-20 14:30:34 +11:00
Chris Morley
3d67d4d247 qtvcp -update 800x600 sim so it at least starts 2019-01-18 20:42:49 -08:00
Chris Morley
afd70c17c9 qtvcp -update sim config version 2019-01-18 20:02:41 -08:00
Chris Morley
8cbfd09c70 qtvcp -add some debug messages to actionbuttons 2019-01-18 20:00:32 -08:00
Chris Morley
3d6ae35f38 qtvcp -update camview panel for MDI commands and DRO
MDI command held in the INI ile use a different option now.
Added a DRO for convience
2019-01-18 19:57:57 -08:00
Chris Morley
8d03ea85d1 qtvcp -remove a backup file 2019-01-18 19:15:58 -08:00
Chris Morley
4746994cfa qtvcp -add a dialog for indicator options
For convience of setting only of options related to
indicator widgets. A little easier to understand - hopefully

Also use dialogs for round action buttons
2019-01-18 18:30:53 -08:00
Chris Morley
dead76293f qtvcp -add a dialog for option selection
This dialog only shows the apropriate related data for each
option. Should be a little less overwelming.
probably should add some help text too..
2019-01-18 18:30:53 -08:00
Chris Morley
a307a9e044 qtvcp -make a new option: mdi command from ini
We used to use a magic comment in the 'command_text'
now its separate all together
2019-01-18 18:30:53 -08:00
Chris Morley
f83da019a5 qtvcp -little library document update 2019-01-18 18:30:53 -08:00
Chris Morley
f8e7f94f31 qtvcp -show original text when editing offsets. 2019-01-18 18:30:53 -08:00
Chris Morley
11da780511 qtvcp -remove reference to qtscreen, update image 2019-01-18 18:30:53 -08:00
Chris Morley
16dd3639d6 qtvcp -update docs on widget plugins 2019-01-18 18:30:53 -08:00
Chris Morley
e34a0c2441 qtvcp -add the designer Qt-python2 binaries
This works for mint 19
2019-01-18 18:30:53 -08:00
Chris Morley
b6af8e7663 qtvcp -update to ACTION docs for multi spindle 2019-01-18 18:30:53 -08:00
Chris Morley
473497cd46 qtvcp -add ability to control other spindle numbers
upgrade to take advantage of Andy's multispindle work
2019-01-18 18:30:53 -08:00
Chris Morley
8c6cdcdd9a qtvcp -fix copy-paste spelling error 2019-01-18 18:30:53 -08:00
Chris Morley
f65903909a qtvcp -fix 9axis sample
missing subroutine path and needed to update gcode editor
2019-01-18 18:30:53 -08:00
Chris Morley
2be517ca26 qtvcp -work on desktop notify
Trying to get dialogs to show permentally when that is best,
updatable if new errors some along while showing the last error.
Not quite happy but i think it's the higher level program shortcomings.
2019-01-18 18:30:53 -08:00
Chris Morley
c18a3e81ae qtvcp -oops fix an abort error 2019-01-18 18:30:53 -08:00
Chris Morley
159db77142 qtvcp -fix DBusQtMainLoop error message and Notify regression
Notify would not send messages back to QtVCP, so 'show all message'
Would not work properly.
It also fixes error message:
'QSocketNotifier: Can only be used with threads started with QThread'
sent to the terminal
2019-01-18 18:30:53 -08:00
Chris Morley
7bf28d489e qtvcp -clean up dead/ugly code 2019-01-18 18:30:53 -08:00
Chris Morley
85bb454a2b qtvcp -change log message from error to warning in qt_istat 2019-01-18 18:30:53 -08:00
Chris Morley
534169a2c1 qtvcp -have screenOption use INI preference path
You can define the path in the widget but it will prefer
the INI setting because it's more user friendly and standard
2019-01-18 18:30:53 -08:00
Chris Morley
1217870443 docs -update qtvcp about jog rate setting 2019-01-18 18:30:53 -08:00
Chris Morley
32a147e175 qtvcp -make all core libraries only initialize once
All this libraries actually use the same single instance.
No sense in initializing each time.
also git rub of unnessasary sub classing
2019-01-18 18:30:53 -08:00
Chris Morley
92b2c1067d qtvcp -add error messages and only initilize ISTAT once
before this ISTAT was initialized everytime the clas was instantised.
No need to do that.
It's helpful to let users know when required INI info is missing and
 that a default value is being used.
maybe I should do more of them....
2019-01-18 18:30:53 -08:00
Chris Morley
afca6d82f3 qtvcp -add length probe functions 2019-01-18 18:30:53 -08:00
Chris Morley
af2c6a8526 qtvcp -work around error polling in 2+ places
polling the error channel consumes the error.
So if two objects poll the error channel one won't get it.
Now, who ever polls the error, sends the result via STATUS messages
to be processed in one place (like the ScreenOptions widget)
2019-01-18 18:30:53 -08:00
Chris Morley
fe4e92b67e qtvcp -versaprobe update 2019-01-18 18:30:53 -08:00
Chris Morley
9083c505b3 docs -add qtvcp detail 2019-01-18 18:30:53 -08:00
Chris Morley
5c45fa8d05 qtvcp -update versa probe widget 2019-01-18 18:30:53 -08:00
Chris Morley
3ecfc096b6 qtvcp -add reload_display action command 2019-01-18 18:30:53 -08:00
Chris Morley
3ddc02c5ba qtvcp -fix missing bracket 2019-01-18 18:30:53 -08:00
Chris Morley
57eedd817c qtvcp -update to most current widget design 2019-01-18 18:30:53 -08:00
Chris Morley
184dcecff7 qtvcp -add probe more icons 2019-01-18 18:30:53 -08:00
Chris Morley
71f5486130 docs -update qtscreen doc 2019-01-18 18:30:53 -08:00
Chris Morley
9d55f8535b docs -add qtvcp development document
A start of pertinent information for a developer
2019-01-18 18:30:53 -08:00
Chris Morley
6a9aaecaef qtvcp -versa probe: don't probe if subroutines are not available 2019-01-18 18:30:53 -08:00
Chris Morley
08bc7a0b48 qtvcp -add a versaprobe dialog widget
for easier testing
2019-01-18 18:30:53 -08:00
Chris Morley
a77dbdcebf qtvcp -This should be testable probing work.
Error checking doesn't work properly.
surely some errors yet with probing but i see messages about the probe not tripping.
This should mean that it might work on a real machine.
2019-01-18 18:30:53 -08:00
Chris Morley
b3015830c0 qtvcp -change some debug messages
quiet some, add some
2019-01-18 18:30:53 -08:00
Chris Morley
34dce2a139 qtvcp -ongoing versa_probe work 2019-01-18 18:30:53 -08:00
Chris Morley
4343b64d20 qtvcp -check wait_complete for error status
Because we are blocking.. we can't check errors so we need to
find another way to check for errors while probing.

Well this doesn't work either but has potential.
2019-01-18 18:30:53 -08:00
Chris Morley
35465f098e qtvcp -versa_probe work
move probe subroutines
move rapid feed setting out of qt_action
add some basic code to check for subroutine path/files
2019-01-18 18:30:53 -08:00
Chris Morley
3323b3a33d qtvcp -fix HAL pin state when button was checkable
HAL pin was momentary even when button was checkable
2019-01-18 18:30:53 -08:00
Chris Morley
ad716564c4 qtvcp -versa_probe ongoing work
Ok we now have a hole probing subroutine being called.
The subroutine fails because it expects parameters from HAL
pins ... I guess thats next
2019-01-18 18:30:53 -08:00
Chris Morley
d0352caa55 qtvcp -make linuxcnc errors available to STATUS and ACTION
linuxcnc errors are a pain. It's always a race situation because
whom ever reads the error erases it.
With probing we need to know it the probe errored so we need away
to push error messages around to widgets.

right now screen options catches errors and pushes them to STATUS.
Really STATUS should poll errors and send them, but we can't do that
if qtvcp is embeded into other screens, as the other screens expect
to process the errors....
2019-01-18 18:30:53 -08:00
Chris Morley
4bb5b4376c qtvcp -more versa_probe work 2019-01-18 18:30:53 -08:00
Chris Morley
7df5429dc4 qtvcp -really fix packaging error
I tested this one locally -fingers crossed...
2019-01-18 18:30:53 -08:00
Chris Morley
80c1eba3f5 qtvcp -add an icon for versaprobe 2019-01-18 18:30:53 -08:00
Chris Morley
091b6b5084 qtvcp -fix spelling error in keybindings
The proper function would never get called.

Thanks auto-mation-assit from the forum
2019-01-18 18:30:53 -08:00
Chris Morley
d83cc2976c qtvcp -fix packaging error
I hope this fixes it.. ok buildbot ..does this fix it?
2019-01-18 18:30:53 -08:00
Chris Morley
6c74d34036 qtvcp -add versa probe as a widget -WIP 2019-01-18 18:30:53 -08:00
Chris Morley
c226c46b90 qtvcp -add versa probe files
I added a folder into gladevcp for the gladevcp files.
In the future I hope to add buitin panels for the probe routine.
At that point I will need to decide how to handle the images that are in qtvcp's folder...
2019-01-18 18:30:53 -08:00
Chris Morley
850ff9dc54 qtvcp -add aMDI History widget
Shows MDI History and allows selecting of commands to run
2019-01-18 18:30:53 -08:00
Chris Morley
912b930690 qtvcp -changes for subclass of MDILine
slpi out some new fnctions so they can be overrriden in subclasses.
Don't remove all spaces just the ones on the end
2019-01-18 18:30:53 -08:00
Chris Morley
36204fa9a2 qtvcp -add ACTION to available python commands
The ACTION library is pretty useful for quick python commands
2019-01-18 18:30:53 -08:00
Chris Morley
b5c47da2d2 qtvcp -allow offset view to have alternating colors
and add have the qtdefault sample prove it
2019-01-18 18:30:53 -08:00
Chris Morley
27e10aa4ba qtvcp -don't banish the scoll bar 2019-01-18 18:30:53 -08:00
Chris Morley
c751efce50 qtvcp -macro tab widget and dialog improvements
fix messgae to user about no subroutines found. If there was
no python esception there was no message.

On a regular widget the close button makes no sense, but a dialog
needs it.
2019-01-18 18:30:53 -08:00
Chris Morley
d5b3fcf0d0 qtvcp -fix packaging error 2019-01-18 18:30:53 -08:00
Chris Morley
f0754cecc8 qtvcp -add tooloffset and macrotab as widgets
now they can be dialogs or widgets
2019-01-18 18:30:53 -08:00
Chris Morley
041a7958bd qtvcp -remove 2 second delay when closing. 2019-01-18 18:30:53 -08:00
Chris Morley
9c208bf212 qtvcp -start of a file managing widget
currently useful used for openning nc files
2019-01-18 18:30:53 -08:00
Chris Morley
f44436ce6b qtvcp -remove unused code in dialog 2019-01-18 18:30:53 -08:00
Chris Morley
be00cd5595 qtvcp -make Xembed not crash screen if command fails 2019-01-18 18:30:53 -08:00
Chris Morley
2fc11c986b qtvcp -add debug code for geometry option 2019-01-18 18:30:53 -08:00
Chris Morley
f33eee02c6 qtvcp -add debugging switch and force the tooloffset position
just to confirm it all works.
2019-01-18 18:30:53 -08:00
Chris Morley
def95c3b90 qtvcp -fix dialog geometry recording with empty string
an empty gemetry string should make the widget use default geometry
the first time and record placement after that.
2019-01-18 18:30:53 -08:00
Chris Morley
cfe3453445 qtvcp -fix inconsistant function/variable names 2019-01-18 18:30:53 -08:00
Chris Morley
36f7561c8d qtvcp -some work and experiments on a taskmenu
setting slots and signals in the the taskmenu was a bust
2019-01-18 18:30:53 -08:00
Chris Morley
835a25245a qtvcp -fix designer crash when deleting focus-overlay 2019-01-18 18:30:53 -08:00
Chris Morley
f71ad64ded qtvcp -add option reference geometry from main window
so no matter where the window is on the whole screen the dialog is placed
properly.
Refactor the geometry parsing code too
2019-01-18 18:30:53 -08:00
Chris Morley
4dbe312d06 qtvcp -update makefile for qtvcp folder name changes
buildbot helps again !
2019-01-18 18:30:53 -08:00
Chris Morley
62e16a1268 qtvcp -fix label update of HAL push buttons
i forgot to add code to update the text labels
2019-01-18 18:30:53 -08:00
Chris Morley
f9397c70e4 qtvc -make the minimuim size of dialogs smaller 2019-01-18 18:30:53 -08:00
Chris Morley
3564f0c340 qtvcp -fix option time stamp
it always overrode the text template
2019-01-18 18:30:53 -08:00
Chris Morley
9a8e976218 qtvcp -fix screenoptions task extention
Right click shows a dialog for property setting again
2019-01-18 18:30:53 -08:00
Chris Morley
ef9e92bd7b qtvcp -updat eblender screen for gcdode progress bar
shows progress of the running gcode as a percent
2019-01-18 18:30:53 -08:00
Chris Morley
6dad326248 qtvcp -update screen for widgetSwitcher and gcodeEditor changes
Now toggles large display between four layouts.
one of the layouts show the gcode display in edit mode
2019-01-18 18:30:53 -08:00
Chris Morley
d97582c978 qtvcp -add gcode editor widget that actually edits
The gcode_editor can now edit and search through code.
It still needs work to make it friendly and consistant.
It curently display the running gcode - which we might not want..

There is also a gcodeDisplay widget that is just like the old
editor widget - it just displays gcode read only.

We also added a signal to update the percentage of the gcode that has run.
It can be connected to a scrollbar for a visual clue of amount done.
2019-01-18 18:30:53 -08:00
Chris Morley
42f464402f qtvcp -improve widgetSwitcher
use dynamic property to input the widget names in designer as a list.
add some convience functions
add a signal to connect to when the layout changes
2019-01-18 18:30:53 -08:00
Chris Morley
05594db7ff docs -update qtvcp widget docs 2019-01-18 18:30:53 -08:00
Chris Morley
cede512374 qtvcp -add missing import for gcode errors 2019-01-18 18:30:53 -08:00
Chris Morley
12726d1c1f qtvcp -fix a missing initilization call
we made this widget ouselves so the hal_init() doesn't get called automatically
2019-01-18 18:30:53 -08:00
Chris Morley
bd9d425987 qtvcp -have most of the dialogs honour geometry
honour geometery from designer.
There are options to modify the behaivor too..
2019-01-18 18:30:53 -08:00
Chris Morley
03851d8e7c qtvcp -more work on the editting functions of baseEditor
Still just for testing
2019-01-18 18:30:53 -08:00
Chris Morley
e09928ccb6 qtvcp -have ToolOffsetDialog remember it's geometry
we wil try this first..
2019-01-18 18:30:53 -08:00
Chris Morley
cdfe706ae4 qtvcp -fix status_slider error from misspelled word 2019-01-18 18:30:53 -08:00
Chris Morley
9b37bd15e4 qtvcp -silence error in designer 2019-01-18 18:30:53 -08:00
Chris Morley
438f4a807d qtvcp -improve widget switcher layout search
can deal with more complicated layouts.
get the positon in the layout right.
sample screen toggles between large graphics, large editor or normal
2019-01-18 18:30:53 -08:00
Chris Morley
8f723b5415 qtvcp -Some on going work for an editable gcode widget
None of this is available to qtvcp yet
2019-01-18 18:30:53 -08:00
Chris Morley
a998e4a6ea qtvcp -add a widget swicther widget and example screen
Used to swicth between displaying a widget that is in a layout, to
displaying it alone.
sample config swicthes between a small graphics viewer to a larger.
2019-01-18 18:30:53 -08:00
Chris Morley
db0802d26b qtvcp -add a timestamp option to status_label
One can have a running time clock
2019-01-18 18:29:19 -08:00
Chris Morley
9e2cd57c46 qtvcp -make the error message box text scrollable
Otherwise it's hard to read the last part, which is the important part.
2019-01-18 18:29:19 -08:00
Chris Morley
0f35ba42ec qtvcp -more work on tool editor 2019-01-18 18:29:19 -08:00
Chris Morley
65fbc6a03c hal_glib -add function is_on_and_idle()
offset editing needs to know this
2019-01-18 18:29:19 -08:00
Chris Morley
0b14ad3a8e qtvcp -fix/update 800x600 test screen 2019-01-18 18:29:19 -08:00
Chris Morley
ab3c2bd676 qtvcp -let simple widgets python command option load aux programs
We limit what functions can be called, but this seems useful
2019-01-18 18:29:19 -08:00
Chris Morley
6826dea8e8 qtvcp -tempararily remove gcode plot segment seletion
It caused a long pause on my test machine.
2019-01-18 18:29:19 -08:00
Chris Morley
3b6f5ddb2d qtvcp -fix update of toggle widgets HAL pins
anything using togglebase was missing the update signal
2019-01-18 18:29:19 -08:00
Chris Morley
e90dc4d34d qtvcp -try to give more helpful error message
pyqt is pretty terrible about error parsing the XML file
compared to GLADE and GTK.
Try to suggest what the most common problem is if we get an excpetion
2019-01-18 18:29:19 -08:00
Chris Morley
9d1d713bf2 qtvcp -layout changes to blender 2019-01-18 18:29:19 -08:00
Chris Morley
3057228865 qtvcp -detect missing handler file and try to help
Now a dislog pops up an offers to copy a basic handler file into the
config folder.
2019-01-18 18:29:19 -08:00
Chris Morley
8caf0f9dc6 qtvcp -fix spelling error with slider widget
Caused error because function was missspelled
2019-01-18 18:29:19 -08:00
Chris Morley
0d65bb5476 qtvcp -fix origin_offset and tool offset to update automatically
they didn't reflect changes that were done outside the widget.
I wonder if tool offset should change the zero buttons to zero
tool offset - and maybe a G43 button to apply the new offset?
2019-01-18 18:29:19 -08:00
Chris Morley
15f681358a qtvcp -fix HAL pushbutton to use python_commands 2019-01-18 18:29:19 -08:00
Chris Morley
d871f07237 qtvcp -move python commands to indicated buttons
this allows other buttons to use python commands and makes it easier for
users to find the properties
2019-01-18 18:29:19 -08:00
Chris Morley
2047e5317c qtvcp -action buttons can run python code snippets
An action button can be defined to run small snippets of python code
based on state. We might want to limit what it can do..I'll have to look into
that. Using the keyword INSTANCE in in the python_cmd_string allows one
to reference widgets and call handler functions.
2019-01-18 18:29:19 -08:00
Chris Morley
1b6e96bb17 qtvcp -add an example state text momentary button 2019-01-18 18:29:19 -08:00
Chris Morley
f683243a50 qtvcp -oops fix checkable action buttons state labels 2019-01-18 18:29:19 -08:00
Chris Morley
47df6949aa qtvcp -momentary action buttons can be state labeled
and can have multi line labels
2019-01-18 18:29:19 -08:00
Chris Morley
b525e6987f docs -update qtvcp_widget for checked_state_text_option 2019-01-18 18:29:19 -08:00
Chris Morley
da70ce8e6c qtvcp -add an example of buttons that change text
Estop, Power, and Home will change text based on the button
checked state.
2019-01-18 18:29:19 -08:00
Chris Morley
01949d4946 qtvcp -add option to change text on button toggle
If an indicated button is set for checked_state_text_option
then the text can automatically change when toggled.

this seems like something that should be covered by stylesheets
but it won't toggle properties after the style is intialized.
So we did it this way.
2019-01-18 18:29:19 -08:00
Chris Morley
cd8c67d180 qtvcp -update INI version so update script doesn't fire.
there isn't anything to update but the script checks the version number.
2019-01-18 18:29:19 -08:00
Chris Morley
9aa632b893 qtvcp -allow showing of preferences in gcode display
by typing in the MDI line
can't edit them though
2019-01-18 18:29:19 -08:00
Chris Morley
5c901217b2 qtvcp -make the tool dialog speak the tool number 2019-01-18 18:29:19 -08:00
Chris Morley
d671a49f0c qtvcp -remove ascii art
probably a little too geeky
2019-01-18 18:29:19 -08:00
Chris Morley
0dcc60cadd qtvcp -add a readme to sim configs 2019-01-18 18:29:19 -08:00
Chris Morley
cd357de19a hal_glib -send periodic signal, even if status is not available
cammera alignment widget can work without linuxcnc status,
but needs periodic to update cam
2019-01-18 18:29:19 -08:00
Chris Morley
e68f5723fb docs -fixup some qtvcp formatting errors 2019-01-18 18:29:19 -08:00
Chris Morley
518f52460c qtvcp -fix sample config to use max screen
switch must be before name
2019-01-18 18:29:19 -08:00
Chris Morley
7f4fdf640b qtvcp -rename screen folder reference variable
to reflect folder name change
2019-01-18 18:29:19 -08:00
Chris Morley
4c1fb6f8fc qtvcp -name change of shared folders
'qtvcp' is a better fit then 'qyvcp-screens' as it holds panels now too.
'screens' is a better fit then 'skins'
2019-01-18 18:29:19 -08:00
Chris Morley
7d1e21c970 qtvcp -update blender screen
move jog buttons update tool image etc
2019-01-18 18:29:19 -08:00
Chris Morley
fe9ca90e5d qtvcp -update blender screen
This has diverged from Brenda's design - but is in it's spirit.
2019-01-18 18:29:19 -08:00
Chris Morley
e9933596d8 qtvcp -make spindle +- actions smarter
If the spindle isn't running start it.
2019-01-18 18:29:19 -08:00
Chris Morley
0e4deb9874 qtvcp -update/add to docs 2019-01-18 18:29:19 -08:00
Chris Morley
df338817b6 qtvcp -sytstemtoolbutton: cleanup and only set text if user didn't
automatically set the button text to the current system, unless the user set
some text of their own
2019-01-18 18:29:19 -08:00
Chris Morley
6fccae7a61 qtvcp -make the hal pin option available 2019-01-18 18:29:19 -08:00
Chris Morley
30ca1d2f7c qtvcp - update blender screen 2019-01-18 18:29:19 -08:00
Chris Morley
788db8c4b1 qtvcp -add user system selection toolbutton widget 2019-01-18 18:29:19 -08:00
Chris Morley
eb7062cfa9 qtvcp -add set_user_system command to actions 2019-01-18 18:29:19 -08:00
Chris Morley
f1d95a1cce qtvcp -fix status label's display of user systems
59.1, .2 and .3 were not displayed properly
2019-01-18 18:29:19 -08:00
Chris Morley
382041949f qtvcp -action button requires an action selection
Previously the button defaulted to estop.
This makes unselected action buttons do nothing, rather then toggle Estop
2019-01-18 18:29:19 -08:00
Chris Morley
acb8ef9e2f qtvcp -add round image action buttons
makes the estop button look like a real round button
2019-01-18 18:29:19 -08:00
Chris Morley
de44fb70a3 qtvcp -add a way to use axis toolbuttons to set origin
Not sure I'm happy with this but at least it's functional.
Can revisit later
2019-01-18 18:29:19 -08:00
Chris Morley
0dff09bf88 qtvcp -add MDI line to screen 2019-01-18 18:29:19 -08:00
Chris Morley
917f5989a4 qtvcp -add axis tool buttons
These buttons are used for Origin setting.
can zero, direct set, half or reset to last.
Direct setting is not fully functional yet.
they can be used for axis selection of jogging/HAL pins.
2019-01-18 18:29:19 -08:00
Chris Morley
1abe7acb79 qtvcp -remove unused function 2019-01-18 18:29:19 -08:00
Chris Morley
4566d7da4c qtvcp -should call action functions rather then status
for consistency
2019-01-18 18:29:19 -08:00
Chris Morley
6d271434c2 qtvcp -fiz another missed name change 2019-01-18 18:29:19 -08:00
Chris Morley
8c06c0bf5a qtvcp - add a TODO reminder
When I decide what to do with it.
2019-01-18 18:29:19 -08:00
Chris Morley
b5f262a445 qtvcp -fix missed name changes
reported by RMU
2019-01-18 18:29:19 -08:00
Chris Morley
d593254cff qyvcp -update blender code, add a config to test with 2019-01-18 18:29:19 -08:00
Chris Morley
864e5c67aa qtvcp -add more actions
one can set the DRO to absolute, relative, or dtg with buttons.
One can clear the graphics with a button.
2019-01-18 18:29:19 -08:00
Chris Morley
316308702a qtvcp -fix reported missed name change
widgets won't load ind designer - i had a left over pyc file so didn't see it
2019-01-18 18:29:19 -08:00
Chris Morley
18fd9878ed qtvcp -ongoing experiments with blender style screen 2019-01-18 18:29:19 -08:00
Chris Morley
9ad65311cc qtvcp -add option to set overlay color on close 2019-01-18 18:29:19 -08:00
Chris Morley
1fff895408 qtvcp -add option to not display the text label 2019-01-18 18:29:19 -08:00
Chris Morley
a10ff5ecda qtvcp -update tester_handler for jogging and no internal styles 2019-01-18 18:29:19 -08:00
Chris Morley
178647a03a qtvcp -add my ongoing attempt at brenda's blender gui code 2019-01-18 18:29:19 -08:00
Chris Morley
f33b1b1a68 qtvcp -add filename status and machine_state_status
maybe that should be interpeter state?
2019-01-18 18:29:19 -08:00
Chris Morley
ba4c82feda qtvcp -screenoptions should search for the default statusbar name
cause most people won't rename it since you can only have one.
also fix the statusbar names for the sample screens
2019-01-18 18:29:19 -08:00
Chris Morley
9bc6efe141 qtvcp -fix the large margins around adjustmentbar 2019-01-18 18:29:19 -08:00
Chris Morley
63c9f1a5fc docs -add a little more about tvcp widgets 2019-01-18 18:29:19 -08:00
Chris Morley
4cc8211ae2 qtvcp -silence a debug line, add some helpful comments 2019-01-18 18:29:19 -08:00
Chris Morley
07be73b0d1 qtvcp -add a pop up dialog for errors
If qtvcp is not run from the terminal, the user would have no idea
why qtvcp closed otherwise.
2019-01-18 18:29:19 -08:00
Chris Morley
795eb3e2ad qtvcp -change closing cleanup call to handler file
makes it clearer how that works I beleive. Also overriding the closeEvent
doesn't overwrigh the call to this
2019-01-18 18:29:19 -08:00
Chris Morley
4c3ac1753c qtvcp revamp PATHS and qtvcp to allow default qtvcp panels
panels aren't specifically for running a linuxcnc cnc machine.
This commit is working it's way towards prebuilt useful panels;
such as emdedable web cam alignment or parport testing screens etc.
Might make it easier to share usefull projects.
2019-01-18 18:29:19 -08:00
Chris Morley
eb7b816719 qtvcp -minor debug printing change 2019-01-18 18:29:19 -08:00
Chris Morley
8fd70a0570 commit -reset testing switch
gradient background doesn't work properly
2019-01-18 18:29:19 -08:00
Chris Morley
ce100b9c46 qtvcp -fix keyboard jog's keyevent continuation
was afecting other widgets on the screen too
2019-01-18 18:29:19 -08:00
Chris Morley
54d0332469 qtvcp - add sample gantry config for testing
It uses tandem axes
2019-01-18 18:29:19 -08:00
Chris Morley
e1b5834ed0 qtvcp -fix keybinding with chift and control pressed
it originally added 'shift+' and 'control+' to the keybinding
function name. We already cover shift and control in the function.

add some better error/info handling
2019-01-18 18:29:19 -08:00
Chris Morley
b0a0d0a1a6 qtvcp - fix theme setting with no theme
I guess I didnt test this
2019-01-18 18:29:19 -08:00
Chris Morley
09786620c9 qtvcp -revamp theme loading
make ir easier to load custom qss files
2019-01-18 18:29:19 -08:00
Chris Morley
6a7a65dc28 qtvcp -use qss file for qt default screen - update 9 axis qss 2019-01-18 18:29:19 -08:00
Chris Morley
73a79bc94f qtvcp -gradient background work qt5_graphics
not quite - can't rotate or pan.
I added the code (diasbled) so I can come back to it
or find some help
2019-01-18 18:29:19 -08:00
Chris Morley
9c89b1b6c8 qtvcp -update 9axis config and screen 2019-01-18 18:29:19 -08:00
Chris Morley
6e029cd5d0 qtvcp -action button increments: fix anuglar increments output
wasn't setting angular increments with button press
2019-01-18 18:29:19 -08:00
Chris Morley
dcc270116d qtvcp -honor text with newlines 2019-01-18 18:29:19 -08:00
Chris Morley
eb618fd0ac qtvcp -fix b axis bug and configurable formats
Baxis didn't display with angular formatting
2019-01-18 18:29:19 -08:00
Chris Morley
3e623a4c2d qtvcp -add a check for INI [AXIS] critical entries
probably should shutdown qtvcp if found...
2019-01-18 18:29:19 -08:00
Chris Morley
db5bcc0f66 qtvcp -update 9 axis sample screen and config 2019-01-18 18:29:19 -08:00
Chris Morley
c2a98fdcd2 qtvcp -use a function rather then direct access 2019-01-18 18:29:19 -08:00
Chris Morley
a3ad2c2d12 qtvcp -fix the jog button to honor the proper increments
bug crushing
2019-01-18 18:29:19 -08:00
Chris Morley
c7dc2ccfd3 qtvcp -don't send angular message if not angular changed 2019-01-18 18:29:19 -08:00
Chris Morley
44deb65062 qtvcp -fix display of angular axes
shouldnt change when units mode changes
should displayed with less digits

I should make the display configurable
2019-01-18 18:29:19 -08:00
Chris Morley
a6d4f9dde3 qtvcp -update sample 9 axis config screen 2019-01-18 18:29:19 -08:00
Chris Morley
5264b14cff qtvcp -add away to auto load a qss file for styles 2019-01-18 18:29:19 -08:00
Chris Morley
efe5c96c14 qtvcp - add gitignore file 2019-01-18 18:29:19 -08:00
Chris Morley
3f9a71b769 qtvcp -add ability to change background color in designer 2019-01-18 18:29:19 -08:00
Chris Morley
8f5c0095e1 qtvcp -add a 9 axis config and screen for testing
The screen needs work but it's enought to test with.
2019-01-18 18:29:19 -08:00
Chris Morley
b605c2f371 qtvcp -add a radiobutton based axis selector and action
When you get to 9 axis - radio buttons take less space.
New actions/messages to support them
2019-01-18 18:29:19 -08:00
Chris Morley
1f09b605fd qtvcp -quiet debug messages 2019-01-18 18:29:19 -08:00
Chris Morley
e1df17e8fc qtvcp -angular increments/jograte work
angular axis jogging velocity and distance should be fully
covered by widgets now

action button widget
increment buttons can set angular and/or linear increments.
If you use a hi/med/low idea behind buttons then setting both makes sence.
If you use a .1/.01/.001 idea then you must separate the buttons for linear and angular.
In that case set the incr number to negative and it will be ignored.
The indicator will adjust to outside setting of the rates.

jog increment widgets
Can set option to set either linear or angular increments
if another widget sets the rate try not to lie -
set the rate in the combobox if a match is found or
set the display blank

Status Slider widget
adjustment bar widget
Now have the option to manipulate angular jog rate

Status Label widget
Now has option to display angular jog/increments
2019-01-18 18:29:19 -08:00
Chris Morley
26655de956 qtvcp -fix missed variable causing error 2019-01-18 18:29:19 -08:00
Chris Morley
4e81feb5cd qtvcp - get jogIncrements widget to work with metric configs
STATUS needs jog increments in machine units - I had made assumptions in the
code because of only using imperial configs.
jogIncrements will adjust STATUS jog increments if the units mode changes
because it would be assumed the showing increments would still be active.
2019-01-18 18:29:19 -08:00
Chris Morley
761bb98113 qtvcp -fix some unused function signatures
they shouldn't be called from something that adds widget...
probably left over from gladevcp adaption
2019-01-18 18:29:19 -08:00
Chris Morley
c9239ba51b qtvcp -update docs for action library 2019-01-18 18:29:19 -08:00
Chris Morley
c9a0ebfff9 qtvco -add a metric config to test with 2019-01-18 18:29:19 -08:00
Chris Morley
a9d0438541 qtvcp -fix entry keyboard not passing 'enter' command 2019-01-18 18:29:19 -08:00
Chris Morley
8e4978e67b qtvcp -embed client message work
still not caught in gladev,cp though I see
thru xtrace linuxcnc client messages are being sent.
Maybe not sent properly?
compared to the gladevcp example they seem pretty much the same.
2019-01-18 18:29:19 -08:00
Chris Morley
eae644806a qtvcp -keyboard forwarding to axis update
I think it works now...test test test
just need to do X11 client message work
2019-01-18 18:29:19 -08:00
Chris Morley
ba18778d0b qtvcp -fix u AXIS demo to include MDI commands
make the MDI_COMMAND_LIST commands able to hold multiple commands
add some error maesages it commands are missing
2019-01-18 18:29:19 -08:00
Chris Morley
73ed0bb34e qtvcp -entry widget; add style, enter now hides keyboard 2019-01-18 18:29:19 -08:00
Chris Morley
e03495b0e0 qtvcp -fix embedding shutdown problem
now when embedded in AXIS qtvcp shuts down properly.
and control c is handled
and now widgets can do cleanup befor closing
2019-01-18 18:29:19 -08:00
Chris Morley
50c1bd15d5 qtvcp -add folder to debian file
should fix bildbot errors and actually install properly
2019-01-18 18:29:19 -08:00
Chris Morley
665ec18ae0 configs -fix missed name change in qtvcp embed sample 2019-01-18 18:29:19 -08:00
Chris Morley
50b1779b90 qtvcp -fix homing error when closing screen 2019-01-18 18:29:19 -08:00
Chris Morley
91567e8605 qtvcp -have gladeVCP forward keyboard events to qtvcp
I wonder if just having gladevcp read the forwarding ID number
 from the command line like the embedding id number. Not sure
why environment variable was used.
2019-01-18 18:29:19 -08:00
Chris Morley
d64ffcb958 qtvcp -add tool change to machinelog 2019-01-18 18:29:19 -08:00
Chris Morley
b3e3969e63 qtvcp -fix error with loading dialog if no preference file
if the user does add a screenoption widget or manually add a preference
file we should not crash - it's not critical
Feed back from Liya from forum - Thanks!
2019-01-18 18:29:19 -08:00
Chris Morley
6386b331a0 qtvcp -add a adjustment bar widget
easier for touch screens I think. works with single button presses
2019-01-18 18:29:19 -08:00
Chris Morley
2a90911ac9 qtvcp -add a config that embeds pyncggui for testing 2019-01-18 18:29:19 -08:00
Chris Morley
04b6a44843 qtvcp -fix error when tool table missing 2019-01-18 18:29:19 -08:00
Chris Morley
74b5a63a40 qtvcp -add a third-party-program embedding widget
Specify the loading program in designer - this is imagined to be used
in a HAL only panel, but is the basis of INI specified embedding...
coming soon to a screen near you..
2019-01-18 18:29:19 -08:00
Chris Morley
8f8cf8d647 qtvcp -work to get fullscreen to actually work.
maximized option works.
Fullscreen kills os window panels but doesn't expand the window.
It may be a Mint os problem...more testing needed.
2019-01-18 18:29:19 -08:00
Chris Morley
bd1981e98a qtvcp -fix missed name change 2019-01-18 18:29:19 -08:00
Chris Morley
89158ea343 qtvcp -use INFO to find POSTGUI_HALFILE from INI 2019-01-18 18:29:19 -08:00
Chris Morley
f1730c68d4 gladevcp -add embedding by pushing plug X window id
This is actually the standard way to embed.
We added this so qtvcp can embed gladevcp panels.
I couldn't figure out how to embed by giving gladevcp the window id
 of qtvcp's container.
2019-01-18 18:29:19 -08:00
Chris Morley
91e48f1fc9 docs -update docs for qtvcp
handler files and designer slots
2019-01-18 18:29:19 -08:00
Chris Morley
a55c342d84 qtvcp -use compressed files for the binary library
.so file are deleted on a make clean
and .so files are set to be ignored by git
2019-01-18 18:29:19 -08:00
Chris Morley
2679b6c66c qtvcp - rename qtscreen to qtvcp
I think having qtscreen which uss qtvcp widgets might be confusing.
Originally qtvcp and qtscreen were to be separate, but since I combined
the two - qtvcp seems the best title
2019-01-18 18:29:19 -08:00
Chris Morley
8523c709fa qtvcp -update docs 2019-01-18 18:29:19 -08:00
Chris Morley
69f4c6b13d qtvcp -override userplot function; No more QT letters displayed
userplot was coded as the QT text.
userplot is available to add GL commands to plot static objects
like maybe the chuck on a lathe
Future work...
2019-01-18 18:29:19 -08:00
Chris Morley
08c047d677 qtvcp -add designer python library for qt 5.7
Debian Stretch uses 5.7
2019-01-18 18:29:19 -08:00
Chris Morley
b0b00671f5 qtvcp -embedding into AXIS works
Need to finish event forwarding yet.
added a sample config for testing
2019-01-18 18:29:19 -08:00
Chris Morley
6eaf9304a3 qtvcp -add precompiled copies of the designer python libraries
We can't expect users to compile these. They are not available
from repositories because python2 is supposed to die...
linuxcnc is not ready for python3 yet
2019-01-18 18:29:19 -08:00
Chris Morley
9e4335fe92 qtvcp -fix zero_action buttons availability after machine on
The buttons wee not active if you turned the machine on and off
you would have to rehome
2019-01-18 18:29:19 -08:00
Chris Morley
84f266b10e docs -add a little bit about building a custom screen 2019-01-18 18:29:19 -08:00
Chris Morley
8fda5ac3ae qtvcp -have pause action toggle the indicator and follow STATUS
Pause didn't listen for states Via STATUS so never call _safecheck
2019-01-18 18:29:19 -08:00
Chris Morley
5c6d6c2578 qtvcp -fix crash when opencv library missing.
Logging library was not instantiated soon enough
2019-01-18 18:29:19 -08:00
Chris Morley
b040e747e7 qtvcp -add the beginnings of tool offset editing
needs lotsa testing
2019-01-18 18:29:19 -08:00
Chris Morley
1a640ae2df qtvcp -add soft keyboard to mdiline 2019-01-18 18:29:19 -08:00
Chris Morley
da79428bc1 qtvcp -fix error if tool file is missing 2019-01-18 18:29:19 -08:00
Chris Morley
4042f9d837 qtvcp -fix some bugs in generalhal widgets
missed name change
missed pin types
2019-01-18 18:29:19 -08:00
Chris Morley
f4635e6ca1 qtvcp -teach qt_action how to single step if paused 2019-01-18 18:29:19 -08:00
Chris Morley
5420770fcc hal_glib -add a is_paused convenience function 2019-01-18 18:29:19 -08:00
Chris Morley
8313c385cc hal_glib -quiet an error message 2019-01-18 18:29:19 -08:00
Chris Morley
8f1618dc41 qtscreen -update test screen for tool info label
and I changed the gcode buttons - one for go to origon zero
and one for go to machine zero
2019-01-18 18:29:19 -08:00
Chris Morley
a08a9ac0ac qtvcp -update core library/status_label to read toolfile
There is code in there to write the file but hasn't been tested.
This is reworked code from gladevcp's tooledit widget.
A full tool editting widget needs to be written to use this new core library.
For the moment we can now get comments from a specfic tool with status_label
2019-01-18 18:29:19 -08:00
Chris Morley
22a6ff7bac qtvcp -add mdi commands option to action buttons
one can add MDI commands directly or call commands specified in the INI file
under the heading:
[MDI_COMMAND_LIST]
MDI_COMMAND =
2019-01-18 18:29:19 -08:00
Chris Morley
03bc66f766 qtvcp -have some fun with the stylized greeting 2019-01-18 18:29:19 -08:00
Chris Morley
26fee30796 qtscreen -update screen XML file 2019-01-18 18:29:19 -08:00
Chris Morley
fbdf6ab6b1 qtvcp -fix action button indicator and jog increments options
state indicator now can be controlled by linuxcnc status as well a HAL pin
Should probaably make it possible to do it programically too...

make the jog increments button indicate properly.
make the jog increments work properly with metric mode.
This has only been tested with an imperial config and may break on a metric one.
2019-01-18 18:29:19 -08:00
Chris Morley
6b9bcda55f qtvcp -fix some missed name changes in plugins
cause errors when you load a saved designer panel
2019-01-18 18:29:19 -08:00
Kurt Jacobson
125b9827ff Fix minor typo 2019-01-18 18:29:19 -08:00
Kurt Jacobson
ba07fec06f Ignore lib/python/qt5_graphics.py
It gets copied from`src/emc/usr_intf/gremlin/qt5_graphics.py` at build.
2019-01-18 18:29:19 -08:00
Chris Morley
cf1f4b959f qtvcp -rename LED icon 2019-01-18 18:29:19 -08:00
Chris Morley
ef4b0bb07a qtvcp -rename screenoptions 2019-01-18 18:29:19 -08:00
Chris Morley
1a770edcf8 qtvcp -more clean up/renaming 2019-01-18 18:29:19 -08:00
Kurt Jacobson
3891fbe389 Rename ledwidget.py to led_widget.py 2019-01-18 18:29:19 -08:00
Kurt Jacobson
3c2531f07b Rename drowidget.py to dro_widget.py 2019-01-18 18:29:19 -08:00
Kurt Jacobson
2ff8b4e151 Capitalize un-capitalized log 2019-01-18 18:29:19 -08:00
Chris Morley
56b70bca92 qtvcp -add general HAL pin widgets
These widgets allow one to connect HAL pins to widgets using signals and slots.
This allows one to add HAL pins to regular/thirdparty widgets.
2019-01-18 18:29:19 -08:00
Chris Morley
8bac730c85 qtscreen -fix missed keywaord - error while logging 2019-01-18 18:29:19 -08:00
Chris Morley
caf37dda10 qtvcp -rename plugin/widgets
massive change to rename plugins and widgets for more consistency
2019-01-18 18:29:19 -08:00
Chris Morley
03e1d1f61c qtvcp -use super() to subclass plugins 2019-01-18 18:29:19 -08:00
Chris Morley
cad8784237 qtvcp -pep8 audit and code cleanup od widgets
No functional changes intended
2019-01-18 18:29:19 -08:00
Chris Morley
f857e1cb40 qtvcp -revamp machine log history
made it a library
made it use gstat messages
changed default file path
delete log at start of qtscreen
send the loaded gcode file name to log

some of these probably should be optional on the screenoptions widget
- for instance logging at all
2019-01-18 18:29:19 -08:00
Chris Morley
92e9b39d1f qtvcp -have file dialog remember last folder path
saves it in the preference file
2019-01-18 18:29:19 -08:00
Chris Morley
2d90a30804 qtvcp/qtscreen -have the gcode window display message history
when in manual mode the gcode window now displays message history.
Probably should ut some limit on how much is loaded - perhaps clear the history
each restart...each day?
2019-01-18 18:29:19 -08:00
Chris Morley
d2c6656d3b sys_notify -fix legacy command crash; icon path as None
Notify would except icon path as None, sys_notify did not.
catch the error and fix it.
2019-01-18 18:29:19 -08:00
Kurt Jacobson
effc1fe5fa Replace pynotify with our own notification module
This fixes gtk errors caused when using the `python-notify` package on Debian 9
2019-01-18 18:29:19 -08:00
Kurt Jacobson
8ba8c2ec4a Module to send notifications over DBus to the system notification server
This sends notification requests directly to the system notification server. If package`python-dbus.mainloop.pyqt5` is installed it will integrate with the Qt mainloop to allow notification actions to call methods in the main qt loop.
2019-01-18 18:29:19 -08:00
Chris Morley
0ef71264bb hallib -remove debugging command 2019-01-18 18:29:19 -08:00
Chris Morley
1f0f2d0405 qtvcp -fix DROLabel's missing variable initialization 2019-01-18 18:29:19 -08:00
Chris Morley
ccee094c3c qtvcp -WIP embed widget
some partial sucess.... having the container window big enough to
 start seems important.
mplayer work very well
gladevcp when it embeds itself doesn't resize
gladevcp when qt embeds it only works one out of ten times...
2019-01-18 18:29:19 -08:00
Chris Morley
5452b6045b qtvcp -add an indicator option to pushbuttons
right hand corner triangular led
controlled by a HAL pin or python code
2019-01-18 18:29:19 -08:00
Chris Morley
57e80d80bb qtscreen -add ability to push the X window id
This should allow qtscreen panls to be embedded into gladevcp -
though I haven't tried it yet
2019-01-18 18:29:19 -08:00
Chris Morley
e37f2b932a qtvcp -update docs 2019-01-18 18:29:19 -08:00
Chris Morley
5b62b8ccb6 qtvcp -fix program hang on different versions of qt
Ok weirdly enough if seems import gtk or pygtk is _not_
nessasary to fix crash.
removing the logging line in offset_origin fixes the problem on version
QT 5.5 and 5.7.
it seems importing pygtk or gtk would allow the logging line error to
pass.
even stranger in different versions of pyqt required import of gtk or import
of pygtk - use the wrong one for the qt version and it errored.
ok... moving on
2019-01-18 18:29:19 -08:00
Chris Morley
93b92e5c6c qtvcp -disable the gtk gremlin embedded widget
In qt5_graphics.py we had to add an import of gtk to stop an error
message (that wasn't very helpful) and crash.
I think this is because pango is used by glib.py - need
to investigate further
2019-01-18 18:29:19 -08:00
Chris Morley
9b84185b80 qtscreen -try some different control layouts 2019-01-18 18:29:19 -08:00
Chris Morley
4646d8ec50 hallib -scale signal to motion.spindle-speed-in correctly
was set at RPM instead of RPS
2019-01-18 18:29:19 -08:00
Chris Morley
055bbfdd89 qtvcp -add tool diameter and surface speed indicators
It's too bad status doesn't hold tool comments so i could add a description of the tool
2019-01-18 18:29:19 -08:00
Chris Morley
a42eb2eb0e hal_glib -add current tool info signal 2019-01-18 18:29:19 -08:00
Chris Morley
67a0c0d755 qtvcp only select one option at a time, bool_label, led_state
update there to be like other widgets so the user doesn't get confused
by last-selection-wins behavior.
also overridden was spelled  wrong so update ui file to reflect change.
2019-01-18 18:29:19 -08:00
Chris Morley
d5a48a9b0a qtscreen -update screen to use new action button actions
flood, mist, optional stop, and block delete
2019-01-18 18:29:19 -08:00
Chris Morley
8a4bbf179e qtvcp -add more actions to action buttons
flood, mist, optional stop, block delete.
can toggle or set them
2019-01-18 18:29:19 -08:00
Chris Morley
165c4c72fb qtvcp -have audio players voice not block
espeak plays in the background
2019-01-18 18:29:19 -08:00
Kurt Jacobson
aa7bde7a86 qtvcp: Catch and log QGLWidget ImportError 2019-01-18 18:29:19 -08:00
Kurt Jacobson
a7e5473480 qtvcp: Logger is use in file but was not initialized 2019-01-18 18:29:19 -08:00
Kurt Jacobson
43e18dbe69 qtvcp: Fix typo in pyqt5.qtsvg package name 2019-01-18 18:29:19 -08:00
Chris Morley
13f5a226f8 qtscreen: cleanup code in handler/ update UI file
removed Notify code that is in screen options now.
On going work to the screen for usefulness
made statusbar show and got rid of button development buttons.
moved estop and power to status box
2019-01-18 18:29:19 -08:00
Chris Morley
4e2b911913 qtvcp: have notify/statusbar work better with messages
status bar didn't work at all.
Now we can set a timeout but eror messages stay showing till the next error.
broke up preference file options in screenoptions.
2019-01-18 18:29:19 -08:00
Chris Morley
ab0922f941 qtvcp: Fix audio play voice with messages with quotes
quotes were not handled correctly is bash script
2019-01-18 18:29:19 -08:00
Chris Morley
a1731d8aea qtvcp: have qtscreen cleanup notify messages at shutdown 2019-01-18 18:29:19 -08:00
Chris Morley
1384db018c hal_glib/qtscreen: add shutdown message 2019-01-18 18:29:19 -08:00
Chris Morley
178b0668d0 qtvcp: add override limts mechanism 2019-01-18 18:29:19 -08:00
Chris Morley
96cc925847 hal_glib: change override_changed signal type
This was a string originally, now changed to a python type.
The string type was difficult to parse.
Probably should have just made it a bool type...
Hopefully this didn't break any existing code.
2019-01-18 18:29:19 -08:00
Chris Morley
1c3a1f2ad5 qtvcp - fix filter program loading
library name change missed..
2019-01-18 18:29:19 -08:00
Chris Morley
b0b38d9671 qtscreen -fix seg fault when loading file
I have no idea why this fixes the seg fault.
It seemed to be a race situation because some times it did not
seg fault. If it didn't the first time it didn't the rest of the session.

This seg fault seems to have showed up after the change to add qtvp.core
which consolidated other libraries.

here is hoping this is a permanent fix
2019-01-18 18:29:19 -08:00
Chris Morley
b9c56c929f qtscreen -add manual spindle controls 2019-01-18 18:29:19 -08:00
Chris Morley
f6cdcb8c82 qtvcp -add spindle control actions 2019-01-18 18:29:19 -08:00
Chris Morley
1f63197a3b qtvcp -fix reloading of gcode plotter when origin changes 2019-01-18 18:29:19 -08:00
Chris Morley
512bbdd71e qtvcp -fix linuxcnc error sound
typo
2019-01-18 18:29:19 -08:00
Chris Morley
50804a149c qtscreen -fix keybinding for gcode editor
now you can jog when in manual, cursor MDI commands in mdi,
and cursor the gcode when in auto
2019-01-18 18:29:19 -08:00
Chris Morley
0546152877 qtvcp -fix unitialized error 2019-01-18 18:29:19 -08:00
Chris Morley
d74514ac8f qtvcp -remove unused code 2019-01-18 18:29:19 -08:00
Chris Morley
8d540eeb73 hal_glib -add more convience functions for linuxcnc mode
we had is_auto_mode so lets have checks for manual and mdi too.
2019-01-18 18:29:19 -08:00
Chris Morley
a52d54267d qtvcp -fix keybinding isue with pyqt5
Pyqt5 handles events slightly diffeent the pyqt4.
Pyqt5's QApplication always gives events to QtGui.QWindow first, then the widgets inside it.
Previously (in pyqt4) we assumed the widget came first.
Now we allow QWindow to process events then everything seems to match again.
2019-01-18 18:29:19 -08:00
Chris Morley
086c6051ff qtscreen -minor change to screen 2019-01-18 18:29:19 -08:00
Chris Morley
1ee3262db2 qtvcp -fix some errors when launching designer
There is no ini when designer is launched
2019-01-18 18:29:19 -08:00
Chris Morley
1f9d518118 qtvcp -have window reload text properly in auto mode
When one switched to auto mode, if there wasn't a program loaded previously,
MDI code would be show
2019-01-18 18:29:19 -08:00
Chris Morley
1123ac976d hal_glib -only update filename if call level = 0
Somehow this crept in again
2019-01-18 18:29:19 -08:00
Chris Morley
942c51b30e qtvcp -add some preference options for sound
users probably woulds like to be able to easily change these.
2019-01-18 18:29:19 -08:00
Chris Morley
33ba7b7032 docs -update qtvc_libraries 2019-01-18 18:29:19 -08:00
Chris Morley
8c8182a65c qtvcp -beep work 2019-01-18 18:29:19 -08:00
Chris Morley
31995e3a05 qtvcp -hhhh 2019-01-18 18:29:19 -08:00
Chris Morley
360d34f2e4 qtvcp/hal_glib -have a default angular velocity 2019-01-18 18:29:19 -08:00
Chris Morley
86ace78f36 qtvcp -move do_jog command to action library
cause jogging is an action not a status
2019-01-18 18:29:19 -08:00
Chris Morley
0db0c87bdb qtvcp -audio player: add some beep sounds 2019-01-18 18:29:19 -08:00
Chris Morley
6820f37f07 qtvcp -add handler closing function if using screenoptions
This worked before screenoption was a thing.
screenoption normally overrides it - so workaround that
2019-01-18 18:29:19 -08:00
Chris Morley
fd014b8996 qtvcp -fix beep and speak options with python gst 2019-01-18 18:29:19 -08:00
Chris Morley
1f1de4a0f7 qtscreen - make demo test speaking 2019-01-18 18:29:19 -08:00
Chris Morley
6aea99fc92 qtvcp -fix errors if libraries are missing 2019-01-18 18:29:19 -08:00
Chris Morley
3e7ef36773 qtvcp -work around missing py2 audio library
new distrubutions have no python2 library for gstreamer.
We cant use python3 so use system calls
2019-01-18 18:29:19 -08:00
Chris Morley
de59f29faa qtvcp -oops missed some file name changes 2019-01-18 18:29:19 -08:00
Chris Morley
a23cf1a6e8 qtvcp -fix docs after name changes 2019-01-18 18:29:19 -08:00
Chris Morley
edf7516374 qtvcp -huge reshuffling and name change of libraries
qtvcp.core now holds all the usually needded classes.
broke out the action class to it's own file.
changed the name of Gstat to Status, IStat to INFO, and lcnc_Action to Action.
Hopefully to clear up the use of and less typing for the name.
2019-01-18 18:29:19 -08:00
Chris Morley
8174e1c2bd qtvcp -fix error when screenoptions widget not present
screenoptions sets up the prefeence file.
maybe i should make it use a default file rather then none...
2019-01-18 18:29:19 -08:00
Chris Morley
365ce141e2 qtvcp -work on embedding
so far not so good. I can embed but the embeded file doesn't
follow resizing.
Qt did away with the x11 widget that worked so good.
No idea why.
I sustect I will have to use x11 calls to work around this.
2019-01-18 18:29:19 -08:00
Chris Morley
73cf3c9b2e gladevcp -add the abilty to push the window id to stdout
for embeddding into other programs - this is a more standard way.
It does side step some embedding details done automatically the
original way
2019-01-18 18:29:19 -08:00
Chris Morley
3463f090db qtvcp -add embed info to IStat library 2019-01-18 18:29:19 -08:00
Chris Morley
1e4c02a4ef qtvcp -update some docs 2019-01-18 18:29:19 -08:00
Chris Morley
33f52ee767 qtvcp -update sample screen
switch to not relying on the button widgets for actions like jog - jog directly.
remove GSTAT forced update because qtscreen does it for us now
2019-01-18 18:29:19 -08:00
Chris Morley
56096f3682 qtscreen -have qtscreen force update GSTAT at the right time
Better to do this automatically - it's nessasary.
One could always do it again in the handler file.
2019-01-18 18:29:19 -08:00
Chris Morley
b8e8635ed0 qtvcp -use a thread for webcam capture
should help thoughput
2019-01-18 18:29:19 -08:00
Chris Morley
7b257cf8a7 qtvcp -add some error checking to camview 2019-01-18 18:29:19 -08:00
Chris Morley
ffa1e24de2 qtvcp -add preference file access to all widgets
screenoption widget now adds preference file access.
Any HALIified widgets have access to it.
You could still do a preference file in the handler file
if you really wanted.
currently preference file controls options only from screenoptions
2019-01-18 18:29:19 -08:00
Chris Morley
7d2b45a7dc qtvcp - change name of key variable in baseclass
It was easy to mix up the hal_gcomp object with hal library
this should help
2019-01-18 18:29:19 -08:00
Chris Morley
dd4a33bea6 qtvcp - add virtual keyboard library
need to add embedding code and test.
should add an action button to pop it too
2019-01-18 18:29:19 -08:00
Chris Morley
f74f0d0a25 qtscreen -add tester ini file
tester is used for easy testing of custom screens.
forgot to add this earlier
2019-01-18 18:29:19 -08:00
Chris Morley
927d7377b5 qtvcp -message: fix up user message library so it works
- definable in INI
- use HAL pins for handshaking
- sound and focus options 9always on now)
- added to default sample
2019-01-18 18:29:19 -08:00
Chris Morley
50a2cf5842 qtvcp -audio_player -fix defaults, add error messages
If using mint and the sounds where missing it wouldn't
try for freedesktop sounds.
Error messages where missing details
2019-01-18 18:29:19 -08:00
Chris Morley
27fa1705d5 qtvcp -add audio capability
This works better then Gscreen's library - it doesn't block.
I may need to change the library I think this library is different
in newer distributions
2019-01-18 18:29:19 -08:00
Chris Morley
ae0281ad87 qtscreen -add a skin for more convienent testing 2019-01-18 18:29:19 -08:00
Chris Morley
9e01fd3c7f qtvcp -fix the run button being disabled
couldn't run after loading
2019-01-18 18:29:19 -08:00
Chris Morley
711f7efa59 qtvcp -fix a seg fault with simple screens
screens that didn't use the graphics program would
segfault because only the graphics program had
the command gobject.init()
I'm not sure why qt5 requires this but it seems to work.
Now hal_glib will not do this because it causes a seg fault.
but qt_glib overides this function.
2019-01-18 18:29:19 -08:00
Chris Morley
e13da75d7f qtscreen -update sample screen 2019-01-18 18:29:19 -08:00
Chris Morley
1660277449 qtvcp -add experimental user plotting routine
This is a sample idea. idealy this would be laodable for
such things as spindle chuck or roush stock plotting.
2019-01-18 18:29:19 -08:00
Chris Morley
ba18d55d1a qtvcp -gstat_label: add more options
current feed per unit and actual spindle speed
uses the new signal from hal_glib
2019-01-18 18:29:19 -08:00
Chris Morley
fc1a504e1a qtvcp -action buttons: qualify graphics modes 2019-01-18 18:29:19 -08:00
Chris Morley
c58b8fe0d5 hal_glib -on forced update, send actual-spindle-speed 2019-01-18 18:29:19 -08:00
Chris Morley
b5d53ac80a qtvcp -qt graphics update
add back the sample display for QtDesigner
get the view changes to work properly.
I did this be converting from the base sample way of rotation, translation
to using the linuxcnc glcannon's routines.
2019-01-18 18:29:19 -08:00
Chris Morley
0cea066e68 qtvcp -more work on view changes - add action buttons 2019-01-18 18:29:19 -08:00
Chris Morley
d19b6dfa06 qtvcp -graphics5 code cleanup 2019-01-18 18:29:19 -08:00
Chris Morley
351b5b465c qtvcp -camview: fix wheel scroll call 2019-01-18 18:29:19 -08:00
Chris Morley
91351ebed9 qtvcp -graphics widget can load programs and show dro
oops I fogot to call realize in glcannon - works much better
2019-01-18 18:29:19 -08:00
Chris Morley
65dba6e4dc qtvcp -more graphics work for qt5
can't load a program yet but will plot a running program.
lighting is off - hard to see the tool
dro doesn't show if turned on.
taight glcannn to not show overlay for us
2019-01-18 18:29:19 -08:00
Chris Morley
f9645f62b2 qtvcp -hide debug printing 2019-01-18 18:29:19 -08:00
Chris Morley
627c6ff1d5 qtvcp -fixup for a widget plugin for qt5 2019-01-18 18:29:19 -08:00
Chris Morley
ae25709eb9 hal_glib -add actual-spindle-speed signal
using hal library's new get_value() method
2019-01-18 18:29:19 -08:00
Chris Morley
e744ab15a4 qtvcp -add a qt version of gremlin 2019-01-18 18:29:19 -08:00
Chris Morley
82ce17fafe qtvcp -fix overlay and entry not on top
graphic widget still sits on top though
2019-01-18 18:29:19 -08:00
Chris Morley
60f8e3c446 qtvcp -convert designer plugins to pyqt5 python2
Haven't tested yet
2019-01-18 18:29:19 -08:00
Chris Morley
55113033d4 qtvcp -convert widgets, libraries and qtscreen to use pyqt5 python2 2019-01-18 18:29:19 -08:00
Chris Morley
314cb668ae qtvcp -camview: don't stop GUI from loading on lib error
Just because you don't have opencv installed shouldn't kill
 the screen - Thanks Kurt.
2019-01-18 18:29:19 -08:00
Chris Morley
230c0a97bf qtvcp -add some more docs 2019-01-18 18:29:19 -08:00
Chris Morley
5c3278f7ce qtvcp -move widget baseclass out of simple widgets
clearer I think
base class was with simple widgets for convience when I started
2019-01-18 18:29:19 -08:00
Chris Morley
94992cf31c qtscreen -put styles code in a class
just to separate code a little
2019-01-18 18:29:19 -08:00
Chris Morley
a421aa56e6 qtvcp -offset dialog: only enable zero button logically
homed, on and not estopped should do it
2019-01-18 18:29:19 -08:00
Chris Morley
6355589fc7 qtscreen -update test screen 2019-01-18 18:29:19 -08:00
Chris Morley
ca6b3eb027 qtvcp -give access to qtvcp's PATHS class to widgets
focus overlay uses it to find images
2019-01-18 18:29:19 -08:00
Chris Morley
56ec15c3da qtvcp -gstat_label: add gcodes and mcodes to options 2019-01-18 18:29:19 -08:00
Chris Morley
b423ea5934 qtvcp -action buttons: add override/jog rate setting buttons
press the button to set a fixed rate.
if toggle option on, press again to set an alternate rate
2019-01-18 18:29:19 -08:00
Chris Morley
83d8daf5bc qtscreen -try some stylized buttons 2019-01-18 18:29:19 -08:00
Chris Morley
fd82d5ad5b qtvcp -add ability for dialog to use focus text, color
and change screen options to use it.
This stops the double show of focus overlay and two beeps
2019-01-18 18:29:19 -08:00
Chris Morley
555c9fe6b2 qtvcp -focus_overlay: ok really fix the image option
I mean it this time
2019-01-18 18:29:19 -08:00
chris morley
987afc98c9 qtvcp -file dialog: remember last directory
doesn't remember between sessions - but it's a start
Need to use preference file for more but preference file
is optional...
2019-01-18 18:29:19 -08:00
chris morley
7a59e0a34f qtvcp -gcode_display: fix jumpy display after MDI
The widget is supposed to reload the Gcode program after
displaying the MDI history.
It was continuosly reloading it, using lots of CPU.
2019-01-18 18:29:19 -08:00
chris morley
733f8d24a3 qtvcp -focus overlay:add beep, fix image, fix text
added beep to annoy people - should make it optional
fix image display option - though not in wheezy...
used a blank label to keep text in right stop if buttons are not showing
2019-01-18 18:29:19 -08:00
chris morley
6c3595e8cf qtvcp -origin_offset: show absolute position
Now shows absolute machine position rather then current system.
Current system is really redundent and if you can't
otherwise see the current position, thats handy.
dialog now has some zero axis buttons for convenience.
2019-01-18 18:29:19 -08:00
chris morley
31fd26fbb3 qtvcp -action_buttons: add jog increment buttons
so you can directly set jog increment
also changes based on g21/g20
2019-01-18 18:29:19 -08:00
Chris Morley
5cb3a00d67 qtvcp -macro: add software entry keyboard
one can use a touch screen to enter data.
This should probably be an option as it would be annoying
if using a keyboard.
This software keyboard should probably have a conversion button from
mm to inch or vice versa based on current active units
possibly nuttons for current axis position too...
2019-01-18 18:29:19 -08:00
chris morley
a7400f75fc qtvcp -overlay: add some debug code
Was having some trouble getting the overlay to show in an
editted custom screen - it just needed to be stretched
in Designer. But now we cam see that it is being called
to show and hide.
2019-01-18 18:29:19 -08:00
chris morley
2c4ccb5088 qtvcp -origin_offset: stop hard code VAR paths
noticed after some live testing
2019-01-18 18:29:19 -08:00
chris morley
c57c7644fa qtvcp -fix hal_glib with flood/mist messages
I had it check M code for state...in manual mode the M codes
 are not set but there are variables for their status.
Now we use them
2019-01-18 18:29:19 -08:00
Chris Morley
51fc203480 qtvcp -add action buttons to load the dialogs
camview, origin_offsets and macro dialogs can be loaded
with a screen button
2019-01-18 18:29:19 -08:00
Chris Morley
c90365be49 qtvcp -add gcode filter program loading
adapted from gladevcp
2019-01-18 18:29:19 -08:00
Chris Morley
437abe5e2f qtvcp -More Focus overlay and dialog work
We are begining to win here I think
After MUCH work it was discovered that the problem
of the overlay not moving past the visible screen was because
the window flag was set as a QT.Tool widget which must not go
off screen. After a happy accident it was discovered that when
the TOOL flag was removed then it was not nessasary to move the
overlay over the window. Now it just seems to work.
There are some keypress events to trap yet but moving forward.
2019-01-18 18:29:19 -08:00
Chris Morley
061155b1d9 qtvcp -dialog work add some to Designer and centering
file dialog will center on the parent now
add foocus possibility on basic dialog
2019-01-18 18:29:19 -08:00
Chris Morley
0817ac9d4d qtvcp -overlay -cleanup, comment and fix adding a parent
adding a parent programmically was broken
So was showing/hiding the optional  buttons
now the test program works too
Lotsa comments
only need to fix painting when parent window is partially
off screen - not sure why that doesn't work
2019-01-18 18:29:19 -08:00
Chris Morley
2995f2aa69 qtvcp -have qtscreen be in focus on startup
so keyboard commands work on startup
2019-01-18 18:29:19 -08:00
Chris Morley
ae418c769c qtvcp -focus_overlay: fix dialog under overlay when moved
If you moved the window dialog was under overlay
2019-01-18 18:29:19 -08:00
Chris Morley
f919275788 qtvcp -logger errored when debug switch was false.
Seems Kurt always wants me to log :)
2019-01-18 18:29:19 -08:00
Chris Morley
bdffe41cfa qtvcp -macrotab -ongoing work added a probe routine
added some icon buttons to select macros instead of tabs
added some svg icon images - not too bad I guess
added a hole probe so I can test with my mill
starting to look a little more professional
2019-01-18 18:29:19 -08:00
Chris Morley
f64f77c059 qtvcp -add the start of a lathe macro widget
using Andy pugh's excellent lathe macros project.
Fitting it to qtvcp
ABSOLUTELY NOT tested on a machine and in fact somethings don't work
on SIM (drilling seems to work)

Need to add a link from USER/linuxcnc/nc_file/macros/lathe to
LINUXCNC_DIR/nc_files/lathe

Still not sure about details such as save and restore states.
Andy seemed to use some gladevcp magic but some have G73 in them that might work.
Surely can adapt gladevcp's persistance if required.

Arrows in the SVG image don't show.
Andy had the spinboxes close to the reference detail - I prefer havinging it
as a list on the right, so the pix needs labels addded to serve the same
purpose.

It seems subroutine paths are harder then they should be.
O words can't seem to use directory switches directly.
O words only search paths from the INI not their folders.
It would be nicer to have the INI setting set the base paths and allow
my widget to specify the directory from there.
Or allow owords to use absolute paths
O words give terrible error messages
2019-01-18 18:29:19 -08:00
Chris Morley
3c61c6075e qtvcp -teach DRO widget about diameter mode
update to use current libraries too
This was one of the first widegets - converted fron gladevcp
2019-01-18 18:29:19 -08:00
Chris Morley
04a539cdbe qtvcp -don't update camview if it's not showing
otherwise it eats too much time and affects graphics display.
2019-01-18 18:29:19 -08:00
Kurt Jacobson
d5da5c10e1 Use Python's logging module instead of prints
print is not good for debugging/logging because unless you spend the time
to put a lot of detail into each print line, it does not give you enough
information.  Also since there is no way to `silence` debug prints it is a
temptation to limit their use, or even remove/comment them out, which can make
finding a problem later-on much more difficult.

This commit adds facilities for using Python's logging module to log to both
the terminal and a log file.  A subclass of `logging.Formatter` is used for the
terminal handler to produce colored log levels, and optionally allow tagging
text in the log message to colorize it as well.
2019-01-18 18:29:19 -08:00
Chris Morley
f957aae958 qtvcp -have MDiline cursor the gcode widget display
cause it's showing MDI history.
Not sure if this is the way to go but continueing...
2019-01-18 18:29:19 -08:00
Chris Morley
e5959f02a2 qtvcp -add camview widget and dialog
A start on a webcam alignment widget.
has rotatable crosshair, sixable center circle and 5x software zoom
But only textd with one webcam...uses opencv
2019-01-18 18:29:19 -08:00
Chris Morley
f0a1f0344d qtvcp -introduce basic infrastructure
-tested with pyqt 4.7 ( in ubuntu 10.04 )
-must make system links from /usr/lib/qt4/plugins/designer/python
to (linuxcnc rip) /lib/python/qtvcp_widgets/widget_plugins for
 all the plugins.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2019-01-18 18:29:19 -08:00
Chris Morley
cd61eb4109 docs -add info about pin names for HAL containers 2019-01-18 18:27:04 -08:00
Phillip Carter
246837338b Merge branch 'master' into reverse-run 2019-01-18 10:55:52 +11:00
Dewey Garrett
4440d31ff9 tklinuxcnc.tcl don'f fail if tempini not set 2019-01-16 18:57:38 -07:00
Dewey Garrett
d5f73cbcf2 tests/startup-state make insensitive to no. of joints 2019-01-16 14:21:02 -07:00
Dewey Garrett
b890c244ae tests/hard-limits make insensitive to no. of joints 2019-01-16 14:08:52 -07:00
John Thornton
4dc66e8217 Docs: add g52 to gcode list and link to description 2019-01-15 18:26:52 -06:00
Phillip Carter
d052cbcf09 Merge branch 'master' into reverse-run 2019-01-13 17:18:13 +11:00
Dewey Garrett
530dd3f837 axis.py use named arguments in format string
fix warning from syntax check:
  axis.py:3485: warning: 'msgid' format string with unnamed
  arguments cannot be properly localized: The translator
  cannot reorder the arguments.  Please consider using a
  format string with named arguments, and a mapping instead of
  a tuple for the arguments.
2019-01-12 15:13:11 -07:00
Chris Morley
1a64461c1d pncconf -fix axis referenced as a number rather then letter
Wouldn't let pncconf finish if MPGs were selected
2019-01-12 02:03:01 -08:00
Robert W. Ellenberg
a619fbe1df Fix pedantic type mismatch 2019-01-11 17:32:22 -05:00
Robert W. Ellenberg
4ab54fc089 fix a pendantic warning about double->bool conversion 2019-01-11 17:32:22 -05:00
Robert W. Ellenberg
8563c31fbc Fix pedantic return type mismatch 2019-01-11 17:32:22 -05:00
Robert W. Ellenberg
8e74fd3489 tp: Refactor tangential vs overall maximum acceleration lookup
Move functions to calculate overall (tangential + normal) and just
tangential acceleration (i.e. "along the path") to blendmath. This
approach ensures that callers get the properly-scaled acceleration
(instead of naively looking at the maxaccel field).
2019-01-11 17:32:22 -05:00
Robert W. Ellenberg
77bf2694de Include effects on the next segment when changing terminal condition 2019-01-11 17:32:22 -05:00
c-morley
416486ee33
Merge pull request #543 from Solitarily/2.8-chinese
Mark the string that needs to be translated. Update Chinese translation.
2019-01-09 19:59:26 -08:00
jethornton
77309ebf92
Merge pull request #548 from KurtJacobson/fix_ImageTk_import
bug: fix import of ImageTk so that it works with python-pil
2019-01-08 09:57:57 -06:00
Kurt Jacobson
cde5c03240 bug: fix import of ImageTk so that it works with python-pil
Someone has already updated the other Image imports so they work with both the python-imaging and python-pil packages (python-imaging is no longer available in some Ubuntu based distros), but this one was missed causing image-to-gcode to crash when loading a file.
2019-01-08 10:49:32 -05:00
John
0cb80c68a2 linuxmint 19 has the same requirements as debian 9
for asciidoc-dblatex python-gst and gstreamer
this makes it possible to build a deb on linuxmint 19

Signed-off-by: John <john@cave-mint18.3>
2019-01-08 06:29:11 -06:00
John
ab03b30e72 python-imaging has been replaced with python-pil
this is needed to build a deb on linuxmint 19

Signed-off-by: John <john@cave-mint18.3>
2019-01-08 06:27:52 -06:00
Robert W. Ellenberg
5ce5b6809a Restore missing check for a previous parabolic blend when computing scaled acceleration 2019-01-08 00:28:24 -05:00
Robert W. Ellenberg
f6bc37d688 Add missing return statements in two functions where return code is ignored 2019-01-08 00:27:30 -05:00
Robert W. Ellenberg
2b65d4ada4 Add a stripped-down test case that reproduces the acceleration violation 2019-01-05 01:09:20 -05:00
Robert W. Ellenberg
bd7a2b51eb Remove unused function to clear compile warning 2019-01-05 01:08:00 -05:00
Robert W. Ellenberg
1c65f83e48 Fix handling of approximate tangents and required de-rating of max velocity and acceleration.
Instead of directly altering the segment's maxaccel field (which is not
re-entrant), store an acceleration reduction parameter for
approximate tangents. This way, the actual max acceleration can be
computed on-demand (knowing the original max acceleration and de-rating
due to approximate tangency).

A nice side-effect of this is that the reductions are not applied twice,
even in the code paths do the tangency check twice. This squeezes
slightly more performance out of the blends.
2019-01-05 01:06:17 -05:00
Robert W. Ellenberg
648f0a9ab3 Fix violation due to corner case in initialization of optimizer 2019-01-05 01:06:17 -05:00
Robert W. Ellenberg
9e3bb65870 When forcing a pair of motion segments to be tangent, store the "kink" velocity in the previous segment.
Note that the acceleration of the previous and next segment needs to be
reduced here.
2019-01-05 01:06:17 -05:00
Robert W. Ellenberg
9326789c65 Add some comments to clarify obscure variable names 2019-01-05 01:06:17 -05:00
Chris Morley
3b009f9500 pncconf -fix axis-force-maximize script
different versions for tkinter need different code
2019-01-03 03:37:11 -08:00
Chris Morley
99422ab36c pncconf -fix axis-force-maximize option 2019-01-03 03:33:33 -08:00
Chris Morley
601ab3c8a9 pncconf -fix homing sequence definition
sequence was always negative and not user changeable
2019-01-03 03:15:02 -08:00
Chris Morley
9622067899 pncconf -fixup maximise script for AXIS
New versions of tkinter are a little different
2019-01-03 02:02:40 -08:00
Phillip Carter
ed359e4c7f Merge branch 'master' into reverse-run 2019-01-02 16:58:59 +11:00
Chris Morley
bd281a5137 gladevcp -remove a confusing tab in the code. 2018-12-30 00:23:59 -08:00
Norbert Schechner
e481359262 gmoccapy release note added info to the change in 1.5.11
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-12-29 12:53:43 +01:00
Norbert Schechner
58f9f6ccfb gmoccapy_1_5_11 - offsetpage does close after editing one cell
ver. 1.5.11
- Leon82 mentioned, that offset page did close after editing a column and leaving
  the edited cell. This was caused due to a hidden mode change to MDI because
  leaving the cell would apply the change using MDI commands from
  offset page_widget.py. Gmoccapy now checks the state of the "EDIT OFFSETS"
  toggle button and does not react to MDI Mode switch if that button is active.
  at the same time, the mode buttons etc. are disabled!

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-12-29 12:49:16 +01:00
Norbert Schechner
48edb05c6a gmoccapy_2_3_4 - offsetpage was closed after editing one cell
ver 2.3.4
- Leon82 mentioned, that offset page did close after editing a column and leaving
  the edited cell. This was caused due to a hidden mode change to MDI because
  leaving the cell would apply the change using MDI commands from
  offset page_widget.py. Gmoccapy now checks the state of the "EDIT OFFSETS"
  toggle button and does not react to MDI Mode switch if that button is active.
  at the same time, the mode buttons etc. are disabled!

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-12-29 12:21:15 +01:00
Dewey Garrett
91de42352c ini-homing.txt clarify immediate homing reqmt
For immediate homing, any *valid* HOME_SEQUENCE is suitable
but omitting it may have unexpected consequence of exluding
the joint from HOME ALL behavior.
2018-12-27 07:30:53 -07:00
Phillip Carter
887b6ec8bc Merge branch 'master' into reverse-run 2018-12-27 15:19:34 +11:00
Dewey Garrett
f154a3dac0 linuxcnc_info report git commit if RIP 2018-12-26 19:28:18 -07:00
Dewey Garrett
875c3b275b taskintf.cc,usrmotintf.cc del axVscale refs
unimplemented anywhere, only appearing in #if 0 directives
2018-12-26 09:04:38 -07:00
Dewey Garrett
d307d33d7e command.c del #if 0 for unimplemented extAmpEnable() 2018-12-26 09:04:38 -07:00
Dewey Garrett
7812deb88b command.c remove ALT_EOFFSET_BEHAVIOR directive
Remove directive for alternate testing and use
long-standing behavior that:
  "allows teleop jogging to soft limits when
  non-zero external offsets are applied"
2018-12-26 09:04:38 -07:00
Dewey Garrett
68383cd763 command.c remove debugging directive (eoffsets) 2018-12-26 09:04:32 -07:00
Dewey Garrett
de1a8e3906 emctaskmain.cc remove provisional #if 0 (eoffsets) 2018-12-26 09:03:08 -07:00
Dewey Garrett
fec08e533c homing.c minor update/relocate comment 2018-12-26 09:03:08 -07:00
Dewey Garrett
8c92612f9d homing.c remove debugging directive 2018-12-26 09:03:08 -07:00
Dewey Garrett
48726d6eab eoffset_per_angle avoid name clash (debian buster)
------------------------------------------------------------
make on debian buster:
...
$ halcompile --compile hal/components/eoffset_per_angle.c
Compiling realtime eoffset_per_angle.c
...
eoffset_per_angle.c:240:15: error: expected identifier or ‘(’ before numeric constant
 #define fmul (0+*__comp_inst->fmul)
------------------------------------------------------------
$ gcc --version
gcc (Debian 8.2.0-12) 8.2.0
$ lsb_release -crd
Description:	Debian GNU/Linux buster/sid
Release:	testing
Codename:	buster
------------------------------------------------------------
problem occurs for name clashes like fmul, fmull, dmull, etc.
------------------------------------------------------------

Note: the buster package: yapps2 provides /usr/bin/yapps2
      but it does not work with halcompile -- likely due
      to python3 implementation changes

      build of LinuxCNC was tested using a /usr/local/bin/yapps
      copied from 2.7 branch (fc6eb7f20 deletes it)
2018-12-21 07:02:11 -07:00
andypugh
a048d6301a
Merge pull request #544 from antbarney/master
Fix spindle override in halui.cc
2018-12-19 09:56:38 +00:00
Anthony Barney
91ea97af71 Fix spindle override in halui.cc
small fix so that the spindle override will work
as intended
2018-12-18 21:10:31 -08:00
Phillip Carter
256fd0e9a8 Merge branch 'master' into reverse-run 2018-12-18 15:41:30 +11:00
david
75826ff5f7 Mark the string that needs to be translated. Update Chinese translation. 2018-12-14 22:50:26 +08:00
david
cbcfc99a5a Modify the Submakefile that extracts the POT file. 2018-12-14 22:31:46 +08:00
andypugh
00d1e70552
Update kins.9
Note that genserkins uses modified DH parameters
2018-12-14 12:48:41 +00:00
John
66b42c1379 Docs: fix parameter error left over from 6 axes
Signed-off-by: John <john@cave-mint18.3>
2018-12-13 18:03:14 -06:00
andy pugh
2baa130fa8 rolfmill: add execute permissions
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-12-13 21:18:06 +00:00
c-morley
53b3b48c5d
Merge pull request #536 from Solitarily/2.8-ladder
Add international support for classicladder
2018-12-12 16:16:56 -08:00
Phillip Carter
62d4c6e8f6 tp: ensure zero length segment does not do ramp accelleration
fixes issue #524

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2018-12-12 15:19:31 +11:00
Robert W. Ellenberg
acabfa6400 tp: partial revert of target calculation changes (had it right the first time)
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 15:01:42 +11:00
Robert W. Ellenberg
2b60315256 tp: Allow reverse run past segments requiring spindle at-speed condition
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 15:01:06 +11:00
Robert W. Ellenberg
2c47e89377 tp: remove unnecessary check during queue backstep
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 15:00:50 +11:00
Robert W. Ellenberg
764ea68812 tp: fix bug in tcq reverse run changes due to bad initialization
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 15:00:17 +11:00
Robert W. Ellenberg
cbf0f0eb32 tp: cleanup based on cppcheck
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 14:59:55 +11:00
Robert W. Ellenberg
85800413b3 tp: refactor tpGetScaledAccel
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 14:58:57 +11:00
Robert W. Ellenberg
3ac24df3c2 tp: increase size of reverse queue to allow long reversals
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 14:18:33 +11:00
Robert W. Ellenberg
4c68eec2c4 Overhaul adaptive feed handling for reverse run
One difficulty of using negative adaptive feed to trigger reverse run is
that the actual scale factor has to be non-negative. With a few
additional checks, this commit handles the translation from a bilateral
input (-1.0 to 1.0) to the unilateral feed scale and direction switch
(forward or reverse).

What happens now is that a negative adaptive feed causes the TP to try
to reverse direction. If this is successful, or we're already in
reverse, then the scale factor is just the absolute value of the
adaptive feed pin. Otherwise, the scale factor is set to zero, so the TP
decelerates to a stop (allowing a direction change). A similar situation
happens for the reverse to forward transition

EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 14:17:29 +11:00
Robert W. Ellenberg
d8c8b2e445 tp: force current_vel to zero by default
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:57:45 +11:00
Robert W. Ellenberg
9f4389ba6e tp: relax pause requirement for reverse run
Pausing was a lazy way to ensure that the machine absolutely was not
moving when doing a direction switch. However, a properly-written
"is-moving" function can do this same job without needing an explicit
pause from the user. One critical side-effect of this is that we can
give the appearance of smooth transitions between forward and reverse
motion with adaptive feed.

EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:55:21 +11:00
Robert W. Ellenberg
aa09ad7865 motion: rearrange checks on adaptive feed in anticipation of negative feed scale
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:51:07 +11:00
Robert W. Ellenberg
7d0eb67695 tp: add explicit return state for empty reverse queue
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:49:58 +11:00
Robert W. Ellenberg
8500c4726c tp: fix for sam's issue (no movement after reverse, then abort, then play
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:47:14 +11:00
Robert W. Ellenberg
d9303810d6 motion: add hal pin to indicate if motion is running in reverse
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:45:19 +11:00
Robert W. Ellenberg
714d14f59f tp: added additional prohibition for reverse run so it doesn't run past atspeed moves
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:41:11 +11:00
Robert W. Ellenberg
b067e9a090 tp: avoid split cycle calculations during reverse run due to position hiccups
Split cycles and reverse run don't play well together. This ugly fix
simply skips any split cycle calculations, since we don't need them for
reverse run (no tangent check).

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:40:28 +11:00
Robert W. Ellenberg
3b0eb77bc1 axis: whitespace only
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:39:26 +11:00
Robert W. Ellenberg
8755bc5895 axis: fix for bad reverse run command
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:34:45 +11:00
Robert W. Ellenberg
bd9723679e axis: Added not-very-well-thought-out keyboard shortcuts reverse run.
For testing purposes, the quickest way to add reverse run functionality
to axis was through the keyboard shortcuts. Here's how it works:

"Shift + R" (During Pause): enable reverse run
"Shift + F" (During Pause): enable forward run (default)

Both commands only work when a program is loaded and paused somewhere in
the middle of the run. To see reverse run, hit "resume" or use the "S"
key to resume motion.

NOTE: when the reverse-run queue is empty (past about 20 segments), the
motion will slow down and stop, but NOT be paused. To switch to forward
run again, you need to explicitly pause, then enable forward run, then
resume.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:34:21 +11:00
Robert W. Ellenberg
6c8007cdc9 tp: reset cycle time on segment removal
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:34:03 +11:00
Robert W. Ellenberg
1414df8859 tests: space out holes on rigid tap test for easier manual pausing
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:33:42 +11:00
Robert W. Ellenberg
2b0c94523a tests: make square spiral test feed rather than rapid
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:33:18 +11:00
Robert W. Ellenberg
226fcfd91b tp: ensure that reverse run stops at any synced motion segments
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:32:48 +11:00
Robert W. Ellenberg
057464df56 tests: added demo script for reverse run ability
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:32:23 +11:00
Robert W. Ellenberg
cc65dcec63 tp: remove ineffective pause and clean up debug comments
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:31:58 +11:00
Robert W. Ellenberg
31b89998bb tp: automatically pause when we run out of reverse history
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:31:40 +11:00
Robert W. Ellenberg
5eee06b8d5 tcq: cleanups to make queue margin account for reverse history space
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:31:07 +11:00
Robert W. Ellenberg
eae7b72ecf emcmodule: Added enum constants for reverse and forward
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:30:42 +11:00
Robert W. Ellenberg
f02bd8bfdb emcmodule: add forward command to python API
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:30:24 +11:00
Robert W. Ellenberg
375ce9c34f task: Add forward command to complement reverse command
This fix also adds stronger prohibitions against switching motion when
not moving, so that we don't clobber motion by suddenly moving forward
during a reverse move.

EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:27:43 +11:00
Robert W. Ellenberg
a92973e37f tp: ignore backstep queue error since this means the history is simply exhausted
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:21:04 +11:00
Robert W. Ellenberg
84ade65806 tp: added cleanup in segment removal to make sure segments can be re-activated cleanly
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:20:46 +11:00
Robert W. Ellenberg
4f185052ab tp: more reverse run cleanups and missing target / progress references
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:20:26 +11:00
Robert W. Ellenberg
d94a32c9e1 add missing bits for reverse command
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:19:25 +11:00
Robert W. Ellenberg
12ea840bc8 axis: added python command / constants for reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:18:30 +11:00
Robert W. Ellenberg
a6d9c67aa1 task: added command type for reverse run / task plan
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:16:33 +11:00
Robert W. Ellenberg
47825fb12a tp: replace direct access to target with distance to go function
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:15:20 +11:00
Robert W. Ellenberg
3e55e17564 task: add command for reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:10:19 +11:00
Robert W. Ellenberg
07cdf93407 tp: for testing, allow stepping in reverse direction
EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 13:09:18 +11:00
Robert W. Ellenberg
a7966d82cb motion: Added command type for reverse run
When called from task, this will allow the user to set reverse run

EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:42:37 +11:00
Robert W. Ellenberg
b8c8148dba tp: added API call in tp to set run direction
TODO: check for non-zero velocity / other safety conditions to ensure
that a direction change happens ONLY when paused and at rest.

EDIT: fix merge conflicts 12 Dec 2018 <phillc54>

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:36:08 +11:00
Robert W. Ellenberg
3c10360f83 tp: Added queue dir to tcqItem call
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:22:23 +11:00
Robert W. Ellenberg
5e1a81d320 tcq: initial attempt at queue with partial reverse history
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:21:59 +11:00
Robert W. Ellenberg
e59f3216b6 tp: Fixed target bug introduced in reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:21:28 +11:00
Robert W. Ellenberg
396374ea01 tp: Added groundwork for reverse run in TP execution
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2018-12-12 12:17:48 +11:00
andypugh
348f05e3a2
Merge pull request #540 from matkoniecz/readme
add to readme purpose of this software
2018-12-11 16:38:03 +00:00
Dewey Garrett
47f34f07ed sim_lib.tcl delsig unconnected signal
when invoking proc use_hal_manualtoolchange,
the signal tool:change-loop no longer has connections
2018-12-10 19:30:24 -07:00
Dewey Garrett
289fdc5a23 halreport script (new)
Create supplementary hal report if LinuxCNC (or any hal application)
is running to show:

. System description and kernel version.
. Signals and all connected output, io, and input pins.
. Each pin's component_function, thread, and addf-order.
. Userspace component pins having non-ordered functions.
. Identification of unknown functions for unhandled components .
. Signals   with no output.
. Signals   with no inputs.
. Functions with no addf.
. Warnings tags for components marked as deprecated/obsolete in docs.
. Real names for pins that use alias names.
2018-12-10 18:06:19 -07:00
Dewey Garrett
d3b1bcaf6b hal_procs_lib bugfix for get_netlist proc
The command "hal show signal signame" reports _all_ signals
that match the _leading_ characters of the provided signame
leading to output errors for the get_netlist proc when the
signame leading chars match multiple signals.

Note: The only in-tree user of the proc
      (lib/hallib/hookup_moveoff.tcl) does not
      stimulate the error as it invokes get_netlist
      for unique signames only.
2018-12-10 18:06:19 -07:00
Chris Morley
b1f9ad46b0 gscreen -add status/state label widgets for testing
The sample config can show case the new widgets
2018-12-10 16:54:41 -08:00
Chris Morley
3289a7a852 gladevcp -have gladevcp force update the GStat library
This synchs all the GUI widgets to linuxcnc state.
Particularily useful for Status_label and State_label widgets.
2018-12-10 16:52:19 -08:00
Chris Morley
82e4431e0b gladevcp - add label widgets that respond to linuxcnc state/status 2018-12-10 16:26:33 -08:00
Mateusz Konieczny
887af5c845
add to readme purpose of this software
fixes part of #539
text is copied from repository description at GitHub
2018-12-10 16:59:03 +01:00
andypugh
6dcf1738a2
Merge pull request #538 from rredford/rredford-3daxis-tutorial
rolfmill renamed to much more clear name - 3axis-tutorial
2018-12-08 22:26:31 +00:00
Chris Morley
db7f53d20c docs -add missing info about motion.motion-type 2018-12-08 11:44:28 -08:00
rolf
bf07cb5e95 rolfmill renamed to much more clear name - 3axis-tutorial 2018-12-08 04:18:14 -08:00
Norbert Schechner
279b175c27 Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2018-12-08 12:54:18 +01:00
Norbert Schechner
fd53f9a2a3 documentation - gmoccapy - added detailed h.button documentation
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-12-08 12:54:01 +01:00
Norbert Schechner
10b1d448a9 gladeVCP - hal_mdihistory - error if no entry in file
if no mdi history file was present, the search for the actual iter
resulted in an python exception. Corrected that.

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-12-08 11:27:14 +01:00
andy pugh
7a150fcab3 mux-generic: Fix the mux test results to suit the new, more functional,
behaviour of the "FU" config.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-12-05 23:01:17 +00:00
Dewey Garrett
7683122936 motion.9 man page update
Over time, the motion man page has become a little
inconsistent in ordering so this commit:

1) Order pins listed in [MOTION],[AXIS],[JOINT],[SPINDLE]
   sections in the same order as they appear for:
     $ halcmd show pin
2) Joint pins in section 'DEBUGGING PINS' moved to the
   'JOINT PINS' section and marked individually as '(DEBUG)'
   Retain note that they "are subject to change or removal"
3) Orders parameters for [MOTION] in the order they appear
   for:
       $ halcmd show param
4) fix other minor omissions and inconsistencies as found
2018-12-05 06:19:05 -07:00
andy pugh
c32d769717 mux_generic: Fix some long-standing bugs
The mux_generic comp would segfault if the number of inputs was not a
power of 2. Also in FU mode the output was never written.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-12-04 22:54:51 +00:00
david
c1f6438155 Add international support for classicladder 2018-12-02 14:13:42 +08:00
e4495fe04b
Merge pull request #535 from Solitarily/master
Fix multi-language loading error for "tklinuxcnc" UI
2018-11-29 08:06:21 -06:00
Solitarily
3e8ddc9097 Fix multi-language loading error for "tklinuxcnc" UI 2018-11-29 13:39:09 +08:00
c-morley
4986995c1c
Merge pull request #532 from Solitarily/master
Change the string "Home" to "home" to distinguish translations.
2018-11-28 15:36:00 -08:00
Dewey Garrett
3760edec54 sim_lib.tcl: support multiple [EMCMOT]MOTMOD parms
noted problem with multiple parms attempting to test floating point
in a base thread in a sim config adapted from axis_9axis.ini using:

  [EMCMOT]
  BASE_THREAD = 500000
  EMCMOT = motmot base_thread_fp=1 unlock_joints_mask=0x10
  ...

fix tested on lucid/rtai, stretch/uspace
2018-11-27 12:23:28 -07:00
Dewey Garrett
360ace0ab9 latency-histogram fix typos in help message 2018-11-26 19:20:13 -07:00
Dewey Garrett
5c699283cc eoffset_per_angle.comp update docs for 4 funcs
plus typo in an err msg
2018-11-26 19:19:26 -07:00
120ba925dd
Merge pull request #533 from Solitarily/master
Update and correct Chinese language translations.
2018-11-26 19:49:05 -06:00
0ee32cf88f
Merge pull request #534 from chaotix-/toggle_pyvcppanel
Add toggle to display/hide pyVCP panel
2018-11-26 16:25:04 -06:00
Lars Bensmann
53a2e88be6 Make toggle accessible only if there is a pyVCP panel
Add entry to quick reference for keyboard shortcut dynamically.
Delete menu entry if there is no pyVCP panel.
2018-11-26 23:04:13 +01:00
Lars Bensmann
69487215ab Add toggle to display/hide pyVCP panel
Hiding the pyVCP panel can be useful for small screens
2018-11-26 19:58:47 +01:00
Solitarily
426d2c0723 Update and correct Chinese language translations. 2018-11-27 00:11:07 +08:00
Solitarily
a5f3524182 Change the string "Home" to "home" to distinguish between different meanings when translating. 2018-11-26 13:48:09 +08:00
c-morley
82a0341263
Merge pull request #531 from Solitarily/master
Add a symbol to the string so that it can be added to linuxcnc.pot
2018-11-25 14:43:15 -08:00
Dewey Garrett
8f68643f78 hal_procs_lib bugfix for get_netlist proc
The command "hal show signal signame" reports _all_ signals
that match the _leading_ characters of the provided signame
leading to output errors for the get_netlist proc when the
signame leading chars match multiple signals.

Note: The only in-tree user of the proc
      (lib/hallib/hookup_moveoff.tcl) does not
      stimulate the error as it invokes get_netlist
      for unique signames only.
2018-11-25 15:37:28 -07:00
Solitarily
fc23236a63 Add a symbol to the string so that it can be added to linuxcnc.pot 2018-11-25 23:35:30 +08:00
Solitarily
597697351a This is a bug that caused the characters that pncconf needs to translate not to be extracted, now I fixed it. 2018-11-25 06:31:34 -08:00
c-morley
a41abbc0d9
Merge pull request #530 from Solitarily/master
Fix locale string extraction error
2018-11-25 06:29:25 -08:00
Solitarily
08eb603964 This is a bug that caused the characters that pncconf needs to translate not to be extracted, now I fixed it. 2018-11-25 19:35:11 +08:00
jethornton
edb55c6580 Config: fix typo
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-22 06:49:49 -06:00
jethornton
d7d3cf70a0 Configs: fix typo
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-22 06:47:51 -06:00
jethornton
426d24036c Configs: add sample 3 axis mill vismach configuration
this configuration is built on primitives and is
commented very well thanks to Rolf

Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-22 06:27:11 -06:00
jethornton
0dca748c12 Configs: add sample 3 axis mill vismach configuration
this configuration is built on primitives and is
commented very well thanks to Rolf

Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-21 08:22:09 -06:00
andypugh
07f411625a
Update comp311.ngc
There was a very old URL for the radius comp docs.
2018-11-19 15:49:50 +00:00
Chris Morley
577b88c2bf pncconf -fix scale/limits setting with different locales
the comma would be ignored making values multiplied by 1000
2018-11-17 18:45:21 -08:00
Chris Morley
dc1574085a pncconf -remove signal to PID.command-deriv
I was advised by Peter of Mesa that using PID's own cmd-devir
is better then using an external one.
Even worse is if a signal is connected but no pin is, then
FF1 doesn't work at all, because the PID uses black magic to know
if the pin is connected to a signal to choose behaivor.
So now we don't ever put a signal to it.
2018-11-17 11:22:21 -08:00
Norbert Schechner
55aadc3fca gmoccapy_2_3_3_4 - fixed an error caused due to wrong merge of 2.7 to master
ver 2.3.3.4
- a merge of 2.7 to master resulted in a call of a widget, that does not longer
  exist in master (adj_max_velocity) causing an exception on halui pin changes.
  Thanks to COlger81 and Chris Morley for reporting the bug

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-17 13:53:30 +01:00
Dewey Garrett
08f427f5f5 Merge remote-tracking branch 'origin/2.7' 2018-11-15 19:39:58 -07:00
Dewey Garrett
d7de790ba9 emccalib.tcl bugfix for parsing HALFILE=file items
Reported: https://forum.linuxcnc.org/21-axis/35522-servo-tuning-wont-open?start=10#120798

Accept forms like:
   HALFILE=fname
   HALFILE =fname
   HALFILE= fname
   HALFILE = fname

The parsing handles these on master branch, so replicate
its handling of the '=' separator.
2018-11-15 19:35:28 -07:00
Norbert Schechner
6672960b53 gladevcp - hal_mdihistory - added clear selection when button down
To react equal to a terminal window, added a selection none and
clear entry when last element is selected an button down is pressed.

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-15 17:11:14 +01:00
Dewey Garrett
d191eb5dff linuxcnc.in double quote update_ini arg 2018-11-15 08:50:49 -07:00
jethornton
5920a4639e Docs: fix spello
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-15 05:51:48 -06:00
Dewey Garrett
7626740fe9 show_errors.tcl provide button to "Create Report"
Replaces "Select All" button which requires user to
be familiar with copy/paste provisions of the window
manager in order to submit the information.

The created report (/tmp/linuxcnc.report) includes
all of the text widget window text and _additional_
info about the machine, operating system, etc. as
generated by the linuxcnc_info script.

NOTE: The linuxcnc script calls show_errors.tcl only
when there is no tty (terminal) or no [DISPLAY]DISPLAY
setting.  This often means the user is starting linuxcnc
by a graphical interface like a desktop shortcut and
consequently there is no reporting of errors in a terminal.
2018-11-13 11:31:04 -07:00
Dewey Garrett
a5790926c9 linuxcnc_info support getopts options
-h help ---- show usage
-s silent -- dont open a viewer automatically
             (anticipates updates to tcl/show_errors.tcl)
2018-11-13 10:56:38 -07:00
Dewey Garrett
3291d57252 multispindle: linuxcnctop update 2018-11-13 09:40:26 -07:00
Dewey Garrett
715d224b4f sim_spindle_encoder: remove debug spindle print 2018-11-13 09:37:14 -07:00
Rene Hopf
196939cef1
fix indentation of change_prolog in docs 2018-11-13 13:09:51 +01:00
Rene Hopf
e0d47d436b
Update overview.txt 2018-11-13 01:46:56 +01:00
Rene Hopf
61a05273c2
fix #<_coord_system> documentation 2018-11-13 01:45:25 +01:00
Rene Hopf
cb3d4b414f Merge remote-tracking branch 'origin/2.7' 2018-11-12 09:45:11 +01:00
Rene Hopf
068d2cbe9d
update TRAJ LINEAR_UNITS to mm or inch only.
Only inch or mm actually do something, the other ones reverted to mm. fixes #485
2018-11-12 09:44:19 +01:00
Norbert Schechner
7a648ac169 gladevcp - added documentation to the new features
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-11 19:52:30 +01:00
Norbert Schechner
7ed9274d17 gladevcp - hal_mdi_history - added properties
font_size_tree: will modify the font size of the tree view
font_size_entry: will modify the font size of the entry
use_double_click: enables the possibility to submit commands
                  using the mouse double click event, this is
                  disabled by default, as it may result dangerous

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-11 19:41:11 +01:00
Norbert Schechner
5e1c7acb14 gladevcp - hal_mdi_history - make it react same as a terminal window
on start nothing will be selected
every submit clears the selection
Escape key will also clear the selection

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-11 18:40:19 +01:00
Norbert Schechner
b90f4703a7 gladevcp - hal_mdi_history - make it react to key events
Now a key up or down will get the marked value to the entry,
it can than be modified directly without using the mouse to get
the focus back to the entry.

hal_mdi_history will now react equal to axis mdi history.

Additionally I added a feature, that the last three items will not
be added again if that entry's has not been changed.

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-11-11 17:17:08 +01:00
Rene Hopf
f36ddbe0e0 Add spindle.N.amp-fault-in pins to motion, to report spindle amplifer faults
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-11-10 01:47:22 +01:00
andy pugh
449f15a132 update_ini: The automatic config updating script did not properly handle
configs where the INI file uses the #include instruction. (it would update
and save the ininame.ini.expanded file rather than the base file.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-11-07 21:38:28 +00:00
Moses McKnight
349512cd5b Merge branch 'dgarr/external_offsets' 2018-11-07 09:47:56 -06:00
Rene Hopf
5a63d03110 Revert "Merge branch 'feature/reverse-run-master2'"
This reverts commit 6286260621, reversing
changes made to e37dca40ef.
2018-11-07 06:19:45 +01:00
Rene Hopf
a734c9fdc3 Revert "fix compiler warnings in tp.c"
This reverts commit ad81328d8d.
2018-11-07 06:19:36 +01:00
Rene Hopf
ad81328d8d fix compiler warnings in tp.c
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-11-07 05:55:28 +01:00
Rene Hopf
6286260621 Merge branch 'feature/reverse-run-master2' 2018-11-07 04:56:47 +01:00
Rene Hopf
e37dca40ef Merge branch '2.7' 2018-11-06 08:06:33 +01:00
Rene Hopf
b0b781e169 moved saveToolTable form iocontrol to tool_parse.cc
removed legacy tooltable file syntax, added pocketno to tooltable struct so non-random changers can report the correct pocket number in the future, to fix #500

Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-11-05 23:46:13 +01:00
Dewey Garrett
990653f9f9 axis.py release_select_line on Double-Button-1
Applies to current git master (2.8~pre at commit 7aa9e9800)

Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-11-05 20:12:37 +01:00
c9e87c355f
Merge pull request #516 from LinuxCNC/jepler/hm2-public-apis
Create public header for hostmot2 public APIs
2018-11-04 10:46:46 -06:00
f357b8ec6a
Merge pull request #518 from jepler/halcompile-overflow-check
halcompile: Add checks to generated code for array overflows
2018-11-04 10:44:22 -06:00
c876f2ae91
Merge pull request #519 from jepler/demux-bugfixes
Demux bugfixes
2018-11-04 10:43:45 -06:00
Chris Morley
dead6ee71c pncconf -fix PID maxerror based on machine units
As per conversation with Peter of Mesa
2018-11-03 20:04:15 -07:00
Chris Morley
715a485e32 docs -add info for the python halmodule
Recent work get_value()
also show some other available functions.
2018-11-03 14:31:33 -07:00
Chris Morley
9ecbb532b3 halmodule -teach to get any pin, param or signal values
not just what is connected to the component
2018-11-03 12:43:24 -07:00
Rene Hopf
ed75267689
Merge pull request #512 from rene-dev/rellenberg/bug447-fix-blend-tangent-fallback
Rellenberg/bug447 fix blend tangent fallback
2018-11-03 03:08:59 +01:00
jethornton
91fa2d9398 Docs: fix markup error
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-11-02 06:29:59 -05:00
andy pugh
a2b06c4dcd Multispindle: Remove some debugging printf that were left in by accident.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-11-01 23:32:01 +00:00
jethornton
062d7d29c3 Docs: fix markup error
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-10-31 17:49:32 -05:00
jethornton
a859f005c7 Docs: remove comment about g5x constants and add location of constants
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-10-31 15:11:32 -05:00
Jeff Epler
f203b2a9e0 pncconf: don't refer to kernel_version when not is_kernelspace
close #159

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2018-10-30 12:19:28 -06:00
Norbert Schechner
8aad4ba60b gmoccapy_1_5_10 - changing units G20 G21 leaded to misbehavior
of Turtle button and max_vel slider

ver. 1.5.10
- fixed a misbehavior of the turtle button
  If machine and system units was not identical, the turtle button destroyed
  the values set on the jog vel slider
  thanks to sliptonic from linuxcnc forum
- while moving the max vel slider and units of machine and system not being
  identical, results in a jumping slider, as the factor has not been taken in
  account on the halui pin checking

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-10-29 19:57:27 +01:00
Rene Hopf
08fddbc08c Merge remote-tracking branch 'rob/rellenberg/bug447-fix-blend-tangent-fallback' into rellenberg/bug447-fix-blend-tangent-fallback 2018-10-29 01:37:07 +01:00
6b8238a682 demux: placate my OCD (reindent a line) 2018-10-27 11:19:30 -05:00
1bd846d25e demux: Fix order-of-operations bug
"warning: suggest parentheses around ‘+’ inside ‘<<’ [-Wparentheses]"

The impact of this was that the desired bit number would be computed
incorrectly.
2018-10-27 11:19:30 -05:00
3ee96a752a demux: the default personality should be nonzero 2018-10-27 11:19:30 -05:00
a3a3b213a4 demux: The out array max size should have been 32 2018-10-27 11:19:29 -05:00
f294a205b9 halcompile: Add checks to generated code for array overflows
This checks at 'loadrt' time that the dynamic array size fits within
the static maximum size.  This would detect problems like demux's
buggy "pin out bit out-## [1:personality]" which would allocate space
for at most 1 pin.  Now, this generates an error like

    halcmd: loadrt demux count=1 personality=32
    Note: Using POSIX non-realtime
    Pin out-##: Requested size 32 exceeds max size 1
    demux: rtapi_app_main: No space left on device (-28)

(This doesn't add any runtime checking of the accesses like out(i) = true)
2018-10-27 11:06:27 -05:00
c0f787db78 (failing) test for userspace components with headers
This is a test for #515.
2018-10-27 08:07:22 -05:00
Jeff Epler
326efa3f8c test that quote-includes get headers next to a comp with halcompile 2018-10-26 13:12:58 -05:00
Jeff Epler
7b94d80ee8 tests: check that a user of hostmot2 public APIs compiles by halcompile 2018-10-26 13:10:27 -05:00
Chris Morley
e528e98edb docs -add a man page for the mitsubushi VFD driver 2018-10-26 00:55:03 -07:00
Jeff Epler
05e762de30 docs: note correct headers for hm2 public APIs 2018-10-25 21:36:14 -05:00
Jeff Epler
bf089ecfc2 mesa_uart.comp: Use public hostmot2-serial header file 2018-10-25 21:36:13 -05:00
Jeff Epler
ade2d5c5a0 mesa_7i65.comp: Use public hostmot2-serial header file 2018-10-25 21:36:13 -05:00
Jeff Epler
e606b1ca72 hostmot2-serial: new public header file 2018-10-25 21:36:13 -05:00
Jeff Epler
4ce1245e10 Makefile: Put the public includes directory in <>path for modules 2018-10-25 21:36:13 -05:00
Jeff Epler
af55a39c65 mesa_7i65: Don't use HM2_ERR_NO_LL, it's not public API 2018-10-25 21:36:13 -05:00
Robert W. Ellenberg
2d4df632e5 Fix missing check for exact-stop when falling back to alternative blend methods.
This also includes some refactoring of the blend creation code to
make it easier to follow, and use more meaningful enums.
2018-10-23 12:35:19 -04:00
andy pugh
58624aab38 Multispindle: Fix the F9 / F10 spindle control shortcut in Axis.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-21 13:37:49 +01:00
Dewey Garrett
784db03355 External Offsets: Axis coordinate offset hal pins
rebased to master at:
0cab36566 Thu Oct 18 22:56:02 2018 +0100

Note: eoffset_pid additions moved to a separate branch dgarr/eoffset_pid

Docs: docs/src/motion/external-offsets.txt

Hal pins (input interface is similar to wheel jogging pins):
  axis.L.eoffset-enable   Input  (bit):   enable
  axis.L.eoffset-scale    Input  (float): scale factor
  axis.L.eoffset-counts   Input  (s32):   request is accumulated counts*scale
  axis.L.eoffset-clear    Input  (bit):   clear request
  axis.L.eoffset          Output (float): current external offset
  axis.L.eoffset-request  Output (float): requested external offset (debug pin)

  motion.eoffset-active   Output (bit):   non-zero external offsets applied
  motion.eoffset-limited  Output (bit):   limited by soft limit

Hal components:
    eoffset_per_angle.comp

Sim configs (configs/sim/axis/external_offsets/)
    eoffset_demo.ini     (XYZ ext offsets)
    jwp_z.ini            (jog-while-pause Z)
    dynamic_offsets.ini  (dynamic Z)
    opa.ini              (X ext offset per C angle)

Notes:
1) see docs/src/motion/external_offsets.txt for usage restrictions
   man updated: motion.9
   new manpage: offset_per_angle.9 (auto by halcompile)
2) In canon.hh, option:
     #undef  STOP_ON_SYNCH_IF_EXTERNAL_OFFSETS
     #define STOP_ON_SYNCH_IF_EXTERNAL_OFFSETS
   forces a stop on any synch() if non-zero external
   offsets.

3) In command.c, using ALT_EOFFSET_BEHAVIOR for cont/incr jogs

Squash notes:

a) eliminate synch() restrictions
   Prior synch() restrictions are eliminated by changing the
   way that external offsets are removed from the current position
   information used by the interpreter.

   Stopping on synch() with external offset applied may
   be enabled at compile-time using an option defined
   in nml_intf/canon.cc:
      #define STOP_ON_SYNCH_IF_EXTERNAL_OFFSETS
   This option will be removed in the future.
b) eoffset_per_angle.comp: support multiple instances
2018-10-19 11:50:53 -07:00
andy pugh
0cab36566e Hostmot2: Fix #513 - Cause an error message to show on watchdog timeout.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-18 22:56:02 +01:00
andy pugh
2e8f4d3c82 Multispindle: Further docs updates
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-18 19:13:24 +01:00
Rene Hopf
78e5f23281
fix compile error about c99 mode 2018-10-18 19:12:54 +02:00
andy pugh
13434870f0 Multispindle: Docs Update
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-17 23:54:09 +01:00
andy pugh
826232c9fe Multispindle: CLean up some commands that needed a spindle choice but lacked one
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-17 23:54:09 +01:00
andy pugh
9b5e9dc3a0 Multispindle: add EMCMOT_NUM_SPINDLES to canon.hh
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-17 23:54:09 +01:00
Rene Hopf
fc67e5ffd2
Merge pull request #510 from KurtJacobson/pyinterface-docs
docs: remove non existent / add missing `stat.exec_state` enums
2018-10-18 00:48:41 +02:00
Kurt Jacobson
0569671445 docs: remove non existent and add missing stat.exec_state enums
EXEC_WAITING_FOR_PAUSE appears to not exist anymore, and EXEC_WAITING_FOR_IO and EXEC_WAITING_FOR_SPINDLE_ORIENTED were missing.
2018-10-17 18:36:44 -04:00
Rene Hopf
98f61011a6
Merge pull request #501 from KurtJacobson/py_interface_docs
docs: fix formatting of spindle dict section heading
2018-10-17 19:47:13 +02:00
andy pugh
d42d9b0970 Multispindle: Remove debug message left in in error.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-16 01:41:52 +01:00
andy pugh
7fb914d198 Multispindle: Make S commands modal again.
It appears that moving the emccanon globals into the EMC_STAT struct doesn't work.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-16 01:30:41 +01:00
andy pugh
5b477ad7ed Multispindle: Make interp_check do the right things now that we use $ not E / D
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-16 01:30:41 +01:00
jethornton
3174e77c43 Docs: add missing info for compensation file and expand on description.
Do not merge with 2.7 the information is in different locations.

Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-10-15 18:21:51 -05:00
jethornton
85b3fd171f Docs: add missing info for compensation file and expand on description.
Note: do not merge this into master the location of compensation and
backlash is in a different place in the docs. I will update master
separately.

Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-10-15 17:36:30 -05:00
andypugh
d6b7997774
Merge pull request #508 from KurtJacobson/multispindle_brake
fix #505: add optional spindle num argument to py interface `command.brake` method
2018-10-15 21:50:36 +01:00
andypugh
aca39d5b71
Merge pull request #507 from KurtJacobson/py_interface_docs2
docs: add missing status items to python interface docs
2018-10-15 21:49:50 +01:00
Kurt Jacobson
9933ccd3e0 fix #505: add optional spindle num argument to cmd.brake
This makes it possible to engage/disengage the spindle brake for spindles other than the default one (spindle 0) by adding an optional spindle number argument.
2018-10-15 13:53:45 -04:00
Kurt Jacobson
aa91a5a269 docs: add missing status items to python interface docs
Added missing `stat.axes` and `stat.spindles` entries, and fixed return type on the `stat.joints` entry.
2018-10-15 13:46:17 -04:00
andy pugh
bedc7e501b Multispindle: Make interp_check do the right things now that we use $ not E / D
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-14 22:36:10 +01:00
andy pugh
5e98296f47 Multispindle: Fix some wierd behaviour with spindle-override
The spindle-override message didn't include a spindle designator. It is odd
that anything worked at all.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-11 22:58:52 +01:00
Rene Hopf
62fc8de42f
Merge pull request #502 from KurtJacobson/multispindle_bugfix
BugFix: spindle dict item `override_enabled` should use underscore instead of dash
2018-10-11 01:15:35 +02:00
andy pugh
4584361755 Multispindle: Guard against attempting to control more spindles than exist
Mainly a problem when working through the Python interface.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-09 21:12:57 +01:00
andy pugh
eb8d43fad3 Multispindle: Fix a bug with spindle-at-speed
I misunderstood the use of MOTION_INVALID_ID and had the nesting wrong


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-10-08 22:31:00 +01:00
Rene Hopf
794e9f5d00
fix path of lib/hallib/axis_manualtoolchange.hal 2018-10-07 23:35:24 +02:00
Rene Hopf
aef9bab3e6 add halui pins to update ini script
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-07 21:24:17 +02:00
Rene Hopf
3b733e8b96 comment how the timeout calculation works in hm2_eth, as described in the docs
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-07 16:38:00 +02:00
Rene Hopf
ac5d1d5f65 increase hm2_eth timeout in early hm2_eth_probe. fixes very rare failed hm2_registration on some systems.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-07 16:36:58 +02:00
Chris Morley
6c5404a9c7 pncconf -fix some missed name-changes required for multispindle 2018-10-06 15:15:34 -07:00
Kurt Jacobson
359bb800d1 docs: c.set_spindle_override takes spindle as optional arg 2018-10-06 17:19:42 -04:00
Kurt Jacobson
bb7c8db323 tests: update tests for spindle override_enabled format change 2018-10-06 13:08:08 -04:00
Kurt Jacobson
596501494b formatting: remove trailing white-space 2018-10-06 11:50:37 -04:00
Kurt Jacobson
0787fffb4b bugfix: spindle dict override_enabled key should use underscore
This makes the `override_enabled` key consistent with the use of underscores elsewhere and with the docs.
2018-10-06 11:50:27 -04:00
Kurt Jacobson
0d20425462 docs: fix formatting of spindle dict section heading 2018-10-05 19:20:36 -04:00
Dewey Garrett
db55cea248 Multispindle: update some broken sim configs
(lightly tested to ensure startup)
2018-10-04 16:16:44 -07:00
Rene Hopf
63dbfda8ed fix lathe ccomp test
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-04 19:21:00 +02:00
Rene Hopf
5bf46ad55f convert tooltables in tests to new tooltable format
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-04 18:34:48 +02:00
Rene Hopf
c97899d21f rename mult to scale
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-04 17:47:08 +02:00
Rene Hopf
2185cd2ec1 clarify taping sequence when using retract multiplier
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-10-04 17:43:05 +02:00
Rene Hopf
4ca4da7028 Merge branch 'master' of github.com:rene-dev/linuxcnc
Signed-off-by: Rene Hopf <renehopf@mac.com>

# Conflicts:
#	src/emc/rs274ngc/interp_check.cc
#	src/emc/rs274ngc/interp_convert.cc
#	src/emc/tp/tp.c
2018-10-04 17:06:48 +02:00
Dewey Garrett
cb934ee67b xhc-hb04.tcl: provide defaults if missing ini item
If ini seting [XHC_HB04_CONFIG]mpg_accels item was omitted,
error reported was misleading, example:

"Missing ini setting: [AXIS_X]MAX_ACCELERATION"

So, provide defaults so mpg_accels is not required.
2018-10-03 07:37:40 -07:00
Dewey Garrett
5e69430324 Multispindle: update xhc-hb04.tcl and sim configs 2018-10-03 07:20:14 -07:00
jethornton
bf20f23dd0 Docs: correct m0/1 restart command
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-10-03 06:11:28 -05:00
andy pugh
04d8d1d30a Multispindle: Revert base sim configs to single spindle.
Update lathe_multispindle README to use $ for spindle choice.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-30 10:36:32 +01:00
andy pugh
1fc06379db Multispindle: Elide some extraneous debugging printf
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 22:00:13 +01:00
andy pugh
b948dba1af Multispindle: Change generated pin names in PnCConf and StepConf
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:52:29 +01:00
andy pugh
ebb709fc27 Multispindle: Correct the spindle pin names in docs and .comps
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:52:16 +01:00
andy pugh
ac154e06de Multispindle: Update sample configs
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:51:59 +01:00
andy pugh
aa4d20b929 Multispindle: Modify runtests to work with multispindle
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:51:23 +01:00
andy pugh
5f3c097e53 multispindle: Update the update_ini script to change the spindle control pins.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:51:20 +01:00
andy pugh
6431a525b1 multispindle: Modify user-interfaces to use the new Python interface
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:51:05 +01:00
andy pugh
7d5ccc7b68 multispindle: Make required changes to the Python interface and docs.
Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:51:00 +01:00
andy pugh
3f7fdc047e Multispindle: Switch to using the $ character for spindle selection.
Previously this patch used E to select a spindle except for G76, where the
control character was D, as E was in use. The decision was made to use $ to
avoid clashes with current or future G-codes and to make remapping simpler.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-29 13:50:35 +01:00
andypugh
e3caa92e16 Add support for multiple spindles
This commit adds support for up to 8 spindles
    G-code commands that interact with a spindle now take an extra parameter
    E to determine which spindle to work with.
    The exception is G76 which already used E.
    The spindle control pins are changed
    from motion.spindle.thing to spindle.N.thing to match the axis and joint
    naming conventions (which don't mention that they belong to motion)

    A demo config can be found in sim/axis/lathe_multispindle

Signed-off-by: andypugh <andy@bodgesoc.org>
2018-09-29 13:49:54 +01:00
andy pugh
1823903c38 demux: A new HAL component
Set one pin of many based on integer or binary inputs.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-09-28 23:27:59 +01:00
Sebastian Kuzminsky
6e1a6c7c87 Merge remote-tracking branch 'origin/2.7'
* origin/2.7:
  Update overview.txt
  Update stepconf.txt
  Update hostmot2.9

Conflicts:
	docs/src/gcode/overview.txt
2018-09-28 11:01:44 -06:00
Rene Hopf
8eb3d62468
fix typo in overview.txt 2018-09-28 11:23:11 +02:00
andypugh
af43e5604a
Update overview.txt
Elegantify the wording
2018-09-28 09:33:53 +01:00
andypugh
0dd6134663
Update stepconf.txt
Fix typo
2018-09-27 14:56:15 +01:00
andypugh
bf8b2bd50c
Update hostmot2.9
DPLL parameter names were incorrect
2018-09-27 13:53:59 +01:00
Sebastian Kuzminsky
0530fc19eb
Merge pull request #499 from NTULINUX/master
Remove rtai_shm again
2018-09-24 15:11:11 -06:00
Alec Ari
dd71882082 Remove rtai_shm again
If you're using RTAI, compile rtai_shm into
rtai_sched by enabling it as a built-in,
not as a module.

Signed-off-by: Alec Ari <neotheuser@ymail.com>
2018-09-24 15:59:58 -05:00
andypugh
6e08aed83e
Merge pull request #497 from NTULINUX/master
Fix RTAI 4 support and add rtai_shm
2018-09-24 14:21:45 +01:00
Alec Ari
184014a650 Fix RTAI 4 support and add rtai_shm
I have no idea how LinuxCNC worked before
without keeping track of rtai_shm.ko as
this is required by rtapi.

rt_shm_free and rt_shm_alloc are required symbols
but these were previously missing.

Signed-off-by: Alec Ari <neotheuser@ymail.com>
2018-09-22 19:55:40 -05:00
Rene Hopf
f3084f2fb9 fix preview from nativecam on backtool lathes
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-09-23 01:53:57 +02:00
Chris Morley
74f884bc09 Merge branch '2.7' 2018-09-22 16:02:03 -07:00
Chris Morley
5674832922 stepconf -fix fake parport invert pin error
There is no simulated (fake) invert pins - so don't reference them.
2018-09-22 15:46:47 -07:00
jethornton
382e52ba88 Docs: update what set_feed_hold does
Signed-off-by: jethornton <jthornton@gnipsel.com>
2018-09-18 13:15:42 -05:00
c-morley
02ba5a1fc3
Merge pull request #496 from KurtJacobson/pyinterface-docs
Py Interface docs: Add cmd.spindle usage info
2018-09-15 19:20:34 -07:00
Kurt Jacobson
5efe6b0fc9 DOC: remove extra whitespace 2018-09-15 21:13:16 -04:00
Kurt Jacobson
bedeb90c48 DOC: clarify usage of cmd.spindle 2018-09-15 21:12:30 -04:00
Kurt Jacobson
259bb8ace2 DOC: use velocity instead of speed in cmd.jog example for consistency 2018-09-15 19:42:39 -04:00
John Thornton
686b3001d9 Docs: add a link to the features information
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-09-13 12:37:00 -05:00
John Thornton
ab444262c3 Docs: remove block delimiters that caused the pdf to have a strange layout
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-09-12 07:09:50 -05:00
Rene Hopf
88ba2eb251 make interpreter code more readable by using Modal group defines
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-09-06 15:15:37 +02:00
John Thornton
d3d942f1f3 Docs: fix typo
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-09-05 06:00:41 -05:00
9eb50d8d03
Merge pull request #494 from jin-eld/clearer-errpr-message
Provide a clearer error message when exceeding hal pin name length
2018-09-02 09:05:06 -05:00
Jin
a418f8671e Provide a clearer error message when exceeding hal pin name length
The maximum length of a pin name is calculated after an internal
construction of the string, which is not obvious to the user. The error
message will now print the constructed string, so that it becomes clear
why a "component_name.pin_name" combination, that is still shorter than the
maximum allowed size, fails.

Signed-off-by: Sergey 'Jin' Bostandzhyan <jin@mediatomb.cc>
2018-09-02 15:53:09 +03:00
c-morley
24ef2feaec
Merge pull request #151 from zultron/m98m99-lcnc
M98/M99 subprograms
2018-09-01 19:26:48 -07:00
John Thornton
a6944dd9cf Docs: add more information about container settings
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-08-30 18:18:50 -05:00
John Thornton
d11fa6f9df Docs: fix some typos
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-08-30 17:32:55 -05:00
Sebastian Kuzminsky
ad6c9b5c7a
Merge pull request #483 from KurtJacobson/pyinterface-docs
docs: clarify value of stat. units attributes
2018-08-29 09:35:59 -06:00
Sebastian Kuzminsky
73bbf948a4
Merge pull request #493 from Nazgand/master
Some typo fixes
2018-08-28 10:02:44 -06:00
Sebastian Kuzminsky
377d42ef1e rename & relocate spindle_monitor
Realtime components live in src/hal/components, not in the root.

The filename of a comp has to match the declared name of the component.
2018-08-27 22:58:46 -06:00
Sebastian Kuzminsky
41d1f24d89
Merge pull request #492 from blazini36/patch-1
Create Spindle_monitor.comp
2018-08-27 11:31:15 -06:00
blazini36
46e48d029a
Create Spindle_monitor.comp
Component to trigger an output based on the commanded vs actual speed of spindle. Useful for triggering E-stop if spindle speed drops below set threshold (cutter jam) to avoid damage. 

Required lowpass component to filter spindle-feedback input pin during testing.

Originally written by Andypugh, modified and tested by myself.
2018-08-27 12:55:37 -04:00
Sebastian Kuzminsky
35a9819bcb thermistor comp: be more robust against bogus input 2018-08-25 13:55:18 -06:00
John Thornton
8861f70974 Docs: add missing rs274ngc ini items
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-08-24 06:35:01 -05:00
Mark Andrew Gerads
9682ed4e62 Memorable typo
modified:   docs/src/common/glossary.txt
2018-08-23 18:04:26 +00:00
Mark Andrew Gerads
bf39fbc2a7 Too many typos in the manuals: decided to volunteer as an editor at page 33.
modified:   docs/src/config/stepconf.txt
	modified:   src/hal/classicladder/spy_vars_gtk.c
2018-08-23 17:51:30 +00:00
Dewey Garrett
84a7b049ae show_errors.tcl: messages for dmesg priv fail #486
On some systems (debian stretch), kernel hardening
by default prevents ordinary user execution of dmesg

    Example:
      $ lsb_release -d
      Description: Debian GNU/Linux 9.3 (stretch)
      $ dmesg
      dmesg: read kernel buffer failed: Operation not permitted

Using 'sudo dmesg' within the show_errors.tcl script will require
additional work to support asking for a sudo password (when it
is not cached because of a recent sudo invocation) -- man sudo.

This commit:
  1) allows execution after a dmesg privilege fail in order
     to continue and allow display of other information
  2) gives instruction on running dmesg in a terminal

Ref:
 1)  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842226
 2)  https://unix.stackexchange.com/questions/390184/dmesg-read-kernel-buffer-failed-permission-denied

Workarounds to allow ordinary user use of dmesg (from ref):
  $ sudo sysctl kernel.dmesg_restrict=0
  kernel.dmesg_restrict = 0

  # And to make it persists across reboots, save it as conf file:
  $ cat /etc/sysctl.d/10-local.conf
  kernel.dmesg_restrict = 0
2018-08-22 05:10:36 -07:00
Dewey Garrett
ec4b6c674d show_errors.tcl: insert_file: info for open fail 2018-08-22 05:10:22 -07:00
Sebastian Kuzminsky
0a3468b49e
Merge pull request #489 from chaotix-/mb2hal-flushonerror
mb2hal: call modbus_flush() on transaction error
2018-08-21 08:05:14 -06:00
Lars Bensmann
7716b9f666 mb2hal: call modbus_flush() on transaction error
When a communication error happens and a transaction is just partially
read the modbus link can get out of sync. The next transaction gets the
unconsumed data from the transaction before and so on and the link does
not recover form this. modbus_flush() prevents this behaviour.
2018-08-21 14:57:27 +02:00
2f04ec39b5
Merge pull request #487 from chaotix-/mb2hal-writesingleregister
mb2hal: add fnct_06_write_single_register
2018-08-20 14:23:29 -05:00
Lars Bensmann
ad45af8c3f mb2hal: add fnct_06_write_single_register
Add fnct_06_write_single_register function as not all devices (e.g.
Parker AC10 VFD) support fnct_16_write_multiple_registers.
2018-08-19 21:29:07 +02:00
John Thornton
643cca41fa Docs: add usage information to component generator chapter
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-08-19 06:49:38 -05:00
Sebastian Kuzminsky
f62cb0fd15 Merge remote-tracking branch 'origin/2.7'
* origin/2.7:
  Fix typo
  docs: fix command for launching pyvcp example
  tests: add an Interp test of G33.1
2018-08-18 09:36:35 -06:00
Will Glynn
a68deedea0 Fix typo 2018-08-18 09:35:44 -06:00
Kurt Jacobson
b02fe1a4c5 docs: be consistent with not putting a space between [section]option 2018-08-16 23:50:29 -04:00
Kurt Jacobson
aa6f800f95 docs: clarify value of stat. units attributes 2018-08-16 23:40:30 -04:00
Sebastian Kuzminsky
7aa9e9800d
Merge pull request #482 from KurtJacobson/pyinterface-docs
docs: add missing `rapidrate` method to linuxcnc.command docs, and convert tabs to spaces
2018-08-14 20:10:08 -06:00
Kurt Jacobson
22aaaa9838 docs: don't mix tabs and spaces, use spaces because ...
they make more money than tabs. No intentional formatting or text changes.
2018-08-14 17:23:30 -04:00
Kurt Jacobson
030473721d docs: add missing rapidrate method to linuxcnc.command docs 2018-08-14 17:14:01 -04:00
Sebastian Kuzminsky
da6d85b519
Merge pull request #480 from KurtJacobson/fix-pyvcp-docs-example
Thanks!
2018-08-10 17:16:21 -06:00
Kurt Jacobson
7d54bf3e51 docs: fix command for launching pyvcp example
Jin^eLD reported on IRC that the command to launch the tiny.xml  PyVCP example did not work. If using halcmd instead of `halrun -I` it does work. `halrun` with the -I flag should be the same as `halcmd` (if I understand it correctly) but it does not seem to work. This may be a bug in `halrun` ...
2018-08-10 18:54:23 -04:00
Sebastian Kuzminsky
a97c99cb0e pyvcp: let the user specify number format in Bar widget
Before this commit, the number shown in the Bar widget was always printed
with one number after the decimal place ("%3.1f").

This commit makes the number format configurable by the user, using
this syntax:

    <bar>
        <format>"5.3f"</format>
    </bar>

The value of the format element defaults to the old built-in value of
"3.1f" if omitted.

This new Bar element duplicates the existing syntax for other PyVCP
widgets that have configurable numeric format.
2018-08-07 21:36:59 -06:00
Robert W. Ellenberg
1fcb261024 tp: Fix fallback to parablic blending when tangent blend fails.
Fixes #447, which was caused by the TP not correctly falling back to
parabolic blending in certain cases. There is now logic to choose either
arc blending, treating segments as tangent, or parabolic blending,
depending on which is estimated to be fastest. This way, we should avoid
corner cases, since the performance check is always done when a new
motion is queued.
2018-08-05 15:42:48 -04:00
andy pugh
42d0b443d8 sserial.c: Sometimes the smart-serial MPG counters appear to go mad, seen
on 7i73 and 7i84. Analysing the data stream indicates that the driver sometimes
wrongly gray-decodes the binary encoder data. The only plausible cause of
this is a flag being used unitialised that sets the graycode mode.
Smart serial itself does not support graycode, the flag only exists for other
modules that re-use the smart-serial pin-creation and handling code.
This patch initialises the flag properly. Checking whether this is a true fix
will take time, this is a very intermittent problem.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-08-03 00:03:36 +01:00
ascurtis
8e412fb4ce Rewrite of Stepper Information doc
Removed first person writing perspective.
Removed dead links.
New calcs for determining power supply voltage/current.
Added new section on closed loop steppers.
New images added.
Delete inductance-vs-time.png
Delete voltage-vs-time.png
2018-08-02 00:22:00 -07:00
andypugh
c3d83e6bbf
carousel.comp: fix documentation typos
Fix some formatting errors in the documentation
2018-08-01 14:53:16 +01:00
Sebastian Kuzminsky
120e3df337 tests: add an Interp test of G33.1 2018-07-31 20:28:21 -06:00
Sebastian Kuzminsky
773f8caf88
Merge pull request #477 from zultron/master-lcnc-iss-475-master
configure.in:  require `yaml2` executable
2018-07-31 11:53:58 -06:00
John Morris
d9b91b8f45 configure.in: require yapps executable
Fixes #475 (along with HEAD~^2)
2018-07-31 12:13:29 -05:00
Sebastian Kuzminsky
d541076ab7 Merge remote-tracking branch 'origin/2.7'
* origin/2.7:
  docs: note that G38 probe results #5061-#5069 are in work coords
  docs: refer to the G38 family of probe moves as "G38.n", not "G38.x"
  docs: tidy up description of probe result params
  simplify comments in canon.hh, no code changes
  pid: use command-deriv when supplied
  Update about-linuxcnc.txt
  Docs: add more information to coolant control m code

Conflicts:
	docs/man/man9/motion.9
	docs/src/gcode/overview.txt
2018-07-31 09:59:20 -06:00
Sebastian Kuzminsky
bdccf24148
Merge pull request #476 from zultron/master-lcnc-iss-475-2.7
configure.in:  require `intltool-extract` executable
2018-07-31 09:49:18 -06:00
John Morris
014b217a7f Merge branch 'master-lcnc-iss-475-2.7' into master-lcnc-pr-475-master 2018-07-31 00:50:04 -05:00
John Morris
014aa003a6 configure.in: require intltool-extract executable
Fixes part of #475
2018-07-31 05:49:11 +00:00
c-morley
778f2d79a9
Merge pull request #462 from KurtJacobson/pyinterface-doc-cleanup
Some more Python Interface doc cleanup
2018-07-30 21:25:00 -07:00
Chris Morley
3be864d0f8 docs - fix image loading line - can't be split up
Serves me right for not testing it properly :)
2018-07-30 21:08:53 -07:00
John Morris
7689053e3f Fix warning from commit 176ba836
In file included from emc/rs274ngc/rs274ngc_interp.hh:20:0,
                     from emc/rs274ngc/interp_setup.cc:24:
    emc/rs274ngc/interp_internal.hh: In constructor 'setup::setup()':
    emc/rs274ngc/interp_internal.hh:775:7: warning: 'setup::disable_g92_persistence' will be initialized after [-Wreorder]
       int disable_g92_persistence;
           ^~~~~~~~~~~~~~~~~~~~~~~
    emc/rs274ngc/interp_internal.hh:770:9: warning:   'int setup::disable_fanuc_style_sub' [-Wreorder]
         int disable_fanuc_style_sub;
             ^~~~~~~~~~~~~~~~~~~~~~~
    emc/rs274ngc/interp_setup.cc:28:1: warning:   when initialized here [-Wreorder]
     setup::setup() :
     ^~~~~
2018-07-30 21:34:46 -05:00
John Morris
5ddb1cf415 Merge branch 'm98m99-lcnc-2.7-rebase' into master
This is the original M98/M99 commit from PR #151, rebased onto the
v2.7.14 tag with a few fixes added on top, into the master branch at
commit cd0833a7.

The merge has a built-in fix to the
interp/m98m99/12-M99-endless-main-program/expected.motion-logger test.
2018-07-30 21:22:47 -05:00
John Morris
208cbeea83 Fix up 12-M99-endless-main-program test for 2.7 v2.7.14
This makes the test work with pre-joints/axes branches.
2018-07-30 20:34:52 -05:00
John Morris
d022b946d1 Interp: Clean up context_struct when entering new stack level
This fixes looping.

The m98 l\#<loopcount> calls have no good way of telling whether
they're entering the first iteration or a later iteration (see
`interp_o_word.cc`, `Interp::execute_call()`), so they rely on the
context `m98_loop_counter` field being reset to -1 to know when to
initialize state for a new loop.

After an abort, the call stack is unwound, leaving stale data behind.
If the context is not cleaned up, then the stale state data will break
loops when restarting after an abort.
2018-07-30 20:04:01 -05:00
c-morley
9024766f41
Merge pull request #463 from ascurtis/patch-1
Re-wording of LinuxCNC User Introduction doc
2018-07-30 17:42:44 -07:00
John Morris
f3d64b7074 M98 subroutines: fix line numbering bug with M98 L#<loops>
When a looped `M98 L#<loops>` subroutine call returns after a loop,
the line number should not be incremented until after the final loop
is complete.

Fixes PP-1975
2018-07-31 00:27:33 +00:00
John Morris
176ba83655 M98/M99 subprograms
This patch implements subprograms as defined with a bare numbered
O-word, called with `M98` and returned from with `M99`.  This common
style of subprogram is used in Fanuc, Haas and other controllers.

 ## Implementation

In essence, `M98` and `M99` are O-words.  O-words are handled
specially compared to M- and G-words, both when being read
(e.g. parsed earlier in interp loop than other codes) and when being
executed (e.g. own translation unit with functions for searching and
seeking across g-code file blocks).  Therefore, they are implemented
next to other O-word code, and where possible they share the same read
and execute flow.  There is a major semantic difference compared to
traditional rs274ngc subroutines: Execution starts at the beginning of
the file and continues right into a program definition rather than
skipping past.  Such a program definition at the beginning of the
file is the 'main program', although not treated specially by the
interpreter, and `M98` may only call subprograms following the main
program.

In the interpreter's read phase, `M98` call and `M99` return are
handled in `read_o()` at the same time as O-words in `interp_read.cc`.
`M98` is handled much like `O call`.

During execution, `M98 P1` is quite similar to `O1 call`, and they
share the `Interp::execute_call()` function in `interp_o_word.cc`.
Still, `M98` must be distinguished with the special `call_type =
CT_NGC_M98_SUB` to signal to `execute_call()` and `unwind_call()` that
parameters `#1` through `#30` are global.  The call type is also used
to prevent programmers from mixing e.g. `O sub` with `M98` and `M99`.

When `M98` is followed by an L-word (repeat count), it maintains a
loop counter in the parent context `m98_loop_counter` field, and
special logic in `execute_call()` manages call return block location
for iteration.

An `M99` in the main program (top-level call stack) has a special
meaning.  There is no subprogram to return from, so instead it means
to skip back to the beginning of the file and resume execution; in
other words, loop endlessly over the program.  In this case, `M99` is
treated like an M-word handled by `read_m()`, and shares modal group 4
and `convert_stop()` with `M02` and `M30`.

The interpreter cannot handle endless loops because it would queue
canon commands indefinitely without a program end or a queue buster,
and never issue them to task for execution.  Therefore the interpreter
distinguishes the following two subcases of the `M99` endless loop:

- Task:  During real execution of a program, an `M99` in the top-level
  context is treated like a queue-buster.  The interpreter queue is
  flushed to motion (after queuing any link segments) before looping
  back to the program beginning.  Task enables this special behavior
  by calling `interp.set_loop_on_main_m99(true)`.

- SAI, preview, etc.:  When not actually executing, an `M99` in the
  top-level context is treated like an `M30`, program stop.  The
  assumption is that a single loop will be sufficient for
  non-execution use cases, such as to render a tool path preview or
  check the canon commands generated by a program.  This is the
  default behavior, also explicitly set by calling
  `interp.set_loop_on_main_m99(false)`.

 ## Fanuc and rs274ngc sub call coexistence

The syntax differences create no parsing ambiguities.  During
conversion the two styles share some code paths, where any differences
are handled by the O-word (or M-word) type and call style.

Additional checks ban mixing rs274ngc and Fanuc sub blocks within one
call/return cycle in hopes of reducing confusion arising from careless
mixing and the unintended side-effects of style differences.

If there is reason to disable Fanuc subroutines, do so by placing
`DISABLE_FANUC_STYLE_SUB = 1` in the `[RS274NGC]` section of the
`.ini` file.

Signed-off-by: John Morris <john@zultron.com>
2018-07-31 00:27:33 +00:00
Chris Morley
0864630b79 gmoccapy -fix misspelled error message [TRAY] to [TRAJ]
That could confuse people
2018-07-30 15:36:48 -07:00
andy pugh
cd0833a7ec carousel.comp: Fix an error introduced by the last change
Adding support for Emco / Denford toolchangers indirectly broke most
most existing tool changers.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-07-29 21:47:22 +01:00
Sebastian Kuzminsky
47203caf62 docs: note that G38 probe results #5061-#5069 are in work coords 2018-07-28 21:06:13 -06:00
Sebastian Kuzminsky
37286afa3f docs: refer to the G38 family of probe moves as "G38.n", not "G38.x"
This commit changes the collective name for the G38 probe moves from
"G38.x" to "G38.n", to avoid any confusion with the axis-word "X".
2018-07-28 21:06:13 -06:00
Sebastian Kuzminsky
79e71bcb8f docs: tidy up description of probe result params
This slightly improves the words for #5061-#5069 (g38 probe coordinates)
and #5070 (g38 probe success/failure).
2018-07-28 21:06:13 -06:00
Sebastian Kuzminsky
72b05aeb4e simplify comments in canon.hh, no code changes 2018-07-28 20:41:28 -06:00
andypugh
597f5efebe
Merge pull request #474 from rene-dev/patch-2
use parameter 5400 for _current_tool
2018-07-29 04:31:13 +02:00
andypugh
4ab44567af
Merge pull request #464 from ascurtis/master
Re-wording of LinuxCNC Best Wiring Practices doc
2018-07-29 04:27:16 +02:00
Rene Hopf
43a9a6c8ff
use parameter 5400 for _current_tool
according to docs they are the same, but on startup their initial value is different. This way they are always the same, like it says in the docs.
2018-07-28 18:23:24 +02:00
Robert W. Ellenberg
a2adf31087 Remove atspeed from blend arc since the previous segment will not be consumed (fixes accel violation with G96 and arc blending). 2018-07-27 14:09:05 -04:00
Sebastian Kuzminsky
db85dd07ed
Merge pull request #472 from LinuxCNC/dont-crash-on-corrupt-position.txt
Dont crash on corrupt position.txt
2018-07-27 11:27:49 -06:00
Kurt Jacobson
6ad3970916 Remove single quotes around LCNC enums for consistency
The vast majority of the references to linuxcnc enums do not put them in single quotes, so lets be consistent.
2018-07-26 12:29:35 -04:00
Kurt Jacobson
1292b76721 stat.joint limit values are joint limits, not axis limits 2018-07-26 01:15:58 -04:00
Sebastian Kuzminsky
f84e06bb31 Task: reorganize inihal setup
Task must always set up inihal, even if emcMotionInit() fails to parse
the position file.

The inihal setup must happen outside of emctask_startup()'s
emcMotionInit() retry loop, because its functions are not idempotent.
2018-07-25 14:42:54 -06:00
Sebastian Kuzminsky
0958772073 Task: report errors in emcPositionLoad() better
When emcPositionLoad() fails to parse the position file, or fails to
update Motion with the information from the position file, print an
error so the user has a chance to figure out what's wrong.
2018-07-25 14:38:38 -06:00
andypugh
e0d37f2a6a
carousel.comp: Improve compatibility with Denford and Emco
Added extra settings and output pins to better support the ratchet-style lathe tool changers fitted to some small training lathes.
2018-07-22 17:42:36 +02:00
Dewey Garrett
60d78dfae3 check_config: warn trivkins missing items #470 JA
namely: [AXIS_n]MAX_VELOCITY,MAX_ACCELERATION

The existing (legacy) code that reads ini files for joint
and axis items:
  src/emc/ini/inijoint.cc, src/emc/iniaxis.cc
is unaware of the kinematics module in use and has no
precedent for making default value substitutions for
specific kinematics modules.  Special cases supported
by the trivkins module (multiple joints allowed per
axis) impose additional complications for implementing
automatic substitutions.

The approach herein extends the existing checks made from
the linuxcnc script when the trivkins module is specified
and prints warnings to stdout.  The warnings include the
(hardcoded) defaults that will be used when values are not
specified.
2018-07-21 18:46:01 -07:00
9704a72110
Merge pull request #467 from jepler/pid-command-deriv
pid: use command-deriv when supplied
2018-07-20 09:37:53 -05:00
b5cb3629d8 pid: use command-deriv when supplied
.. via the dummysig trick.
2018-07-18 19:55:34 -05:00
TurBoss
2610844cdb TK TCL version match 2018-07-17 07:46:37 +02:00
TurBoss
aec53fed20 check for Pango py3 2018-07-17 07:31:51 +02:00
ascurtis
f0e37c42fa
Update wiring.txt
Re-worded document for better clarity. Removed first-person style. Removed dead links. Removed duplicated information. Re-orderded sections.
2018-07-17 09:12:42 +10:00
ascurtis
8316c996fc
Update user-intro.txt
Updated paragraph 6 - removed references/links to Mesa at the exclusion of other brands of motion control hardware. Added links to Supported Hardware page of Wiki instead.
2018-07-14 17:30:57 +10:00
andypugh
a1f8c14888
Update about-linuxcnc.txt
Add a mention of the forum and fix a broken IRC link.
2018-07-12 23:06:27 +01:00
Andy Pugh
b3e9463eec Hostmot2 / resolver.c Add the option to fake absolute encoders with resolvers
By using the position data from a position file and assuming that the
axes have not moved more than half a turn since the machine was powered
down it is possible to use absolute homing with resolvers.

Signed-off-by: andypugh <andy@bodgesoc.org>
2018-07-12 20:01:54 +01:00
ascurtis
1990878ee2
Re-wording of LinuxCNC User Introduction doc
Proposed re-wording of 'LinuxCNC User Introduction' documentation page as per Forum discussion here: https://forum.linuxcnc.org/32-documents/34802-linuxcnc-is-poorly-documented?start=100#113774

Cheers, Andrew.
2018-07-12 12:16:41 +10:00
Andy Pugh
123f84179e touchy.py: Display the effect of override values caused by halui.
Signed-off-by: Andy Pugh <andypugh@localhost.localdomain>
2018-07-12 00:30:26 +01:00
Kurt Jacobson
f4baa68941 Add missing spaces 2018-07-11 18:26:00 -04:00
Kurt Jacobson
6942670779 Clarify value of stat.joint[jnum]["units"]
In theory a joint could have different units from those set in [TRAJ] <joint_type>_UNITS if [JOINT_n] UNITS was set to something other than TRAJ units. The actual likely hood of this every occurring is very low, and may not even be possible currently. (It appears that [JOINT_n] UNITS is ignored, at least for trivkins.)
2018-07-11 18:25:11 -04:00
John Thornton
bed25c7285 Docs: add more information to coolant control m code
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-07-10 12:50:27 -05:00
Sebastian Kuzminsky
44f45d87ce Merge remote-tracking branch 'origin/2.7'
* origin/2.7:
  Docs: add info about the constant e
  Docs: fix broken link and man page reference
  lowpass.comp: man page help for setting gain pin
  Docs: change bad examples and note about comment usage with o words
  Docs: Correct G28,G30. Improve G92. (2nd go)
2018-07-10 09:12:05 -06:00
John Thornton
68d68e214a Docs: add info about the constant e
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-07-10 07:08:58 -05:00
John Thornton
5cff6a6bb0 Docs: fix broken link and man page reference
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-07-10 07:06:43 -05:00
Dewey Garrett
1822298fcd lowpass.comp: man page help for setting gain pin
i couldn't figure out how to show the more complicated
equations but this may help users wanting a starting
point for setting the 'gain' pin

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
(cherry picked from commit b1fb19c29e)
2018-07-09 12:13:57 -06:00
Sebastian Kuzminsky
965a13960d
Merge pull request #459 from KimK/2.7
Docs: Correct G28,G30. Improve G92. (2nd go)
2018-07-09 12:08:39 -06:00
Sebastian Kuzminsky
22c7c49f0b
Merge pull request #460 from KurtJacobson/pyinterface-doc-cleanup
Python Interface doc cleanup
2018-07-09 11:52:53 -06:00
Dewey Garrett
8b8e44ee89 command.c: allow usual homing_active check #461
that follows the check that disables joint-mode jogging
for joints having a negative HOME_SEQUENCE

(The usual check is enforced for EMCMOT_JOG_CONT,INCR,ABS)
2018-07-09 09:22:46 -07:00
Dewey Garrett
c4909fc1ba gremlin_view.py: improve standalone focus behavior
User report:
https://forum.linuxcnc.org/21-axis/34860-gremlin-view#113523

focus behavior seems ok when embedded as in reparenting test::
  configs/sim/axis/ngcgui/pyngcgui_axis.ini

not sure if the standalone focus behavior is related to
the window manager in use or its focus settings
2018-07-09 09:17:51 -07:00
John Thornton
79e752d993 Docs: change bad examples and note about comment usage with o words
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-07-09 09:14:43 -05:00
Kurt Jacobson
804815eeb3 Clarify that stat.homed represents currently homed joints 2018-07-09 02:01:29 -04:00
Kurt Jacobson
01084d9296 Make cmd.flood usage info consistent with cmd.mist 2018-07-09 02:01:07 -04:00
Kurt Jacobson
8d91897e6a Replace duplicate joint-flag arg with correct axis-or-joint-number 2018-07-09 01:59:09 -04:00
Kim Kirwan
63bc3daab6 Docs: Correct G28,G30. Improve G92. (2nd go)
The G28 & G30 parameter count were still set to six,
from the old way of XYZABC, now XYZABCUVW so add counts.

G92 never mentioned parameters until near the end,
so I copied from G28/G30 to add to G92. Hopefully
made some other useful improvements while there too.

Signed-off-by: Kim Kirwan <kim@kimkirwan.com>
2018-07-08 04:30:42 -05:00
Dewey Garrett
927341ba82 linuxcnc_info: correct uname machine item 2018-07-06 17:49:13 -07:00
Dewey Garrett
aca6d15b3d linuxcnc_info: include DESKTOP_SESSION,PATH 2018-07-06 17:48:20 -07:00
51be1dbcc3 Merge remote-tracking branch 'origin/2.7' 2018-07-05 19:21:44 -05:00
d7fd494c69
Merge pull request #456 from jepler/issue451
tram.c: Fix pointer arithmetic thinko
2018-07-05 19:21:03 -05:00
f9cd079872
Merge pull request #454 from midyukov-anton/fix_undefined
Fix undefined symbols inb, inl, outb when building without io.h
2018-07-04 06:23:01 -05:00
Anton Midyukov
0263040e0f Fix undefined symbols inb, inl, outb when building without io.h 2018-07-04 13:06:36 +07:00
Dewey Garrett
774775cfc4 select8.comp make enable a bit input pin
Ref: https://www.mail-archive.com/emc-developers@lists.sourceforge.net/msg18158.html
2018-06-30 05:50:49 -07:00
26de4ff242
Merge pull request #452 from rene-dev/patch-1
fix format string error.
2018-06-28 15:31:50 -05:00
Rene Hopf
0dd096732b
fix format string error.
reported by simaoamorim4 on irc.
2018-06-28 22:12:04 +02:00
elson
0f91c553a2 describe epp_dir option 2018-06-24 22:17:55 -05:00
elson
6e855ef45d describe epp_dir option 2018-06-24 22:17:23 -05:00
elson
f7cd85a560 describe epp_dir option 2018-06-24 22:16:40 -05:00
elson
1c8bfc253b describe epp_dir option 2018-06-24 22:16:14 -05:00
elson
14ba4e40b9 describe epp_dir option 2018-06-24 22:15:32 -05:00
elson
2219cb5bca describe epp_dir option 2018-06-24 22:14:58 -05:00
elson
e2e36d2f37 fix selection of epp_dir parameter 2018-06-24 20:37:33 -05:00
Chris Morley
29da5de827 configs -add a control panel for testing TOUCHY
It's pretty useless as a sim or a test screen if one can't actually control it.
We add a test control panel with warning label that it's just for testing.
It would be really annoying anways as it sitd on top of the screen and needs to be
moved around to see everything.

This panel just has basic controls for jogging and cycle start.
I've only added it to this one sim for now.
2018-06-23 18:49:59 -07:00
Chris Morley
0ad407ccec gladevcp -allow setting always-on-top option
This can be useful for test controls
2018-06-23 18:30:12 -07:00
andy pugh
ef0892a2d1 hal_actions.py: Correctly determine homed state when choosing to enable controls.
GladeVCP buttons connected to an MDI_action widget ihave their enable /
disable state set by the MDI_action.

One condition is that the machine should be homed. The current test
for all-homed state gets confused if there are missing axes (such as an XZ
lathe config).
This commit uses a more flexible (though possibly less thorough) method to
detemine homed state.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-06-24 01:03:11 +01:00
Sebastian Kuzminsky
096cccb39b
Merge pull request #442 from KimK/master
Proposed fix for "FIXTHIS too verbose"
2018-06-15 15:18:41 -06:00
Kim Kirwan
cfc9766262 Proposed fix for "FIXTHIS too verbose"
I don't like the idea of having two different styles
for the G-code and M-code tables, but there are just
too many G-codes available to not have it be verbose.
So I ask the user to pick the blank cells for G-codes.

I could "reverse" the M-codes table too, if consistency
between them is thought to be important.

The tables are broken up to avoid trying to print
one table 100 lines long.

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2018-06-15 15:55:35 -05:00
6ab27989fe docs: rtapi_print: fix markup error leading to excessive indentation 2018-06-13 21:28:49 -05:00
8cb2de3cba docs: rtapi_print: Fix typo'd name of one of the functions 2018-06-13 21:27:32 -05:00
7d1f4a1b1a docs: rtapi_print: improve discussion of limited formatting capability 2018-06-13 21:27:20 -05:00
Sebastian Kuzminsky
fc6730828d Merge remote-tracking branch 'origin/2.7' 2018-06-12 20:13:17 -06:00
Sebastian Kuzminsky
4b9972a75c Canon: make EMCCANON_DEBUG work again
We don't usually build with the EMCCANON_DEBUG #define turned on, and
some of the code conditionally compiled in had bit-rotted.  This commit
fixes those problems.
2018-06-12 12:58:45 -06:00
andy pugh
006b281b2b sserial.c: Don't act on data known to be bad.
If the smart-serial interface reports a checksum error or similar then it
is almost certainly a bad idea to update the output pins.
It seems better to hold the last values for one servo cycle than to set
erroneous values.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-06-10 22:03:55 +01:00
andypugh
4129912cd3
Update ini-homing.txt
A forum user noted that the HOME_IGNORE_LIMITS paragraph did not make any sense.
2018-06-07 21:39:19 +01:00
Chris Morley
0661d4b32d Merge branch '2.7' 2018-05-11 07:04:49 -07:00
Chris Morley
2e47f3b9e7 pncconf -add 7i92-7i77_7i76 internal firmware data 2018-05-11 06:48:00 -07:00
Dewey Garrett
39d6b86264 check_config.tcl: msg for ommited items when err
Omission of [AXIS_L]MIN_LIMIT,MAX_LIMIT (for trivkins)
will lead to error if user specifies only the
[JOINT_n]MIN_LIMIT,MAX_LIMIT items.

Report the default value that is used for the missing inifile item
to assist in identification of the error cause.
2018-05-08 05:42:25 -07:00
Dewey Garrett
0a67b76eb6 ini-config.txt,ini-homing.txt make consistent
so they agree that initial [JOINT_n]HOME_SEQUENCE can be 0 or 1 or -1
2018-05-05 19:03:50 -07:00
3de0a6a0bf
Merge pull request #432 from rene-dev/acc_cmd
add joint.n.acc_cmd pins to motion, for real acceleration feed forward
2018-05-04 07:20:33 -05:00
7a1bfbcfcf remove outdated document
.. this should be replaced with something useful, because this
document (when it exists) is linked from the issue creation page on
github under the heading "helpful resources".
2018-05-04 07:15:28 -05:00
Rene Hopf
21019ed521 comment about zero acceleration output during jogs
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-05-04 12:32:21 +02:00
Rene Hopf
6e11d2b15f add documentation for new acceleration pins in motion
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-05-04 12:24:43 +02:00
Rene Hopf
b0df2dac0a add joint.n.acc_cmd pins to motion, for read acceleration feed forward
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-05-03 13:08:07 +02:00
d45947400c halcompile: fix error about unlink obscuring real error
Closes: #431
2018-04-30 18:54:35 -05:00
Dewey Garrett
8259e142e0 command.c improve err msg for bad jog request
ref: taskintf.cc:emcJogCont(),emcJogIncr(),emcJogAbs(),emcJogStop()
if  jjogmode ==> emcmotCommand.axis  = -1 (for a joint jog request)
if !jjogmode ==> emcmotCommand.joint = -1 (for a axis  jog request)

so detect that:
    a joint jog has been requested when current mode is teleop
or
    a axis coordinate jog has been requested when current mode is NOT teleop
and make messages less opaque

Note: maintain detection of unexpected conditions such as
      simultaneous negative axis_num *and* negative joint_num
2018-04-27 07:40:09 -07:00
Sebastian Kuzminsky
3499da26d2 fix a merge error in hm2_7i90 2018-04-21 20:04:34 -06:00
Chris Morley
9cf724bdca Merge branch '2.7' 2018-04-21 18:20:52 -07:00
Sebastian Kuzminsky
126be71fd6 Merge remote-tracking branch 'origin/2.7' 2018-04-11 14:02:01 -06:00
andypugh
cb7d6bc425
Update sserial.9
Wrong pin name
2018-04-08 13:31:57 +01:00
Chris Morley
159ce9c3ca halmeter -add scroll-to-keypressed letter search
if you keypress a letter while in the selection window,
halmeter will scroll to the first name that starts with that letter.
It is currently case sensitive.

It doesn't actually select the name as I couldn't figure out how to
get the cursor position to follow the selection. If you keypress picked
a name then used the cusor keys it would jump back to the previous selection.

If we update to current GTK code, could probably fix that - in the future
2018-04-01 14:52:25 -07:00
Dewey Garrett
9585fa2090 xhc-hb04.cc: reallow pendant disconnect/reconnect
Recent prior commit (f192c084) that silenced some exit messages
inadvertently disallowed a reconnection after pendant removed.

Note: The LIB:xhc-hb04.tcl supported option:
          [XHC_HB04_CONFIG]require_pendant=no
      allows connection after startup or a reconnection after
      a disconnect using the -x command option.
2018-03-31 18:03:04 -07:00
1fbc8026ce
Merge pull request #427 from jepler/gcode-hang
rs274: Avoid hangs with long lines and no EOL at EOF
2018-03-27 22:01:02 -05:00
Dewey Garrett
f192c0840a xhc-hb04 bogus 'found' message in standalone
when operating standalone with no connected device,
a ctrl-c would result in a misleading 'found' message
2018-03-26 10:26:33 -07:00
Dewey Garrett
110e4fd7e0 xhc-hb04 silence application exit messages
This commit silences long-standing but harmless reports to
stdout that occur on exit of the userspace xhc-hb04 program
when LinuxCNC is terminated:

  "libusb: error [do_close] Device handle closed while transfer
          was still being processed, but the device is still
          connected as far as we know
  libusb: warning [do_close] A cancellation for an in-flight
          transfer hasn't completed but closing the device handle"

On debian stretch using libusb-0.1-4:amd64 2:0.1.12-30, there are
additional reports and backtrace:

  "*** Error in `xhc-hb04': free(): corrupted unsorted chunks: 0x00005588b4f92ce0 ***
   ======= Backtrace: =========
   /lib/x86_64-linux-gnu/libc.so.6(+0x70bcb)[0x7f7845922bcb]
   ..."

The additional reports/backtrace do not occur on earlier
libusb packages like:
  debian wheezy libusb-0.1-4:i386  2:0.1.12-20+nmu1
  debian jessie libusb-0.1-4:i386  2:0.1.12-25  i386

Some helpful clues were found here:
  https://github.com/machinekit/machinekit/issues/1257
2018-03-26 10:26:18 -07:00
Chris Morley
da708ec546 pncconf -fix error of missing 7i76_map.jpg file
switch to png file
2018-03-25 15:34:29 -06:00
Norbert Schechner
c6cf1a75c2 remap stdglue.py - identitation errors due to the use of tabs instead of spaces
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-03-25 12:50:03 +02:00
Jeff Epler
31cd716712 rs274: Avoid hangs with long lines and no EOL at EOF
.. improvement due to fuzz testing with american fuzzy lop
2018-03-21 19:16:45 -05:00
Chris Morley
88e2d47a72 Merge branch '2.7' 2018-03-19 15:35:59 -06:00
Chris Morley
26429eaa10 gladevcp -fix a warning about icon size
It seems pygtk doesn't like 'image.set_from_stock' with a number
rather then a constant.
2018-03-19 15:14:54 -06:00
Dewey Garrett
7237e2464a puma sim configs update README 2018-03-19 06:08:04 -07:00
Dewey Garrett
f052902b36 puma.ini update sim config
thanks to Rudy du Preez:
> The limits have been set to reasonable and practical values
> in puma.ini and puma.xml.
2018-03-19 06:07:57 -07:00
Dewey Garrett
5b045339f2 puma_cube.ini new introductory sim config
Introductory puma config that:
  1) uses no positional limits, artificial vel/accel limits
  2) sets coordinate offsets for user who may not know how to
     touch off appropriately
  3) Show "Usage:" in text displayed by the Configuration Selector
     (file: puma_cube.txt)
  4) provides alternate [DISPLAY]OPEN_FILE (./puma_seam_weld.ngc)
2018-03-19 06:05:46 -07:00
Dewey Garrett
fd33d0704e pumakins: no err for a particular singularity #384
The test:
   (fabs(t1) < SINGULAR_FUZZ && fabs(t2) < SINGULAR_FUZZ)
probably exists for code debugging but was causing motion
module to fail ("kinematicsInverse failed") in the master
branch (not in prior branches, ref: 4b8995385c)

per Rudy du Preez:

> The current  th4 value is used. This is a typical action
> taken in most 6-axis robots.
2018-03-19 06:05:46 -07:00
Dewey Garrett
31e09786cd puma.xml: decrease pyvcp panel meter sizes
to allow all of axis gui to display on a smaller screen

was (for axis gui): wm geometry . == 840x872+754+31
was (for axis gui): wm geometry . == 820x752+0+31
2018-03-19 06:05:46 -07:00
Jeff Epler
05a37cfc0f hal: use rtapi_intptr_t
.. which fixes a raft of compilation errors on kernel-mode rtai
2018-03-19 08:02:03 -05:00
Jeff Epler
95f02b2bbc rtapi: add rtapi_{u,}intptr_t to rtapi_stdint.h 2018-03-18 20:22:46 -05:00
e7076cd498
Merge pull request #421 from jepler/ubsan
Make LinuxCNC testsuite clean under gcc -fsanitize=...
2018-03-18 16:00:26 -05:00
Jeff Epler
b94c31f78f hal: bump hal shared memory size by 40KiB (13%)
Recent changes to fix ubsan problems increased HAL memory usage of
several configs I investigated by around 8%.  So that configs that
were cloes to exhausting hal shared memory before continue to work,
we need to increase the HAL shared memory size.  I chose to increase
it from 75 to 85 pages, 40KiB, or about 13%.

Here are the memory usage figures I gathered from 'halcmd stats'
on an x86_64 system:

                before              after
axis             94560              102216      +7656 (8%)
demo_sim_cl      63392               68568      +5176 (8%)
gmoccapy_XYZAC  112360              121616      +9256 (8%)
2018-03-18 10:33:27 -05:00
Jeff Epler
fcabe8c2ec rtapi_app: explicitly link -ldl
.. because we use symbols from it, such as dlsym()!

It's not clear why this has not always been an error, but it did
become one when using gcc -fsanitize-address to build LinuxCNC:

    /usr/bin/ld: objects/rtapi/uspace_rtapi_app.o:
        undefined reference to symbol 'dlsym@@GLIBC_2.2.5'
2018-03-18 10:24:18 -05:00
Jeff Epler
3f55543801 interp: Don't address -1 elements into an array
.. this is undefined behavior in C, and is exposed by gcc -fsanitize=undefined
with a diagnostic similar to

    emc/rs274ngc/interp_o_word.cc:358:85: runtime error:
        index -1 out of bounds for type 'context_struct [10]'
2018-03-17 21:15:03 -05:00
Jeff Epler
a6ea14f0a8 hal: Fix unaligned access error when using hal_list_t 2018-03-17 20:54:33 -05:00
Jeff Epler
0ec583cb9d hal: fix misaligned accesses in unlink_pin 2018-03-17 20:54:23 -05:00
Jeff Epler
cfd82b9af4 inifile: avoid reference to 1 byte before array
The code to check for backslash continuation characters needs
to be restricted only to cases where the line actually contains
any characters.  Otherwise, with -fsanitize-undefined, diagnostics
like the following would occur:

libnml/inifile/inifile.cc:295:30: runtime error: index -1 out of bounds for type 'char [257]'
2018-03-17 20:41:53 -05:00
Jeff Epler
047353ada0 hal: widen pointer-like types to intptr_t
Building with 'gcc 6.3 -fsanitize=undefined', diagnostics like the
following were shown on amd64 systems:

hal/hal_lib.c:2729:20: runtime error: member access within misaligned address 0x7f2bbb53acd4 for type 'struct hal_funct_entry_t', which requires 8 byte alignment

Changing these types from 'int' (which has size 4, alignment 4)
to intptr_t (which has size 8, alignment 8) just like any pointer type
causes the diagnostic to disappear.

Since this is a structure change, the HAL ABI version is bumped.
2018-03-17 20:41:07 -05:00
Jeff Epler
0204d4ff23 hm2_bspi: document samplelate parameter
thanks to pcw for the accurate description
2018-03-17 10:09:05 -05:00
Jeff Epler
9730c65d22 hm2_bspi: rename sense-inverted parameters in source 2018-03-17 10:08:52 -05:00
Jeff Epler
ceb95f1303 Merge branch 'bspi_updates' of https://github.com/sleepybishop/linuxcnc 2018-03-17 09:17:59 -05:00
Jeff Epler
c1af378d98 hm2_bspi_setup_chan: rename sense-inverted parameters in docs 2018-03-17 09:17:16 -05:00
Jeff Epler
354c59f3d0 hm2_bspi manpages: add REALTIME CONSIDERATIONS 2018-03-17 09:12:51 -05:00
Jeff Epler
205e53334b hm2_bspi manpages: standardize SEE ALSO section 2018-03-17 09:12:51 -05:00
Jeff Epler
a62cd30d22 hm2_bspi_setup_chan: insert fiddly markup 2018-03-17 09:04:30 -05:00
Jeff Epler
3c9e32271f hostmot2: const-qualify the buffer in write methods
I had hoped that this would turn the mistake in hm2_bspi_write_chan,
where an uninitialized buffer was passed, into a compile-time diagnostic,
but it does not.  Still, it's more correct to specify 'const' here.
2018-03-17 08:47:21 -05:00
joseph calderon
0511631fbb fix one more s16 that should have been int16_t
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2018-03-16 18:31:33 -07:00
joseph calderon
1caa40997b add support for samplelate parameter is bspi channel descriptor
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2018-03-16 18:31:33 -07:00
joseph calderon
e6819957a0 value was not actually being set in hm2_bspi_write_chan()
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2018-03-16 18:24:09 -07:00
Sebastian Kuzminsky
227ccc034c Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/hal/rtcomps.txt
2018-03-15 09:52:58 -06:00
andypugh
7a715534d9
Update the PID section of rtcomps.txt
In response to #388
2018-03-14 21:56:25 +00:00
Chris Morley
bc3b688153 pncconf -oops fix the 7i77 pin map image
lables were wrong
2018-03-12 15:43:35 -07:00
Chris Morley
01f67864ef pncconf -add printable 7i77 pin map 2018-03-12 08:29:33 -07:00
Chris Morley
42fc0b232f pncconf -add printable 7i76 pin map image 2018-03-12 00:04:48 -07:00
Chris Morley
e1619df5d3 pncconf -use firmware data to select visiable tabs
Not sure why I hard coded this originally - i'll test with discovery data...
2018-03-11 22:32:16 -07:00
Chris Morley
802bd2ed1b pncconf -add strategy recommendation to greeting text 2018-03-11 22:30:13 -07:00
Chris Morley
69ada3bbda pncconf -fix option selection checkboxes 2018-03-11 22:15:34 -07:00
Chris Morley
a4857f4a4e pncconf -add code for gmoccapy gladvcp tabs 2018-03-11 22:15:33 -07:00
Chris Morley
3d35256b43 pncconf -fix 7i80 internal firmware data
The card nane in HAL is 7i80 not 7i80HD
2018-03-08 23:27:41 -08:00
Chris Morley
ea7bd34748 pncconf -add address setting for etho cards 2018-03-08 23:27:40 -08:00
Chris Morley
788a374271 pncconf -fix assorted bugs
-fix component numbers on 7i92 firmware
firmware with one device should have half the components

-fix joint numbers in INI
joint number was not incremented after each joint section was made

-fix etho board loading and discovery code
discovery code used w instead of widgets
etho boards can't have firmware loaded at run time so
 don't add it to loading line

-fix dicovery setting wrong driver
which then makes the card HAL loading line wrong

-fix gmoccapy theme issues

fix the running errors but then disable -
It needs more code to change Gmoccapy's preference file but
Gmocapy has an easy to use built in way to do this so maybe
I should not expose this.
2018-03-08 23:27:40 -08:00
Chris Morley
9583d5663c pncconf -reorganize tabs and add gmoccapy 2018-03-08 23:27:40 -08:00
Chris Morley
f2ec3638c6 pncconf -fix closing problem
closing with x and saying no would hang the program
2018-03-08 23:27:40 -08:00
Chris Morley
825bf75c98 pncconf -add ability to make tandem servo configs
Well in theory anyways
-add main/tandem to limit combobox

-add another column to comboboxes for tandem axis selection

-fix pport comboboxs

saved signals were not right
comboboxes showed duplicate columns

-reorganize humnan/HAL signal names

-spindle encoder sholdn't be in the axis column

-generalize tandem check; have INI use it too
build_INI didn't check for tandem servo signals
2018-03-08 23:25:54 -08:00
Jeff Epler
169ece3c57 python3: configure: find libpython compatibly
.. this uses python3-compatible print() and also adjusts to changes
in distutils.sysconfig (LDVERSION vs VERSION)
2018-03-07 15:15:20 -06:00
Jeff Epler
fe46c5d063 python3: configure: make print()s compatible with python3 2018-03-07 15:15:20 -06:00
Jeff Epler
d2d8a5ffa7 python3: configure: make version check compatible with 3.x 2018-03-07 15:15:20 -06:00
902eeef01a
Merge pull request #417 from jepler/halcompile-python3
Make halcompile syntax-compatible with python3
2018-03-07 14:49:06 -06:00
Jeff Epler
3794dc70b8 python3: halcompile: has_key is removed 2018-03-07 10:59:32 -06:00
Dewey Garrett
a7ca8053a7 twopass: support conditional .hal exclusion
Twopass processing has always handled simple loadrt parameters
like those used by halcompile (names= or count=).  Other
component parameters are handled but string items and complicated
parameters may cause problems.

This commit allows exclusion of a .hal file from any twopass
processing when [HAL]TWOPASS is active.  Excluded files will be
sourced directly by halcmd (using -kfv options).

See twopass.txt documentation additions for usage details.
2018-03-07 09:51:43 -07:00
Jeff Epler
6b9c12cf28 halcompile: use python3-compatible reraise syntax
At this point, halcompile is syntax-compatible with python3
(tested by 'python bin/halcompile --help'), but on
debian stretch systems without a python3 version of yapps, it fails
with an ImportError at 'from yapps import runtime'.
2018-03-07 07:59:24 -06:00
Jeff Epler
20eb9bf46e halcompile: use python3-compatible octal literal 2018-03-07 07:57:05 -06:00
Jeff Epler
3bbc0beabd halcompile: python3-compatible exception raising 2018-03-07 07:54:18 -06:00
Jeff Epler
b72d696797 halcompile: fix tabs vs spaces
.. this fixes an error under "python -3": "bin/halcompile: inconsistent use of tabs and spaces in indentation"
2018-03-07 07:51:53 -06:00
Jeff Epler
c51bbd1acd halcompile: use print_function 2018-03-07 07:51:19 -06:00
Dewey Garrett
2ef76dfda2 twopass.tcl: handle \n within a loadrt parameter
\n used in the lcd component fmt_strings= parameter
was interpreted as direction to insert a cr, so
when encountered, escape \n to \\n

ref: $ man lcd
2018-03-06 19:54:32 -07:00
andy pugh
d5a5537020 lcd.c - fix a read out of bounds bug
An off-by-one error meant that the first character from the next page was
always appended at the end of each page. And, in the case of the last page,
the contents of random memory would be displayed.
This patch also fixes some formatting issues with escaped characters,
makes the screen clear properly at initialisation and allows the decimal-
separator HAL parameter to actually work properly.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-03-04 15:37:09 +00:00
andy pugh
aa27466df6 sserial.c - ensure that the DoIt command occurs after all other writes
This patch fixes a race condition bug described in tracker #412

Signed-off-by: andy pugh <andy@bodgesoc.org>
2018-03-04 15:36:49 +00:00
Sebastian Kuzminsky
7cb75684c2 hm2: add driver for SSR module 2018-02-26 20:31:45 -07:00
Sebastian Kuzminsky
c931781380 hm2_eth: add support for 7i96 2018-02-26 20:31:44 -07:00
Sebastian Kuzminsky
d106e9dd7a hm2: allow the llio to override the "connector-pin" name of IOs
Before this commit, the llio driver would specify the names of its IO
connectors (eg, "P1", "TB2", etc), the IDROM would specify the number
of pins per connector (eg, 24 for the standard 50-pin connectors, 17
for DB-25 connectors), and the "pins" code in the hostmot2 driver would
assign IOs sequentially to the pins on the connectors.

That doesn't work for the 7i96, and potentially for other Any-IO boards
where the mapping from IO to connector/pin is not straight-forward.

This commit introduces a new optional field that the llio driver can
provide when registering a board with the hostmot2 framework: an array
of char*, indexed by IO number, providing the string that should be
reported to the user for the connector/pin mapping of that IO.
2018-02-26 20:31:44 -07:00
Chris Morley
c14dc6bbe2 pncconf -fix duplicate display of signal names
all signal names were shown twice in combo boxes.
Hopefully got them all
2018-02-23 16:43:04 -08:00
Dewey Garrett
ac22760a32 ini-homing.txt motion.homing-inhibit usage example 2018-02-23 13:13:54 -07:00
Chris Morley
d5f7505530 pncconf -fix pin entry focus issue - couldn't add custom names
one of the glade editors I used turned focus off from a bunch of widgets.
It made adding custom pin names very difficult
2018-02-23 01:17:39 -08:00
Chris Morley
33cf1bdb32 pncconf -fix tandem steppers option to use joints
Master has joints mode so now we use the new options with tandem stepper configs.
sets trivkins kintype to both
home sequence will flag tandem joints to finish homing together
home sequence is available to the user to specify

TODO: servo configs, tests, how to deal with limit switches for tandem joints.
2018-02-22 15:49:09 -08:00
Sebastian Kuzminsky
b314f9ceb9 tests: use linuxcnc-util instead of by-hand startup wait 2018-02-22 09:47:38 -07:00
Sebastian Kuzminsky
ac61faeb0b tests: auto-convert reload-tool tests for ja config 2018-02-22 09:47:38 -07:00
Sebastian Kuzminsky
cf17cb8614 Merge remote-tracking branch 'origin/2.7' 2018-02-22 08:43:09 -07:00
Chris Morley
15a4d11ffe Merge branch '2.7' 2018-02-21 16:42:43 -08:00
Chris Morley
c421d51dc4 Merge branch '2.7' 2018-02-19 20:28:46 -08:00
chris morley
5574fdf8b9 pncconf -experimental mesa card discovery work
uses mesaflash to interrogate system

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2018-02-19 19:23:52 -08:00
Chris Morley
138d7bd7ef docs -add info about jogging code for custom gscreen screens
that does seem like a natual progression that a new programmer wants.
2018-02-05 21:57:28 -08:00
Chris Morley
41ce515716 gscreen -add a metric based INI for testing custom screens 2018-02-05 21:57:28 -08:00
Norbert Schechner
71ab22c6e3 gmoccapy_2_3_3_3 - missing widget when editing offsets
ver 2.3.3.3
- editing offsets, leaded to a error output in the console, due to missing
  widget btn_zero_x

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-02-04 16:28:19 +01:00
Sebastian Kuzminsky
be22b73d4b Merge branch 'no-bundled-yapps' 2018-02-03 00:38:44 -07:00
Sebastian Kuzminsky
b37eea50eb packaging: no longer need to list yapps copyright 2018-02-03 00:37:33 -07:00
Jeff Epler
fc6eb7f20c don't bundle yapps2 2018-02-03 00:37:30 -07:00
Sebastian Kuzminsky
c651ec81cd Merge remote-tracking branch 'origin/2.7' 2018-02-02 18:55:06 -07:00
Chris Morley
cb349268f1 Merge branch '2.7' 2018-02-01 10:04:51 -08:00
Chris Morley
464d3f3444 Merge branch '2.7' 2018-01-31 22:01:30 -08:00
Sebastian Kuzminsky
0d3134ef96 Merge remote-tracking branch 'origin/2.7' 2018-01-29 07:34:15 -07:00
Chris Morley
e19b433d0e gladevcp -fix class name emc_action_unhome
cause surely there shouldn't be two classes named the same.
I actually don't understand how this worked at all.
maybe the Gtype being right saved it...
2018-01-29 00:51:23 -08:00
Chris Morley
125644a2e2 gladevcp -fix homing with JA
cancel teleop mode before homing
2018-01-29 00:06:34 -08:00
Sebastian Kuzminsky
49412cbcb4 Merge remote-tracking branch 'origin/2.7' 2018-01-28 21:55:20 -07:00
Sebastian Kuzminsky
5cc99cf5bc
Merge pull request #402 from vnwildman/master
packaging: add Keywords to gcoderef-vi .desktop
2018-01-25 15:01:09 -07:00
Chris Morley
7f26e84e6e axis -have velocity show with offsets too
When show_offsets was active, velocity did not honour show_velocity
2018-01-23 18:26:25 -08:00
Sebastian Kuzminsky
8ca6b52ebe Merge remote-tracking branch 'origin/master' 2018-01-22 11:19:25 -07:00
Sebastian Kuzminsky
304ace43d3 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/man/man1/halstreamer.1
	lib/python/gladevcp/combi_dro.py
	src/emc/motion/command.c
	src/emc/task/emccanon.cc
	src/emc/usr_intf/emcrsh.cc
	src/emc/usr_intf/gmoccapy/getiniinfo.py
	src/hal/components/biquad.comp
	src/hal/components/orient.comp
	src/hal/components/streamer.c
2018-01-22 10:32:44 -07:00
Norbert Schechner
ac7750aa28 Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2018-01-22 18:15:05 +01:00
Norbert Schechner
dd1a5fd504 GladeVCP - speedcontrol - emitted signal too early
leaded to wrong behavior, reaching the limits, so the widget
showed 0, but the value emitted was 0.5, leading to a moving machine
even having feed override of 0

Signed-off-by: Norbert Schechner <nieson@web.de>
2018-01-22 18:11:00 +01:00
Trần Ngọc Quân
b75ecda196 packaging: add Keywords to gcoderef-vi .desktop
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2018-01-22 14:27:43 +07:00
Sebastian Kuzminsky
cc6cdc67ab
Merge pull request #401 from rene-dev/sserial-io-fix
fix null pointer dereference for bidirectional pins on smart serial s…
2018-01-21 16:20:22 -07:00
Rene Hopf
76da684c30 fix null pointer dereference for bidirectional pins on smart serial slaves.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2018-01-21 23:20:08 +01:00
John Thornton
7f04520f1a Docs: remove spaces, periods and duplicate net line
Signed-off-by: John Thornton <bjt128@gmail.com>
2018-01-21 06:31:29 -06:00
Sebastian Kuzminsky
5dc198347a packaging: include the vietnamese gcode ref document in linuxcnc.deb 2018-01-19 13:32:36 -07:00
Sebastian Kuzminsky
0f10ee87b7 packaging: add missing build dependency on desktop-file-utils 2018-01-19 11:02:25 -07:00
Sebastian Kuzminsky
618337a9f1 Merge remote-tracking branch 'origin/master' 2018-01-19 08:26:28 -07:00
Sebastian Kuzminsky
dec6b8580a Merge remote-tracking branch 'origin/2.7'
Conflicts:
	debian/control.bottom.in
	docs/man/man1/halstreamer.1
	docs/man/man1/halui.1
	docs/man/man1/linuxcncrsh.1
	docs/man/man1/shuttlexpress.1
	docs/man/man1/sim_pin.1
	docs/man/man9/gantrykins.9
	docs/man/man9/kins.9
	docs/man/man9/motion.9
	docs/man/man9/sserial.9
	docs/man/man9/streamer.9
	tests/startup-state/sim.var.clean
	tests/startup-state/sim.var.orig
	tests/startup-state/sim.var.pre
	tests/startup-state/test.sh
2018-01-19 08:25:06 -07:00
Sebastian Kuzminsky
8a17af2aa5
Merge pull request #399 from vnwildman/master
l10n: Init Vietnamese translation for gcoderef
2018-01-18 17:44:52 -07:00
Trần Ngọc Quân
af2419e6d9 l10n: Init Vietnamese translation for gcoderef
Signed-off-by: Trần Ngọc Quân <vnwildman@gmail.com>
2018-01-19 07:18:47 +07:00
Sebastian Kuzminsky
82ffc6cc79
Merge pull request #383 from rene-dev/sim-fix
fix vismach for puma sim configs.
2018-01-18 15:40:35 -07:00
Sebastian Kuzminsky
0a096c9655 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/hal/components/limit3.comp
	tests/limit3.1/expected
	tests/limit3.1/test.hal

I dropped tests/limit3.1 (it's redundant) and used Zultron's version of
limit3 from 2.7.
2018-01-13 20:20:59 -07:00
Norbert Schechner
56fad18bf4 Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2018-01-13 11:26:59 +01:00
Norbert Schechner
4e786a5909 gmoccapy - dialogs - enty dialog did not return integer but shoud
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-01-13 11:26:47 +01:00
Sebastian Kuzminsky
79cf019cfd rtapi: fixup signed int min/max constants
This fixes a problem with RTAPI_INT32_MIN on Wheezy/RTAI platforms
(and possibly others) that led to an immediate hostmot2 stepgen runaway
at power-on.

A new build-time warning was introduced when RTAPI_INT32_MIN was added recently:

    warning: this decimal constant is unsigned only in ISO C90

This warning showed up in the 1401.rip-wheezy-rtai-i386 buildslave's
build 3119 (the new stdint branch) and 3120 (master with stdint merged):

http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/3119
http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/3120

It was not present in the previous build of master:

http://buildbot.linuxcnc.org/buildbot/builders/1401.rip-wheezy-rtai-i386/builds/3113

When building non-rt (userspace) code for RTAI we explicitly set the gcc
std to gnu99, but when building kernel code for RTAI we don't set -std via
the cflags, so on wheezy's gcc 4.7.2 we get the default, which is gnu90.

This stackoverflow discussion explains the problem:

    https://stackoverflow.com/questions/9941261/warning-this-decimal-constant-is-unsigned-only-in-iso-c90

This commit changes rtapi_stdint.h's definition of RTAPI_INT32_MIN to
match the systemwide /usr/include/stdint.h on Wheezy and Stretch (and
probably others).
2018-01-12 12:11:01 -07:00
Chris Morley
fae4b9ea53 Merge branch '2.7' 2018-01-10 06:46:58 -08:00
Chris Morley
9c5bf35ca2 Merge branch '2.7' 2018-01-09 22:16:42 -08:00
Chris Morley
0afd0007ae Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc 2018-01-09 18:43:58 -08:00
Chris Morley
2bb07ee284 Merge branch '2.7' 2018-01-09 18:37:05 -08:00
Jeff Epler
a67d00c4ea hostmot2.h: drop unneeded int min/max defines 2018-01-09 11:50:24 -06:00
Jeff Epler
d9f2b1b9e9 hostmot2 stepgen: use RTAPI int min/max defines 2018-01-09 11:50:12 -06:00
Jeff Epler
84ed1868b1 rtapi: Add sized integer min/max defines 2018-01-09 11:49:26 -06:00
Chris Morley
d3e832ad94 panelui -add comments to command code
It's a comlicated widget - I forgot how it worked
2018-01-06 04:42:42 -08:00
Norbert Schechner
e1f42bf535 Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2018-01-03 14:15:30 +01:00
Norbert Schechner
5d3623478f hal_glib.py - typo in signal name
Signed-off-by: Norbert Schechner <nieson@web.de>
2018-01-03 14:14:47 +01:00
Chris Morley
c32880b238 pncconf -add internal data for 7i92 and 7i80HD cards
Not tested on cards
2018-01-01 12:19:18 -08:00
Jeff Epler
ea31e4f2a7 mesa_7i65: Restore signs of types in casts
At 6bfc1c617e, the nonportable types such as 's16' were changed to
the portable type 'uint16_t', which has different signedness.  When
negative floating point values are cast to unsigned types, the result
is undefined by the C standard, as demonstrated by this program
when compiled in a mode that detects undefined behavior:

#include <stdio.h>
#include <stdint.h>
volatile double d = -5.0;
int main() {
    printf("%x\n", 0xffff & (unsigned)(int16_t)(d));
    printf("%x\n", 0xffff & (unsigned)(uint16_t)(d));
}

$ clang float_int_cast.c -fsanitize=undefined && ./a.out
fffb
float_int_cast.c:6:39: runtime error: value -5 is outside the range of representable values of type 'unsigned short'
fffb

Besides causing theoretical undefined behavior, compiling it on an
armhf platform actually gives different results from x86, a problem we've
seen before in other hardware drivers:

$ uname -m; gcc float_int_cast.c && ./a.out
armv7l
fffb
0
2017-12-30 09:54:34 -06:00
Norbert Schechner
c10e51ff1e Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2017-12-30 09:09:19 +01:00
Jeff Epler
2f18851eaa mesa_7i65: build on uspace 2017-12-28 18:09:52 -06:00
Jeff Epler
f2a01b8bcd mesa_7i65: use include path compatible with RTAI in kernel mode
.. this path is what it used to be, and I verified that it also
works when building from within the regular build system on uspace.
(which is enabled in the next commit)
2017-12-28 18:09:23 -06:00
Norbert Schechner
aad367e824 Merge branch '2.7' 2017-12-28 19:54:57 +01:00
Norbert Schechner
4fa89d2f20 gmoccapy_JA_configs - scara config had config errors
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-28 19:39:52 +01:00
Jeff Epler
20d768ac50 fix markup so that it is accepted by asciidoc 2017-12-28 07:22:16 -06:00
Jeff Epler
ca33e9e503 silence warnings from old gcc
.. on which -Wignored-attributes is not a known option
2017-12-28 07:15:12 -06:00
Norbert Schechner
fc8b814307 gmoccapy_2 - documentation - cleared all gmoccapy_1 stuff
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-27 09:42:35 +01:00
andypugh
5083063ceb
Merge pull request #385 from sleepybishop/master_bspi_fixes
bspi fixes
2017-12-25 22:06:48 +00:00
joseph calderon
09a2469da0 init descriptor to zero; the clock divider field is 8 bits wide; the transfer length field is 6 bits wide
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2017-12-24 16:54:09 -08:00
joseph calderon
6bfc1c617e fixup types in mesa_7i65 driver so it compiles again
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2017-12-24 16:53:32 -08:00
Rene Hopf
b2626019f5 fix vismach for puma sim configs.
The puma sim uses immediate homing, so vismach needs to be connected to pos-fb instead of mot-pos-fb in order to work properly after homing again.

Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-12-24 09:59:32 +01:00
Sebastian Kuzminsky
03ffa4b21c Merge remote-tracking branch 'origin/2.7'
Conflicts:
    docs/src/config/ini-config.txt

The HOME change was already applied in master by a previous commit,
the merge is a no-op for that file.
2017-12-23 09:12:54 -07:00
John Thornton
23b09a4959 Docs: expand on description of traj home to clarify that this setting
is ignored on trivial kinematics machines

Signed-off-by: John Thornton <bjt128@gmail.com>
2017-12-23 06:47:21 -06:00
Sebastian Kuzminsky
b336b8caa4 Merge remote-tracking branch 'origin/2.7'
Conflicts:
    configs/sim/axis/vismach/puma/puma.ini
    configs/sim/axis/vismach/puma/puma_sim_6.hal

To resolve the conflicts I checked out the versions in master just
before this merge, then applied all the changes manually.  I applied
the [AXIS_*]MIN_LIMIT and MAX_LIMIT to both the matching [JOINT_*] and
[AXIS_*] sections, like the update_ini script would have done.
2017-12-22 16:03:33 -07:00
John Thornton
af054c9cda Docs: fix missing bracket
Signed-off-by: John Thornton <bjt128@gmail.com>
2017-12-21 07:30:26 -06:00
Jeff Epler
0453612369 Merge branch 'warnings' 2017-12-19 22:00:15 -06:00
Jeff Epler
1fe827baff interpmodule: fix format-security diagnostic 2017-12-19 22:00:03 -06:00
Jeff Epler
aee3fad38b taskmodule: ignore expected 'deprecated-declarations' warning
.. this deprecated item still needs to be supplied to Python.
Later, we can remove this deprecated item from the Python API and
that will fix the diganostic for real.
2017-12-19 21:59:48 -06:00
Jeff Epler
7ecf486c02 halui: hide expected ignored-attributes diagnostic in this file 2017-12-19 21:53:22 -06:00
Jeff Epler
71d6b9b54a Merge branch 'issue379' 2017-12-19 21:52:54 -06:00
Jeff Epler
5724d8f599 posemath: Adapt upstream changes
This is based on inspection of rcslib-2014.04.29 but is not a direct
copy as the API was changed from taking pointers to taking copies
when it comes to inputs that are not changed.  Besides the issue
discussed in #379, one of the atan2 calls is changed.

Closes: #379
2017-12-19 21:49:40 -06:00
Norbert Schechner
03fddd2c16 gmoccapy_additional_keyboard_shortcuts:
testing branch for chopper79

ver 2.3.4
- introduced new keyboard shortcuts (not case sensitive)
  R = run program
  P = pause program
  S = resume program
  This keys will only work in auto mode, not being in edit mode and
  a program must be loaded. Pause and resume do only work if a
  program is running and / or paused.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-19 20:44:55 +01:00
andy pugh
31029ef216 Smart Serial: IO pins should have neither -not nor -invert-output
Smart Serial hasn't had any I/O type pins previously, so a problem with
the logic that creates the invert pins for bit-type pins had not been seen.
Hardware input pins normally have an inverted copy for HAL convenience, and
Hardware output pins have a parameter to invert their sense. IO pins should
have neither, but were actually getting both.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-12-19 12:06:49 +00:00
Dewey Garrett
4837a82c21 gscreen.py: use named arguments in format string
Address messages from make after commits a8ac1bbba5, 896eb1c990:

"Localizing linuxcnc.pot
 ...
 src/emc/usr_intf/gscreen/gscreen.py:4545: warning:
   'msgid' format string with unnamed arguments cannot be properly localized:
   The translator cannot reorder the arguments.
   Please consider using a format string with named arguments,
   and a mapping instead of a tuple for the arguments."
2017-12-19 04:40:55 -07:00
andy pugh
d92f694380 Smart Serial: Start to enable parameter setting via HAL
The only way to change settings on the smart-serial remotes is currently
with setsserial. This makes some sense with non-volatile parameters, but
is not useful for (for example) changing the position scale on a servo
drive.
This commit makes all smart-serial remote parameters visible
to HAL and settable using the normal "setp" command (the "setsserial
utility is no longer required for this)
Parameter changes only take place when the associated smart-serial port
tansitions from the "stopped" to "run" state.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-12-19 01:16:55 +00:00
c8a718ea37
Merge pull request #381 from jepler/arity
Reduce memory usage in compile by specifying BOOST_PYTHON_MAX_ARITY
2017-12-15 11:35:14 -06:00
Jeff Epler
2322588304 kinematics: decrease BOOST_PYTHON_MAX_ARITY everywhere 2017-12-15 07:19:21 -06:00
Jeff Epler
e885a53a13 pythonplugin: decrease BOOST_PYTHON_MAX_ARITY everywhere 2017-12-15 07:19:21 -06:00
Jeff Epler
3548309b85 task: decrease BOOST_PYTHON_MAX_ARITY everywhere 2017-12-15 07:19:14 -06:00
Jeff Epler
5ad444c642 rs274: decrease BOOST_PYTHON_MAX_ARITY everywhere 2017-12-15 07:19:14 -06:00
Dewey Garrett
6f0f2cafb8 control.c: honor fractional accels for wheel jogging
Formerly, joint->free_tp.max_acc was always set to joint->acc_limit
at simple_tp_update() so provisional fractional accels introduced
at d69b15cfe were ignored (a bug).

Note: the joint->free-tp.max_acc item is correctly set for
command-based jogging (EMCMOT_JOG_CONT,INCR,ABS) and for
wheel jogging (handle_jjogwheels) but homing relies on the
setting here.
2017-12-12 21:40:24 -07:00
Dewey Garrett
b7a13a899c Merge 'origin/dgarr/285,361' 2017-12-10 18:49:21 -07:00
bf2db97f4c
Merge pull request #376 from Solitarily/master
Update build_INI.py
2017-12-10 09:15:09 -06:00
David Shore
ecc9cdd6e7
Update build_INI.py 2017-12-10 17:02:54 +08:00
a0eb91a3b3
Merge pull request #375 from ReeseWang/patch-2
doc: Improve documentation of wait_complete
2017-12-09 09:13:56 -06:00
Ruoxi Wang
b757a47dcb docs: Added explaination for return values of wait_complete 2017-12-09 19:34:54 +08:00
Ruoxi Wang
06839a73c6
doc: Correct default timeout. 2017-12-09 18:43:53 +08:00
Dewey Garrett
a966260822 Merge branch '2.7' (unlocking_fix,JA) 2017-12-08 05:51:04 -07:00
Sebastian Kuzminsky
21639115a8 Merge remote-tracking branch 'origin/2.7'
Conflicts:
    src/emc/usr_intf/axis/scripts/linuxcnctop.py

I resolved this merge conflict by using the version of linuxcnctop.py
from Jeff's original master-based linuxcnctop-stretch-leak branch instead.
2017-12-07 11:51:41 -07:00
Dewey Garrett
d28bc2ecbd Merge branch 'origin/2.7' into master 2017-12-04 17:29:51 -07:00
Sebastian Kuzminsky
4e0c8acaf2 tests: update limit3.1 test expected results for new limit3 component
The behavior of the new limit3 component (updated for issue #240) is
slightly different than the behavior of the old component.  It takes
a little longer to "lock on" to the input.  This updates the test's
expected output to match the new component's behavior.
2017-12-04 15:48:48 -07:00
Sebastian Kuzminsky
504b31aa09 limit3: add .in-limit pin
This pin was present in the master version of limit3 before the merge of
the fix for issue #240 (but it was not in the version of limit3 in 2.7,
so nothing's needed there).

The .in-limit pin is True when the limit3 output is prevented from
tracking the input by limits (position, velocity, or acceleration).  The
.in-limit pin is False when the output is tracking the input perfectly.
2017-12-04 15:45:32 -07:00
Sebastian Kuzminsky
9bfb958ee0 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/hal/components/limit3.comp

The limit3 conflict was because it's been modified in master (adding
.in-limit pin) and rewritten pretty much from scratch in 2.7.  I resolved
it by picking the version from 2.7.  I'll add .in-limit back in in the
following commit.
2017-12-04 10:45:20 -07:00
Sebastian Kuzminsky
c4cdd7ce14 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	share/axis/tcl/axis.tcl
2017-12-03 20:21:25 -07:00
Sebastian Kuzminsky
b3a913a23c Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/hal/drivers/mesa-hostmot2/sserial.c
	src/po/gmoccapy/zh_CN.po
	src/po/zh_CN.po

I resolved the merge conflicts in the Chinese translations by choosing the
version in master, on the advise of Solitarily (our Chinese translator).
2017-12-03 12:44:37 -07:00
Dewey Garrett
e10c52ea64 motion/control.c probe trip handling JA 368 2017-12-02 21:50:34 -07:00
Norbert Schechner
7d9202e993 gmoccapy_2_3_3_2 - error on chk_toggle_readout
ver 2.3.3.2
- toggling the chk_toggle_readout, raised an exception on 5 axis config

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-02 16:29:48 +01:00
Norbert Schechner
3e5991ccd5 gmoccapy_2_3_3_1 - small change to code to sure hide blockheight label if not used
ver 2.3.3.1
- small changes to the code, as there was a possibility the
  label was shown, even if auto tool measurement was not used

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-02 15:48:13 +01:00
Dewey Garrett
3de8778374 axis.py,.tcl fixes for 285,361
For the master branch, the axis gui:
  a) attempts to allow alternate jogging methods (wheel jogging,halui)
     when the mdi tab is selected.
  b) avoid bad behavior observed at commit: 4f90341177

This commit attempts to address cooperating guis that issue
mdi commands as noted in issue 361 and the transient pulsing of
halui.mdi.is_manual when selecting the mdi tab as noted in issue
285.

If the axis mdi tab is active *and* an mdi command has been
issued, cooperating guis that issue jog commands must set to
manual mode (pulse halui.mode.manual for instance).

Note:

The behavior for axis gui tabs was changed in 2.8~pre (master)
because it was inconvenient for users to try to wheel jog when
the axis gui tab was at mdi.  With this commit, it will be
possible but user ancillary guis will need to address setting
mode to manual if an mdi has been issued.
2017-12-02 07:28:35 -07:00
Norbert Schechner
3de059ce52 gmoccapy_2_3_3 - new label to show blockheight
ver 2.3.3
- added a label at the button of the preview window to show the actual
  block-height value
- the value is stored in the preference file and will be reloaded on start up,
  the corresponding hal pin is set to that value
- the block-height label is only visible, if the "use auto tool measurement"
  check-box is active!

  Thanks to Rubenv and crislacuf for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-12-02 14:06:39 +01:00
Sebastian Kuzminsky
8e90541fe9
Merge pull request #362 from Solitarily/master
Add brackets to the phrase you want to translate
2017-12-01 09:42:31 -07:00
Solitarily
a8ac1bbba5 Add brackets to the phrase you want to translate 2017-12-01 22:45:40 +08:00
6cd0ce5024
Merge pull request #356 from Solitarily/master
Fixed some bad translations
2017-11-29 20:59:16 -06:00
f3d20efd29
Merge pull request #360 from rene-dev/vel_cmd_fix
Calculate velocity command form cubic spline. Previously it was deriv…
2017-11-29 20:58:10 -06:00
Rene Hopf
76d03302c6 Calculate velocity command form cubic spline. Previously it was derived from the position, which results in one preiod delay of the velocity.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-11-30 01:32:10 +01:00
Solitarily
3ebee64ff8 Fixed some bad translations 2017-11-27 23:13:02 +08:00
Rene Hopf
6e5615f058 fix scale type in g33.1
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-11-27 02:59:49 +01:00
Rene Hopf
f88c41c773 change g33.1 I flag to non modal
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-11-27 02:57:37 +01:00
bd25a5d11f
Merge pull request #350 from KimK/master
Fix missed translation in recent large batch
2017-11-25 08:43:19 -06:00
Rene Hopf
3b8401107c fix interp compile test
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-11-25 14:22:57 +01:00
Rene Hopf
9b8d75d602 adding optional I parameter to G33.1 which scales the spindle speed up on the return move
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-11-25 05:42:50 +01:00
Chris Morley
8afc258acc gscreen -fix homing error do to joint mode
needed to set teleop mode off.
it would home the first time right after loading - not after.
2017-11-22 05:18:50 -08:00
Kim Kirwan
eed8ccf9a3 Fix missed translation in recent large batch
Out of curiosity, I clicked on the large batch.
Apparently the original .po source was Spanish.
The Spanish jumped out at me when I happened to see it.

I came up with a translation from the lines above, but
original poster Solitarily should approve first.

Thanks.

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2017-11-17 03:18:10 -06:00
Dewey Garrett
ba44943f9d xhc-hb04.tcl ensure floatingpoint mpg_accels
force tcl arithmetic for computing *.jog-accel-fraction
to yield floatpoint result

problem occurs if an mpg_accel item and its corresponding
[AXIS_L]MAX_ACCELERATION item are *both* specified without a decimal
point so tcl arithmetic returns integer result for computed
fraction (e.g., 0)
2017-11-15 07:24:51 -07:00
Jeff Epler
039f5fb1ae
Merge pull request #349 from Solitarily/master
Update Chinese translation, adding braces for some strings.
2017-11-14 20:38:20 -06:00
Solitarily
896eb1c990 Update Chinese translation, adding braces for some strings. 2017-11-13 23:30:26 +08:00
Dewey Garrett
d2e3d0ef29 twopass.tcl: handle more complex config= modparams
New twopass support for fpga boards that may use config modparam items
that have multiple num_item=value settings enclosed by quotation marks.

Tested on hardware with 7i92 using:
loadrt hm2_eth config="num_encoders=2 num_pwmgens=2 num_stepgens=3" board_ip=10.10.10.10
2017-11-12 19:38:10 -07:00
Dewey Garrett
232d7daa38 xhc-hb04.tcl use *.jog-accel-fraction pins
instead of mulitplexing reduced accels to
ini.*.max_acceleration.

Notes:
 1) the prior multiplexing to ini.*.max_acceleration pins
    required a helper script (scripts/xhc-hb04-accels) since
    the ini pins are not available until task started.
 2) the fractional accel settings apply only to wheel
    jogging (not other forms of jogging using nml commands)
2017-11-10 17:02:43 -07:00
Dewey Garrett
d69b15cfe1 motion: wheeljogging *.jog-accel-fraction hal pins
new motion hal pins:
    axis.L.jog-accel-fraction
    joint.N.jog-accel-fraction

Hal pins specify reduced acceleration for wheel jogging to reduce
impulsive motion when jog count changes occur at low frequency.
The pins specify a fraction (between 0 and 1) of the corresponding
ini setting for [*]MAX_ACCELERATION.  Values less than zero or
more than 1 are ignored.

When jog-counts are increased/decreased slowly, the use of full
acceleration can cause disconcerting motion or shaking on machines
with high acceleration capabilities.  This feature may be used
with or without auxiliary lowpass filtering of the *.jog-counts
inputs.

Note: Lowpass filtering of jog-counts smooths motion when
jog-counts changes are sustained but is less effective for single
event or low frequency count changes because the leading/trailing
accel occurs at the ini setting for max_acceleration.
2017-11-10 17:02:19 -07:00
Jeff Epler
c8f6b32b97
Merge pull request #345 from Solitarily/master
Specify the file character set as utf-8

The way to see the problem is simply to "next" through all the steps of stepconf.  The problem occurs when trying to write a non-ASCII string to a file.  The popup with the python traceback doesn't have

The internet is divided on whether changing the default encoding in this way is a good idea or not.  I looked into changing all the places we write data to properly encode it as UTF-8 instead, and that requires a lot more changes overall.
2017-10-30 11:00:28 -05:00
Solitarily
a506aedfc3 Language update 2017-10-30 22:52:37 +08:00
Solitarily
c08cdb4875 Specify the file character set as UTF-8,because there was an error when Setpconf wrote the configuration file in the Chinese locale. 2017-10-30 22:46:16 +08:00
Norbert Schechner
4db50e585a gmoccapy_2_3_2_4 - most of .format code rework done
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 13:11:27 +01:00
Norbert Schechner
7ddaaa2ddf gmoccapy_2_3_2_3 - warning dialogs if gmoccapy can not start
ver 2.3.2.3
- display message as dialog, when critical errors do avoid the start of gmoccapy
  not only report in terminal

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 12:34:28 +01:00
Norbert Schechner
c69809207d gmoccapy - dialogs - warning dialog without sound
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 12:33:23 +01:00
Norbert Schechner
1b109daf97 gmoccapy_2_3_2_2 - reformating code to new .format style
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 12:05:33 +01:00
Norbert Schechner
dde68ad837 Merge branch 'master' of https://github.com/LinuxCNC/linuxcnc.git 2017-10-29 11:03:03 +01:00
Norbert Schechner
5dd602a8ea GladeVCP - CombiDRO - If it can not poll just pass do
not print that information every cycle

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 11:02:49 +01:00
Norbert Schechner
652ebaf246 gmoccapy_2_3_2_1 - bug in Vc with values over 100
ver 2.3.2.1
- formating bug in Vc, when over 100, float can not be formated as int

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-29 10:59:50 +01:00
Sebastian Kuzminsky
8af4e661b0
Merge pull request #344 from Solitarily/master
Submit some new Chinese translations for 2.8
2017-10-28 18:25:32 -06:00
Solitarily
1f16376cc0 Submit some new Chinese translations for 2.8 2017-10-29 00:16:37 +08:00
Norbert Schechner
391619c7f9 gmoccapy_2_3_2 - vc label and format changes
ver 2.3.2
- added a new label to toolinfo box, showing the cutting speed Vc
  it uses the tool diameter on mill and the x-relative value for lathe
- first code updates to the new string formating (not % but .format),
  as this will be needed to switch over to python 3

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-28 16:04:28 +02:00
Jeff Epler
5319111330 Merge pull request #340 from l29ah/master
mv configure.in to configure.ac to be future-proof
2017-10-23 07:43:26 -05:00
andy pugh
367b0b1ca4 hm2_7i43 hm2_7i90: Remove a kludge for crazy configs
The fix in 2.7 for the situation when the EPP cards were passed a blank
config string required a rather untidy workaround in case any existing
config was relying on the existing behaviour. The chances are almost zero
that anyone was relying on it so for master it seems appropriate to remove
the special handling.

Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-10-19 19:49:20 +01:00
andy pugh
f6133dce74 hostmot2 dpll: Remove redundant code
The hm2_dpll "force write" code was only used to set some (probably unwanted)
default values.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-10-19 19:03:42 +01:00
Jeff Epler
e3b758b161 Merge remote-tracking branch 'origin/2.7'
Conflicts in gmoccapy were resolved by taking the file verbatim from
the master branch:
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt
2017-10-19 08:19:43 -05:00
Sergey Alirzaev
822c5871c5
mv configure.in to configure.ac to be future-proof
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
2017-10-18 05:17:16 +03:00
Jeff Epler
d2c23d7a35 AXIS: Remove redundant bindings
At some point these got duplicated, probably by copypaste mishap.
2017-10-15 10:38:23 -05:00
Jeff Epler
e52f2419b8 AXIS: fix cursor keys in MDI window
Since Tk8.6, Tk switched from using real events like <Left> to using
virtual events like <<PrevChar>>.  This allows them to switch
the layer at which support for e.g., emacs-style ctrl-b is handled,
but it caused a regression with the way AXIS causes the arrow keys
to sometimes control jogging and other times navigate within entry
fields like MDI.
2017-10-15 10:38:23 -05:00
Jeff Epler
8190629478 AXIS: don't try to restore group 1 modal code
This is the motion type, such as G0/G1/G2/G38.x.  Restoring G0
and G1 work fine (they don't need any axis letters to appear
on the same line), but restoring arc modes doesn't work
("R i j k words all missing for arc"), nor does restoring a
probing mode ("all axes missing with motion code").
2017-10-15 10:16:57 -05:00
Jeff Epler
9ab4c2ac59 stepconf: silence warning at startup 2017-10-15 10:07:40 -05:00
Jeff Epler
46392934a0 Merge pull request #338 from midyukov-anton/linuxcnc-fix
Fix issues 335
2017-10-09 19:17:48 -05:00
Anton Midyukov
bb2d088668 Fix issues 335
Fix build error:
emc/kinematics/lineardeltakins.cc:18:18: error: 'std::std' has not been declared
2017-10-04 19:43:18 +07:00
Dewey Garrett
7c626c5280 ini-config.txt: NO_FORCE_HOMING for iden kins only
Document restriction from early ja work
2017-10-03 06:17:19 -07:00
Norbert Schechner
87c8b04b62 gmoccapy_2_3_1_9 - bug in lathe mode DRO Size
ver 2.3.1.9
- dialogs, changed entry_dialog check for integer before show_all
  This was only a cosmetic change
- Solved bug in lathe mode, changing the size of DRO, did not
  change the Y DRO (D). Thanks to Partic T for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-10-01 23:10:54 +02:00
Sebastian Kuzminsky
677dc909ee docs: clarify what directories to run the debian tools from 2017-09-29 14:10:49 -06:00
Dewey Garrett
38bd4522ff motion/command.c: avoid spurious error
tl;dr
  Prevent spurious errors from
    motion/command.c:check_axis_constraint()
  for unused axis coordinates.  These unused axis
  coordinates have axis.max_pos_limit==0 and
  axis.min_pos_limit==0.  Tiny (1e-323) input
  target values may trigger error detection.
Example: during testing of a custom xyz config:
1) estop off, machine on, home
2) mdi: g0 x1
   Errors reported on unused (ABCUVW) coordinates:
   "Linear move on line 0 would exceed A's positive limit"
   "Linear move on line 0 would exceed B's positive limit"
   ...
3) add some test code to
     motion/command.c:check_axis_constraint()
   to report target values triggering above errors:
   "target=1.976e-323 id=0 axis_no=3 axis_name=A nl=0 pl=0"
   "target=6.942e-310 id=0 axis_no=4 axis_name=B nl=0 pl=0"
   ...
   The tiny reported target is above the positive limit
   (pl = 0) but the tiny value is physically
   unrealistic.
4) The reported target values are smaller than the
   IEEE minimum normalized double precision values
   (2.2e-308), ref:
   https://en.wikipedia.org/wiki/Double-precision_floating-point_format
5) In the test custom kins module, these small values are
   due to the subtraction of nominally equal values
6) The problem observed in the test custom kins module
   can be reproduced using the trivkins.c and adding a
   tiny value to the A coordinate in its kinematicsForward()
   function:
   -  case 3: SET(a); break;
   +  case 3: SET(a) + 1e-323; break;
   Test as above using configs/sim/axis/axis.ini:
    a) estop off, machine on, home-all
    b) mdi: g0 x1
    c) reports error on the A axis (SET(a) above)
    d) similar results using BCUVW coordinates
7) More tests in trivkins.c:
   +  case 3: SET(a) + 1e-320; break;  --> shows problem
   +  case 3: SET(a) + 1e-323; break;  --> shows problem
   +  case 3: SET(a) + 1e-324; break;  --> noproblem
8) reproduced modified trivkins example on:
     Debian GNU/Linux 8.2 (jessie)
                      4.1.0-0.bpo.2-rt-amd64
                      gcc (Debian 4.9.2-10) 4.9.2
     Wheezy,    3.4-9-rtai-686-pae (VirtualBox)
     Mint 18.1, 4.4.0-53-generic   (VirtualBox)
     Stretch,   4.9.0-3-rt-amd64   (VirtualBox)
2017-09-25 07:32:38 -07:00
Norbert Schechner
efa9d09ca5 gmoccapy - dialogs - corrected the signal type
the signal is of type string, not pyobject

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-22 17:49:15 +02:00
Norbert Schechner
ef17644c02 gmoccapy_2_3_1_8 - dialogs is now a class and have gobject signals
ver 2.3.1.8
- made dialogs a Class and enable gobject signals with the dialogs
  Now a sound will be played if a dialog pops up.

  This is a first step to modify all the handling within the GUI to
  make most parts react to signal and slots.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-21 14:31:44 +02:00
Norbert Schechner
5aa6b75e86 gladeVCP - tooledit_widget.py - select tool in spindle after
reloading the toolfile

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-21 14:24:03 +02:00
Norbert Schechner
0a439d6a4c gmoccapy_2_3_1_7 - minor bug in periodic and better tool handling
ver 2.3.1.7
- minor bug in self periodic, forgot to change an AUDIO_AVIABLE setting
- some work on tool handling, i.e. not possible to delete tool in spindle
  any more and after applying changes the tool in spindle will be marked

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-20 22:23:05 +02:00
Norbert Schechner
fa9206f33e gmoccapy_2_3_1_6 - bug with decimal separator solved
ver 2.3.1.6
- solved the bug, that the decimal separator was changed after starting
  the gui, this was related to the import of gst, as this import does
  change the value of locale.localeconv()["decimal_point"]
  I do not know why, but the import of gst prior to locale setting
  solves the problem

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-20 21:56:41 +02:00
Norbert Schechner
00a6e92032 gmoccapy_2_3_1_5 - searching a decimal separator bug in tooledit widget
ver 2.3.1.5
- some code clearance, as the tooleditor stuff was reparted on several places
  Now it is together in _init_tooleditor.
  This is the beginning of finding the bug of decimal separator handling
  Push reload will replace the German "," with the "." Why = ?????

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-09-20 17:36:19 +02:00
Jeff Epler
9d99a308bc remove stray import in comment 2017-09-15 06:42:17 -05:00
Jeff Epler
5983acda83 Merge pull request #331 from lkundrak/lr/fsf-address
all: update FSF address in GPL 2.0 notices
2017-09-15 06:41:50 -05:00
Lubomir Rintel
a63ec765cb all: update FSF address in GPL 2.0 notices
If you write to 59 Temple Place you're unlikely to get a response.
Let's realign the address with a more up-to-date one from [1].

  [1] https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

This is purely a cosmetic change, doesn't affect the meaning of the
license. Done to make rpmlint happy.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2017-09-15 13:06:22 +02:00
Dewey Garrett
92413f5973 ini-homing.txt: joint nomencature 2017-09-14 15:54:34 -07:00
Dewey Garrett
8e851bdce4 biquad.comp typo in doc text 2017-09-14 12:17:10 -07:00
Sebastian Kuzminsky
730d692457 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/emc/usr_intf/axis/scripts/axis.py
	src/emc/usr_intf/gmoccapy/gmoccapy.glade
2017-09-14 10:20:25 -06:00
Jeff Epler
a458f5b9dc Merge pull request #327 from ReeseWang/patch-2
homing: Added a requirement for immediate homing.
2017-09-13 11:12:09 -05:00
Dewey Garrett
b3156aa8b1 biquad.comp: change type,f0,Q,s1,s2 to pins
Notes:
  1) params n0,n1,n2,d1,d2 are still available for
     direct specification of coeficients for type==0
     (but using type>0 and specifying f0,Q is most
     common method to specify)
  2) s1,s2 are internal state for debugging
2017-09-12 13:24:41 -07:00
Ruoxi Wang
f7d28ab6cd homing: Added a requirement for immediate homing.
I accidentally found that to achieve immediate homing, [AXIS_n]HOME should be equal to [AXIS_n]HOME_OFFSET. Otherwise, the machine would move a distance of (HOME - HOME_OFFSET) on the corresponding axis before changing current G53 coordinate to [AXIS_n]HOME, thus breaks "immediate homing".
2017-09-13 00:51:38 +08:00
Sebastian Kuzminsky
0f4c690dfd Merge remote-tracking branch 'origin/2.7' 2017-09-10 10:32:52 -06:00
Jeff Epler
60a299900d axis.py: no need for iter() here
.. so don't write it
2017-09-07 16:38:52 -05:00
Jeff Epler
06e78c4c75 Merge remote-tracking branch 'origin/2.7'
Closes #323
2017-09-07 16:38:31 -05:00
Dewey Garrett
9787a7d484 halui.cc: new pin: halui.machine.units-per-mm
Use-case:
   Some hal components can use the units-per-mm
   ([TRAJ]LINEAR_UNITS) to reduce user required
   configuration items.
   (viz. eoffset_pid internal gain scaling)

Note:
  1) simpler to implement as an inihal pin but
     delayed creation not acceptable for intended usage
2017-09-07 05:52:50 -07:00
Dewey Garrett
a8afce6e49 emccalib.tcl: remove nonexercised code
exclusion of LIB: halfiles worked when the
restriction was introduced at commit:
  2f785439 2015-04-17
but ceased working at commit:
  70c89f55 2015-07-27
because halfilelist became a fullpath (excluding the text
searched for ("LIB:") in the unprocessed halfile filename)

Allowing search for setp commands in LIB: halfiles is
advantageous to applications that may require user ini file
items in conjunction with LIB: hal files that are provided
to establish required items and enforce consistency in hal
connections and naming.  (e.g., external_offsets eoffset_pid
reference design examples)

Note: emccalib.tcl reads halfiles only to find/validate
candidate items for tuning; updating writes are done only to
user inifiles (never to user or LIB: halfiles).
2017-09-05 13:23:34 -07:00
Dewey Garrett
740c4252aa emccalib.tcl: support [JOINT_N],[AXIS_L],[TUNE]
Formerly, calibration with emccalib.tcl only supported
ini file items like:
   [JOINT_N]name=value

Now support additional stanza names:
   [JOINT_N]name=value (suffix N is a joint number)
   [AXIS_L]name=value  (suffix L is an axis letter)
   [TUNE]name=value    (no suffixes for the [TUNE] stanza)

As before, a HALFILE using a setp command for one
or more of the supported stanza items is required.

Notes:
  1) related code updates:
      a) forgo use of 'global' commands by
         using single array (::EC()) for most
         global variables
      b) var names made from concatenated strings
         like 'joint$j-$lowername' are
         now array items like
         ::EC(value,$tabno,$lowername)
      c) forgo use of 'array set' commands by using
         conventional associative array naming
  2) fix writing of extra empty lines in proc saveFile
  3) restore display of wizard logo
  4) removed some dead code
2017-09-03 17:18:35 -07:00
Dewey Garrett
6266652394 Merge remote-tracking branch 'origin/2.7' 2017-09-01 08:22:39 -07:00
Dewey Garrett
a7aeaa6083 sim_pin: support expressions in numeric entries
using tcl expr
2017-08-29 09:47:57 -07:00
Dewey Garrett
c3d0e335a9 homing:describe home_sequence startnum restriction
Formerly, [JOINT_n]HOME_SEQUENCE items were required to
start with 0.  Now, values of 0, 1 (or -1) are supported.
2017-08-25 14:17:31 -07:00
Dewey Garrett
bdbb4c3446 linuxcncrsh docs update for "Home All" 2017-08-24 16:48:01 -07:00
Dewey Garrett
b3568fb909 linuxcncrsh (emcrsh.cc), support "Home All" 2017-08-24 15:26:44 -07:00
Dewey Garrett
b7950c2936 Merge remote-tracking branch 'origin/2.7' 2017-08-23 12:30:52 -07:00
Dewey Garrett
510e1a943c tp.c fix questionmarked comment
The item once named [TRAJ]MAX_VELOCITY
was changed to      [TRAJ]MAX_LINEAR_VELOCITY
early in joints_axes work

thanks to pkmcnc
2017-08-16 10:39:24 -07:00
andy pugh
b73d24a644 Merge remote-tracking branch 'origin/2.7'
Incorporate a 7i43 bugfix from 2.7 ASAP
2017-08-16 18:37:41 +01:00
Sebastian Kuzminsky
de345856d9 docs: fix debian/configure example command line 2017-08-15 12:03:04 -06:00
Dewey Garrett
c1affd56d4 Merge branch 'dgarr/homing_seq_updates'
Commits summary:
  1) negative [JOINT_N]HOME_SEQUENCE items
     disable *joint* jogging for specified joints
  2) new hal pins ini.N.home_sequence allows runtime
     alteration of joint home_sequence to circumvent
     restriction of 1)
  3) new hal pin motion.homing-inhibit allows integrator
     to disable homing when undesirable (for example
     due to temporary use of 2)

Tested: all sim configs with negative HOME_SEQUENCE items:
          sim/configs/axis/gantry.ini
          sim/configs/axis/gantry_mm.ini
          sim/configs/gmoccapy/gmoccapy-JA/Gantry/gantry_mm.ini

Plus user pkmcnc tested on a parallel kinematics machine
2017-08-14 16:35:00 -07:00
Dewey Garrett
845bb75283 motion.homing-inhibit (new pin)
Some complicated systems take advantage of the
provisions for synchronizing the final joint homing
moves as controlled by negative [JOINT_N]HOME_SEQUENCE=
ini file items.  Candidate systems include gantries
with two motors for an axis, delta robots, hexapods,
etc.

By default, the synchronization provisions also
disallow *joint* jogging prior to homing in order to
prevent jog activity that (unless executed with much
care) can misalign the machine (gantry racking for
example).

System integrators may want to allow *joint* jogging
prior to homing with some hal logic that dynamically
alters the [JOINT_N]HOME_SEQUENCE= items.  Such logic
can assert the motion.homing-inhibit pin to ensure
homing is not initiated under certain conditions.

Example: synced joints 0,1 using sequence -1 for
synced homing with a switch (allow_jjog) to select sequence 1 for
*joint* jogging before homing (partial hal code):

setp mux.in0 -1
setp mux.in1  1

net home_seq <= mux.out
net home_seq => ini.0.home_sequence
net home_seq => ini.1.home_sequence

net hsequence_select <= allow_jjog
net hsequence_select => mux_sel
net hsequence_select => motion.homing-inhibit

Note that ini hal pins are not available until milltask
starts so execution of the above hal commands may need
to be deferred using an [APPLICATION]APP= script or a
a postgui halfile.

Thanks to pkmcnc for suggestion.
2017-08-14 15:53:07 -07:00
Dewey Garrett
12320cc273 ini hal pins new: ini.N.home_sequence
Use case:
  1) Config uses a negative home_sequence for synchronized
     homing final move (used on some gantry configs).
     Jogging of joints in the sequence is disabled
     (recent modification).
  2) User may want a method to jog joints prior to homing
     without requiring a config stop/edit/restart.

With this commmit, joints configured for synchronised homing
by negative [JOINT_N]HOME_SEQUENCE values can be temporarily
allowed to joint jog by setting hal pins (ini.N.home_sequence)
to non-negative values.  Non identity kinematics should be
used (trivkins kinstype=B for KINEMATICS_BOTH).

Note: as with all ini hal pins, changes are acknowledged
when not performing coordinated motion.
2017-08-14 15:53:07 -07:00
Dewey Garrett
a46e735538 motion: fix for trivkins duplicate coordinate jogs
tldr: no *joint* jog if negative home_sequence

Problem Statement:
------------------
Using the trivkins kinematics module with duplicated coordinates
is useful for a gantry using two motors to move a single axis
because it allows synchronization of the final homing move for
the joints involved.

However, use of duplicated coordinate letters creates problems
that are dependent on the kinematics type (as defined by the
trivkins module kinstype= parameter) and gui conventions:

  1) Using kinstype=1 (KINEMATICS_IDENTITY the default) creates
     numerous problems with the axis gui because it always hides
     the distinctions of joints and axes for IDENTITY kinematics.
     Restrictions include:
       a) An axis with duplicated coordinate letters cannot
          be homed individually (Home-all must be used)
       b) Prior to homing, jogging a duplicated coordinate
          will move only one of the joints used for the
          duplicated coordinate letter.

  2) Using kinstype=B (KINEMATICS_BOTH) clearly distinguishes
     joints and axes and clarifies the need to HOME the machine
     before operating in world coordinates for conventional
     cartesian jogging and execution of mdi commands and gcode
     programs.

     But -- unwary operators may jog one of the joints used for
     a duplicated coordinate letter excessively and rack the
     machine prior to homing.

Solution:
---------
  a) For any kinematics type, disable joint jogging for a joint
     when it uses a negative [JOINT_n]HOME_SEQUENCE to
     synchronize the final homing moves on related joints.

  b) For KINEMATICS_BOTH, a request to jog a joint with a negative
     HOME_SEQUENCE causes motion to report an error.

  b) For KINEMATICS_IDENTITY, a request to jog a joint with a
     negative HOME_SEQUENCE causes  motion to reports an error
     and suggests the requirement to Home the machine

With this change, gantry users can be encouraged to use
KINEMATICS_BOTH since the problem of racking is eliminated with
the use of negative HOME_SEQUENCE on synchronized joints.
2017-08-14 15:53:07 -07:00
Dewey Garrett
3a4dde2c96 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
	src/hal/components/carousel.comp
2017-08-14 12:05:45 -07:00
Dewey Garrett
e4a5875505 milltask manpage + docs missing ini.N.home* items 2017-08-04 17:13:06 -07:00
Dewey Garrett
f74afabb90 shcom.cc,.hh more appropriate parameter naming (JA) 2017-08-02 15:04:37 -07:00
Dewey Garrett
5b36de9d9a axis.py use upper() to match prior default setting
case is validated in subsequent uses, this updates previous commit
2017-07-31 18:49:09 -07:00
Dewey Garrett
ba33f6c59a axis.py: force only trivkinscoords to lower
do not assume all kinsmodules and their parameters
are lowercase
2017-07-31 17:33:20 -07:00
Norbert Schechner
4366af1666 docs hostmot2 - wrong link
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-29 18:14:49 +02:00
Jeff Epler
ba7e31ba8e Merge pull request #313 from cts1085/glcanon_geometry_signbug
glcanon signbug when show_tool if "-" on non-rotational axis
2017-07-28 20:54:29 -05:00
Tom Schneider
caf74423eb glcanon signbug when show_tool if "-" on non-rotational axis
Show tool rotations could apply a negative rotation incorrectly

for example:
XY-ZA
would be processed as
XY-Z-A

when rendering the tool

Signed-off-by: Tom Schneider <cts@cs2corp.com>
2017-07-28 12:02:18 -04:00
Jeff Epler
fe8544ef16 Merge pull request #312 from cts1085/toolrender_multi_rotations
Apply show_tool rotations in original GEOMETRY order
2017-07-28 09:56:49 -05:00
Tom Schneider
a6cabefd4d Apply show_tool rotations in original GEOMETRY order
Impact is only for configs with more than one rotational axis.
Expectation is that rotations will be applied in the order of the GEOMETRY
attribute in the INI file. However when GEOMETRY is read in it is reversed.
This causes the tool rotations to be applied as -BA rather than A-B

Signed-off-by: Tom Schneider <cts@cs2corp.com>
2017-07-28 10:19:00 -04:00
andypugh
1b296dfa8e carousel: Add parity checking and strobe pins.
This patch adds some pins useful for binary-encoded tool turrets and also corrects
some behaviour with out-of-range tool numbers.


Signed-off-by: andypugh <andy@bodgesoc.org>
2017-07-27 20:49:02 +01:00
Norbert Schechner
3604dfb0e0 gmoccapy_2_1_3_4 - forgot to update release number
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-26 20:20:33 +02:00
Norbert Schechner
6be5efbd91 gmoccapy_2_3_1_4 - make sound widget no sensitive
ver 2.3.1.4
- if no sound is available make the sound selecting widgets on the settings page
  not sensitive, Thanks to Rene for reporting this misbehavior

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-26 20:15:49 +02:00
Norbert Schechner
e21abcc6cd gmoccapy_2_3_1_3 - bug loading player in Stretch
ver 2.3.1.3
- changed the import of the player module, as Stretch does not support gst in
  the way Wheesy or Jessie did

Thanks to Rene for reporting
2017-07-26 19:52:33 +02:00
Sebastian Kuzminsky
0886a1bba0 packaging: update debian/control VCS link from glo to github 2017-07-26 09:56:00 -06:00
Sebastian Kuzminsky
12f2cd0c0e docs: update Building LinuxCNC document from glo to github 2017-07-26 09:55:38 -06:00
Jeff Epler
71aa851523 Merge pull request #307 from trasz/freebsd2
Consistently use "#!/usr/bin/env python".
2017-07-26 07:13:13 -05:00
Sebastian Kuzminsky
063b79b3d2 Merge remote-tracking branch 'origin/2.7' 2017-07-25 23:42:26 -06:00
Jeff Epler
f7f9a4002b Without SOB policy, PULL_REQUEST_TEMPLATE is not needed 2017-07-24 16:15:15 -05:00
Jeff Epler
6ab2dd3cb0 Merge remote-tracking branch 'origin/2.7' 2017-07-24 16:14:18 -05:00
Edward Tomasz Napierala
ae4b8a7cf1 Consequently use "#!/usr/bin/env python".
This improves the situation on FreeBSD.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-21 22:24:30 +01:00
Sebastian Kuzminsky
014b9d0fe1 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
	debian/configure
2017-07-20 10:57:58 -06:00
andypugh
a3b7ede70b update_ini: Expunge some unused INI file entries
[TRAJ]CYCLE_TIME and [EMCMOT]COMM_WAIT. This patch prevents their useless
propagation into the indefinite future.

Signed-off-by: andypugh <andy@bodgesoc.org>
2017-07-18 23:17:17 +01:00
Jeff Epler
e2004798cf regmap: point at github for canonical location
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-07-18 08:15:49 -05:00
Norbert Schechner
b35220f4bc gmoccapy - made import gst more clear
python-gstX.XX needed to play sounds, no side effects,
if that module can not be loaded

It is only needed to play alarm or waring sounds.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-17 20:22:20 +02:00
Norbert Schechner
3350c36c8f gmoccapy_2_3_1_2 - bug in error report, replacement of joint and axis
ver 2.3.1.2
- rodw reported that gmoccapy reported a wrong error if JOINT was mentioned
  in the error report. That was caused due to an old change from Joints to axis
  in _show_errors.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-16 12:30:56 +02:00
Sebastian Kuzminsky
a5c7736af8 remove [TRAJ]CYCLE_TIME, it was never read
This removes [TRAJ]CYCLE_TIME from all sample configs and test configs,
from the docs, and from the config-generating programs stepconf and pncconf.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-07-14 18:13:41 -06:00
Sebastian Kuzminsky
b167ec2d87 remove [EMCMOT]COMM_WAIT from all sample configs and tests
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-07-14 15:42:43 -06:00
Sebastian Kuzminsky
945de033f9 Motion: remove unused reading of [EMCMOT]COMM_WAIT
The userspace part of Motion (which is responsible for sending messages
to the main realtime part of Motion) reads an ini variable named
[EMCMOT]COMM_WAIT, and manages an internal variable holding the value,
but it is never used.  Remove it.

There is a short sleep in the "wait-for-ack-from-realtime-Motion" loop
of usrmotWriteEmcmotCommand(), but it's hardcoded to 25 microseconds,
it ignores this ini variable.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-07-14 15:36:44 -06:00
Sebastian Kuzminsky
65a94954ce Merge remote-tracking branch 'origin/2.7' 2017-07-14 15:20:54 -06:00
Jeff Epler
15b31169c1 Merge branch 'master' of https://github.com/rene-dev/linuxcnc
Closes: #304
2017-07-14 09:14:04 -05:00
Rene Hopf
a4a41a247a Fix issue https://github.com/LinuxCNC/linuxcnc/issues/304
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-07-14 04:48:55 +02:00
Jeff Epler
4290ecf84a Merge branch 'master' of https://github.com/rene-dev/linuxcnc
Closes: #178
2017-07-13 15:47:55 -05:00
Rene Hopf
e1f82cd72f added back tool lathe to lathe sim config
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-07-13 22:46:41 +02:00
Rene Hopf
2cb29aa0d9 added documentation for BACK_TOOL_LATHE option in axis
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-07-13 21:06:38 +02:00
Rene Hopf
f2cc46476e This fixes https://github.com/LinuxCNC/linuxcnc/issues/178 by adding BACK_TOOL_LATHE support to axis in the DISPLAY section.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-07-13 19:02:22 +02:00
Sebastian Kuzminsky
bb5e8a4f09 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/Submakefile
	src/hal/drivers/mesa-hostmot2/pins.c
2017-07-12 09:21:22 -06:00
Norbert Schechner
0615fdf00c Merge branch '2.7' 2017-07-10 19:57:01 +02:00
Norbert Schechner
9a08778fec GladeVCP - ComiDRO - raise SystemExit in code stops Glade to load file
There was a try exept throwing an SystemExit Error, So trying to load
a file containing a CombiDRO widget could not be loaded any more
with Glade.


Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-10 19:52:13 +02:00
Jeff Epler
5b7929df50 Merge branch 'freebsd2' of https://github.com/trasz/linuxcnc 2017-07-08 16:25:35 -05:00
Jeff Epler
aad1cab77c uspace_rtapi_app: fix use of g++ extension not in clang++
.. by moving this extern declaration out of the anonymous
namespace.  It appears that g++ makes the later definition
of rtapi_is_realtime have "C" linkage, but clang++ does not.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-07-08 08:28:48 -05:00
Jeff Epler
0fcfcc4688 Merge remote-tracking branch 'origin/2.7'
Per email from Norbert, simply preserve the master branch version of
these files changed in 2.7.
2017-07-08 08:21:16 -05:00
andypugh
9bbb2bc82b Fix an an order of magnitude error in an equation
Pointed out by "robotustra" on IRC

Signed-off-by: andypugh <andy@bodgesoc.org>
2017-07-08 02:09:02 +01:00
Jeff Epler
ddb14e96c7 Merge branch 'freebsd2' of https://github.com/trasz/linuxcnc 2017-07-07 09:52:17 -05:00
Jeff Epler
017a3041fe packaging: bump debhelper compat level
.. to the newest version supported by ubuntu precise, the oldest
platform we support for master branch

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-07-07 09:48:12 -05:00
Jeff Epler
f841cbc75c packaging: bump standards-version
I surveyed systems supported by master branch, and determined that
3.9.2 is the latest standards-version applicable to all of them.
    http://wiki.linuxcnc.org/cgi-bin/wiki.pl?MinimumSoftwareVersions

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-07-07 09:48:12 -05:00
Edward Tomasz Napierala
5ad1614360 Adapt to FreeBSD version of pthread_attr_setaffinity_np(3).
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 13:32:13 +01:00
Edward Tomasz Napierala
8600344d2a find_rt_cpu_number() is somewhat Linux-specific; account for that.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 13:26:31 +01:00
Edward Tomasz Napierala
67179b47d8 The iopl(2) function is Linux-specific.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 13:15:16 +01:00
Edward Tomasz Napierala
2099521222 The malloc.h header is Linux-specific.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 13:12:00 +01:00
Edward Tomasz Napierala
3876a98434 Don't try to include <sys/prctl.h> on non-Linux.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 09:17:29 +01:00
Edward Tomasz Napierala
36ff89d1eb Ifdef out some more Linux-specific code.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 09:10:50 +01:00
Edward Tomasz Napierala
5f0afa4713 mallopt(3) is Linux-specific.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 09:07:09 +01:00
Edward Tomasz Napierala
96df2bb87e Don't use SHM_LOCK under FreeBSD.
FreeBSD does define SHM_LOCK, but fails to actually implement it.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 09:03:46 +01:00
Edward Tomasz Napierala
c0bd22033a detect_preempt_rt() is Linux-specific.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 08:58:17 +01:00
Edward Tomasz Napierala
763474e2ab Only call setfsuid(2) on Linux.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-07-06 08:50:56 +01:00
Les
f53ece156f Fixed excessive CPU load in mb2hal
The comminications threads could loop indefinitely without sleeping
while waiting for transactions to complete.
Added 1ms sleep.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-07-01 13:26:27 -06:00
Les
ba45d09a0e Added PIN_NAMES option to mb2hal
The PIN_NAMES option allows you to specify names for each individual
pin, instead of consecutive numbers

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-07-01 13:26:27 -06:00
Norbert Schechner
16e7b99c5d docs - gmoccapy - added description from KeaPad to NumPad
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-01 17:53:20 +02:00
Norbert Schechner
e21752aeef docs - gmoccapy - added KeyPad Jogging informationn
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-01 17:47:07 +02:00
Norbert Schechner
9b487e5baa gmoccapy_2_3_1_1 - added KeyPad Jogging
ver 2.3.1.1
- added KeyPad Jogging as a wish from "suspension" from the forum

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-07-01 17:38:58 +02:00
Jeff Epler
11e8eecaea Merge remote-tracking branch 'origin/2.7' 2017-06-29 15:41:00 -05:00
Jeff Epler
b43d799832 Merge branch 'python-interface' of https://github.com/phillc54/linuxcnc 2017-06-27 19:58:27 -05:00
Jeff Epler
d182cfaa4b Merge branch 'issue_284' of https://github.com/phillc54/linuxcnc 2017-06-27 19:58:05 -05:00
Jeff Epler
5d6966a86d Merge branch 'remove_trivkinstype' of https://github.com/phillc54/linuxcnc 2017-06-27 19:57:58 -05:00
Jeff Epler
f9aab0202b debian/configure put back Debian 8
h/t: some forum user via andypugh

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-27 16:14:59 -05:00
Phillip Carter
e926614dc2 docs: python-interface
change description of stat returns for kinematics_type

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-06-27 12:17:11 +10:00
Phillip Carter
e6014e609f axis: remove redundant variable
remove redunant variable named trivkinstype

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-06-27 11:38:02 +10:00
Phillip Carter
8e935f6526 axis: fix for issue #284
map axes from trajcoordinates rather than assuming xyzabcuvw

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-06-26 15:31:42 +10:00
Jeff Epler
a68b193e3b debian/configure: fix for debian stretch
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-25 13:43:07 -05:00
Jeff Epler
025370762c Merge remote-tracking branch 'origin/2.7' 2017-06-25 08:32:18 -05:00
Jeff Epler
e7bfd261a9 Merge branch 'axis-numeric-key-shortcuts' of https://github.com/phillc54/linuxcnc 2017-06-24 11:24:30 -05:00
Jeff Epler
bc642c8d29 Merge remote-tracking branch 'origin/2.7' 2017-06-23 11:16:12 -05:00
Jeff Epler
240793be1e Merge branch 'hm2_rpspi' of https://github.com/BsAtHome/linuxcnc 2017-06-20 07:45:40 -05:00
Jeff Epler
bea69c37c6 Merge branch 'jepler/setfsuid' of https://github.com/LinuxCNC/linuxcnc 2017-06-20 07:39:58 -05:00
Jeff Epler
d2225b826d Merge branch 'remap-default-modalgroup' of https://github.com/jepler/linuxcnc 2017-06-20 07:35:44 -05:00
Sebastian Kuzminsky
e375e3affc Merge remote-tracking branch 'origin/2.7' 2017-06-18 15:58:33 -06:00
Bertho Stultiens
ab6e4f569b Insert new option spi_debug at the correct position in the list.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 11:55:37 +02:00
Bertho Stultiens
4c41172713 - Fix includes and remove those not required
- Undefine debugging as default
- Add spi_debug to do enable run-time debuging (map-page updated)
- The cookie is 3 words, but we want to read 4 to catch the IDROM offset, subsequently used to read the board's ID

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 11:39:55 +02:00
Bertho Stultiens
ac48c449f4 Fix wrong bit defines; zeroes do not do much.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 11:35:13 +02:00
Bertho Stultiens
c36dc40d18 Fix cookie length in check. It is only one word followed by a two word identifier. The fourth word is an address offset and cannot be used in the check.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 09:27:37 +02:00
Bertho Stultiens
25271caeb6 Fix printing non-printable characters if the HOSTMOT2 string is not read.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 09:25:33 +02:00
Bertho Stultiens
8c88457077 Fix check on return value if hostmot2 read function.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-18 09:15:29 +02:00
Bertho Stultiens
72f791a520 Fix board index in hm2_register call. The number of boards in the probe sequence count is not the same as the number of boards found.
Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-15 01:25:06 +02:00
Sebastian Kuzminsky
c799f62935 Merge remote-tracking branch 'origin/2.7' 2017-06-14 09:05:50 -06:00
Bertho Stultiens
b6ff8824dd Minor and trivial fixes:
* Fix some comments for content and grammar.
* Direct VPU clock open error to info level. It is not a real error if the core clock can be read.
* Fix wrong sizeof() in platform detection (test was always false). Buffer is allocated now.

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-13 15:38:16 +02:00
Bertho Stultiens
13d13721a3 Also look for the SPI master clock at the debugfs core-clock entry.
Older kernels do not have detailed information available.

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-12 22:36:13 +02:00
Bertho Stultiens
ec6223122e Fix printf format incompatibility between 32/64 bit systems.
Cosmetic change because the module only runs on 32bit RPI.

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-10 19:37:03 +02:00
Bertho Stultiens
1590d40d98 Significant update of the hostmot2 hm2_rpspi driver:
- Use correct synchronized register access
- Improve driver performance by utilizing the controller's fifos
- Add module parameters to set write/read speed
- Add module parameter to probe different CEs and SPI0/1
- Allow up to 5 boards on SPI0/1 and CEs
- Add pull-up/down enable/disable module parameter
- Use dynamic memory for RPI version detection
- Only use one (io)mmap'ed area for register access
- Update man-page to describe all module parameters and suggested usage

Signed-off-by: Bertho Stultiens <bertho@vagrearg.org>
2017-06-10 19:13:54 +02:00
Sebastian Kuzminsky
a8df216694 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2017-06-08 11:24:50 -06:00
Phillip Carter
a0140843fb changes as requested
change to keep joint selection keys the same as before

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-06-08 11:50:04 +10:00
Dewey Garrett
c73fa859cb kins manpage: expand on duplicated coord letters
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-06-07 13:40:55 -07:00
Jeff Epler
f7d70d96fe axis: fix preview when machine has locking rotaries
.. to better preview ungrounded gcode, axis issued a
"g53 g0 <coordinates>", which didn't work when there was a locking
rotary because it is not permitted to specify other axes to move
at the same time.

Instead, issue each move as a separate line, to satisfy the constraints
of locking rotaries.

This will work fine right up until the moment that the interpreter or
preview starts validating that the part program doesn't go outside
some complicated work volume ;-)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-07 07:26:49 -05:00
Phillip Carter
e1451b783e axis: keyboard shortcuts for feed override and joint activation
currently there are inconsistencies in the way the keyboard shortcuts operate for the above

this patch causes the following operations:

if the joints radiobuttons are visible then 012345678 activate the corresponding joint

if the axes radiobuttons are visible then `1234567890 set feed override from 0% to 100% in 10% increments

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-06-07 21:45:56 +10:00
Dewey Garrett
1b50ddcec5 axis.py: joint jog for special identity trivkins
as selected by jogging radiobuttons

The axis gui hides distinctions of joints and axes for
identity kins so when joint jogging (typ before homing),
it must determine a joint number based on the displayed
axis coordinate letter for the jogging radiobutton
selected by the user.

trivkins allows:
  a) omission of axis letters from the default sequence
  b) duplicate axis letters (gantry usage typ)

Before this commit, joint jogging failed for some identity
kinematics configs which explictly specified coordinates=
with omitted axis letters because the joint number used
was based on default coordinates for trivkins (xyzabcuvw).
Example (fails joint jogging for w):
    [KINS]KINEMATICS  = trivkins coordinates=xyzw
    [TRAJ]COORDINATES = XYZW

This commit selects the joint number for joint jogging for
trivkins with identity kinematics based on the letters
specified by [TRAJ]COORDINATES (local var is trajcoordinates).

Note: as documented (docs/src/getting-started/updating-linuxcnc.txt),
it is important that the coordinates specified with the trivkins
coordinates= parameter agree with [TRAJ]COORDINATES.

Note: for duplicate_coord_letters, the joint for the first letter
specified will be used.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-06-06 19:28:24 -07:00
Dewey Garrett
d2a532f1b6 axis.py kinstype=1 is "single" (as is default)
formerly only omitted kinstype= (the default) was called "single"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-06-06 18:55:50 -07:00
Dewey Garrett
7e0ec9c77f axis.py replace tabs to conform to precedents
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-06-06 18:43:37 -07:00
Jeff Epler
581bfc20b8 Merge branch 'bugfix/radiobuttons' of https://github.com/phillc54/linuxcnc 2017-06-06 20:39:01 -05:00
Jeff Epler
d9ddfe30ec tests: test remap without modalgroup specified
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-05 15:40:16 -05:00
Jeff Epler
fd8708314b remap: Fix behavior when modalgroup= is not specified
This is "documented" as setting a particular default modal group.
However, until now the implementation did not match the documentation.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-05 15:39:01 -05:00
Jeff Epler
c535b69765 inihal: Suppress gcc6.3 -Wignored-attributes diagnostics
The compiler is warning that the 'attribute((aligned))'
specification of hal_float_t is ignored.  Ignoring it is
harmless (the whole intent is to strip these qualifications,
including the volatile qualifications, away; so silence the
diagnostic.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-03 11:29:46 -05:00
Jeff Epler
8e13d90e57 inihal: Suppress gcc6.3 -Wignored-attributes diagnostics
The compiler is warning that the 'attribute((aligned))'
specification of hal_float_t is ignored.  Ignoring it is
harmless (the whole intent is to strip these qualifications,
including the volatile qualifications, away; so silence the
diagnostic.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-03 11:25:16 -05:00
Jeff Epler
4d3efc0a82 Fix -Wmisleading-indentation diagnostics
In each case I reviewed the code and determined that it was
the indentation that was misleading.  I reindented the code
to match the behavior.

These diagnostics were all seen with
    gcc version 6.3.0 20170516 (Debian 6.3.0-18)
on debian stretch.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-06-03 11:25:15 -05:00
Sebastian Kuzminsky
8c21a2dd60 Merge remote-tracking branch 'origin/2.7' 2017-06-01 15:58:58 +00:00
Edward Tomasz Napierala
6a3b4a2263 Make configure pick up clang.
GCC is no longer installed on FreeBSD by default.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2017-05-23 08:15:38 -05:00
Dewey Garrett
26031453f8 xhc-hb04 support amux-enable pin
Formerly, the xhc_hb04_util.comp acceleration multiplexer selected
reduced accel settings according selection pin: is-manual

A new pin (amux-enable) is added to the xhc_hb04_util.comp and now
the acceleration multiplexer is enabled by the logical operation:
   is-manual AND amux-enable

The helper script (xhc-hb04.tcl) connects the new amux-enable pin
to halui.mode.is-teleop.  This connection disables reduced
accelerations during homing and joint mode jogging.

Users noted stopping problems when highly reduced accels were used
during homing since the stopping distance (after triggering the
home switch) is inversely proportional to the acceleration in effect:
   stop_distance = 0.5 * velocity^2 / acceleration

Prior behavior, if wanted (unlikely), may be restored by unlinking
the amux-enable pin and setp'ing it to 1.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-05-21 06:51:56 -07:00
Dewey Garrett
692c0e8f74 xhc_hb04_util.comp remove unused pin jogenable-off
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-05-20 19:24:24 -07:00
Dewey Garrett
b24e9cc1aa xhc-hb04.tcl: use pre-existing signames
for required halui.* and motion.* OUT pins

If a [HAL]HALFILE executed prior to this file (LIB:xhc-hb04.tcl)
specified a signal name for a needed halui or motion output pin,
then use that name. (Prior behavior gave warning message and
continued).

Note: no attempt is made to accomodate existing signal names for halui
_input_ pins since a claimed input pin presumably means an output for
the signal is already made (or intended).  As before, a message is
is given and and execution continues.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-05-20 19:23:09 -07:00
Jeff Epler
e52aa4737c axis: docs: Touch off can change any G5x offset
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-19 11:11:22 -05:00
Jeff Epler
d738fd771e axis: Add "P0 Current" to touch-off, make default
Closes: #61
Closes: #270

Signed-off-by: Chris Radek <chris@timeguy.com>
2017-05-19 10:27:27 -05:00
Jeff Epler
5b7892bec1 axis: Fix reload of preview after abort
.. see the added comment for more information

Close: #271

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-16 20:34:16 -05:00
Jeff Epler
cb74ca8beb axis: Fix reload of preview after touch off
.. see the added comment for more information

Close: #269

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-15 17:52:00 -05:00
andy pugh
d63aca6efd Fix the other half of a1a347d1
The previous patch to this file missed out a couple of memcpy changes
also, there was a missing break;


Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-05-14 02:42:38 +01:00
Phillip Carter
681cf92b75 Changes for PR comments.
Corrections for PR changes requested.

Changes to set radiobutton to active axis when keyboard jog starts.

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-05-13 11:04:54 +10:00
Sebastian Kuzminsky
565cf0ee8c Merge remote-tracking branch 'jepler/halui-override-limits' 2017-05-11 09:37:31 -06:00
Jeff Epler
a562a9f3a8 halui: Add outputs that track whether joint limit override is enabled
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-11 09:57:07 -05:00
Jeff Epler
c9be68b5d8 Merge branch 'bugfix/joint_jogging' of https://github.com/phillc54/linuxcnc 2017-05-11 07:22:03 -05:00
Jeff Epler
d1199523cd Merge branch 'tseufl-bugfix-glade/2.7-gscreen' of https://github.com/tseufl/linuxcnc-mirror 2017-05-11 07:18:53 -05:00
Jeff Epler
71566e28cb Merge branch 'tseufl-bugfix-glade/2.7-9_axis' of https://github.com/tseufl/linuxcnc-mirror 2017-05-10 22:04:52 -05:00
Jeff Epler
001eb00313 axis: set up most parts of interpreter state based on info from task
This makes "ungrounded" programs preview better than they used to.

Close: #186

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:58:46 -05:00
Jeff Epler
596363b3fb glcanon: allow old and new forms of arguments for gcode.parse
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:58:00 -05:00
Jeff Epler
5286664a2c gcodemodule: arbitrary number of preamble godes
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:58:00 -05:00
Jeff Epler
e68ab24f0a doc build: don't print "***" when all is well
This causes problems with environments and developers that like to
recognize "***" as denoting a build error, as in
    make: *** You don't exist.  Go away.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:51:14 -05:00
Jeff Epler
c8747e4f3a docs: fix build error when image alt text is multiline
This led to the build proclaiming
    cp: cannot stat ‘../docs/src/hal/:images/simulate_probe.png’: No such file or directory
    ../docs/src/Submakefile:466: recipe for target '.html-images-stamp' failed
    make: *** [.html-images-stamp] Error 1

and elsewhere,
    Image 'hal/:images/simulate_probe.png' not found

I don't know why this is, but pulling the alt= to be all on
one physical line of the source fixed it.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:38:47 -05:00
Jeff Epler
7adb6dcc0f docs: add missing =
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:32:37 -05:00
Jeff Epler
bdc4ec0318 docs: don't use ampersands in alt= text
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:29:20 -05:00
Jeff Epler
caab9ae543 Merge branch 'tseufl-fix-docs/2.7-add-img-alt' of https://github.com/tseufl/linuxcnc-mirror 2017-05-10 20:28:35 -05:00
Jeff Epler
dcf77d450c Merge branch 'master' of https://github.com/LearningLinuxCNC/linuxcnc 2017-05-10 20:18:27 -05:00
Chris Edwards
a56f4a39f3 In INI-file variable docs, mention Z axis and move feedrate to G38 block; amend/add cross-references
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:32 -05:00
Chris Edwards
774890f1d1 Reword cross-ref text for better readability if in print form
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:32 -05:00
Chris Edwards
145dbd214a Correct cross-reference markup for Remap:FEATURES link
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:31 -05:00
Chris Edwards
531e09beea Add FEATURES to list of RS274NGC section variables; harmonise bullet list format
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:31 -05:00
Chris Edwards
5df27d3829 Explain how to use custom vars from G-code
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:31 -05:00
Chris Edwards
865456458f Edit existing link to FEATURES section to use NOTE admonition and FEATURES (not FEATURE) label
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:31 -05:00
Chris Edwards
af98ca0d5a Fix minor spelling and punctuation errors
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 20:12:31 -05:00
Jeff Epler
1a1d95859f Merge branch 'issue-159' of https://github.com/jepler/linuxcnc 2017-05-10 10:31:17 -05:00
Jeff Epler
9e4641a816 update test configs for master branch
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-05-10 10:02:14 -05:00
Jeff Epler
699f6b0961 Merge branch 'remap-io-lcnc-2.6' of https://github.com/zultron/machinekit 2017-05-10 09:54:34 -05:00
Chris Morley
71d5334211 hal_glib -remove error message polling
Since linuxcnc can have only one program poll errors,
this code made other independant programs not get the errors
consistantly.
Need to think of a better way.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-27 11:54:59 -07:00
Chris Morley
c368c79f98 hal_glib -Fix error if coordinates rotated
math module was not imported -thanks Norbert

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-27 11:24:07 -07:00
andypugh
b2156110ec Stepconf: Allow users to add MDI_COMMANDS
Previous to this change any attempt to enter an MDI_COMMAND led to a Python error


Signed-off-by: andypugh <andy@bodgesoc.org>
2017-04-25 22:49:38 +01:00
andy pugh
a1a347d14a Remove a potentially disasterous confusion between bits and bytes.
(Thanks jepler)


Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-04-25 20:55:41 +01:00
andy pugh
5ab9bb90d7 Remove a compiler warning related to type-punning (and fix the indentation)
Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-04-25 20:46:13 +01:00
Norbert Schechner
532d771ca5 gmoccapy_2_3_1 - added a new hal pin for tool diameter
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-04-24 09:49:48 +02:00
Sebastian Kuzminsky
ba5d3bdf38 Merge remote-tracking branch 'origin/2.7' 2017-04-22 16:33:24 -06:00
Jeff Epler
ecde556204 uspace: get rid of runtime setuid use
Now we return to something like the status quo ante in 2.7:
filesystem operations are done as the user, but the real and
effective user IDs are always root when running in realtime.

The rtapi_do_as_root API has been deleted, but it was never
documented and never in a released version.

This is unfortunate but necessary since calling setreuid() causes
loss of realtime on PREEMPT_RT and hard locks in RTAI.

I verified this to still work with PCI and ethernet hostmot2 cards
on Debian Jessie, which covers most of the in-tree places where
the "as root" functions were used.  Furthermore, I verified
(using a non-commited, interactive test) that rtapi_spawn_as_root
still spawns with EUID=RUID=0 even though they are now nothing
more than wrappers that directly call posix_spawn.

Finally, I verified that the RTAI hard locks were resolved.

I was uanble to duplicate the report of missed realtime deadlines
when starting halscope on preempt-rt after thread creation,
testing with 4.9.0-0.bpo.2-rt-amd64 on Debian Jessie.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-04-22 16:38:44 -05:00
Jeff Epler
66908b442b remove unneeded headers
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-04-22 16:38:44 -05:00
Sebastian Kuzminsky
d42bdf6b25 Merge remote-tracking branch 'origin/2.7' 2017-04-22 09:11:53 -06:00
Sebastian Kuzminsky
0a221ba9dc Merge remote-tracking branch 'origin/memfrob-pr264' 2017-04-21 08:03:32 -06:00
Norbert Schechner
70ad79537a gmoccapy_plasma - limit led without off color
thanks to rodw for finding and solving the bug

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-04-21 09:14:37 +02:00
andy pugh
9207cbca59 Further work on adding a FLOAT type to smart-serial datatypes
Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-04-21 02:22:09 +01:00
Rene Hopf
2a257d58cc add support for float values in the sserial driver.
Signed-off-by: Rene Hopf <renehopf@mac.com>
2017-04-21 00:40:19 +01:00
Alec Ari
389885e0d6 rtapi: rt_free_timers definition is needed for RTAI 4
RTAI 4 and RTAI 4.1 need the definition for rt_free_timers

Signed-off-by: Alec Ari <neotheuser@ymail.com>
2017-04-20 16:31:24 -05:00
Chris Morley
6d33cc4c1d Merge branch '2.7' 2017-04-19 17:17:45 -07:00
Andy Pugh
7d0f5f0983 Only warn of unsupported smart-serial datatypes once, not at 1kHz
Currently if a sserial remote transmits a data-type that is unrecognized by the
driver then an error message is printed every servo thread.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2017-04-20 01:24:23 +01:00
Chris Morley
92a7aa743e docs -fix link
oops wrong folder link

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-18 01:11:34 -07:00
Chris Morley
ffe4ecc8d0 docs -add info about GStat python module
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-18 00:40:16 -07:00
Chris Morley
69497a9de8 hal_glib -change some function names -add one
change the continuous_jog function to do_jog to fit better - before someone uses them!
add a function to get jograte to go with the set jograte function

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-18 00:33:29 -07:00
Chris Morley
21049160fc hal_glib -fix spelling mistake and fix forced update function
The forced update function should emit status regardless if it's true or false
With the 'if' statements some programs would start out of synch untill status
changd again.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-04-17 12:12:26 -07:00
Phillip Carter
d5055fb92e axis: axes radiobuttons when jogging before homed
on a trivkins config with kinstype of not both such as sim/axis/lathe that is not homed:
  the axes radiobuttons are deselected when any jog stops
  using the axes activate keys (XYZA) does not show on the radiobuttons

tested on sim/axis/ lathe, historical_lathe and axis
no ill effects appear on sim/axis/ gantry, ldelta or rdelta

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-04-16 14:58:45 +10:00
Phillip Carter
4068a42ec3 axis: joint mode keyboard jogging
when jogging in joint mode from the keyboard direction keys, if the
joint number is larger than the number of axes then the joint will
not jog

this shows up in sim/axis/gantry when trying to jog joint 3 with the
left/right bracket keys

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-04-16 13:14:30 +10:00
Sebastian Kuzminsky
e9f94698b1 Merge remote-tracking branch 'origin/2.7' 2017-04-14 12:46:45 -06:00
Sebastian Kuzminsky
038ae46394 Merge remote-tracking branch 'origin/2.7' 2017-04-14 11:08:40 -06:00
Sebastian Kuzminsky
a07c3e3403 Merge remote-tracking branch 'phillc54/master' 2017-04-14 11:08:32 -06:00
Phillip Carter
b3e60493da axis: fix lathe jogging directions when jogging with keyboard up/down and left/right keys
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-04-14 17:26:10 +10:00
Phillip Carter
f898d49112 axis: prevent segfault when keyboard direction jogging unspecified axes before homing
Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-04-14 16:46:53 +10:00
Phillip Carter
48e0d3fa8e axis: lathe jog error with minus/plus keys and buttons
fixes jogging error on a lathe with the axis gui when using plus/minus
keys on the keyboard or plus/minus buttons within the gui

Signed-off-by: Phillip Carter <phillcarter54@gmail.com>
2017-04-14 15:00:15 +10:00
Sebastian Kuzminsky
c0778d66cf Merge remote-tracking branch 'origin/2.7' 2017-04-09 16:21:49 -06:00
Dewey Garrett
9a1c3816a5 axis.py removed wrong func in preceding commit
oops  -- the comments were(are) valid however

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-04-08 20:13:20 -07:00
Dewey Garrett
d30308d445 axis.py remove dead code, revise commentary
remove: axis.py: def jnum_for_aletter()
note:   glcanon.py has and uses a viable jnum_for_aletter()
        function

Attempt to expand/improve comments about duplicate_coord_letters
for special case where one switches to joint mode after homing.

The behavior that the commentary describes can be shown with
configs/sim/axis/gantry.ini -- an XYZY machine with kinstype=both

The warning note is intended for implementers/users of (future)
custom kinematics modules for machines that might need to support
duplicate axis letters and use the axis gui.  The handling of
duplicate letters by trivkins is simple but not necessarily a
model for other uses.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-04-08 18:38:51 -07:00
Sebastian Kuzminsky
f2d3a34665 docs: Motion mode doc updates for Joints/Axes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-04-08 15:07:29 -06:00
Sebastian Kuzminsky
0897246b6e docs: fixup asciidoc markup in Code Notes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-04-08 14:30:26 -06:00
Sebastian Kuzminsky
4439b08c8a Merge remote-tracking branch 'joe-hildreth/issue_248' 2017-04-07 21:57:21 -06:00
Sebastian Kuzminsky
2e08854f9a Merge remote-tracking branch 'origin/2.7' 2017-04-07 21:40:46 -06:00
Joe Hildreth
d9497faae3 Issue 248: Remove reference to Ubuntu 10.04 in tooledit.
Signed-off-by: Joe Hildreth <joeh@threerivershospital.com>
2017-04-07 22:38:54 -05:00
Dewey Garrett
3494ba11e8 updating-linuxcnc.txt:notes on jogging/homing/kins
Try some clarifications:
Guis (like axis) attempt to hide the distinctions
of joints and axes for machines with identity kinematics,
but homing is usually still important for most machines.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-04-07 11:11:33 -07:00
Chris Radek
a38685ae5f Merge branch '2.7' 2017-04-05 21:31:26 -05:00
Chris Radek
c291cbd2ca Merge branch '2.7' 2017-04-05 14:47:43 -05:00
Norbert Schechner
9268ff251d Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-04-02 15:45:02 +02:00
Norbert Schechner
44b497813a gmoccapy_2_3_0 - better support for new joint axis behavior
ver 2.3.0
- joint axis branch did change the handling between joints and axis. Previously
  it was needed to include a unused Y axis for a lathe and now that is not longer
  needed. There are some more changes, that needed some additional changes to
  gmoccapy. I have passed a lot of code over to get_ini_info.
- all config files have been changed to support the new behavior. I tried to make
  all the code compatible with older configs. Some might need the not used axis
  to be included in homing entries in the ini files.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-04-02 15:44:47 +02:00
Dewey Garrett
795e6b37cf Merge 'origin/2.7' 2017-04-01 20:13:24 -07:00
Dewey Garrett
5405b9e375 Merge 'origin/2.7' 2017-03-28 09:38:53 -07:00
Norbert Schechner
2c9f670fbc gmoccapy_2_2_5_2 - bug in reload tool on start up
ver 2.2.5.2
- if the GUI tries to reload a tool on restart and that tool was not found in
  the tool table, the GUI remained in MDI mode, while it was showing the manual
  view. This leaded to the problem, that jogging was not possible, but users
  thought they where in MANUAL mode, where jogging should be allowed.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-26 17:06:31 +02:00
Chris Morley
90ec12e1f2 Merge branch '2.7' 2017-03-25 17:30:47 -07:00
Chris Morley
7f30fa2a94 gmoccapy -don't fail-to-load on theme folder errors
Would error out if there was a problem with theme links - even
 if the themes were not being used.
Now we just silently ignore them.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-03-22 01:48:57 -07:00
Chris Morley
a381a9fc49 gscreen -Use defaults for searching if widget selection missing
Some screens don't have th eselection widgets for search options.
Instead of erroring we now use reasonable defaults.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-03-22 01:36:22 -07:00
Chris Morley
3300b2cb31 gladevcp -add sensitivity color change to hal_dial
helps to show state of sensitivity - consistant with other widgets

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-03-22 01:27:32 -07:00
chris morley
ca43a4d0a1 gladevcp -improve highlight of sourceview
Now we use the theme's color for highlight of text.
when searching text we highlight, select and grab focus

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-22 01:22:03 -07:00
Chris Morley
8b0ace060d gladevcp -improve background color with themes
This widget use to set the background directly to white.
In some themes the text color would be white so couldn't be seen.
Now it follows the theme suggested background colors.

I took the background color away from the liststore since it caused
an error message when blank.
As there was no helper function, I doubt this option was exercised.
One can still change the background directly with python.
It does require more code and more knowledge to do.

I could avoid the error message by filling in the liststore color
with the system/theme color when realized, but it seems alot of fooling
around for little - the theme background is probably the way to go always..
If people complain I will look into it again.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-03-22 00:33:57 -07:00
chris morley
1de225495b gscreen -keybindings fix
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-22 00:33:57 -07:00
chris morley
282b90e52f gladevcp -add macro selection widget
select macros from a list

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-20 23:27:13 -07:00
chris morley
f9a63f9bc3 gladevcp -add interactive commands to load debug programs
can load halmeter, linuxcncstatus or halshow

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-20 23:27:13 -07:00
chris morley
ba2ae2c996 gladevcp -add more Gobject messages
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-20 23:27:13 -07:00
Chris Morley
18ad72468f Merge branch '2.7' 2017-03-20 22:05:52 -07:00
chris morley
b5bec460ba matrix kb -add nochange keycode to act more like 7i73
The keycode output from this component is missing the
 7i73's nochange and allup codes. This adds the nochange.
The allup will take more thought and so far this works for what I need.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-20 11:03:03 -07:00
chris morley
f6700dcf48 panelui -fix ability to add arbitrary HAL pins
One couldn't add HAl pins in the handler file because the
HAL prefix name was defined after the handler file was initialized.
Meaning the pins in the handler file would have a different prefix
the the pins made in commands.py

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2017-03-20 10:23:31 -07:00
Jeff Epler
4564804664 Merge branch 'hm2_rpspi_4_8_board_id' of https://github.com/sleepybishop/linuxcnc 2017-03-18 17:22:10 -05:00
joseph calderon
4884d00b55 add catchall rule for unknown processors
Signed-off-by: Joe Calderon <calderon.joe@gmail.com>"
2017-03-18 15:02:29 -07:00
joseph calderon
d90c072edd fix chip identification issue on newer kernels (eg. 4.8.x and up)
Signed-off-by: Joe Calderon <calderon.joe@gmail.com>"
2017-03-18 14:53:50 -07:00
Jeff Epler
bdea870718 Merge remote-tracking branch 'origin/2.7' 2017-03-16 22:59:50 -05:00
Sebastian Kuzminsky
8b81a2e4bd docs: remove invalid ".R" macro from kins.9 manpage
"man --warn" (run by lintian) let us know that ".R" is not a valid macro.

It was not clear to me what groff macro the author intended there,
so I just removed it.  The manpage renders fine and legible to me,
and without warnings.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-03-16 15:14:22 -06:00
Sebastian Kuzminsky
c8dd9dbc3b docs: fix gmoccapy asciidoc markup
In Asciidoc a string in square brackets is an 'attribute list' that gets
passed to the code that deals with the following block element.

This commit changes the attribute lists of a couple of 'paragraph'
block elements.  Paragraph blocks expect their attribute list to identify
which paragraph style to use.

'Note' is not a known paragraph style, so asciidoc complains:

    asciidoc: WARNING: gmoccapy.txt: line 680: missing style: [paradef-default]: Note

It then renders the following paragraph in the default style.

This commit changes the attribute from "Note" to "NOTE" (in all caps),
so that asciidoc uses the "NOTE admonishion" paragraph style for those
paragraphs.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-03-16 10:05:07 -06:00
Sebastian Kuzminsky
2052cf6566 Merge remote-tracking branch 'origin/2.7' 2017-03-16 09:28:02 -06:00
Jeff Epler
6821d10745 Merge remote-tracking branch 'origin/2.7' 2017-03-15 11:35:17 -05:00
Sebastian Kuzminsky
58049d9de6 Merge remote-tracking branch 'origin/2.7' 2017-03-13 23:16:46 -06:00
Sebastian Kuzminsky
2636009145 tests: fix a copy/paste error in an error path
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-03-12 22:07:04 -06:00
Dewey Garrett
f6dbef332d axis.py better message for missing specifier
for max angular speed item

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-03-12 10:52:56 -07:00
Dewey Garrett
2aaae01c8f Merge 'origin/2.7' into z_master
Conflicts:
	docs/src/Master_Developer.txt
2017-03-08 07:11:03 -07:00
Dewey Garrett
f1172c046c simple_tp.h: provide macro TINY_DP for tiny_dp
to avoid duplication in using code (future: external_offset)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-03-07 16:05:50 -07:00
Jon Elson
c4b4a45a61 Merge branch 'master' of ssh://git.linuxcnc.org/git/linuxcnc 2017-03-06 22:08:20 -06:00
Jon Elson
a36f3aa41b added command line parameter to turn on/off explicit port direction change
Signed-off-by: Jon Elson <elson@pico-systems.com>
2017-03-06 22:06:56 -06:00
Dewey Garrett
0aa1e2fada rtapi_math.h include fmod()
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-03-06 18:29:32 -07:00
Jeff Epler
37455c451a Merge remote-tracking branch 'origin/2.7' 2017-03-06 13:48:13 -06:00
Norbert Schechner
c06682b06a gmoccapy_2_2_5_1 - homing now works with gantry and also 5 axis configs
ver 2.2.5.1
- added a new dictionary self.joint_axis_dic to maintain the relation between
  joints and axis. This was tested with gantry and non identical configs. There
  might be configs out there witch won't work with gmoccapy.
  I found that the only way to get gantry XYYZ and i.e. XYZCW config to work
  with the homing button and the DRO settings

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 20:31:55 +01:00
Norbert Schechner
ce515f46b4 Merge branch '2.7'
Conflicts:
	lib/python/gladevcp/combi_dro.py

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 19:35:32 +01:00
Norbert Schechner
fcf042c4e1 GladeVCP - CombiDRO removed unused import statement
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 19:05:45 +01:00
Norbert Schechner
172a96d380 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-03-05 18:46:03 +01:00
Norbert Schechner
b0658eb967 minimal changes to gmoccapy_JA configs
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 18:45:50 +01:00
Norbert Schechner
a2816dbe05 gmoccapy_2_2_5 - Gantry homing solution
ver 2.2.5
- this repairs the parts I broke on glade applications and the former used
  code in CombiDRO moved in a similar mode to gmoccapy. Now after the merge of
  sequential homing branch it is easier to use a gantry config with gmoccapy.
  There is still need to adapt the "on_btn_homing_selected" part of the GUI, as
  now a XYZC config will not allow homing of C, as the joints are not ordered
  correctly

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 18:44:29 +01:00
Dewey Garrett
c7848bd557 Merge 'origin/2.7' 2017-03-05 10:09:06 -07:00
Norbert Schechner
4af2a63ed4 GladeVCP - CombiDRO - no more relation to get_ini_info,
as that relation destroyed several other appilications using Glade Widgets


Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 17:56:24 +01:00
Norbert Schechner
0019d4ef62 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-03-05 12:42:51 +01:00
Norbert Schechner
87a8efe956 tool table changed, do not know why?
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-03-05 12:42:40 +01:00
Chris Morley
f7b6adfeca Merge branch '2.7'
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2017-03-05 00:44:10 -08:00
Jeff Epler
9e3edd45a8 restore resuid after posix_spawn
The test added in the previous commit passes after this commit
on the platforms I tested.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-03-04 09:29:51 -06:00
Jeff Epler
1b29f7b8eb (failing) test for setuid handling in rtapi_posix_spawn
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-03-04 09:29:51 -06:00
Dewey Garrett
e624275f82 siggen.c: add reset pin
If reset pin asserted, force output pins to predefined state

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-27 16:04:35 -07:00
Dewey Garrett
e8a87c4bdc Merge 'origin/dgarr/per_seq_homing'
Conflicts:
	configs/sim/gmoccapy/gmoccapy-JA/Gantry/gantry_mm.ini
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt
2017-02-27 06:01:32 -07:00
Dewey Garrett
3910a2aa98 updating-linuxcnc.txt section on interface updates
also move recently added 'Ongoing updates' to end of page.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-26 06:58:09 -07:00
Dewey Garrett
e29a74c371 docs/src/config/python-interface.txt jog syntax
The 'Usage example' was correct, the syntax spec had
a misordering of joint-flag and axis-or-joint-number

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-26 06:08:29 -07:00
andypugh
cb9dc755d2 update_ini: Fix issues #230 and #236
#230 reports incorrect behaviour if no [TRAJ]MAX_VELOCITY exits.
#236 reports too-general reformatting of some setp commands


Signed-off-by: andypugh <andy@bodgesoc.org>
2017-02-25 16:11:43 +00:00
Dewey Garrett
351d14ec8b updating-linuxcnc.txt pin name change
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-24 11:58:25 -07:00
Dewey Garrett
87d2a4e1f2 motion: update for hal pos-cmd, vel-cmd pins
1) before this commit, hal pins axis.L.pos-cmd were
   only valid for teleop, now update in
   control.c/output_to_hal() so pins are valid for
   coordinated motion too.

2) rename to conform to actual implementation:
   was: axis.L.vel-cmd
    is: axis.L.teleop-vel-cmd

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-24 09:35:12 -07:00
Norbert Schechner
70fff63c2b gmoccapy_2_2_3_3 - check for double letters in coordinates and home the correct joint
ToDo: CombiDRO does not react correctly yet

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-24 07:09:53 -07:00
Norbert Schechner
7f3b967078 configs - corrected the home sequence values to be negative
ToDo: How to avoid on a gantry machine the change back to joint
      mode after homing, as at this state jogging one joint
      could cause serious damage to the machine.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-24 07:09:44 -07:00
Norbert Schechner
45efe29cb2 gmoccapy_2_2_3_2 - bug. double hal pin creation
ver 2.2.3.2
- solved a bug caused due to an unappropriated merge of Sebastian Kuzminski
  causing a hal pin to be created twice.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-24 07:09:39 -07:00
Dewey Garrett
4b2cf3629d axis.py: non-ident kins:home menu items: show SYNC
for joints that have a negative [JOINT_n]HOME_SEQUENCE value
and home together with a synchronized final move

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-24 07:08:35 -07:00
Jeff Epler
abd223b69f Merge branch '2.7' 2017-02-22 16:27:22 -06:00
Dewey Garrett
f1b75dee01 sim/axis/xyzb_locking_indexer/*.ini sim_pin update
use new sim_pin option
use new HALFILE=LIB:wheeljogpins.tcl

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-20 10:25:57 -07:00
Dewey Garrett
db076f9ba9 lib/hallib/wheeljogpins.tcl new file
A convenience HALFILE for configs that demonstrate wheel jogging.

Enable wheel jog pins for all axis letters and up to 9 joints.
Errors due to missing joints are ignored.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-20 10:24:18 -07:00
Dewey Garrett
04efc2b1bd ldelta_demo.ini use new sim_pin option
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-20 09:44:04 -07:00
Dewey Garrett
8bdec818b0 sim_pin: suppress bit item radiobuttons if
the bit mode= item starts with an uppercase letter

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-20 09:41:59 -07:00
Dewey Garrett
a9120efe5f tests/ update two configs inifiles for JA
tests/mdi-while-queuebuster-waiting/
tests/remap-reentry/

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-19 13:32:58 -07:00
Dewey Garrett
649860307c tests/mdi-queue-length cleanup ini for JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-19 12:37:13 -07:00
Jeff Epler
fbe32af035 tests/mdi-queue-length: skip until ini updated for master branch
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2017-02-19 07:55:45 -06:00
Jeff Epler
f7f4d3284c Merge remote-tracking branch 'origin/2.7' 2017-02-19 07:31:20 -06:00
Norbert Schechner
12b29dcec5 GladeVCP - CombiDRO - added support for Joints / axis differences
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-19 13:58:03 +01:00
Norbert Schechner
1d5f0806f1 gmoccapy_2_2_4 - security for gantry machines
ver 2.2.4
- introduced a check for double axis letters in [TRAJ]COORDINATES = X Y Y Z
  to set the homing button of the double mentioned axis. This is to protect
  a gantry from being damaged homing only one joint of two.
  Thanks to rodw for insisting to solve the misbehavior

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-18 17:46:37 +01:00
Norbert Schechner
1205baa503 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-02-18 15:38:47 +01:00
Norbert Schechner
b43a2d5b20 configs/gmoccapy/gantry - some minor changes
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-02-18 15:38:27 +01:00
Dewey Garrett
6790e56741 Homing: per-sequence homing for neg HOME_SEQUENCEs
(v10 rebase to master at 9e23976 2017-02-15 17:53:46 -0700)

For all joints sharing a matching _negative_ HOME_SEQUENCE like:
    [JOINT_i]HOME_SEQUENCE = -n
    [JOINT_j]HOME_SEQUENCE = -n
    [JOINT_k]HOME_SEQUENCE = -n
    ... etc.

homing one of these joints will home the others too.

So:
    Homing JOINT_i will also home JOINT_j, JOINT_k, ... etc
    Homing JOINT_j will also home JOINT_i, JOINT_k, ... etc
    Homing JOINT_k will also home JOINT_i, JOINT_j, ... etc

Note:
  With joints_axes incorporation, negative home sequences
  specify synchronization of the final move to [JOINT_i]HOME.

  Formerly this synching was as available only with Home-ALL.
  This commit applies the synchronization when homing for
  any of the matching joints.

runtests note:
  This commit conforms to docs/src/config/ini-homing.txt
  "If HOME_SEQUENCE is not specified then this joint will not be
  homed by the HOME ALL sequence".

  To comply, the tests/motion/jogwheel-axis/motion-test.ini was
  adapted by providing missing [JOINT_n]HOME_SEQUENCE= items

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-15 18:23:54 -07:00
Dewey Garrett
9e2397632b sim_pin: support option --title title_string
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-15 18:22:00 -07:00
Dewey Garrett
45e6e66590 sim_pin: order minus/plus (s32/u32) like axis gui
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-15 18:21:27 -07:00
Sebastian Kuzminsky
c76c69194a halui: add a hal pin with the current tool diameter
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2017-02-07 16:53:08 -07:00
Sebastian Kuzminsky
8927d3f0e8 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	configs/sim/gmoccapy/gmoccapy_plasma/signals.hal
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt
2017-02-06 09:31:19 -07:00
Dewey Garrett
b73ad6a4e8 halshow.tcl: support spec for number formats
Add Options --fformat, --iformat:

Usage:
  halshow [Options] [watchfile]
  Options:
           --help    (this help)
           --fformat format_string_for_float
           --iformat format_string_for_int

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-02-05 13:26:07 -07:00
Dewey Garrett
2377a877d5 oneshot.comp add reset 9602
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-31 12:52:01 -07:00
Dewey Garrett
4b00bcb4e2 motion.c motion.motion-enabled is an output
as in 2.7 (at current commit e4aa855 2017-01-28)

was changed inadvertently (typo,cut/paste?) in early ja work at commit:
   1adc33f 2010-01-02 01:40:41 +0100

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-31 07:22:42 -07:00
Dewey Garrett
d3a8b92ec7 gantry.ini: use neg homing_sequence for y joints
and
    add notes about homing sequences for coordinates
    with multiple joints.

    use slower homing velocities to aid visualization

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-27 19:33:04 -07:00
Norbert Schechner
449dc47c66 gmoccapy_plasma - plasma hal wrong hal pin name
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-23 19:18:43 +01:00
Norbert Schechner
30c6040f11 gmoccapy_plasma - signals.hal wrong hal pin names
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-23 19:16:47 +01:00
Norbert Schechner
91a8381e18 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-01-23 19:05:21 +01:00
Norbert Schechner
4b4d82af30 gmoccapy_2_2_3_1 - solved bug in reloading tool after homing twice
+ver 2.2.3.1

- solved the reload tool on start up bug after homing twice
  if there is already a tool in spindle, the user
  homed the second time, unfortunately we will then
  not get out of MDI mode any more
  That happen, because the tool in spindle did not change, so the
  tool info is not updated and we self.change_tool will not be reseted
  Thanks to timmert for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-23 19:05:10 +01:00
Dewey Garrett
7c459007f8 tp.c: joints_axes: use axes[].acc_limit,vel_limit
prior joint0==x,joint1=y,joint2=z assumption was
overlooked in joints_axes incorporation

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-23 09:41:53 -07:00
Dewey Garrett
dfcf1ba311 axis.py fix typo err
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-22 12:20:34 -07:00
Dewey Garrett
06b77729c9 axis.py: bugfix for missing slider items detection
1) detect joint_type only for jointcount quantity ([KINS]JOINTS)
2) detect axis_type with proper case of [AXIS_%s]
3) specify missing ini items by name

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-22 11:49:20 -07:00
Dewey Garrett
721e4304a8 corexy kinematics (+man page update +sim config)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-20 18:27:56 -07:00
Dewey Garrett
2b22052c80 motion: motion.servo.last-period: parameter to pin
also: motion.servo.last-period-ns

allows connection by signal (for example with hal-histogram)
requested:
https://forum.linuxcnc.org/38-general-linuxcnc-questions/31323-hal-histogram#78136

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-20 18:27:47 -07:00
Dewey Garrett
eda5d1617e axis.py: identity kins: no teleop until homed #224
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-19 19:23:21 -07:00
Dewey Garrett
2d4f18f7c9 kins.9 clarify kinstype=B example text
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-16 19:55:22 -07:00
Dewey Garrett
f21cb7a4d2 ini-config.txt: clarify [TRAJ]COORDINATES
remove text no longer valid for joints_axes
and refer to kins manpage

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-16 19:14:41 -07:00
Norbert Schechner
34784d7bd5 gmoccapy_2_2_3 - hal pin gmoccapy.ignore-limits from 1.5.7
+ver. 2.2.3
+- added patch from gmoccapy 1.5.7
+- new hal pin gmoccapy.ignore-limits so that this function can be
+  handled from hardware switch
+  Ask by some users, done because of a wish of Timothy Snowden


Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-11 18:39:12 +01:00
Dewey Garrett
f77bf8aaf2 dng remote-tracking branch 'origin/2.7' into HEAD 2017-01-09 11:00:52 -07:00
Norbert Schechner
4ba007d8e2 gmoccapy_2_2_2 - bug in STOP handling
ver. 2.2.2
- When running a program, press pause, then stop, the axis will make a jump to
  a unknown position, (I think related to read ahead). I added a additional
  command.aboard(), even that this command is already called within hal action.
  I do not know why, but this solved the issue as far as I can see.
  Thanks to racedirector for reporting

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-07 11:37:27 +01:00
Norbert Schechner
0612b3f42a Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2017-01-05 08:38:00 +01:00
Norbert Schechner
1f5243892d gmoccapy_2_2_1 - status.poll in a try except
ver. 2.2.1
- if linuxcnc is restarted without shutting down gmoccapy, it was not possible
  to close gmoccapy (except from comandline with killall -9 gmoccapy
  I added a check to status.poll and now a raise SystemExit will be called.
  as this also applies to CombiDRO a added that there too.
  I added gmoccapy to the linuxcnc script to be killed on restart

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-05 08:35:11 +01:00
Jeff Epler
dd8dc21816 Merge branch 'lcnc-217' of https://github.com/zultron/machinekit 2017-01-04 16:21:51 -06:00
Norbert Schechner
9abef2d5f6 docs - gmoccapy_hu.txt - fixed the images paths
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-04 21:20:19 +01:00
Norbert Schechner
fac7744b62 gmoccapy_2_2_0_3 - changed width limits
ver. 2.2.0.3
- changed the height and width adjustments for the window size in the
  glade file, as width was limited to 1280 pixel.
  Now the max limit is 3920 pixel.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-04 18:53:43 +01:00
John Morris
3b5c5d99d9 stdglue.py: turn change_epilog() into generator function
The functionality to return `INTERP_EXECUTE_FINISH` in a python
remap function has always existed, but was broken until PR #135.

The fix revealed a bug in the standard remap `change_epilog()`
function, which was not written as a python generator function.

Thanks to @dhwiezel for discovering and reporting this bug.  Fixes
#217.

Signed-off-by: John Morris john@zultron.com
2017-01-03 20:30:09 -06:00
Dewey Garrett
6d1ff81971 gmoccapy-hu.txt:delete references to removed files
Some png image files were removed with commit 9bf4a39 2017-01-01
but gmoccapy-hu.txt was not updated so docs build fails.

Note: Changes are marked in-place with 'FIXME', other changes may
      be needed to update this Hungarian language file to synchronize
      with its English language precursor (gmoccapy.txt).

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2017-01-02 18:55:43 -07:00
Dewey Garrett
4a01c6fd68 Merge remote-tracking branch 'origin/2.7'
Signed-off-by: Dewey Garrett <dgarrett@panix.com>

Conflicts:
	docs/src/config/ini-config.txt
	docs/src/gcode/overview.txt
	src/emc/usr_intf/axis/scripts/axis.py
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt
2017-01-02 17:41:56 -07:00
Norbert Schechner
c7048fe16e gmoccapy_2_2_0_2 - error if no macros was found in INI
+ver. 2.2.0.2
- if no MACROS was given in INI file, the getiniinfo returns a NONE,
  leading to an exception in gmoccapy, corrected that

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-01 14:56:46 +01:00
Norbert Schechner
9bf4a39bb6 docs - gmoccapy - added docu for reload tool feature
Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-01 14:37:04 +01:00
Norbert Schechner
0bb3d6482e gmoccapy_2_2_0_1 - make reload tool on start a selectable feature
+ver. 2.2.0.1
+- make the reload tool option a selectable feature on the
+  settings page. It will be on by default!

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-01 13:48:49 +01:00
Norbert Schechner
fd2f257a28 gmoccapy_2_2_0 - finally solved "reload tool on start up"
ver. 2.2.0
- gmoccapy will save the tool in spindle on every change in its
  preference file and reload that tool with it's length offset
  till now only tested for mill!
  This will not work if NO_FORCE_HOMING is used, because with such
  a configuration the signal "all_homed" will not be emitted.

Signed-off-by: Norbert Schechner <nieson@web.de>
2017-01-01 12:56:26 +01:00
Norbert Schechner
4e27cc1e2a gmoccapy_2_1_6_5 - changed the expanding mode in the INFO box
ver. 2.1.6.5
- changed the expanding way of the widgets in the INFO box
  to better appearance on 16:9 screens, the tool info will
  not grow alone, but also spindle and vel info boxes

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-31 14:11:25 +01:00
Norbert Schechner
f1afe990ef gmoccapy_2_1_6_4 - bug in add macro button
added the patch from ver. 1.5.6.9
- if no MACROS where given, or the paths where not correct, the Keyboard button
  in MDI mode was not any more in the most right position, leading to wrong
  order in horizontal hal button handling

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-31 13:06:12 +01:00
Jim Craig
ee8c06f7a6 renamed the function from onTreeNavigateKeyPress to on_tree_navigate_key_press to match surrounding code
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-30 11:33:59 -06:00
joseph calderon
baf26faffa fix logging messages for hostmot2 uart module
Signed-off-by: Joe Calderon <calderon.joe@gmail.com>

Close #220.
2016-12-30 07:09:47 -06:00
Jim Craig
e75f9b98df Fixed an issue where when on the last line of the table it would go to the first visible row in the table instead of the first row of the table. This was only apparent in long tool tables.
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-29 18:02:38 -06:00
Jim Craig
8c79a9a32f Fixed the error that was occuring during moving from the far right column in the lathe tool offset table to the far right column. The root cause was that the first column is not editable. I am not sure if this is the intended functionality so I left it with cell renderer editable property set to false. I instead handled it so that if the cell renderers editable property is set to false then that cell is skipped and it automatically moves to the next cell. This is applied to both left and right movements.
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-29 08:58:09 -06:00
Jim Craig
f33ecac1df changed the __init__ function making the renderers all editable all of the time.
Added the onTreeNavigateKeyPress function which handles key presses in all three tree view widgets. The tab and right arrow keys will accept the current value in the cell and progress to the next visible cell to the right. If there is no cell to the right then it moves to the first visible cell in the row. The left arrow key is the same except it moves left. The enter key and the down arrow key accepts the current entry in the cell and moves to the next row same column. If on the last row then it will move to the top row. Up arrow key is the same but moves up instead.

Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-27 20:40:33 -06:00
Jim Craig
a7d7ec7496 Changed the properties of the cell renderers so they are not retreiving them from the model. The only property that is retrieved from the model is the toggle state or text properties. All other properties are static and are modified in the pyton code.
Signed-off-by: Jim Craig <jimcraig5615@windstream.net>
2016-12-27 08:42:47 -06:00
Dewey Garrett
dc2ff492f5 homing.c search,latch: honor [JOINT_n]MAX_VELOCITY
Prior to joints_axes incorporation, homing velocities
(search, latch, final) honored the [JOINT_N]MAX_VELOCITY
setting -- e.g., [JOINT_N]MAX_VELOCITY clamps if larger
values are specified for the homing velocities:
   [JOINT_N]HOME_SEARCH_VELOCITY
   [JOINT_N]HOME_LATCH_VELOCITY
   [JOINT_N]HOME_FINAL_VELOCITY

Bisect: the clamp on search and latch velocities was
lost (inadvertently ?) in joints_axes3 with commit:
b413513 2009-12-16 Merge branch 'master' into joints_axes3

Thanks to Sam Sokolik for spotting the problem and testing
this patch.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-12-15 15:15:17 -07:00
Norbert Schechner
02d898000d gmoccapy_2_1_6_3 - release number change, due to init_glcanondraw()
ver. 2.1.6.3
- Dawey Garret changed the init_glcanondraw() behavior, making
  some changes in gmoccapy and getiniinfo. That is why I changed the
  release number

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-15 15:23:57 +01:00
Norbert Schechner
2e61e5e887 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-12-15 15:18:32 +01:00
Norbert Schechner
34adff7a23 docs - gmoccapy - minor changes
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-15 15:18:16 +01:00
Dewey Garrett
4952f84de6 hal_gremlin.py include init_glcanondraw()
1) update hal_gremlin.py to
   a) invoke init_glcanondraw()
   b) find an inifile if running within a standalone
      gladevcp app (providing linuxcnc is running)
2) remove (now uneeded) call to init_glcanondraw() in:
      gscreen.py
      gmoccapy.py
      gremlin_view.py
3) clarify init_glcannondraw() parameter name
   was: kinstype,  is: kinsmodule

With joints-axes, glcanon.py uses: [TRAJ]COORDINATES, [KINS]KINEMATICS
to handle special cases for display.  In the future, these items could
be included in linuxcnc.stat and eliminate need to find a running
instance of linuxcnc for standalone gladevcp apps.

Note about insufficiency of existing stat items:

  stat.kinematics_type gives info about KINEMATICS_IDENTITY,
  KINEMATICS_BOTH, etc. but doesn't identify the
  kinematics module name which is used for setting joint-axis
  relationships for _known_ kinematics modules names (viz. trivkins)

  stat.axis_mask gives info from [TRAJ]COORDINATES but
  does not address possibility for duplicated coordinate
  letters (sometimes used for gantrys like xyyz)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-12-14 21:13:05 -07:00
Norbert Schechner
c369f9fb5b docs - gmoccapy - added new know issue with macros
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-13 21:27:07 +01:00
Norbert Schechner
5fec8d90df gmoccapy_2_1_6_2 - better solution for the G96 bug
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-03 18:02:48 +01:00
Norbert Schechner
b00d54c1e5 gmoccapy_2_1_6_1 - added code information
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-03 13:30:16 +01:00
Norbert Schechner
d2ec405a5c gmoccapy_2_1_6_1 - bug in G96 handling
ver. 2.1.6.1
- bug handling of G96 CSS, related to the update of the
  real spindle speed label
  Thanks to Hakan for reporting this
- Jumping spindle speed label due to a calculation error between
  two functions, and double setting of a label, Solved!

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-12-01 19:58:53 +01:00
Tero Kaarlela
42ff261dfb Add G74/G84 floating tap cycles
g74 (left-hand), g84 (right-hand)
- assumes spindle running cw(g84), ccw(g74)
- feedrate > 0
- takes optional P word (dwell at bottom of hole before feedrate retract)

canon: add optional wait_for_atspeed parameter

normally, turning the spindle on makes the next feed move wait for spindle
at speed. A floating tap needs an immediate reverse feed out, so the
wait needs to be suppressed in this case.

Pass this from canon through task to motion, and do the right thing in
motion. Also adapt gcodemodule.cc,saicanon.cc for new calling convention,
and make task pass it on to motion from canon.

Tests for G84/G74 Floating tapping cycles

Closes #120.

Signed-off-by: Tero Kaarlela <tero.kaarlela@eka-sorvaus.fi>
2016-11-17 12:57:16 -06:00
Jeff Epler
2b678aa5c1 rs274 sai: Properly implement two GET_EXTERNALs
.. these are needed for save/restore of these enables to work right
in canned cycle tests with g74/g84

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-11-16 15:34:50 -06:00
andypugh
73e68603e9 Hostmot2 Absolute Encoders: Add a flag to inhibit encoder wrapping.
Multi-turn encoders should never wrap, and a false detection of a wrap may
lead to permanent offsets that can not be removed without a restart
This commit adds an extra flag for SSI BiSS and Fanuc encoders.


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-11-13 20:48:14 +00:00
Dewey Garrett
b1113adbfb sim_lib.tcl: reduce setp cmds for equiv hal file
Formerly, the proc save_hal_cmds created an equivalent hal
commands file (*_cmds.hal) using the halcmd 'save allu' to
record a complete hal state record.  A complete record must
include a setp command for unconnected hal input pins that
are altered (from their default value) by setp commands
evaluated before the save command.  The 'save allu' command
creates setp commands for all unconnected input pins
including ones where the pin default value is unaltered.  For
the purposes of basic_sim.tcl, this makes many more setp
statements than required for reproducing hal state.

With this commit, the save_hal_cmds proc uses the halcmd
'save all' (which does not make setp commands for
unconnected input pins) and adds setp cmds only for the ones
issued explicitly within sim_lib.tcl.

ref: 1418b55 basic_sim.tcl: create equivalent halcmds halfile

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-11-10 18:23:15 -07:00
andypugh
1bcd51e814 GladeVCP: Send a message from Touchy to an embedded GladeVCP tab to tell
the tab that it has just become visible.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-11-10 00:05:53 +00:00
Dewey Garrett
1beca56fb7 basic_sim.tcl: save all state for equiv hal cmds
Use the halcmd save command with the "allu" type
to save the state of unconnected hal input pins that
have been set with setp statements.

The halcmd save "allu" type has been added with a prior commit"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-11-09 15:46:19 -07:00
Dewey Garrett
fe1595f32e halcmd: new save types "unconnectedinpins, "allu"
"unconnectedinpins"
   make a setp command for all unconnected input pins
"allu"
  save for these types:
  comp,alias,sigu,netla,param,unconnectedinpins, and thread

Use 'save allu' to save state when setp commands have been
used on unconnected input pins (prior to issuing the
'save allu' command).

New types are added (unconnectedinpins,allu) preserving backwards
comatibility.

see also:
1418b55 basic_sim.tcl: create equivalent halcmds halfile

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-11-09 15:40:57 -07:00
Dewey Garrett
8163b0944c Merge remote-tracking branch 'origin/2.7'
Signed-off-by: Dewey Garrett <dgarrett@panix.com>

Conflicts:
	VERSION
	debian/changelog
2016-11-09 14:20:30 -07:00
Sebastian Kuzminsky
14b06552d0 Merge remote-tracking branch 'origin/2.7' 2016-11-04 22:08:09 -06:00
Jeff Epler
e9c5b22e3e packaging: fail gracefully if apt showsrc info missing
This is apparently broken by default on linuxmint systems.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-11-02 07:26:19 -05:00
Jeff Epler
34c0fec7d2 Merge branch 'refactor-debian-configure' 2016-10-31 19:56:03 -05:00
Jeff Epler
f8962b9254 travis: ask apt-get to install less stuff
--install-suggests is the default on ubuntu, which is what travis
uses; switching to --no-install-suggests saves a few hundred megs(!)
of installed package size, 425MB vs 1053MB.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-31 11:20:44 -05:00
Jeff Epler
ee36b9d702 debian/configure: remove stanzas about no-longer-supported kernels
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-31 09:55:39 -05:00
Jeff Epler
b0028fa821 debian/configure: suggest to send a pull request about this
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-31 09:55:39 -05:00
Jeff Epler
a6e44e9030 packaging: refactor configure
the main benefit is that DOC_DEPENDS is being broken out,
but a lot of repetition is also removed, and stanzas related
to unsupported distribution have been deleted.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-31 09:55:32 -05:00
Jeff Epler
5b9d7e159d packaging: delete unused stanza
this hasn't worked in a very long time, if ever.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-31 09:54:56 -05:00
Sebastian Kuzminsky
16ebbda83a Merge remote-tracking branch 'origin/2.7' 2016-10-30 11:27:46 -06:00
Sebastian Kuzminsky
265b8b59e0 Merge remote-tracking branch 'tseufl/tseufl-fix/configs/sim/2.8-typo-update' 2016-10-30 11:09:59 -06:00
Sebastian Kuzminsky
90b66dccfe Merge remote-tracking branch 'tseufl/patch-1' 2016-10-30 11:07:11 -06:00
Norbert Schechner
ff4745b5fc documentation - gmoccapy - added info about gmoccapy2
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-10-30 17:41:41 +01:00
Norbert Schechner
4595ae5b6e Merge branch '2.7'
Conflicts:
	docs/src/config/ini-config.txt
	docs/src/getting-started/updating-linuxcnc.txt
	lib/python/gladevcp/combi_dro.py
	src/emc/usr_intf/gmoccapy/getiniinfo.py
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt

gmoccapy_2_1_6 - merged the changes I made to 1.5.6.5 to 1.5.6.8

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-10-30 13:38:03 +01:00
Kim Kirwan
1a17b5102d Improve support for Mint 18 (LTS)
Improve support for Mint 18 (LTS), and
anticipate support for future 18.x (LTS) releases.

(Why doesn't Mint just call the first one 18.0? Bah.)

Added during Oct 2016 Fest in Wichita. Thanks, Seb!

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2016-10-29 16:00:41 -05:00
tseufl
0664a78508 Update de.po - joints-axes <-> Achse/Gelenk
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-27 21:14:59 +02:00
Jeff Epler
a4f5615673 docs: clarify how LATHE= and FOAM= treat "0"
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-26 07:39:49 -05:00
Jeff Epler
e14b8fb898 docs: who knows what stat.velocity is? I don't.
maybe its semantics were changed by the JA merge.  I didn't care to
pursue it.

Close #202

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-24 09:45:00 -05:00
Jeff Epler
8543088119 docs: fix markup
Close #201

These crept in at e88c0068e6 and it's not clear what was
intended.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-24 09:44:57 -05:00
Sebastian Kuzminsky
439c0fc66d scorbot-er-3 config: use new differential pins
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-23 10:23:49 -06:00
Sebastian Kuzminsky
0361bfa7fe scorbot-er-3 config: remove dead hal code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-23 10:23:32 -06:00
Sebastian Kuzminsky
cf29561eed differential: pass feedback through the differential component
In addition to converting Roll and Pitch commands to dual motor commands,
convert dual motor feedback to Roll and Pitch feedback.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-23 10:20:45 -06:00
Sebastian Kuzminsky
301f0f150f Merge remote-tracking branch 'tseufl/tseufl-fix-docs/2.8' 2016-10-22 18:59:36 -05:00
Sebastian Kuzminsky
9f05e27bbe Merge remote-tracking branch 'tseufl/tseufl-fix-scripts/2.8-typo' 2016-10-22 18:55:56 -05:00
Jeff Epler
aaadcb376d Merge branch 'tseufl-fix-po/de' of https://github.com/tseufl/linuxcnc-mirror 2016-10-22 17:20:51 -05:00
tseufl
753753687d update.po
-reinsert lines for backward compatibility for old versions (?, i think is better)
-my own typo -> Rapid Override"::"
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-22 23:55:34 +02:00
Jeff Epler
5cebec4511 Merge branch 'tseufl-fix-po/de' of https://github.com/tseufl/linuxcnc-mirror 2016-10-22 16:39:46 -05:00
tseufl
18d1f1595a Update de.po
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>

german/auf deutsch: Es war ein bisschen tricky im Menü "Ansicht". Nur noch die Hotkeys "j", "q", "x" und "y" waren eigentlich frei zur Verwendung, darum (vorerst) die Notlösung mit den Hotkeys in Klammern für Benutzer die kpl. mit Hotkeys arbeiten wollen ...
Einige Hotkeys waren auch (durch Noch-Nicht-Übersetzung) doppelt vergeben -> wurde so gut es geht auch gleich mit korrigiert.
2016-10-22 22:21:31 +02:00
tseufl
c81ba8aa52 scripts: axis.py typo
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-22 19:49:34 +02:00
Dewey Garrett
1418b553c7 basic_sim.tcl: create equivalent halcmds halfile
per the included, updated documentation

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-10-22 07:44:37 -07:00
Jeff Epler
708fc5ff6c Merge branch 'tseufl-fix/configs/intf/2.8-typo-update' of https://github.com/tseufl/linuxcnc-mirror 2016-10-22 09:41:18 -05:00
Jeff Epler
c1fe4602de Merge branch 'tseufl-fix-tcl/2.8' of https://github.com/tseufl/linuxcnc-mirror 2016-10-22 09:40:25 -05:00
Jeff Epler
798af0234f Merge branch 'tseufl-fix-scripts/2.8-typo' of https://github.com/tseufl/linuxcnc-mirror 2016-10-22 09:40:02 -05:00
Jeff Epler
2072623b9d tests: don't use a filename deleted by 'dpkg-source'
.. otherwise, after running debuild, this file is removed
and git will urge you to commit the removal.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-22 09:37:43 -05:00
Jeff Epler
6ed5fe84db axis: remove images that are no longer used
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-22 08:50:31 -05:00
Jeff Epler
3c079e039f axis: remove old button theme hack
prior to Tk 8.4 (?), radiobutton and checkbutton widgets had a
motif-style appearance that looked unusual compared to the
typical style of radiobuttons.  I included a hack for placing
images over the button indicators.  But in current versions of
Tk, these widgets look about like one expects, so the hack can be
dropped.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-22 08:40:07 -05:00
Sebastian Kuzminsky
b46c6236ac tests: update new test configs for ja
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-21 22:43:44 -05:00
Sebastian Kuzminsky
ecf45dabe4 Merge remote-tracking branch 'origin/2.7' 2016-10-21 22:43:17 -05:00
Sebastian Kuzminsky
bdffc97758 skip the tests that fail without the task fixes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
(cherry picked from commit 1e809f966d)
2016-10-21 22:38:28 -05:00
Sebastian Kuzminsky
079b7e6643 Revert "interp: reset Interp and Canon state on Abort"
This reverts commit 991984ed69.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>

Conflicts:
	tests/motion-logger/basic/expected.builtin-startup.in
	tests/motion-logger/mountaindew/expected.motion-logger
2016-10-21 22:38:28 -05:00
Sebastian Kuzminsky
cc6878bf5c Revert "Task: simplify handling of emcCommand"
This reverts commit 516deaefd0.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-21 22:38:28 -05:00
Sebastian Kuzminsky
9f07c33214 Revert "Task: add drain_interp_list"
This reverts commit 402c27bddf.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>

Conflicts:
	tests/motion-logger/basic/expected.builtin-startup.in
	tests/motion-logger/mountaindew/expected.motion-logger
2016-10-21 22:38:28 -05:00
Sebastian Kuzminsky
f98ac12211 Revert "task: Fix serial number handling after 516deaef"
This reverts commit a38665b8ff.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-21 22:38:28 -05:00
Sebastian Kuzminsky
cfad88f5f3 Revert "Task: fix a recent "surprise motion on abort" bug"
This reverts commit 404be0fd8f.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-21 22:38:28 -05:00
Jeff Epler
0034fdf2c0 pncconf: don't refer to kernel_version when not is_kernelspace
close #159

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-20 14:12:44 -05:00
tseufl
2622bb61c5 bugfix 2.7: 9_axis.glade, search&replace, img-link
fix1:
wrong path indication, all images are not displayed in the skin
solved: "../gscreen/images/" -> replaced with -> "../../images/"
------------
fix2:
in auto-mode / edit
added:
->missing: replace - entry field
->missing: replace all - check button
->missing: ignore case - check button
->missing: replace text - button
with this second fix, the buttons "search bwd" and "search fwd" then work again
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-20 20:07:37 +02:00
Jeff Epler
a50c5c36eb Merge remote-tracking branch 'gh-jepler/halcompile-rawstring' 2016-10-20 09:47:17 -05:00
Jeff Epler
fea7872df1 De-confuse github about licenses
github appears to sniff the contents of the COPYING file to determine the
project license; The result of their sniff is "LGPL-2.1", which is wrong
because for making decisions about incorporating LinuxCNC "in bulk" into other
software you would need to know that portions of it are GPL-2.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-20 09:44:49 -05:00
Chris Radek
3ffb2ecad4 Fix DRO alignment
This makes the default DRO format be just like the old non-configurable format,
and fixes the spaces so the columns align again.

Signed-off-by: Chris Radek <chris@timeguy.com>
2016-10-19 22:49:30 -05:00
tseufl
b86b40af92 bugfix 2.7: gscreen.glade, search&replace
in auto-mode / edit
added:
->missing: replace - entry field
->missing: replace all - check button
->missing: ignore case - check button
->missing: replace text - button
with this fix, the buttons "search bwd" and "search fwd" then work again
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-19 22:35:11 +02:00
tseufl
cbe4f1d350 docs 2.8: update copyright -> 2016
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-19 18:36:34 +02:00
tseufl
206eb48a83 docs 2.8: update copyright -> 2016
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-19 18:35:44 +02:00
tseufl
b750a90af8 docs 2.8: update copyright -> 2016
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-19 18:33:38 +02:00
tseufl
087f352520 Merge pull request #1 from LinuxCNC/master
test update forked master
2016-10-18 17:24:06 +02:00
Jeff Epler
b6dc604b34 rs274: use configure-detected readline libs
The hardcoded value of -lreadline reportedly fails on
Slackware.  Close #181.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-18 09:42:53 -05:00
Dewey Garrett
964c0e4718 tests/twopass use script option for halcmd show
addresses error with different comp_id seen on one buildslave in
test results.
  rip-jessie-rtpreempt-i386/build/tests/twopass:
  FAIL: result differed from expected

Different comp_ids might result from a race in hal processing,
this commit uses halcmd -s (scripting) to show component
name instead of comp_id

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-10-17 17:47:27 -07:00
Jeff Epler
9799eced1e uspace: use root in RTAPI shmem_new so shm can be locked
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-17 19:23:19 -05:00
Jeff Epler
f059548899 uspace: use WITH_ROOT for rtapi_open_as_root
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-17 19:23:19 -05:00
Jeff Epler
ce52ea1294 uspace: fix check for setuid nature of rtapi_app
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-17 19:23:19 -05:00
tseufl
5d2e90cd76 configs: intf-pico readme typo/adding "www"
For better recognizability of the left as a link and in harmony with the other links in the section of the interfaces.
The site (pico) supports both formats: with and without -www- ...
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 15:45:38 +02:00
tseufl
d846735b73 configs: sim-tklinuxcnc readme missing l [L] added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 13:59:32 +02:00
tseufl
d4a480d3b3 configs: sim-tklinuxcnc readme update/reformatting
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 13:01:39 +02:00
tseufl
2e49ea2963 configs: sim-gscreen_custom readme reformatting
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 11:50:29 +02:00
tseufl
beb680c23d configs: sim-gscreen readme typo
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 11:16:40 +02:00
tseufl
d99216feba configs: sim-gmoccapy readme typo
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 11:05:10 +02:00
tseufl
4ae381bac1 configs: sim-axis readme typo
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 11:00:25 +02:00
tseufl
4255b0fe20 axis.tcl: update/added copyright 2016
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-17 09:26:49 +02:00
Dewey Garrett
ae89934916 linuxcnc.tcl.in strip leading whitespace on [SECT]
also trailing

noticed by failure in check_config validating mandatory
item [KINS]KINEMATICS= if leading whitespace present

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-10-16 21:33:31 -07:00
tseufl
11a74cabff scripts: latency-test typo
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-16 12:10:25 +02:00
tseufl
f1e0cd586b docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 21:14:08 +02:00
tseufl
6e166419e4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 21:10:50 +02:00
tseufl
c62b5af107 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 20:45:33 +02:00
tseufl
f347355c52 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 20:41:19 +02:00
tseufl
c547291fc4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 18:38:58 +02:00
tseufl
fc3df16b02 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 18:36:57 +02:00
tseufl
394ae412d4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 18:35:17 +02:00
tseufl
eaae4fd66e docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 18:31:44 +02:00
tseufl
463e947d84 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 18:29:42 +02:00
tseufl
c1a5834e77 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 14:41:21 +02:00
tseufl
f800f06463 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 14:39:33 +02:00
tseufl
c2af537464 docs: image alt-tags added
document is not translated to French
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 14:28:55 +02:00
tseufl
ae59a85fed docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 14:22:12 +02:00
tseufl
26f0e8c896 docs: image alt-tags added
=> document is not translated to French
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:42:09 +02:00
tseufl
3a53dbbaf4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:36:06 +02:00
tseufl
9c887c6bda docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:28:25 +02:00
tseufl
c717867570 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:22:59 +02:00
tseufl
96f372c13c docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:15:02 +02:00
tseufl
3b3eb41e29 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 13:12:52 +02:00
tseufl
ec244bd279 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 12:52:22 +02:00
tseufl
3143ddee07 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 12:47:48 +02:00
tseufl
c6dbcbf13a docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 12:41:10 +02:00
tseufl
8f79e37b59 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 12:33:34 +02:00
tseufl
62d7d8ef00 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 12:31:27 +02:00
tseufl
60f065c8bd docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 11:50:27 +02:00
tseufl
62b61939c6 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 11:40:44 +02:00
tseufl
f0256394dc docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 11:31:39 +02:00
tseufl
3878cf289a docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 11:25:35 +02:00
tseufl
8a7ca3a28e docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 10:51:50 +02:00
tseufl
5f1dfeaf6c docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 10:41:46 +02:00
tseufl
e47765f0ec docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 10:39:17 +02:00
tseufl
749a4b2593 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 10:34:15 +02:00
tseufl
9d2e10c9d4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 10:30:29 +02:00
tseufl
c13d3fdb72 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 09:28:22 +02:00
tseufl
aa3b8da81f docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 09:16:11 +02:00
tseufl
e7df0b5116 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 08:27:04 +02:00
tseufl
7cbf55d1cf docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:25:52 +02:00
tseufl
fb063c09c4 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:21:06 +02:00
tseufl
ccd6131900 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:18:54 +02:00
tseufl
47fe7d7328 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:13:57 +02:00
tseufl
5574fa43e8 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:12:25 +02:00
tseufl
14870cb424 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:07:59 +02:00
tseufl
e1ab5d4e18 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:04:48 +02:00
tseufl
bc13b06ff2 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-15 00:03:15 +02:00
tseufl
0105ea40b7 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:47:48 +02:00
tseufl
e988f73fa1 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:40:51 +02:00
tseufl
88bc09af4c docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:36:11 +02:00
tseufl
5386ef6ce9 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:27:53 +02:00
tseufl
daef5b243e docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:22:13 +02:00
tseufl
f8e212de11 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:06:29 +02:00
tseufl
fa67e7099e docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 23:04:15 +02:00
tseufl
90627be80f docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-14 22:58:10 +02:00
Jeff Epler
e8e4116cb1 hm2_eth: Use rtapi_spawn_as_root, rtapi_do_as_root
This restores hm2_eth to working on debian jessie after the
privilege handling changes in rtapi uspace.

It also makes hm2_eth work on mint 18, where /bin/sh is in the habit
of setting the effective user id to the real user id.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-13 19:37:59 -05:00
Jeff Epler
84f111ae0e uspace: debugging code for privilege handling
Unless RTAPI_DEBUG_PRIV is defined, this code is a no-op.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-13 19:37:59 -05:00
Jeff Epler
94ee974e3a uspace: implement rtapi_do_as_root
This will be necessary, for example, when hm2_eth does its
ioctls to manipulate the static ARP table.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-13 19:37:59 -05:00
Jeff Epler
5cc4942540 uspace: implement rtapi_spawn{,p}_as_root
These are not quite a simple composition of WITH_ROOT
and posix_spawn{,p}, because some implementations of /bin/sh
set the effective user id to the real user id as a hardening
measure (https://bugs.launchpad.net/ubuntu/+source/dash/+bug/1215660)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-13 19:37:59 -05:00
Jeff Epler
3d4fc3bf44 uspace: revamp privilege handling to not setfsuid
setfsuid is nonportable, and it feels like the way we do priviege
switching with it is contributing to the hm2_eth problems on mint
18.

The new code is based off
https://www.gnu.org/software/libc/manual/html_node/Setuid-Program-Example.html
assuming _POSIX_SAVED_IDS (all the world's a VAX).

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-13 19:37:59 -05:00
tseufl
6d2fd74ed5 docs: image alt-tags removed
the >>>.titles<<< are normally used for the description of the image. Here in this case, but as a heading for the next example.
This irritates and the false old tags are removed.
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 23:15:40 +02:00
tseufl
d70d92fd1a docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 22:36:01 +02:00
tseufl
e6f34d9344 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:42:53 +02:00
tseufl
d4be67b0ad docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:40:07 +02:00
tseufl
a632ace6cc docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:22:24 +02:00
tseufl
8482da60a6 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:17:21 +02:00
tseufl
4a7006fcad docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:15:15 +02:00
tseufl
1512509a9f docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:08:59 +02:00
tseufl
b4a5d7b3ce docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:07:13 +02:00
tseufl
0dd8a85c77 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 21:03:24 +02:00
tseufl
f6178f6535 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 20:33:04 +02:00
tseufl
22a3e081da docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 20:26:26 +02:00
tseufl
919f930ea1 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 20:00:48 +02:00
tseufl
7597d803ef docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 19:39:51 +02:00
tseufl
0ecb44d245 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 19:34:20 +02:00
tseufl
37f941ca74 docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 19:27:12 +02:00
tseufl
50eb98311e docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 19:08:20 +02:00
tseufl
4fee5244cc docs: image alt-tags added
Signed-off-by: Thoren Seufl <t_seufl@gmx.de>
2016-10-13 19:05:17 +02:00
Sebastian Kuzminsky
d1919c5b33 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/drivers/shuttlexpress.txt (renamed to shuttle.txt)
	docs/src/gui/keystick.txt          (removed)
	docs/src/gui/keystick_fr.txt       (removed)
	docs/src/gui/mini.txt              (removed)
	docs/src/gui/mini_fr.txt           (removed)
2016-10-09 07:37:37 -06:00
Dewey Garrett
7be62e6d5e axis.py: disallow individual coordinate homing if ...
configuration is:
     KINEMATICS_IDENTITY
with
     duplicate_coord_letters (like xyyz used for a gantry with
     two joints for a single coordinate letter)

At axis gui startup, report condition and do not create menu items
for home/unhome for duplicated coordinate letters

When 'Home' key is used to try to home a duplicated coordinate letter,
decline attempt and report condition to stdout.

This commit attempts to mitigate the bad behavior described
in forum post:

https://forum.linuxcnc.org/forum/38-general-linuxcnc-questions/31598-random-motion-and-lost-steps-after-upgrade?start=10#81253

-------------------------------------------------------------------
To handle individual coordinate letter homing when there are
duplicated coordinate letters assigned to separate joints will require
new protocols and implementation in src/emc/motion/homing.c (and
elsewhere).  To date, homing has been supported for
   a) a single joint (joint_num)
   b) all joints     (joint_num == -1)

Such changes are not attempted herein but if implemented will require
additional work to accomodate such protocols in the axis gui.

Notes:

Using KINEMATICS_BOTH allows homing of individual joints.  However, a
gantry user might want to home a single coordinate with two joints while
honoring the HOME_SEQUENCE specified in the ini file.

Using 'Home All' functionality works with all combinations of
KINEMATICS_IDENTITY or KINEMATICS_BOTH and with duplicated coordinate
letters and obeys defined HOME_SEQUENCE ini items.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-10-05 19:48:30 -07:00
Jeff Epler
62cb471eec configure: remove obsolete gettext version checks
Our oldest supported platforms have gettext 0.18 or above, so
no need to carry this cruft.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-05 21:11:43 -05:00
Jeff Epler
2b0e043f33 Merge remote-tracking branch 'origin/2.7' 2016-10-05 21:09:49 -05:00
Jeff Epler
be5763565b Merge remote-tracking branch 'gh-jepler/configure-asciidoc-man' 2016-10-05 21:09:40 -05:00
Jeff Epler
ad5ba34c45 Merge remote-tracking branch 'origin/2.7' 2016-10-05 21:04:50 -05:00
Jeff Epler
16af29f90b configure: All supported platforms have asciidoc 8.6
.. so we can remove this test.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-04 20:00:53 -05:00
Jeff Epler
898fd08b37 or2: demonstrate a use of r-string documentation
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-04 19:50:34 -05:00
Jeff Epler
63bbacb1af docs: document halcompile rawstrings
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-04 19:50:34 -05:00
Jeff Epler
c020e7204e halcompile: support r-strings
.. with the same semantics as Python

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-10-04 19:50:34 -05:00
Sebastian Kuzminsky
b9fc3b59b6 Merge remote-tracking branch 'origin/2.7' 2016-10-04 14:47:09 -06:00
Sebastian Kuzminsky
003e61e3af motion: fix some misleading indentation - no code change
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-03 09:40:38 -06:00
Sebastian Kuzminsky
279b60e97b fix misleading indentation - no code change
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-10-03 09:30:34 -06:00
Dewey Garrett
35356158be stepconf build_INI.py bugfix for JA handling lathe
write_one_axis() receives a  parameter for an axis letter
so it need not be derived as if all axis letters present

for XZ lathe configs, error was:
         an [AXIS_Y] section was created
when it should have been [AXIS_Z]

This resulted in use of default MIN_LIMIT, MAX_LIMIT for [AXIS_Z}
triggering an error in check_config() in the linuxcnc script
that attempts to validate limits for machines with identity kinematics

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-09-27 06:45:40 -07:00
Norbert Schechner
a6fd406a36 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-09-27 08:39:48 +02:00
Norbert Schechner
e9411ec306 gmoccapy_2_1_5 - halui spindle override bug
ver. 2.1.5
- halui spindle override bug, caused by a race conflict
  Thanks to pippin88 and dinkata to help solving his one

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-09-27 08:38:55 +02:00
Dewey Garrett
a055cb10e8 pncconf build_INI.py bugfix for JA handling lathe
write_one_axis() receives a  parameter for an axis letter
so it need not be derived as if all axis letters present

for XZ lathe configs, error was:
     an [AXIS_Y] section was created
when it should have been [AXIS_Z]

This resulted in use of default MIN_LIMIT, MAX_LIMIT for [AXIS_Z}
triggering an error in check_config() in the linuxcnc script
that attempts to validate limits for machines with identity kinematics

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-09-26 21:24:47 -07:00
Chris Radek
269495a90d Merge branch 'epp-parport-g540' of https://github.com/cradek/linuxcnc 2016-09-24 18:32:54 -05:00
Chris Radek
8ec74e484b Merge branch '2.7' 2016-09-24 14:39:50 -05:00
Dewey Garrett
518a33b6a3 latency-histogram: new option (--nox) for no X gui
if --nox, report to stdout for each thread:
  elapsed_time, thread name, min, max, standard_deviation

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-09-20 20:53:28 -07:00
Jeff Epler
d860b30d78 Merge remote-tracking branch 'origin/2.7' 2016-09-18 14:54:33 -05:00
andypugh
7253001648 glcanon.py: Allow easy customisation of the DRO number format
Requests to add more (or fewer) significant digits to the DRO for specific
machines or to force a + sign are not uncommon. This commit saves users
from the horror of editing the Python code themselves.
A basic validity check is made, but otherwise no restrictions are made:
hexadecimal, binary, exponent notation are all possible.


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-09-15 22:15:36 +01:00
John Thornton
af15a4d90e Docs: fix link
Signed-off-by: John Thornton <bjt128@gmail.com>
2016-09-13 05:41:31 -05:00
Sebastian Kuzminsky
0b08501f58 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/rs274ngc-startup/test-ui.py
	tests/startup-state/test-ui.py

    These two conflicted because the wait_for_linuxcnc_startup() function
    moved from the test-ui.py scripts to lib/python/linuxcnc_util.
    It's correct in linuxcnc_util; while moving the code there is when
    I noticed the problem.
2016-09-03 07:58:43 -06:00
Norbert Schechner
a3d0b3889f gmoccapy_2_1_4 - hide lathe wear offsets as default
ver. 2.1.4
- lathe wear offsets has been displayed by default, IMHO that
  disturbs most users, as the wear offsets do only work with
  remaped code. That part is only weak documented.
- If the user wants to use wear offsets, he will have to include
  in [DISPLAY] LATHE_WEAR_OFFSETS = 1, otherwise the additional tabs
  will be hidden.

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-09-03 11:35:00 +02:00
Norbert Schechner
d888bded9e Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-09-03 08:58:40 +02:00
Norbert Schechner
36a19a8507 gmoccapy_2_1_3 - key event bug on mode change
ver. 2.1.3
- mode change was possible with keyboard shortcuts, even if the
  interpreter was running.
- if the user changed with keyboard shortcut a mode and after that to
  an other mode with button, it was not possible to change to the
  previous mode with the keyboard shortcut, as the last key event
  is recorded. Now the hal status event will reset the key event

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-09-03 08:57:35 +02:00
Sebastian Kuzminsky
f4cb01b24d tests refactor: consolidate wait_for_linuxcnc_startup()
Have just one copy of this test, in the linuxcnc_util module.

And fix a silly cut-n-paste error while I'm at it...

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-09-02 21:01:19 -06:00
Sebastian Kuzminsky
f1cc2ae202 Merge remote-tracking branch 'origin/2.7' 2016-09-02 19:51:02 -06:00
Sebastian Kuzminsky
3cb7d938e3 linuxcnc python module: add documentation for jog()
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-09-02 16:10:07 -06:00
Norbert Schechner
6244dc3263 gmoccapy_2_1_2 - spindle label has not been updted
ver. 2.1.2
- spindle label besides the 100 % button has not been updated

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-09-01 21:28:11 +02:00
Norbert Schechner
43a836c881 gmoccapy_2_0_XX - get_ini_info - missing entries leaded to a python exception
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-09-01 21:19:02 +02:00
Jeff Epler
1b4d4ed7e1 build: this pipe would hide real build errors
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-25 21:14:06 -05:00
Jeff Epler
dd022c0292 rs274: Notify user on terminal if link or rename fail
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-24 20:59:49 -05:00
Jeff Epler
05c270bbb0 docs: Fix 'WARNING: missing section: [sect5]' diagnostics
There is no level-5 heading available in asciidoc (even though
there is in HTML).  Introduce a definition list instead.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-24 19:39:22 -05:00
Jeff Epler
01a0ecdaef docs: Fix 'WARNING: section title out of sequence' diagnostics
This "+" got introduced when I carelessly fixed a conflict.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-24 19:39:22 -05:00
Jeff Epler
89c62be494 build: note an a2x warning that is spurious
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-24 19:39:22 -05:00
Jeff Epler
19faffd359 scorbot-kins: fix compiler diagnostic '-Wunused-but-set-variable'
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-24 19:39:21 -05:00
Jeff Epler
49a6adad0f Merge remote-tracking branch 'gh-jepler/xenial' 2016-08-22 19:18:51 -05:00
Jeff Epler
0763260b0e travis: mk-build-deps can install the deps too
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-22 17:53:58 -05:00
Jeff Epler
7ad65c7457 packaging: stanza for ubuntu 16.04
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-22 22:44:24 +00:00
andypugh
9b314d352b update_ini: Fail to crash with commented-out INI sections
The previous version of the script would find #[COMMENTED_SECTION] when
scanning for custom sections, and then get stuck if it found another.
Commented sections are now ignored, but will tend to get copied accross
anyway as part of the section immediately above.  This is probably what
users want.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-08-22 00:04:37 +01:00
andypugh
8c051c65d5 update_ini: Avoid making syntactically incorrect "setp" statements
In cases where a single pin is replaced by two pins, for example the mpg
jogging pins which now have separate joint and axis versions, the script
would put both new pins in one "setp" statement, leading to a HAL parsing
error.
I tried to avoid creating the bad statements in the first place, but it is
harder than it seems, so now the code simply repairs them.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-08-22 00:04:23 +01:00
John Kasunich
180177664b Move hal_bb_gpio manpage from docs/src/ to docs/man/
Eventually all man pages will be asciidoc in docs/src/ and
the troff pages in docs/man/ will be auto-generated.  But
that may take a while, and in the meantime troff pages in
docs/src/ aren't usable.  When the move comes in the future
this page can move with all the rest.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-20 23:18:59 -04:00
Jeff Epler
e8f8099eb6 hal_bb_gpio: errno didn't make sense here
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 18:01:35 -05:00
Jeff Epler
b0dcbdfde3 hal_bb_gpio: compensate for 1-based thinking by overallocating
gcc 4.9 warns:
hal/drivers/hal_bb_gpio.c:410:29: warning: iteration 91u invokes undefined behavior [-Waggressive-loop-optimizations]
         if(port->output_pins[i] == NULL) continue; // short circuit if hal hasn't malloc'd a bit at this location
                             ^
and similarly for the other arrays.

This happens because the array size was (PINS_PER_HEADER * HEADERS)
and the loop was on 1 <= i <= HEADERS*PINS_PER_HEADER, i.e.,
one-based thinking.  I don't know how thoroughly this 1-based
counting is baked into the component, but allocating just four more
pointers is no big deal and fixes the possibility of running off
the end.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 17:34:35 -05:00
Jeff Epler
8f64b75159 hal_bb_gpio: error handling is not just calling exit()
.. in a HAL component, doing this will make the whole rtapi_app
exit!

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 17:34:34 -05:00
Jeff Epler
75bd22c038 Merge branch 'master' of https://github.com/jmkasunich/linuxcnc 2016-08-20 17:23:41 -05:00
Jeff Epler
423fc54232 build: remove 'halonly'-related change unintentionally committed
.. due to insufficient care on my part, I added part of the
'halonly' build system tweaks at 1070a8ae44 when I committed the
beagle bone gpio driver.

This didn't show up locally because I did not start with a clean
source tree to test.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:31:00 -05:00
John Kasunich
11252fc297 fix typo - incorrect GPIO port address for P8 pin 6
Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-20 16:18:26 -04:00
John Kasunich
afdf522218 Fix hal_bb_gpio driver crash due to disabled port
If the GPIO bank (1, 2, or 3) associated with a requested
pin is disabled, the driver would crash due to bus timeout.
This patch tests the bank enabled/disabled status before
attempting to access the bank.  If the bank is disabled,
it prints a (hopefully) helpful message before exiting
cleanly.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-20 16:17:11 -04:00
Jeff Epler
338a7537a7 hal_bb_gpio: add manpage
original to LinuxCNC

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:03:03 -05:00
Jeff Epler
1070a8ae44 hal_bb_gpio: new hardware driver
Based on work in MachineKit by:
    Alexander Rössler <mail.aroessler@gmail.com>
    Charles Steinkuehler <charles@steinkuehler.net>
    Ian McMahon <imcmahon@prototechnical.com>
    Michael Haberler <git@mah.priv.at>

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:02:58 -05:00
Jeff Epler
5f0865a7ea rtapi: Add rtapi_open_as_root API
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:02:50 -05:00
Jeff Epler
3a69f64462 mb2hal: remove needless dependency on linuxcnc
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:02:36 -05:00
Jeff Epler
e4b0d1841b uspace: restore thread that reads out messages from realtime
This was incorrectly removed at e996a30f96, and the consequence
is that messages from realtime would not appear until shutdown
(and a small limit is imposed on the total number of messages
per session).  Whoops!

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 15:02:27 -05:00
Jeff Epler
0ad006d234 packaging: add vcs headers a la debian policy
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-20 06:56:30 -05:00
Sebastian Kuzminsky
2ebaf8110c Task: update stat->traj.joints before iterating over it
emcMotionUpdate() polls for a new config struct from Motion (setting
the "new_config" flag True if so), then (among other things) calls
emcJointUpdate() and emcTrajUpdate().

emcJointUpdate() checks the "new_config" flag and if it's set, iterates
over the configured joints (the ones between 0 and stat->traj.joints),
copying information from the emcmotStatus struct (from Motion) into the
emcStatus struct (to the user interfaces).

emcTrajUpdate() updates various emcStatus fields from the emcmotConfig,
including the one named "traj.joints" which is used by emcJointUpdate().

Before this commit, during bootup, only the first joint would get updated
by emcJointUpdate(), because stat->traj.joints was not updated yet and
had its default value of 1.

This commit changes emcMotionUpdate() to call emcTrajUpdate() before
emcJointUpdate(), so that stat->traj.joints has the correct joint count
by the time we use it.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-08-19 16:07:14 -06:00
Sebastian Kuzminsky
1090f549dc Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/motion-logger/basic/expected.builtin-startup.in
	tests/motion-logger/mountaindew/expected.motion-logger
2016-08-19 16:07:10 -06:00
John Kasunich
a9284c671d revise limit3.1 test to deal with rounding effects
The original test would give differing results on different
sytems due to floating point rounding.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-19 17:22:15 -04:00
John Morris
e007416577 Enable remap of M62-M68
Unit test checks:
- M62-M68 remapping, python and ngc
- Recursivity
- Plumbing through interp, task and HAL

Signed-off-by: John Morris <john@zultron.com>
2016-08-19 14:13:24 -05:00
Jeff Epler
880485484a Merge remote-tracking branch 'origin/2.7' 2016-08-18 21:27:17 -05:00
Sebastian Kuzminsky
663c914f18 tests: skip the limit3.1 test for now
There's a difference in floating-point rounding on different platforms
that makes this test's correct output inconsistent.  Skip the test until
we figure out how to deal with it.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-08-17 21:07:41 -06:00
Jeff Epler
2211e1cb91 Merge branch 'master' of https://github.com/jmkasunich/linuxcnc 2016-08-16 13:54:34 -05:00
Chris Radek
d1fe691f54 Merge branch 'execute_finish_in_py_remap-lcnc' of https://github.com/zultron/machinekit into zultron-execute_finish_in_py_remap-lcnc 2016-08-16 10:01:08 -05:00
Chris Radek
acef5ed590 Describe port type = epp
Signed-off-by: Chris Radek <chris@timeguy.com>
2016-08-16 09:39:34 -05:00
Chris Radek
0dd0e36785 Let the user request output mode with EPP to fix G540 charge pump
Signed-off-by: Chris Radek <chris@timeguy.com>
2016-08-16 09:39:34 -05:00
John Kasunich
c824f3a9b1 halstreamer: allow comments in input stream
Lines it the input stream that begin with '#' will be
treated as comments and silently dropped.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-15 22:16:47 -04:00
John Kasunich
9b4bc7650c limit3.comp: add 'in-limit' output pin
The 'in-limit' pin is false when the output is exactly
tracking the input, and true when position, velocity,
or accel limit causes the output to differ from the
input.

Also replaced test limit3.1 (which was a duplicate
of limit3.0) with a more complete test that verifies
accel and velocity limitation and the 'in-limit' pin.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-15 21:42:13 -04:00
John Kasunich
c1cc04c962 logic.comp: add 'nand' and 'nor' outputs
The new output pins are only created if called for by
'personality', so change is backwards compatible.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-15 20:57:02 -04:00
John Kasunich
9dd93d3d44 limit1 & limit2: change params to pins
The limit value inputs were parameters, but are more
flexible if implemented as pins.  The change is pretty
transparent, since setp will set either a param or a
pin.  This change was done for limit3 in 2010, just
bringing the other two up to date.

Signed-off-by: John Kasunich <jmkasunich@fastmail.fm>
2016-08-15 20:21:52 -04:00
Sebastian Kuzminsky
54c72e17c3 Merge remote-tracking branch 'pkmcnc/master' 2016-08-15 13:37:51 -06:00
Jeff Epler
b1b90721f1 Merge remote-tracking branch 'origin/2.7' 2016-08-14 12:35:45 -05:00
Sebastian Kuzminsky
14223a0444 Merge remote-tracking branch 'origin/2.7' 2016-08-14 10:06:21 -06:00
Norbert Schechner
895879dcc2 gmoccapy_2_1_1 - startup errors when not in estop
ver. 2.1.1
- starting with estop-reset, caused some errors, because it is not
  possible to JOG_STOP with machine in OFF state

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-08-14 17:56:50 +02:00
Norbert Schechner
9d1b51d456 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-08-14 14:11:48 +02:00
John Morris
44377d84a0 reenterable remaps: fix epilog
When a python epilog returns `INTERP_EXECUTE_FINISH`:

- Set the executing block call type to `CT_REMAP` so the next `read()`
  skips, and
- Return control to task.

The next call to `execute()` will resume epilog execution.

Signed-off-by: John Morris <john@zultron.com>
2016-08-10 12:25:08 -05:00
John Morris
c978ffd332 reenterable remaps: don't unnecessarily set mdi_interrupt flag
`mdi_interrupt` is useful for forcing execution of an ngc file as
though it were a subroutine.  Python routines are not ngc files, and
don't need this.

Signed-off-by: John Morris <john@zultron.com>
2016-08-10 12:25:04 -05:00
John Morris
4364dbde93 reenterable remaps: fix python body and prolog reentry
Fix segfault when calling `self.execute()` after reentering a python
remap, caused by entering a new remap level.

There's no need to save/restore the current block: if the return value
is `INTERP_OK`, then the block is done executing and no longer needed;
if the return value is `INTERP_FINISH_EXECUTE`, that will immediately
be passed up the stack and out the top-level `execute()`, and the next
`execute()` call will resume the python generator, where the last
block is irrelevant.

A `self.execute(command)` within the python does need to have
`command` read; temporarily set call state to `CS_NORMAL` so `read()`
won't skip reading.

Signed-off-by: John Morris <john@zultron.com>
2016-08-10 12:24:54 -05:00
John Morris
56adc0fc94 reenterable remaps: unit test
Signed-off-by: John Morris <john@zultron.com>
2016-08-10 12:24:29 -05:00
Jeff Epler
d8ef5f725d interp: Atomically replace old var file with new
The new sequence as seen by strace is:
 1  open("sim.var.new", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 4
 2  open("sim.var", O_RDONLY)               = 5
 3      [read sim.var and write sim.var.new]
 4  fdatasync(4)                            = 0
 5  unlink("sim.var.bak")                   = 0
 6  link("sim.var", "sim.var.bak")          = 0
 7  rename("sim.var.new", "sim.var")        = 0

Now, the contents you get by reading sim.var change atomically at step 7.
Because of the fdatasync at step 4, it is even robust against whole-system
crashes; without it, it would be possible ot get a zero-byte file instead.
    https://lwn.net/Articles/322823/
    http://oss.sgi.com/archives/xfs/2012-03/msg00056.html

Closes #54

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-07 13:47:40 -05:00
Jeff Epler
94a53ead8f Remove file unintentionally committed (7db4ebb)
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-08-07 13:47:40 -05:00
Norbert Schechner
a74730f293 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-08-05 18:11:10 +02:00
Norbert Schechner
02701f4def lcd component added hal_ready
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-08-05 18:10:50 +02:00
Andrew Kyrychenko
3f2d15f8b8 kinematics/genhexkins: remove "last change" date
Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 09:50:45 +03:00
Andrew Kyrychenko
f4a49b581e kinematics/genhexkins.c: add strut length correction
Add strut length correction for non-captive screw actuators with
universal (cardanic) joints, provide parameters for joint axes unit
vectors and screw lead, add pins to show correction values.

Update kins.9 manpage.

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 00:43:30 +03:00
Andrew Kyrychenko
5f44ed8ffa kinematics/genhexkins.c: add spindle-offset pin
Add spindle-offset pin to facilitate adjusting spindle position.

Convert pins to parameters where possible.

Document new pins.

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 00:43:30 +03:00
Andrew Kyrychenko
59f620415e kinematics/genhexkins.c: remove obsolete code, fix errors
Remove unused jacobianInverse, jacobianForward functions
Fix indentation
Fix typo

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-08-04 00:43:30 +03:00
Norbert Schechner
eec48e1681 gmoccapy_2_1_0 - new config for SCARA
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-08-03 19:17:37 +02:00
Norbert Schechner
9d6f9ef48d Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master
Conflicts:
	src/emc/usr_intf/gmoccapy/gmoccapy.py
	src/emc/usr_intf/gmoccapy/release_notes.txt

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-08-01 20:54:56 +02:00
Norbert Schechner
75a72f01a2 gmoccapy_JA_master_2_1_0 - ready to be merged with master ;-)
ver. 2.1.0
- reworked Combi_DRO to fit the needs of JA requierements
- some configs must be adapted to the new hal pin names, as they are
  put together in groups, so all stuff with jog is in that group
- Hiding the jog button in world mode is possible with a command line argument
- reorderd some code to be more understandable
- deleted a lot of debug prints
- still having problems with matchbox-keyboard, it is found, but not shown
  on every config, need more testing.

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-08-01 20:46:49 +02:00
Norbert Schechner
7db4ebb361 gmoccapy_JA_master - ongoing port to JA
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-31 16:35:41 +02:00
Jeff Epler
ab6136c147 Merge branch 'hm2_raspi' of https://github.com/tinkercnc/linuxcnc-mirror-old 2016-07-30 11:24:41 -05:00
Jeff Epler
debd811830 hm2_rpspi: remove check of BUILD_SYS_USER_DSO
"BUILD_SYS_USER_DSO" is never defined by LinuxCNC.
(It is or was used by machinekit)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-30 11:24:12 -05:00
Jeff Epler
ccb6fc283e hm2_rpspi: remove skeleton of firmware upload code
All mesa SPI boards include onboard eeprom/flash which is programmed via
mesaflash, not at runtime like older PCI/EPP boards.

this also fixes a scan-build diagnostic:

hal/drivers/mesa-hostmot2/hm2_rpspi.c:529:12: warning: ‘hm2_rpspi_program’ defined but not used [-Wunused-function]

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-30 11:24:12 -05:00
Matsche
8f93f32aeb compiler attribute added to avoid warning about unused variable.
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-30 16:09:10 +02:00
Sebastian Kuzminsky
af430e9227 build system: remove stray escape characters
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-29 23:28:15 -06:00
Sebastian Kuzminsky
2ebd5e7763 Merge remote-tracking branch 'origin/2.7'
This merge was done with the "ours" merge strategy, so the resulting
tree is identical to master before this merge.  In other words, the
changes from 2.7 are discarded.

The 2.7 changes since the previous merge of 2.7 into master consist solely
of the revert of the invasive, regression-prone changes I made to Task.
This merge skips those changes, so the Task updates (with all their
known regressions, the fixes for those regressions, and all potential
unknown problems) are still in master.
2016-07-29 09:24:18 -06:00
Jeff Epler
e996a30f96 uspace: avoid use of message queue in main thread
Several tests (including hm2-idrom and module-loading) rely on
capturing output of a halrun session and grepping inside it; this in
turn creates an assumption about how output from rtapi_app (startup
and loadrt-time) and halcmd is interleaved.

With the introduction of the message queue, this assumption was
broken.  Attempt to put back the assumption by bypassing the message
queue when the message is being printed from the "main thread",
i.e., the one that creates the App() object and responds to
load/unload/etc commands.

Comparing pthread_t objects to 0 or to another pthread_t with == is
not portable, but on common platforms it's either an integral type
or a pointer (verified by compile on linux and glance at header on
freebsd, plus
http://stackoverflow.com/questions/30867779/correct-pthread-t-initialization-and-handling
which has to cite something weird like dgux for an exception)

Before this change, tests/module-loading/pid/num_chan=16 failed with
a frequency of between 1-in-100 and 1-in-500 runs on my odroid u3.
After this change, it succeeds for 3000+ iterations without error,
the same as before merging the uspace-plus branch.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-29 09:57:08 -05:00
Norbert Schechner
be83f435be Merge branch 'gmoccapy_JA_based_on_master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-29 10:36:50 +02:00
Jeff Epler
106fcd8a02 hal_lib: drive first non-input-pin value onto signal
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 21:19:55 -05:00
Jeff Epler
19c43d49f0 hal_lib: factor condition out to local variable
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 21:17:41 -05:00
Jeff Epler
7bcf62b813 Merge branch 'jepler/master/uspace-plus' 2016-07-28 20:49:17 -05:00
Jeff Epler
0519a107c0 docs: document new RTOS support
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:20 -05:00
Jeff Epler
3a0a4fc8b2 packaging: rtai, xenomai are sub-packages of uspace
You can enable them by
    debian/configure uspace rtai xenomai
or enable just one with e.g.,
    debian/configure uspace xenomai
uspace has to come first; none, one or both of rtai and xenomai may follow.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:20 -05:00
Jeff Epler
0c7934bfdb uspace: add uspace+xenomai realtime
"uspace+xenomai" means using the uspace realtime model together with
xenomai (posix skin) APIs to enter real-time mode.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:20 -05:00
Jeff Epler
46b3593ed0 uspace: add uspace+rtai realtime
"uspace+rtai" means using the uspace realtime model together with
rtai (lxrt) APIs to enter real-time mode.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
000ef00c35 packaging: drop special treatment of linuxcnc_module_helper
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
b4c445ce3b build: install additional programs as setuid in uspace
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
314e851095 build: even on uspace, make linuxcnc_module_helper setuid
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
4c451cc21c realtime: Load modules even for uspace, if requested by rtapi.conf
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
6be807213f module_helper: always allow .ko objects
In uspace realtime, MODULE_EXT is .so, but kernel modules for
module_helper are always .ko (in linux anyway)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
1e83e99ed4 module_helper: Allow loading modules associated with running kernel
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
546108fa69 uspace: Introduce lockfree queue for rtapi_print_msg
This is needed because while we seem to get away with calling
C printf() and fprintf() in uspace-posix, this is not OK in
uspace-rtai.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
96a65b368a configure: fall back to uspace realtime if rtai not found
.. hopefully this helps lay the groundwork in configure for
uspace+rtai too

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
a9f7d75217 uspace: factor several items to a header
these will be used by multiple RtapiApp implementations.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
fa76be4eda build: include a copy of boost lockfree for heritage platforms
This was apparently new in Boost 1.53 from 2013.
   [http://www.boost.org/users/history/version_1_53_0.html]

This copy is from libboost1.55-dev with a small modification
to work when used in conjunction with older boost.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
17a621d9a2 gitignore: generalize pattern
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Jeff Epler
2de91bda4c ignore generated files
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-28 20:26:19 -05:00
Norbert Schechner
0208697599 gmoccapy_JA_master_2_0_26 - bugfix tbtn_user_tabs and getiniinfo increments
ver.2.0.26
- bugfix: if toggle button user tabs was active and the user changed the mode
  (Manual,MDI or AUTO) the user tabs button staid active, but the screen
  layout changed to the corresponding mode, letting the button pressed.
- if embedded tabs was set in the INI file, the toggle button user tabs
  got active, even if no tab was configured for "ntb_user_tabs", changed this
  and sorted the code to be together with the rest of user tabs
- error in getiniinfo.get_increments, default values contained "," instead "."

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-28 08:44:34 +02:00
Sebastian Kuzminsky
4a36e42c86 hard-limits test: update for joints/axes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-27 21:07:13 -06:00
Sebastian Kuzminsky
9633f07334 Merge remote-tracking branch 'origin/2.7' 2016-07-27 20:32:41 -06:00
Jeff Epler
795d782704 Revert "runscript: remove variables now set by rip-environment"
This reverts commit d86314e81e.

Closes #125.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-27 18:59:37 -05:00
Sebastian Kuzminsky
dd498ec719 linuxcnc launcher: don't try to run update_ini without a DISPLAY
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-27 11:56:06 -06:00
Norbert Schechner
644c52ee22 Merge branch 'master' into gmoccapy_JA_based_on_master 2016-07-27 19:44:58 +02:00
Dewey Garrett
5f6b37cc03 emccalib.tcl parsing [HAL]HALFILE,POSTGUI_HALFILE
1) allow absence of whitespace before/after the '=' character
2) ignore additional args after filename (as supported for haltcl files)
   to prevent error that precludes handling of subsequent .hal files

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-26 19:46:42 -07:00
Jeff Epler
de26234bdc docs: update linuxcnc module docs for JA
.. made based on cursory review of commits from origin/2.7
to origin/master.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-26 21:17:17 -05:00
Jeff Epler
fdc7c25111 docs: don't give numeric values for enumerated constants
these are unlikely to change, but it's an attractive nuisance
that could cause user-developers to specify the numeric values
instead of using the enums.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-26 21:15:09 -05:00
Norbert Schechner
de8dae375a GladeVCP - hal_mdi_history - deleted unneded function
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-26 19:55:18 +02:00
Norbert Schechner
d56b31a4c5 gmoccapy_JA_master - solved the MDI History bug
hal_mdi_history used the hal_action_base.is_all_homed
to decide if it should be sensitive or not.
As this function does check for axis not for Joints it will not work
on non identity kinematics and for machines with "non used axis"

If you define a machine with COORDINATES = XYZAC
and JOINTS =  5 what should be possible, axis C will never be homed,
as it is axis 6 but will use Joint 5

Just defining 6 Joints as it has be done for identity machines,
will bring additional Joint Jog buttons, causing confusion for
the users.

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-26 19:44:01 +02:00
Jeff Epler
3100f6e712 Merge branch 'hm2_raspi' of https://github.com/tinkercnc/linuxcnc-mirror-old 2016-07-26 12:07:32 -05:00
Norbert Schechner
03e7b278be gmoccapy_JA_master - trying to find halmdihistory bug
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-26 17:36:29 +02:00
Matsche
efcd871705 Raspian-8.x Distro added...
Signed-off-by: W. Martinjak <matsche@play-pla.net>'
2016-07-26 16:04:03 +02:00
Dewey Garrett
6f8fbaac9b axis.py sync vars.teleop_mode to motion_mode #123
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-25 08:48:43 -07:00
Norbert Schechner
178059cbc3 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-24 21:24:59 +02:00
Norbert Schechner
8886d77a60 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-07-24 21:24:05 +02:00
Norbert Schechner
091c64537f GladeVCP - hal_status - hal_glib - report homed joints not axis
- now hal status will report the homed status for Joints
  and not any more for axis
- introduced a new signal to report motion mode changes,
  so GUI can react accordingly

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-24 21:23:19 +02:00
Norbert Schechner
e7e8d4597b gmoccapy_JA_master_2_0_25_1 - ongoing work on homing joints not axis
ver.2.0.25.1
- some changes to support new homing by joints, not by axis
  still work to do!
- do not allow any more the change to mdi or auto in Joint Mode!

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-24 21:19:04 +02:00
Norbert Schechner
b802545730 gmoccapy_JA_master - tests to change to home joints not axis
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-24 19:19:48 +02:00
Norbert Schechner
a4f8f4c14f Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-24 16:49:33 +02:00
Norbert Schechner
50868f64ce gmoccapy_JA_master_2_0_25 - hal pin for jogging joints on not identity machines
ver.2.0.25
- introduced hal pin to jog joints, make sure not to
  allow joint jogging in world mode and vice versa
- renamed most hal pin, so they are better organized,
  kept together in groups
- big bug in all homed signal of hal_glib avoid pushing to master

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-24 16:49:16 +02:00
Jeff Epler
a2edc3397d Merge branch 'wj200-extra-fields' of https://github.com/jamwaffles/linuxcnc 2016-07-24 08:13:47 -05:00
Jeff Epler
fd7e74ba4a tests: compensate for changed output
commit 92ca9a20cc stopped issuing interpreter resets when (re)loading a
part program.  This also fixes another bug in which the "term[ination]
con[dition]" was reset, rather than tracking execute gcode.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-23 19:35:34 -05:00
Jeff Epler
184070efd0 tests: compensate for changed output
commit 92ca9a20cc stopped issuing interpreter resets when (re)loading a
part program.  This also fixes another bug in which the "term[ination]
con[dition]" was reset, rather than tracking execute gcode.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-23 12:50:45 -05:00
Norbert Schechner
a4df0df562 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master
Conflicts:
	src/emc/usr_intf/gmoccapy/gmoccapy.py

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-23 18:57:09 +02:00
James Waples
fcef430da0 Added heatsink-temp pin to WJ200 component
This is available on wj200-vfd.N.heatsink-temp and is a float value
of the current temperature reading of the VFD in Celsius.

Signed-off-by: James Waples <jamwaffles@gmail.com>
2016-07-23 16:29:29 +01:00
James Waples
11ee2b9e9b Read and bind output current value
Reads register 0x1003 (Output current monitor) from VFD and
binds it to wj200.N.output_current HAL pin

Signed-off-by: James Waples <jamwaffles@gmail.com>
2016-07-23 16:29:29 +01:00
Jeff Epler
92ca9a20cc linuxcncmodule: don't reset interpreter on program_open
this had side effects like resetting the optional stop flag.

Closes #116

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-23 09:38:57 -05:00
Jeff Epler
bbcc45a630 task: implement EMC_TASK_PLAN_CLOSE
it should be OK to send this message at any of the times
it's OK to send EMC_TASK_PLAN_OPEN.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-23 09:38:57 -05:00
Jeff Epler
36086cf78f Merge branch 'wj200-device-option' of https://github.com/jamwaffles/linuxcnc 2016-07-23 07:21:23 -05:00
Jeff Epler
dbee3ff743 Merge remote-tracking branch 'origin/2.7' 2016-07-23 07:18:50 -05:00
James Waples
68bee0daaf Allow specifying of device on wj200_vfd init
This commit adds the --device option to the wj200_vfd HAL component.
It allows the user to select which device to use for Modbus communication
to the VFD. For example, to use a USB to RS485 converter on /dev/ttyUSB0
you would run this command:

    loadusr -W wj200_vfd --device /dev/ttyUSB0

The default is /dev/ttyS0 if --device is not specified.

Signed-off-by: James Waples <jamwaffles@gmail.com>
2016-07-23 11:32:18 +01:00
Norbert Schechner
b7691a2ee0 gmoccapy_JA-master_2_0_24 - reduced digits of vel in imperial units
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-22 20:39:43 +02:00
Norbert Schechner
247f680bf9 gmoccapy_JA_master_2_0_23 - bug in unit change
ver. 2.0.23
- bug in _update_slider, caused by units change and the needed
  recalculation of jog_vel

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-22 20:31:36 +02:00
Norbert Schechner
bb66eebc03 gmoccapy_JA_master_2_0_22 - reading preferences bug
ver. 2.0.22
- corrected the reading of preferences, under some circumstances
  as bool written settings, couldn't be read correct from file,
  leading to wrong settings. This is a known bug in ConfigParser.
  I went over to write all bool settings as string, this way it
  works like a charm. At the same time all bool values must be
  read with type = bool!

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-22 13:54:43 +02:00
Norbert Schechner
ef66d55474 Merge branch 'master' into gmoccapy_JA_based_on_master 2016-07-22 11:19:30 +02:00
Sebastian Kuzminsky
fbefee44ee tests: add teleop wheel jogging test
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:49:01 -06:00
Sebastian Kuzminsky
b3f67a43a3 tests: rename motion/jogwheel to indicate that it's joints
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:49:01 -06:00
Sebastian Kuzminsky
f72949b2b3 tests/toolchanger/m61: remove unused interface code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:49:01 -06:00
Sebastian Kuzminsky
640570a6b3 tests/tlo: remove unused interface code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:49:01 -06:00
Sebastian Kuzminsky
5006c06620 tests/motion/jogwheel: remove unused interface code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:58 -06:00
Sebastian Kuzminsky
af82c8dd4e tests/io-startup: use linuxcnc_util interface
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
e29ff0ba7f tests/interp/subroutine-return: use linuxcnc_util interface
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
d0927be602 tests/interp/mdi-oword-m66: remove dead linuxcnc interface code
Use linuxcnc_util functions where needed.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
2834af9829 tests/halui: remove unused linuxcnc interface code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
eee0bff940 tests/lathe: use linuxcnc_util for helper functions
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
9647bffbbc add a linuxcnc_util python module
This module uses the pre-existing "linuxcnc" python module to provide
higher-level helper functions.  These functions were all developed for
and used by the existing test suite.  Putting them all in a python module
reduces code duplication.

For now this module only deals with Task via NML, and does not do any
HAL jiggery-pokery.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-20 21:48:36 -06:00
Sebastian Kuzminsky
befb9047e8 scorbot config: add support for ShuttleXpress USB jog pendant
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 21:14:22 -06:00
Sebastian Kuzminsky
58d258f4be add a sample config for the scorbot-er-3 robot arm
Wrist control via "differential" second-stage kinematics, gripper control
via pyvcp.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 21:00:07 -06:00
Sebastian Kuzminsky
8fabd50133 kins: add scorbot-kins
Only handles Joints 0, 1, and 2 for now.  So the controlled point is at
Joint 3 (the wrist).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 21:00:07 -06:00
Sebastian Kuzminsky
b8e3e85b5d add a non-realtime driver for the scorbot-er-3 robot arm
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 21:00:06 -06:00
Sebastian Kuzminsky
a46b18f90f add a differential kinematics comp
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 21:00:06 -06:00
Sebastian Kuzminsky
e376968450 Task: be slightly less aggressive about switching to Teleop
This commit fixes a bug in the previous commit: it now keeps Motion in
Free mode until the machine is all homed, even on id-kins machines.

Without this, you can't home (since homing requires Free mode).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 16:10:39 -06:00
Sebastian Kuzminsky
2f6ad078d4 Task: make Manual mode use Teleop whenever possible
Before this commit, switching Task to Manual mode would cause Task to
switch Motion to Free mode.  This was because historically, Free-mode
jogging worked better than Teleop-mode jogging (at least on id-kins
machines).

After the JA merge, Teleop-mode jogging now works great on all kins.

This commit causes Task to prefer Teleop-mode jogging whenever possible,
ie if the machine is all homed, or if the machine uses id kins.

Only un-homed non-id-kins machines go to Free for Manual.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 09:25:59 -06:00
Sebastian Kuzminsky
084571110c Task: make the all_homed() helper function available
This makes all_homed() available to all of Task, not just inside emctaskmain.cc.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-19 09:22:57 -06:00
Jeff Epler
8813045df6 Remove unused proc makeNodeSig
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-19 09:44:59 -05:00
Jeff Epler
04c2bd41da Merge remote-tracking branch 'gh-ickalb/2.6-halshow_signals' 2016-07-19 09:43:49 -05:00
Jeff Epler
f7d6c47f54 Merge remote-tracking branch 'origin/jepler/master/ickalb-tp-personalities' 2016-07-19 09:41:51 -05:00
Jeff Epler
37ff8b5bee Revert "work on support of desktop shortcuts using rip"
Since the recent modifications of the linuxcnc runscript, we are
guaranteed that RIP systems have all the environment variables set
by rip-environment.

This reverts commit 5668382e67.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:43 -05:00
Jeff Epler
d86314e81e runscript: remove variables now set by rip-environment
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:43 -05:00
Jeff Epler
1e7d6ae928 runscript: remove some never-used, never-exported variables
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:43 -05:00
Jeff Epler
ba2d3659d4 runscript: Get all rip-environment settings
before now this was done piecemeal by duplicating code.
But at least TCLLIBPATH was missing.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:43 -05:00
Jeff Epler
943142f3dd runscript: remove environment variable related to xlinuxcnc
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:43 -05:00
Jeff Epler
b8576c9359 halcmd: Make this header safe for inclusion from C++
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-18 13:56:42 -05:00
Sebastian Kuzminsky
b19c7b4dfe Merge remote-tracking branch 'tinkercnc/hm2_raspi' 2016-07-18 08:16:58 -06:00
Matsche
7875ed842b probe for 7i43 removed
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-18 14:42:23 +02:00
Norbert Schechner
c080eaa51f Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-18 12:26:10 +02:00
Norbert Schechner
ebfa647c18 gmoccapy_JA_master_2.0.21 - support joint jogging
ver. 2.0.21
- added Joint Jog Button, _init_joints_btn will show only
  the needed button, so from now on gmoccapy supports 8 Joints
  and 5 axis
- still problems with the initialization of optional stops
- some button renaming to distinguish joints and axis jog button
  due to special case 4th and 5th axis
- reworked on_jog_btn_pressed and released to support joint jogging
  could be done better, will need some additional rework
- deleted some print messages

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-18 12:25:30 +02:00
Dewey Garrett
77a5e0988a pickconfig.tcl allow shortcut creation if missing
[EMC]MACHINE item (as in configs/sim/axis/minimal_xyz.ini)

was failing with "can't read "varval": no such variable"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-17 20:14:52 -07:00
Dewey Garrett
5668382e67 work on support of desktop shortcuts using rip
The configuration selector supports creating a desktop shortcut
for RIP builds but the invoking shortcuts don't not know how to
source rip-environment.  Some scripts need to find
LinuxCNC-specific tcl packages conventionally using the
tcl global list ::auto_path.

For affected scripts:
  When parented by the linuxcnc script, use
  ::env(LINUXCNC_TCL_DIR) if ::env(TCLLIBPATH) is not defined (as
  it would be if rip-evironment was properly sourced) as the
  leading item in the ::auto_path.  Provide error messages for
  unexpected environments.

Thanks to pkmcnc for noticing this problem

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-17 20:03:48 -07:00
Jeff Epler
64d79849c6 axis: fix queued MDI
The change that is being reverted here caused AXIS to send a mode change
to MDI before each MDI command, breaking queing.

This will regress the (unreleased) JA-feature of jog-while-mdi, but the
regression of queued MDI is much more severe.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-17 20:10:31 -05:00
Sebastian Kuzminsky
3612b758b0 abort startup if user cancels update_ini
This fixes #112.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-17 14:31:55 -06:00
Jeff Epler
f055277e6d platform-is-supported: No need for ancient Python workarounds
All the platforms with Python that old are no longer supported.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-17 09:04:15 -05:00
Norbert Schechner
0872758167 minor changes to ini and some more comments in gmoccapy.py
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-17 16:00:37 +02:00
Norbert Schechner
3f1655bc7e Merge branch 'master' into gmoccapy_JA_based_on_master 2016-07-17 14:45:54 +02:00
Dewey Garrett
920a3d5f8f linuxcnc.in: sequence: update_ini, check_config
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-17 05:26:46 -07:00
Sebastian Kuzminsky
e2ba1c9e64 update_ini: update link to JA updating docs
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-16 23:13:30 -06:00
Sebastian Kuzminsky
6c8a93a6a9 README: point to Building LinuxCNC for build info
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-16 22:06:19 -06:00
Sebastian Kuzminsky
94fdccb72a README: word-wrap the text
Make each paragraph of the DISCLAIMER its own block-bold.

Whitespace and markdown changes only, no word changes.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-16 22:06:19 -06:00
Dewey Garrett
23ddbee2d0 parse_ini{} proc: add to tcl pkg named Linuxcnc
and use within haltcl.in, check_config.tcl, twopass.tcl

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-16 19:05:30 -07:00
Dewey Garrett
a6870a7b73 emcsh.cc rebranding comments for tcl package
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-16 19:05:30 -07:00
Jeff Epler
170d6c465a uspace: drop support for old appspecific pointer
Since we have broken the ABI for custom RTOS implementations
anyway (by adding several new virtual methods), it's a good time
to remove this facility that is replaced by something better.
As far as I'm aware there are no out-of-tree uspace RTOS
implementations anyway.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:47 -05:00
Jeff Epler
8d7626b17c uspace: rtapi_delay will need a different implementation for rtai
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:47 -05:00
Jeff Epler
0504ea54c6 uspace: move a header inclusion to a normal spot
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:47 -05:00
Jeff Epler
5973ee4879 uspace: rtapi_get_time will need a different implementation for rtai
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:47 -05:00
Jeff Epler
3f5ca6f9e3 uspace: factor out code for unexpected realtime delay message
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:47 -05:00
Jeff Epler
bad28f6247 uspace: add a uses-fp flag in task structure
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
e3a350d5a1 uspace: move pthread-specific data to new PosixTask type
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
93866433d8 uspace: let RtapiApp subclasses subclass rtapi_task
The old way for them to have extended information was via 'void *appspecific',
but subclassing is a better solution.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
2ed34c4390 uspace: remove unneeded forward declaration
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
3e43335ac1 uspace: move a header inclusion to a normal spot
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
16bdfd2363 ignore generated files
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:46 -05:00
Jeff Epler
781c3543e4 uspace: give better advice about how to debug rtapi_app
by not including the path, the wrong rtapi_app would be easy
to invoke.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:45 -05:00
Jeff Epler
f1795e6df2 docs: building-linuxcnc chapter belongs with other dev docs
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 20:51:45 -05:00
Jeff Epler
8224ef9169 check_config: Can't run it with haltcl
haltcl can't be used at this point because realtime hasn't been
started.

check_config uses haltcl just to get the inifile read into global
variables.  Cut and paste parse_ini as an easy fix; a proper fix
would put it in a library file that both could access.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-16 07:37:57 -05:00
Dewey Garrett
694026ead6 linuxcnc.in validate some config items JA
Check for:
  1) some mandatory items (per mandatory_items_list)
  2) inconsistent joint,axis limits if known identity
     kinematics, namely trivkins
     (includes checks if multiple joints per
     coordinate letters are specified (e.g., gantries))

Terminate with error if a check fails

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-15 20:56:10 -07:00
Dewey Garrett
f73d74aee4 fix identity sim configs inconsistent a,j lims JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-15 20:55:35 -07:00
Jeff Epler
4d193161f7 updating-linuxcnc: flatten heading hierarchy
This appeases the build, which otherwise announces
    asciidoc: WARNING: updating-linuxcnc.txt: line 625: missing section: [sect5]
    asciidoc: WARNING: updating-linuxcnc.txt: line 631: missing section: [sect5]
    asciidoc: WARNING: updating-linuxcnc.txt: line 651: missing section: [sect5]

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-15 21:47:05 -05:00
Jeff Epler
80473377e5 halcmd_twopass: add a basic test of the functionality
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-14 20:43:46 -05:00
Jeff Epler
6f15b79532 Merge remote-tracking branch 'gh-ickalb/2.6-tp_personalities' 2016-07-14 20:42:55 -05:00
Jeff Epler
37e6fc45ca testsuite: basic test of twopass
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-14 20:31:03 -05:00
Jeff Epler
29d5c4556c halrun: If an inifile is specified, run it as twopass
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-14 20:31:03 -05:00
Jeff Epler
ed79921f99 halcmd: add "twopass" version as executable script
this is intended to function the same as when the twopass
feature is enabled in a linuxcnc inifile, but without starting
linuxcnc.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-14 20:31:03 -05:00
Dewey Garrett
d118ec4449 emctaskmain.cc handle on_soft_limit #96 JA
Make 'on_soft_limit' available to task and avoid abort looping if
'on_soft_limit'.  A switch to joint mode may be needed for recovery
(as noted in error messages).

Note:

IF
      1) KINEMATICS_IDENTITY
AND
      2) System misconfigured such that joint limits are more
         restrictive than axis limits
AND
      3) User gui provides no means to switch to joint mode
THEN
      System will probably need to be restarted and configured
      correctly when a misconfigured soft limit is encountered.
      (Expert users may use halui mode pins and halui jog pins
       and/or joint-mode wheel jogging pins to recover).

Note: There may be undiscovered side effects if there are
errors in addition to the 'on_soft_limit' error

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-14 15:18:27 -07:00
Sebastian Kuzminsky
80c6adb4aa Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
	lib/python/gladevcp/tooledit_gtk.glade
2016-07-13 16:19:28 -06:00
Edward Tomasz Napierala
e455c3f948 Fix typo.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-07-13 07:00:07 -05:00
Edward Tomasz Napierala
0a926fc416 Remove the '-' from shebang strings.
This messes up bash path replacement and doesn't seem to serve any purpose.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-07-13 07:00:07 -05:00
Edward Tomasz Napierala
018fe2eea2 Make Python shebangs portable.
Replace all instances of '#!/usr/bin/python' with '#!/usr/bin/env
python'; in FreeBSD the python binary lives in /usr/local/bin/.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-07-13 06:59:15 -05:00
Edward Tomasz Napierala
17d1207500 Remove whitespace after shebang (#!).
This simplifies the regexp to change them - in FreeBSD bash lives
in /usr/local/bin.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-07-13 06:59:15 -05:00
Sebastian Kuzminsky
635339ee74 Motion: Abort doesn't take a joint number argument
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-12 19:11:35 -06:00
Sebastian Kuzminsky
3e39257cf8 sim/axis/gantry config: fix extra A axis from ini update to JA
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-12 19:11:35 -06:00
Dewey Garrett
263c6462db axis.py: allow feedoverride adjust always JA
The conditions preventing changes to feed override were unnecessary
and caused unexpected behavior when feed override slider moved for a
non-identity kinematics machine operating in joint mode (slider
would reposition to former postion after operator set slider)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-11 20:07:40 -07:00
Dewey Garrett
d95374e4e5 control.c teleop wheel jog: no feed override JA
feed override was mistakenly applied when velocity mode active
(set by hal pin axis.N.jog-vel-mode) since initial creation
of function: handle_ajogwheels() for joints_axes
causing unexpected behavior (compared to 2.7.x wheel jogging
for identity kinematics)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-11 20:05:36 -07:00
Matsche
c5bcd08fe2 new man page for the hm2_rpspi hal driver
Signed-off-by: W.Martinjak <matsche@play-pla.net>
2016-07-09 00:47:27 +02:00
Sebastian Kuzminsky
8bea6b4405 Merge remote-tracking branch 'hazelnusse/Issue105' 2016-07-08 09:51:23 -06:00
Sebastian Kuzminsky
092017b398 docs: more packaging info in Building LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-07 14:12:41 -06:00
Sebastian Kuzminsky
660a6296c5 docs: fix a typo in Building LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-07 14:12:41 -06:00
Norbert Schechner
5f838dedfe DOCS - corrected typos in gladevcp.txt
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-07 01:54:45 +02:00
Norbert Schechner
9f1e2a70ab Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-07 01:30:04 +02:00
Norbert Schechner
1487fa2b8a gmoccapy_JA_master_2_0_20 - bug in _restet_override
ver. 2.0.20
- small bug in _reset_override in rapid handling,
  as it would reset to 100 % on change to any state,
  instead only on pin.get()

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-07 01:04:54 +02:00
Norbert Schechner
f392904d9d gmoccapy_JA_master_2_0_19 - deleted hide axis 4, corrected DRO display
ver. 2.0.19
- deleted the settings to hide axis 4 if used as tool changer
  as that is not longer needed on Joint Axis branch
- corrected a DRO display issue on 4 axis config
- deleted unneeded handlers for axis touch off to zero

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-07 00:43:44 +02:00
Matsche
7d3167e1cf bugfix
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-06 23:28:16 +02:00
Matsche
648eb36d20 compiler warning sedation...
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-06 23:20:18 +02:00
Matsche
06a85ac3c0 rules for hm2_rpspi added...
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-06 22:55:27 +02:00
Norbert Schechner
a7f3da63d8 gmoccapy_JA_master_2_0_18 - deleted jog-vel adjustment and corrected analog inputs
ver. 2.0.18
- deleted adj_jog_vel and use spc_jog_vel
- If a user uses analog input signals
  (i.e. gmoccapy.jog-speed.analog-enable) the 100 % button will be hidden
  as pushing this buttons will lead to unsynconized state between GUI and
  hardware. Also the turtle and rabbit jog velocities can not be different
  in there porcentage, as the can be using a joug wheel.
  we will also hide the plus and minus button of the widgets, as they also
  can not be used together with analog input
- changed pin name from jog-speed to jog-velocity
- changed back the override frames to original orderver. 2.0.18
- deleted adj_jog_vel and use spc_jog_vel
- If a user uses analog input signals
  (i.e. gmoccapy.jog-speed.analog-enable) the 100 % button will be hidden
  as pushing this buttons will lead to unsynchronized state between GUI and
  hardware. Also the turtle and rabbit jog velocities can not be different
  in there percentage, as the can be using a jog wheel.
  we will also hide the plus and minus button of the widgets, as they also
  can not be used together with analog input
- changed pin name from jog-speed to jog-velocity
- changed back the override frames to original order

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-06 22:20:46 +02:00
Matsche
87ca7a7617 some cleanups...
Signed-off-by: W. Martinjak <matsche@play-pla.net>
2016-07-06 22:07:41 +02:00
Norbert Schechner
240db1e3a5 gmoccapy_JA_master_2_0_17 - deleted adj_feed and use spc_feed
ver. 2.0.17
- deleted adj_feed and use spc_feed
- corrected a strange way of updating spindle override values
- corrected a lot of typos in release_notes.txt and gmoccapy.py

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-06 17:45:11 +02:00
Norbert Schechner
23c5a02737 gmoccapy_JA_master_2_0_16 -deleted adj_rapid
ver. 2.0.16
- deleted adj_rapid_override and use spc_rapid


Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-06 16:43:31 +02:00
Jeff Epler
f13afe11e5 halcompile: For out-of-tree components, accept broken files
.. for in-tree components, enforce that they have Unix-style
line endings by specifying the new --unix commandline option.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-05 17:36:01 -05:00
Norbert Schechner
8716ca040a gitignore - added pref files from new gmoccapy-folder
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-06 00:12:53 +02:00
Norbert Schechner
97bdc8636d gmoccapy_JA_master_2_0_15 - no jumping DRO and new mode switch button, bug in spc_spindle handling
ver. 2.0.15
- finally found a way to avoid jumping DRO size of axis 4 and 5
  if the amount of numbers change, i.e. from 99.999 to 100.001
  as it need more space.
- added a togglebutton to switch from joint to teleop, this button
  will be hidden on identity kinematics machines
- small bug in spc_spinlde handling
  (to many get and set leaded to jumping values)

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-06 00:09:05 +02:00
Matsche
6cabb282a8 New hostmot2 driver for the Mesa 7i90HD Anything IO Card for the Raspberry2/3 over SPI interface.
Signed-off-by: W.Martinjak <matsche@play-pla.net>
2016-07-05 22:37:48 +02:00
Norbert Schechner
cfad8702ab Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into gmoccapy_JA_based_on_master 2016-07-05 07:59:26 +02:00
Norbert Schechner
da479c3ce5 gmoccapy_JA_master - deleted adj_spindle, as SpeedControl can be used directly
ver. 2.0.14
- deleted adj_spindle and changes the code to use directly the settings
  of the SpeedControl widget. This way we save resources, because we
  need one adjustment less. I will change the code also for the rest of
  the sliders.

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-05 00:33:02 +02:00
Norbert Schechner
9dd927fe4d Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-07-04 23:15:33 +02:00
Norbert Schechner
f7f3a046c8 GladeVCP - tooledit.glade - corrected typo
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-04 23:14:28 +02:00
Norbert Schechner
6833d6f04d scara.ini modified values
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-04 23:10:09 +02:00
Norbert Schechner
57ccb34e69 GladeVcp - tooledit.glade - corrected typo
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-04 23:08:18 +02:00
Luke Peterson
5bdebef86d Add libmodbus version checks
libmodbus version 3.1.2 introduced backwards incompatible API changes in
modbus_set_response_timeout and modbus_set_byte_timeout functions. This
patch adds conditional compilation to use the API appropriately based
upon the result of the LIBMODBUS_VERSION_CHECK macro.

Issue: https://github.com/LinuxCNC/linuxcnc/issues/105
Signed-off-by: Dale Lukas Peterson <hazelnusse@gmail.com>
2016-07-04 09:13:57 -07:00
Dewey Garrett
b6dac597d7 axis.py work on #104 "Ctrl-Space clears axis ...
selection in AXIS for non-identity configs after homing #104"

For unknown reason, at startup, the space key can activate
the radiobuttons for joints and axes setting the ::ja_rbutton
value to 0 -- the mechanism is not understood by me.  This
commit addresses by forcing focus in set_mode_from_tab()

Comparable behavior can be shown in 2.7 for the radiobuttons
at startup:
  1) build 2.7 at commit 755235e 2016-07-03
  2) start configs/sim/axis/vismach/hexapod-sim/hexapod.ini
  3) F1,F2
  4) press radiobutton for joint 5
  5) put cursor in large open area below (or many other places)
  6) press SPACE key (Ctrl not required)
  7) radiobutton for joint changes to 0 (unexpectedly)
  8) select MDI tab
  9) select Manual tab
 10) repeat 4),5), 6) -- behavior is now ok

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-03 13:54:47 -07:00
Norbert Schechner
fc22b50701 gmoccapy_JA_master - updated debug server
ver. 2.0.13
- updated debug server to use newest version on my computer

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 15:33:01 +02:00
Norbert Schechner
3f718642a7 gmoccapy_JA_master - bug in units handling jog vel slider
ver. 2.0.12
- bug in touchscreen slider if machine units and display units not equal
- corrected some strange entries in ini files

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 15:10:05 +02:00
Norbert Schechner
83b10369ec gmoccapy_JA-master - differnt DRO size adjustment
ver. 2.0.11
- some small changes in INI configs
- changed the DRO Size settings depending on number of axis
- set the init_colors of the combi DRO to hex values instead of names
  like green, as different desktops do interpret the names with
  different color values

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 12:51:41 +02:00
Norbert Schechner
c359535e39 Merge branch 'master' into gmoccapy_JA_based_on_master 2016-07-03 12:13:21 +02:00
Norbert Schechner
a9f2113ced Merge branch '2.7' 2016-07-03 12:12:34 +02:00
Norbert Schechner
0681968faf gmoccapy_JA_master - jog speed control not initialized with the correct increment value
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 11:56:25 +02:00
Norbert Schechner
33da23aa37 GladeVCP - SpeedControl - set the increment to default after setting a new adjustment
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 11:53:32 +02:00
Dewey Garrett
9d804556e4 axis.py restore wrongly removed set_teleop_mode()
by me at 3e93bfa (it is used in axis.tcl view menu)
and coordinate all vars.teleop_mode.set() through set_motion_teleop()

Note: there is a bug where the '$' key may not be acknowledged depending
upon opening of an axis menu (any menu i think).
It seems to be related to loss of keyboard focus, e.g., clicking
outside the axis window, then returning to the axis window
restores focus and '$' key works.
This behavior can be observed in recent 2.7 at 7ba74b8 using hexapod.ini
so it is not recent.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-02 22:05:45 -07:00
Sebastian Kuzminsky
538bf02d86 docs: fix a misnamed anchor I just introduced
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-02 21:51:17 -06:00
Dewey Garrett
f9a817ef86 axis.py allow toggling s.motion_mode on first
attempt after homing

was requiring two presses of '$' key on first attempt

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-07-02 18:02:01 -07:00
Sebastian Kuzminsky
c2aaae2511 docs: add 'sudo make setuid' info to 'building linuxcnc'
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-07-02 18:39:14 -06:00
Norbert Schechner
6dbd5106c8 gmoccapx_JA_master - added identity 5 axis sim configs
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-03 00:34:36 +02:00
Norbert Schechner
273b01621f gmoccapy_JA_master - wrong GUI init on touch off button
ver. 2.0.8
- 4 axis config did not hide y replace label, leading to
  touch of button beeing to nerow

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 23:33:58 +02:00
Norbert Schechner
4905c595d6 gmoccapy_JA_master - added missing images
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 23:20:17 +02:00
Norbert Schechner
bd51dc3bf1 gmoccapy_JA_master - bug in init_extra_axis and key event F12
ver. 2.0.7
- bug in key handling of F12 (switch mode)
  as mode was also changed in IDENTITY kinematics
- bug in _init_extra_axes

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 23:17:14 +02:00
Norbert Schechner
81f8b7e87f gmoccapy_JA_master - corrected some bugs after the merge of touchscreen slider
ver. 2.0.6
- corrected some small bugs, avoiding gremlin to switch
  to fullsize preview,
- got back some missing handlers in the glade file


Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 22:39:05 +02:00
Norbert Schechner
2a6871e4d1 gmoccapy_JA_master - merged the touchscreen slider changes and deleted unneeded ini entries
ver. 2.0.5
- merged with the touchscreen slider version
- deleted unneeded INI entries
- Attention: Hal pin names have changed during change from 1.n to 2.0


Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 18:33:18 +02:00
Norbert Schechner
d204e2c5e8 gmoccapy_JA_master - merging gmoccapy2 (5axis version)
see details in release notes

Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 17:40:30 +02:00
Norbert Schechner
7495bd0be2 gmoccapy - new copyright date
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 16:04:10 +02:00
Norbert Schechner
752a83fbeb GladeVCP_hal_glib - new signal motion_mode_changed
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 15:58:01 +02:00
Norbert Schechner
98b584a0b8 gmoccapy_ja_based_on_master - transfer needed changes from gmoccapy_JA15
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-07-02 15:55:55 +02:00
Norbert Schechner
ffeb8736f1 Merge branch '2.7' 2016-07-02 13:30:38 +02:00
Jeff Epler
a6ebc471e2 rs274: work around boost::python bug
This fixes these test failures observed in Ubuntu 16.04:
    interp/pymove
    interp/python-self
    interp/value-returned
    remap/fail/body-py
    remap/fail/canon_error
    remap/fail/epilog
    remap/fail/prolog
    remap/introspect
    remap/oword-pycall
    remap/predefined-named-params
    remap/variable-injection

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-01 20:38:25 -05:00
Jeff Epler
b0a683dc17 lineardeltakins: fix compile error on Ubuntu 16.04
Closes #101.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-07-01 20:38:16 -05:00
Sebastian Kuzminsky
6a79b488a1 Merge remote-tracking branch 'origin/2.7' 2016-07-01 00:19:44 -06:00
Sebastian Kuzminsky
be3ffa7e59 drop "ja" from version number
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-30 20:55:39 -06:00
Jeff Epler
f4eb37504e taskintf: fix compile error reported on on Ubuntu 16.04
We fixed this back at commit 9d6a5bc but with the merge of
joints-axes it appers some cases of it were added back in.

I can't test, but it looks good by eyeball.

Closes #100.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-30 21:47:26 -05:00
Dewey Garrett
3e93bfa14e axis.py don't set_motion_teleop() unless needed #95
update() only needs to call set_motion_teleop() in manual
mode when something has switched to COORD

this guard was added to improve behavior with multiple
guis changing modes but may no longer be required

also: remove unused function set_teleop_mode()

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-29 07:06:31 -07:00
Jeff Epler
b97a1cae6b streams: set errno before calling perror
hal_stream_XXX return negative errno codes and do not
set errno, so calling perror() without setting errno
ourselves gives poor error messages.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-28 17:11:32 -05:00
Jeff Epler
99cd0dda91 latency-histogram: set pixel size of window explicitly
When testing, I noticed that if X detected an unusually low screen
DPI, the size of the graph area in latency-histogram would be small
relative to the rest of the window.

This is because the default size of a blt barchart is in inches!  By
specifying pixel sizes, the window will get the same layout no
matter the screen's detected DPI.  The numbers chosen are close to
the original values if DPI=96, a typical value assumed for normal
computer monitors (for instance, a 23" full HD monitor or a 15",
720p monitor)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-28 17:11:32 -05:00
Jeff Epler
ef1f6bf550 stepconf: take nicokid's version of these files
I made a mistake when rebasing nicokid's branch for issue #33, and
lost the changes for these files.  I simply took the ones from that
branch with the command
    git checkout gh-nicokid/master -- ./axis[uv].glade
while in the src/emc/usr_int/stepconf directory.  at that time,
the branch pointed at
    6747746 Merge branch 'master' of https://github.com/nicokid/linuxcnc

This time I carefully looked over all the differences shown by
    git diff 6747746 44c5fb9 -- src/emc/usr_intf/stepconf/
and they are changes deliberately introduced by me to fix or work around
stepconf bugs, plus the differences that this commit pulls in.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-28 17:08:36 -05:00
Florian Kerle
987451eb93 halshow.tcl: use no special grouping for signals
as no example I am aware of, does use sensible signal names, I would
        like to get rid of the special grouping for signals.
	(Which makes it really hard, to read dot-delimited signal names)
        I'm able to propose a standard-naming scheme, which would make configs
        much more readable - just had not time, to adapt some of the sample
        configs.

Signed-off-by: Florian Kerle <flo.kerle@gmx.at>
2016-06-28 18:34:39 +02:00
Florian Kerle
5562820854 twopass.tcl: add support for personalities (kernel module parameters)
Signed-off-by: Florian Kerle <flo.kerle@gmx.at>
2016-06-28 18:25:44 +02:00
Sebastian Kuzminsky
9d7f04e492 docs: remove link to removed "mini" gui from spanish docs
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-27 12:22:06 -06:00
Moses McKnight
a2f0de5323 Long anticipated merge of the joints/axes separation branch!
Merge branch 'joints_axes16'
2016-06-27 12:20:04 -05:00
Jeff Epler
44c5fb9198 stepconf: temporarily disable "sanity test"
this code is intended to change the text to red when invalid
(less than or equal to zero?) values are entered.  However, on
my system it had the effect of changing the widgets in question to
white-on-white in all my axis tabs.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-27 07:27:00 -05:00
Jeff Epler
5657de05f1 stepconf: take nicokid's version of these files
I made a mistake when rebasing nicokid's branch for issue #33, and
lost the changes for these files.  I simply took the ones from that
branch with the command
    git checkout gh-nicokid/master -- ./axis[xyza].glade
while in the src/emc/usr_int/stepconf directory.  at that time,
the branch pointed at
    6747746 Merge branch 'master' of https://github.com/nicokid/linuxcnc

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-27 07:25:32 -05:00
Dewey Garrett
619da0300c guis conform to convention for TRAJ vel,accels JA
precedent for naming ini [TRAJ] items established
in commit cdc073dc6 "early Joints/Axes work"

[TRAJ]MAX_LINEAR_VELOCITY
[TRAJ]DEFAULT_LINEAR_VELOCITY
[TRAJ]MAX_LINEAR_ACCELERATION
[TRAJ]DEFAULT_LINEAR_ACCELERATION

gmoccapy not modified as developer is working on ja updates

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
3a16c15754 update.ini: Make sure that [TRAJ]MAX_LINEAR_VELOCITY exists
Joints Axes expects MAX_LINEAR_VELOCITY but most existing configs
use MAX_VELOCITY. This change attempts to use whichever exists as
MAX_LINEAR_VELOCITY


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
30429d703a configs: [TRAJ] rename velocity & accel items JA
An early joints_axes commit made corresponding code changes but
only a few ini files in tree were ever updated.

These renames clarify current functionality and should decrease future
ini updates if provisions are added to specify ANGULAR value items.

  [TRAJ]MAX_VELOCITY         --> [TRAJ]MAX_LINEAR_VELOCITY
  [TRAJ]DEFAULT_VELOCITY     --> [TRAJ]DEFAULT_LINEAR_VELOCITY

  [TRAJ]MAX_ACCELERATION     --> [TRAJ]MAX_LINEAR_ACCELERATION
  [TRAJ]DEFAULT_ACCELERATION --> [TRAJ]DEFAULT_LINEAR_ACCELERATION

It is possible that some existing ini files may need different values.

Ref:
http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commitdiff;h=cdc073dc6068ec0e003b9d29ff1acaeb1a2c13b0

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Andrew Kyrychenko
47b8d05f97 kins.9 document new pin: genhexkins.tool-offset JA
Add new pin tool-offset to kins manpage

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d8e90bc40f xyzbc-trt-kins.c unused dz in kinematicsInverse JA
error made in misplacement of code line  when adapting
from original pdf

noted in clang report: "Value stored to 'dz' never read"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6ef1cfa0eb updating-linuxcnc.txt: kinstype in gantry examp JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f59b7f3a7e homing: HOME_ABSOLUTE_ENCODER JA
New ini file setting: [JOINT_n]HOME_ABSOLUTE_ENCODER = 1
Values:
        0 (default) (not an absolute_encoder)
        1 absolute_encoder with the usual final move to [JOINT_n]HOME
        2 absolute_encoder with no final move

When asked to home, immediately set next state to
     HOME_SET_SWITCH_POSITION
and set joint pos & fb to the [JOINT_n]HOME_OFFSET value
and then make the usual final move to [JOINT_n]HOME

So if HOME_OFFSET is 0, the abs encoder value is exactly
                        the same as the joint value
   if HOME_OFFSET is x, x is the difference between the
                        absolute_ encoder value and the
                        desired joint position value

Notes:
  a) [JOINT_n]HOME_IS_SHARED item is ignored
  b) for negative [JOINT_n]HOME_SEQUENCE, the check for entering
     the HOME_FINAL_MOVE_START state is not necesary

motion.h:
         Add homing flag HOME_NO_FINAL_MOVE
         Add homing flag HOME_NO_REHOME, set for any:
             HOME_ABSOLUTE_ENCODER >0

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Andrew Kyrychenko
e600ecb885 kinematics/genhexkins.c: add tool-offset pin JA
and use it in hexapod-sim config

Signed-off-by: Andrew Kyrychenko <amkyrychenko@gmail.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
380664d4ed tests/ fixups for rebase JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fe60833208 emctaskmain.cc rebase fixup for emcCommand JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
dfb1ad7c74 motion.c rebase fixup for deleted overruns pin JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0116b637c8 xlinuxcnc gui removal JA
No affirmative responders to requests for joints_axis updates
and ongoing maintenance

Ref:
http://article.gmane.org/gmane.linux.distributions.emc.devel/16213
http://article.gmane.org/gmane.linux.distributions.emc.user/64404

Notes:
 1) *.nml files continue to ref xemc (former name of xlinuxcnc)
 2) Obsolete configs not updated:
      configs/sim/*/orphans/*.ini
      configs/attic/*/*.ini
 3) Add notes to indicate that tklinuxncc gui may be useful for
    isolating suspected OpenGL problems

packaging: remove deps related to removed UIs
packaging: Removing libXaw stopped indirectly depending on libXmu
xlinuxcnc removal pkging: del app-defaults/XEmc JA

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5916692386 axis.py: set_motion_teleop() with update() poll JA
restores commit b536f9c with simplifications to synchronize
local vars.teleop_mode to motion_mode (as updated by motion
module upon successful homing)

Thanks to pkmcnc noticing: jog slider values were not honored when
teleop jogging an angular coordinate on an all-linear-joints
hexapod after initial homing (locally selecting teleop by gui
and halui mode alterations were correctly acknowledged).

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d4ab47f437 sim configs [DISPLAY]POSITION_OFFSET=RELATIVE JA
for some non-identity sim configs to reduce confusion
when using touch-off widgets

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2a6783eca7 axis.py elim unneeded mode change for touchoffs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d12f1a6403 pncconf/build_INI.py HOME_* items to [JOINT_n] JA
thanks to forum user mjohnsonsa for report

Note: Current pncconf/stepconf support identity kinematics
      only.

      Options for machine configurations using multiple joints
      assigned to a single axis coordinate (typically a gantry)
      are not currently supported.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e1771e5db7 emcsh.cc: use coord letters for emc_* commands JA
Update calling args from numbers (like 0 for X, 1 for y)
to coordinate letters (X,Y,Z...):
  emc_abs_cmd_pos
  emc_abs_act_pos
  emc_rel_cmd_pos
  emc_rel_act_pos
  emc_tool_offset
  emc_probed_pos

Update known callers of these commands:
   tklinuxcnc.tcl
   Set_Coordinates.tcl
   ngcgui.tcl

Note:
     emc_probed_pos -- no known callers in tree

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fe79a45694 Set_Coordinates.tcl use [TRAJ]COORDINATES JA
not the obsolete [TRAJ]AXES

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
77fdf57ccf emcsh.cc update emc_pos_offset command JA
clarify error message (parameter is a coordinate letter not an integer)
accomodate both lower/upper cases

Note: tklinuxcnc.tcl already complies
      (numerous other commands still use a number for a parameter
      to specify an axis coordinate)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
84bc6d5d5f axis.py del unneeded set_motion_teleop instance JA
not required since ja14 rebase and:
51dff85 2016-05-21 axis.py force task_mode manual at file open

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4f90341177 axis.tcl restore removed set_mode_from_tab call JA
wrongly removed.  Without this call, motion_mode remains
as COORD at program conclusion (normal or abend) and
increases complexity of another gui (e.g., halui) jogging
or use of wheel jogs

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e97fa3e045 motion/ fix mistakenly retained check_stuff() JA
leftover after joints_axes14 rebase

also: delete reference in mot_priv.h (JA only)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
652b1920c6 xyxb_locking_indexer/README remove obs ref JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
63fc6c7e96 rose engine kinematics, sim example JA
Ref: https://en.wikipedia.org/wiki/Rose_engine_lathe

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fff8db79e0 axis.py force task_mode manual at file open JA
when reloading a file after running (task_mode AUTO)
or when loading a different program
to avoid msg:
 "can't do that (EMC_TASK_PLAN_SYNCH) in auto mode
  with the interpreter idle"

and restore prior task_mode

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
27d3822fa6 linuxcncmodule: fix repeated calls to program_open()
cherry-pick:
c0bbc79 2016-05-21 linuxcncmodule: fix repeated calls to program_open()

And fix motion-logger expected files (test-ui.py:import linuxcnc sigh)

This problem was exposed by the change at ad06db2 which removed all the
other interpreter-related NML calls when hitting reload.  Before that,
the other commands such as mode changes returned the interpreter to its
closed state.  (Closes #62)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5bce92f1e9 motion/control.c disable teleop_tp at softlimit JA
to allow teleop jogging after recovery in joint mode
(non-identity kinematics)

Also:
 If KINEMATICS_IDENTITY and MISconfigured such that
 a joint limit is more restrictive than a corresponding
 one-to-one axis limit, like:
   [JOINT_0]MAX_LIMIT < [AXIS_X]MAX_LIMIT
 then machine hitting a soft limit with a teleop jog may not
 be able to be moved as the gui may not provide a means
 to joint jog in order to back off.
 For this situation, amplify the reporError() message
 to indicate something is wrong joints vs axis limits.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
f772404e6b update_ini: Add the halui pins to the conversion
The update_ini script now converts halui pins. It assumes that most people
care more about axes than joints.
The commit also incidentally incorporates a fix to a capitalisation error
in the axis.L style pin names.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
128385a77d axis.py fix clumsy logic expression JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
913f1448bc axis.py cooperate with other gui(halui) mdi ops JA
thanks to pkmcnc for ongoing tests (hexabot + halui access)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
c496f51b8f update_ini: Tidy up the handling of the coordinates= param
Through the iterations of this file the handling of the coordinates=
modparam had become rather convoluted. This patch adds a specific flag to
say whether the modparam is needed rather than relying on the existence or
otherwise of the list.


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
andypugh
805d6b7a02 update_ini: Choose placeholders less likely to collide
The previous commit used temp0, temp1 etc as placeholders for a second
stage of substitutions. On reflection these were quite likely to collide
with user-chosen signal names, which would be incorrectly substituted.
The temporary placeholders are now called hings like @ax0@.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
andypugh
32e4596150 update_ini: Add world-mode jog pins for trivial machines
For a trivial kins machine you almost certainly want to link your handwheel
to the world-mode jog pins. (axis.Y.jog-enable etc). For a non-trivial
machine we will still leave that decision to the integrator.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c91b9d9045 homing.c clr joints home flags for rehoming JA
Systems with non-identity kinematics may need to rehome
using ini hal pins ini.N.home_offset and/or ini.n.home for
calibration (perhaps iteratively)

In emc/motion/command.c,
     emcmotCommandHandler()
       switch(emcmotCommand->command)
         case EMCMOT_JOINT_HOME with  joint_num==-1
            sets emcmotStatus->homingSequenceState = HOME_SEQUENCE_START
            to initiate a complete (all joints) homing sequence

However, in emc/motion/homing.c
              do_homing_sequence()
has never reset the individual joints home flag using:
              SET_JOINT_HOMED_FLAG(joint,0)

I think this problem has not been detected earlier because rehoming
has not been expected to be required and/or tested often.  Plus it is
not readily detectable when using (sim) configs with 'immediate'
homing.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c52351a9b0 axis.py fix loc tst default_jog_anglular_speed JA
thanks to pkmcnc for tests

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
76df07d4c8 update_ini: Fix a variable that should be a string
If the kins is gentrivkins then there was an attempt to access a variable
called trivkins. I don't know how my testing failed to show that.


Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d555cf0aab axis.py fix cut/paste slider AJOG error JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
3cbe686219 update_ini: Handle locking indexers
Create the LOCKING_INDEXER_JOINT INI entry and unlock_joints_mask hal.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
afbf579fc9 ldelta_demo.ini fix old batch edit errors JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e6064219d2 axis.py: stricter reqmts for jog sliders JA
Cease substitution of linear item values for angular
items when said angular items are not specified.

The former silent substitutions are more consequential for
non-identity kinematics which often use rotary joints.

Derive 'has_angular_joint_or_axis' and 'has_linear_joint_or_axis'
from existence of [JOINT_n] stanzas and [TRAJ]COORDINATES
respectively and use to determine fail/warning conditions
for missing items

Forgive omission of angular items (for now) with:
  1) warning message
  2) substition of small value (1unit/sec typ 1deg/sec)

Also: clarify some varnames
Note: some debug prints can be deleted in future

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
db568d700c axis.py set_motion_teleop in update() polling JA
followup to automated switch-to-teleop in motion merge

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a035feeb62 axis.py include ajogslider ifexists angle joint JA
as occurs with some non-identity kinematics

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
andypugh
aefc20276c Change the update_ini script to replace gentrivkins and gantrykins with
the new trivkins. (including creating a coordinates param from setp lines)

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
andypugh
6605f98600 Change the update_ini dialog box to point to better docs.
Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b5ef8a86cb inihal.cc: local home_offset update missing JA
The mistakenly omitted local update caused repeated, redundant
updates to motion when ini.N.home_offset was altered from its
startup value.

thanks to pkmcnc

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
771a6c8558 vismach/brigdemill fix broken 5axis sim JA
Fix config that was broken after conversion to use consecutive
joint numbering in kinematics.  Use some #defines for
more clarity.

Notes:
  1) named 5 axis but implementation is 6 joints (1 for W)
  2) min,max,vel,accel limits in ini file probably need attention

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4ecfbafa58 tklinuxcnc: detect extrnl change to motion_mode JA
when motion switches to teleop after homing
or   when another gui (halui) alters

as well as honoring local joint/world radio buttons
and binding key '$' for toggling for non-identity kins

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
996800e95a taskintf.cc,homing.c bug fixes ini pins,special JA
1) cut/paste error in taskintf.cc
2) test for special_case_sync_all needs to be done
   after handling of sequences having mixed +/-
   values for same abs(sequence_number)

thanks to pkmcnc for hexabot tests

3) fix error that occurred in rebase ja13->ja14

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
bb0f7f9ef6 updating-linuxcnc.txt no spaces module param = JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
507c273fe7 homing.c clr local homing_flag if checkAllHomed JA
The tklinuxcnc gui doesn't have a home-all button so
each joint is homed individually.

When checkAllHomed() condition detected, local homing_flag
must to be cleared in order to deassert emcmotStatus->homing_active
which is checked by jog commands.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
66e5dd26a5 gmoccapy:jog in teleopmode,fail if not identity JA
Retains backwards compatibility to existing, supported configs prior
to joints_axes which use KINEMATICS_IDENTITY

Future work required if anyone wants to use this gui
for non-identity kinematics or to support switching
joint/teleop modes within the gui.

Note: lightly tested (because it is mystery to me), but jogging
      before and after homing uses the appropriate motion mode.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e1ebedda7f updating-linuxcnc.txt: add status of old guis JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
de6a3a6f51 axis.py remove provisions for AUTO_TELEOP JA
future merge of ja13-teleop-after-homing obviates the need for
this provision

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
92b2a12f2d gscreen:jog in teleop mode,fail if not identity JA
Retains backwards compatibility to existing, supported configs prior
to joints_axes which use KINEMATICS_IDENTITY

Future work required if anyone wants to use this gui
for non-identity kinematics or to support switching
joint/teleop modes within the gui.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f80d04fa43 touchy: jog in teleop mode,fail if not identity JA
Retains backwards compatibility to existing, supported configs prior
to joints_axes which use KINEMATICS_IDENTITY

Future work required if anyone wants to use this gui
for non-identity kinematics or to support switching
joint/teleop modes within the gui.

Note: For wheel jogging in joint mode, connect corresponding
      (one-to-one) joint and axis letter pins:

      joint.N.jog* and axis.L.jog* pins

      (see configs/sim/touchy/ngcgui/hwsim.sh for typical connections)

Note: For testing, the examples in configs/sim/touchy/ngcgui/
      provide sim_pin guis to simulate jog buttons and wheels

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
caba2c55d0 hal_glib.py remove debug print
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
61ff5a5396 mini gui removal
files in docs/src/po/* not touched (not something i understand)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d9dd974345 keystick gui removal
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ec9a254e64 namelink.sh: remove wrongly included file
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8c87eceba3 docs/src/motion/5-axis-kinematics.txt new doc JA
credit to Rudy du Preez
conversion from orig to asciidoc

Notes:
   Efforts with latexmath failed to build on some buildbot hosts.
   An asciidoc file that built both pdf and html docs
   successfully on jessie would not build on wheezy
   and precise -- so png files are used for equations

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
55b452162e updating-linuxcnc.txt add info for gui updates JA
Note that many guis typically jog in JOINT mode

Note that guis continue to support existing identity kinematics

Identify where non-identity kinematics and special cases
are supported.

Add/update info for guis wrt joints_axes:
    axis gui
    tklinuxcnc
    touchy
    gscreen
    gmoccapy
    keystick
    xlinuxcnc
    mini
    linxcnclcd
    linuxcncrsh

minor: relocate Halui paragraphs

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fb33fc6aab gmoccapy lathe sim configs revert 2joint xz JA
This reverts commit f78de34b16ce838f8971a63b308ceb0eafdce68e.

Prior attempt to standardize gmoccapy sim configs to a 2 joint
(XZ) configuration failed more thorough testing.

This indicates that there are some built-in assumptions in code
relating to historical lathes configured with trivkins and three
axes letters as used for lathes prior to joints_axes.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
bbd1361be7 axis: restore exponential backoff when waiting for s.axes
This was lost at commit fa39c10 "get proper joints count and fix
Machine->Homing and Unhoming menu" possibly during conflict resolution
of a rebase.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
26f34682f0 command.c fix unexpected conditions test JA
a correct error was detected (teleop && axis_num<0) and 'abort' set
but later test reported different (incorrect) error

+fix small typos

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
df75411285 lathe test: do the jogging tests in axis mode, not joint
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
5dbbbde4a6 lathe test: remove some broken debugging code
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
b6074cd346 halui/jogging test: enforce free-mode joint jogging
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6621b4c18b axis.py always joint mode for unhome defs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
36dab79b57 docs homing: udate for negative HOME_SEQUENCEs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f89721100e homing.c provision to sync final move to home JA
Brief: Joints with negative HOME_SEQUENCE synchronize final move
       Prior behavior is not changed

Tested: jt: gantry, dg: xyzc,xcz, rudy: hexapod
Note from testing: too low search velocity when using
                   search/latch with same sign may expose
                   problems due to switch bounce

Ref:  Ini file setting: [JOINT_n]HOME_SEQUENCE = SEQNO

If    any joint (say m) as a negative SEQNO value (== SEQNO_m)

Then  synchronize the start of the final move to [JOINT_n]HOME
      for all joints having ABS(SEQNO_n) = ABS(SEQNO_m)

Special case:
  Since 0 is not negative and we preserve prior behavior, the
  method to synchronize all joints' final move in a single
  sequence is:
    [JOINT_n]HOME_SEQUENCE = -1
  for ALL joints

-------------------------------------------------------------------------
Examples for a 3 joint system

Example 1: two sequences (0,1), no synchronization (backwards compatible)
  [JOINT_0]HOME_SEQUENCE =  0
  [JOINT_1]HOME_SEQUENCE =  1
  [JOINT_2]HOME_SEQUENCE =  1

Example 2: Like Example 1 but synchronize j1,j2 final move
  [JOINT_0]HOME_SEQUENCE =  0
  [JOINT_1]HOME_SEQUENCE = -1
  [JOINT_2]HOME_SEQUENCE = -1

Example 3: only one sequence, no synchronization (backwards compatible)
           (HOME_SEQUENCE may be omitted since 0 is default)
           (but see Note 2) )
  [JOINT_0]HOME_SEQUENCE =  0
  [JOINT_1]HOME_SEQUENCE =  0
  [JOINT_2]HOME_SEQUENCE =  0

Example 4: only one sequence, all joints synchronized
  [JOINT_0]HOME_SEQUENCE = -1
  [JOINT_1]HOME_SEQUENCE = -1
  [JOINT_2]HOME_SEQUENCE = -1

Example 5: two sequences, mixed signs behave as in Example 1
  [JOINT_0]HOME_SEQUENCE =  0
  [JOINT_1]HOME_SEQUENCE =  1
  [JOINT_2]HOME_SEQUENCE = -1

-------------------------------------------------------------------------
Notes:
  1) Beware in testing that some sim configs have special requirements
     because of their methods for simulating home switch make/break
  2) Some guis (axis gui for instance) require [JOINT_0]HOME_SEQUENCE
     in order to homeall
     homing_order_defined = \
            inifile.find("JOINT_0", "HOME_SEQUENCE") is not None

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
0c0ee69c5a motion: switch to Teleop mode when the final joint finishes homing
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
26e6332466 motion: move handling of EMCMOT_TELEOP to a function, for reuse
This is primarily a refactor to allow reuse of the switch-to-teleop code,
but it also slightly changes it:

Before this commit, the code would modify a bunch of state to indicate
the switch from free to teleop mode, *then* check if teleop was allowed
(by checking for unhomed joints and non-identity kins).  If teleop was
not allowed it would only partially restore the state it had modified.

This commit moves the check to the beginning, and doesn't modify any
state at all if Teleop mode is not allowed.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
cb3c796659 remove the useless and broken emcmotDebug->allHomed flag
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
9c301493b5 docs: update kins.9 manpage trivkins with some gantry info
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
b78acdf619 docs: fixup asciidoc markup in Updating LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
56ed93a2c1 docs: fix a typo in Updating LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7d7d3050e5 docs minor update: HOME ini pins, man page refs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d4452411c1 configs/sim/tklinuxcnc/ cleanup sims JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3ba3ef176a docs: a few axis to joint corrections JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
83398b1bf5 inihal: new ini hal pins for home, home_offset JA
also: new emcJointUpdateHomingParams()
      to update home & home_offset only

Thanks for the suggestion by pkmcnc (Andrew K)

Background:

An intrinsic problem of parallel robots is that there are
almost always some geometry errors in adapting the
mathematical model to a physical realization.  Moreover, when
using index homing, the exact location of the index may be
unknown.

Unlike a trivial kinematics machine, it is not always possible
to directly measure or compute exact values for [JOINT_*]HOME
& HOME_OFFSET.

A practical homing method for such cases is to:
 1) home to precalculated values for HOME & HOME_OFFSET
 2) manually move the platform to the correct home position
 3) calculate the difference in joint positions (with some hal
    components for example)
 4) update HOME_OFFSET (probably also HOME) to the corrected values.
 3) home again

Adjusting home position this way could be useful for some
identity kinematics machines as well.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a642fd0a93 axis.py: redraw_dro() at touchoff,tooltouchoff JA
and for tlo changes (tnm6g43) so that the offsets will show on
the DRO tab

Note: the DRO tab tlo does not update at t0m6
      It will after another g43
      This stat() behavior exists in 2.7 & master

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
dc146fbd41 remove unneeded sim config sim_xyzbc.ini JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
df58773043 axis.py work on jog (l,a) and max_vel sliders JA
formerly was only handling ini file [AXIS_*]TYPE items

joint_type[] from [JOINT_*]TYPE (default: LINEAR)
 axis_type[] from  [AXIS_*]TYPE (default: xyzuvw:LINEAR, abc:ANGULAR)

For reference (unchanged) axis sliders search (first one found wins):
  Jog Speed (linear)
    max
      [DISPLAY]MAX_LINEAR_VELOCITY
      [TRAJ]   MAX_LINEAR_VELOCITY
      [TRAJ]   MAX_VELOCITY
      1.0
    default
      [DISPLAY]DEFAULT_LINEAR_VELOCITY
      [TRAJ]   DEFAULT_LINEAR_VELOCITY
      [TRAJ]   DEFAULT_VELOCITY
      1.0
  Jog Speed (Angular)
    max
      [DISPLAY]MAX_ANGULAR_VELOCITY
      [TRAJ]   MAX_ANGULAR_VELOCITY
      [TRAJ]   MAX_VELOCITY
      use_linear_value
    default
      [DISPLAY]DEFAULT_ANGULAR_VELOCITY
      [TRAJ]   DEFAULT_ANGULAR_VELOCITY
      [TRAJ]   DEFAULT_VELOCITY
      use_linear_value
  Max Velocity
    max
      [DISPLAY]MAX_LINEAR_VELOCITY
      [TRAJ]   MAX_LINEAR_VELOCITY
      [TRAJ]   MAX_VELOCITY
    default
      same_as_max

Notes:
 1) Curently, the Jog (linear & angular) and Max Velocity
    sliders apply to both joints and axes (this may not
    be what is wanted for non-identity kinematics)
 2) The system default values are
    ./emc/nml_intf/emccfg.h:#define DEFAULT_JOINT_MAX_VELOCITY 1.0
    ./emc/nml_intf/emccfg.h:#define DEFAULT_JOINT_MAX_ACCELERATION 1.0
    ./emc/nml_intf/emccfg.h:#define DEFAULT_AXIS_MAX_VELOCITY 1.0
    ./emc/nml_intf/emccfg.h:#define DEFAULT_AXIS_MAX_ACCELERATION 1.0
    (These are small if mm machine)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
98cbf40c41 updating-linuxcnc.txt minor markup fixes JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
20e9be2a72 updating-linuxcnc.txt add Sim configs section JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0ac097b696 docs fix some axis to joint hal references JA
home-sw-in,pos-lim-sw-in,neg-lim-sw-in, etc

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7b7c784878 minimal_xyz.ini sim config (min config items) JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
292cd0523d orphan unsupported sim configs JA
configs/sim/axis/acc_test.ini, medium.ini
historical usage for planner testing

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
49dbfbe2fd axis.py allow absence of MAX_FEED_OVERRIDE JA
default to 1.0 (100%)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3cf7b2680f axis.py: fail if no [RS274NGC]PARAMETER_FILE JA
Before this commit, if this setting is not included, when
open_file_guts() tries to fetch it, the 'try' block fails
and results in the unhelpful notification message:
  "Nonetype object has no attribute 'rfind'"

So make its inclusion mandatory.
Note: the code provides a default so requiring this item
      may not be needed in every gui

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b4850f1df2 axis.py message/exit if no [TRAJ]COORDINATES JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fb222f6f44 initraj.cc: report reason for failure JA
Formerly, if the ini item for [TRAJ]LINEAR_UNITS or ANGULAR_UNITS was
missing, task main() loops over emcMotionInit() and guis (like axis
gui) time out and exit with unhelpful message: "waiting for s.joints ..."

So:
  1) iniTraj(): print info
  2) axis gui: detect missing [TRAJ]LINEAR_UNITS and print message
     instead of traceback.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
62a5f66268 configs/sim/axis/* some subdirs cleanup JA
changes to remove borderplate comments, unused items

also:
  remove twopass_demo.ini (redundant to twopass_basic.ini now)
  relocate vismach/max5 to vismach/5axis/max5
  remap/r*manualtoolchange.ini remove inline comments in ini file (mandatory)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
34ba42d22f configs/sim/axis/*.ini cleanups JA
for consistency, remove boilerplate, unused iteme

maintain axis.ini,axis_mm.ini with all comments
mv check_constraints.hal to lib/hallib/check_xyz_constraints.hal

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
49f30eebb2 iocontrol-removed sim config: move to orphans JA
make orphan as it seems to be obsolete/unsupported

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
850a02c0d0 sim_lib.tcl improve compatibility with twopass JA
don't fixup haltcl list on global var (::KINS(KINEMATICS)) because
it is read in both passes

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5298716826 xyzac-trt sim example: add impeller example JA
use new impeller-7bl-xyzac.ngc as [DISPLAY]OPEN_FILE

boat-xyzac-trt.ngc remains in ./examples/

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
81e5d5d7fb vismach.py increase plotlen for new examples JA
recommended by Rudy du Preez for longer ngc files that demonstrate
more complex 5-axis machining

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6c415a229a motion/command.c EMCMOT_TELEOP coordinating=0 JA
This appears to be a long-standing omission that had no consequences
prior to joints_axes.  In joints_axes, properly setting
   emcmotDebug->coordinating = 0
when the mode is changed to teleop eliminates discontinuous
positions if free mode jogging has occurred.  Such discontinuities
can lead to a joint following error.

This commit remove workarounds in axis.py that forced joint mode
before mdi, task_run, program_open operations because of
the potential for position discontinuities

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
984f316d98 xhc-hb04 sim configs updates JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fd1df65114 sim_lib:simulated_home hystersis,home-pos per JA
ini file items [JOINT_n]TYPE and [TRAJ]LINEAR_UNITS (if available) in
order to reduce time for simulated homing for inch units --
otherwise use sim_home_switch defaults.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b29ca6119a axis.py cleanup & consolidate teleop/joint sets JA
1) This commit addresses problems observed in testing hardware (servo)
   configs (xyzc,xzc identity and kinematicsBOTH using trivkins kinstype=both)
   where occasional Following Errors at touchoff, program load, or mdi.  The
   FEs only sometimes depending upon how the joint was moved prior to the
   next action.  The changes herein are marked as 'workaround' as there
   may be a better solution in motion/control.c & command.c

2) Consolidate setting of teleop mode with a new global function:
      set_motion_teleop()
   to:
     update vars.teleop_mode
     issue c.teleop_enable(), c.wait_complete(), s.poll()
   note: retain TclCommands set_teleop_mode() (uses new set_motion_mode())

3) When using no opening file ([DISPLAY]OPEN_FILE="") and non-identity
   kinematics, motion mode was switching back to joint mode so make
   these funcs finish with teleop mode set:
     touch_off_system()
     touch_off_tool()

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
456787eb1a emctask.cc use task manual if motion teleop JA
Formerly: determineMode() returned EMC_TASK_MODE_AUTO
          if traj mode was teleop

The former behavior caused unexpected switch of task mode when
traj mode changed.  maybe there were reasons for this preJA,
but i have not observed bad behavior with this change.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b5fb922b6a configs/sim/axis/*.ini simplify sim configs for JA
using basic_sim.tcl

not done:
   configs using custom hal files:
      ldelta.ini, ldelta_demo.ini, rdelta.ini

   configs with special homing:
      gantry.ini, gantry_mm.ini

   legacy preservation for lathe:
      historical_lathe.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fa4b6c06c7 ja_tests/*/*.ini simplify with basic_sim.tcl JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
de5a912c49 configs/sim/axis/sim_xyzbc.ini mv to ja_tests/ JA
also:
  use [HAL]HALFILE=LIB:basic_sim.tcl, remove sim_xyzbc.hal
  use [KINS]AUTO_TELEOP=

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
14ff0495a8 sim configs w/ core_sim9.hal, use basic_sim.tcl JA
which handles all common components/connections for sim
configs with 'any' number of joints/axes.

Also: mark lib/hallib/core_sim9.hal as declining usage
      since it is no longer used in-tree

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
539565ab96 basic_sim.tcl: handle additional motmod parm JA
know case: emcmot unlock_joints_mask=0xNN ...

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74237c5d83 gmoccapy lathe sim configs update joints_axes JA
to use:
       [KINS]
       KINEMATICS = trivkins coordinates=xz,
       JOINTS = 2

       [HAL]
       HALFILE = LIB:basic_sim.tcl
       ...

Note: use of basic_sim.tcl required the addition of
      one hal delsig in gmoccapy_postgui.hal

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c750d8ee9a gscreen lathe sim configs update joints_axes JA
to use:
      [KINS]
      KINEMATICS = trivkins coordinates=xz,
      JOINTS = 2

      [HAL]
      HALFILE = LIB:basic_sim.tcl
       ...

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
457b29852c lathe-fanucy.ini update for joints_axes JA
to use:
 [KINS]
 KINEMATICS = trivkins coordinates=xz,
 JOINTS =2

 [HAL]
 HALFILE = LIB:basic_sim.tcl
  ...

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
050ce1b2e7 configs/sim/axis/lathe simplify using basic_sim JA
Use:
   [KINS]
   KINEMATICS = trivkins coordinates=xz
   JOINTS = 2

ALSO: preserve prior lathe.ini as historical_lathe.ini

and remove some boilerplate in ini file

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
688f77a8c7 trivkins.c update module name in msg JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c33b285ef0 updating-linuxcnc.txt: add Lathe Configurations JA
Discuss historical lathe configs with unused coordinate (Y)
and explain and recommend use of
  [KINS]KINEMATICS = trivkins coordinates=XZ
for lathes with joints_axes incorporation

also: move stricter syntax section

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7a5e0a7077 moveoff configs: remove redundant sim configs
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
26716d4b43 xhc-hb04 sim mm config: use basic_sim.tcl
also: use require_pendant=no on sim configs to allow startup
      testing and hal configuration without a pendant

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7c8c5d26e8 sim_lib.tcl:proc make_ddts: fix counting logic JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f9f3fe1c70 ngcgui sim configs:simplify with LIB:basic_sim.tcl
also:
     make lathe sim configs use 2 joints (reqd for basic_sim.tcl)
     remove some ini boilerplate

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
130dfed654 glcanon.py remove unused function JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3c621be7d3 sim_lib.tcl:proc to enforce mandatory ini items JA
for use with basic_sim.tcl

mandatory items: [KINS]KINEMATICS
                 [KINS]JOINTS
                 [TRAJ]COORDINATES

also:
  1) For lathe configs using trivkins, require parameter: 'coordinates='
     This intentionally precludes historical lathe configs from using
     basic_sim.tcl

     historical lathe configs use:
         3 joints (x==>joint_1, y==>joint_1 UNUSED, z==>joint_2)
     and
         specify trivkins without the coordinates= parameter

  2) For trivkins using coordinates=, warn if number of coordinates
     specified differs from [KINS]JOINTS

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6bc3bfa500 xyzac-trt-gui.py: fix table item vismach model JA
correction from Rudy du Preez

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
024ec49a7c basic_sim.tcl: provide disabling options
also: add some usage text

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
359e7a3c94 test-xy[ab]c.ngc fix cut/paste errs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
73fd00adbf kins.9 fix editing errors JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a2c268fee0 kins.9 include new xyzac-trt,xyzbc-trt kins JA
also:
  put trivkins first in list (otherwise order alphabetically)
  and at least mention all kins available in the distribution

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d35010d93d new: xyzac-trt,xyzbc-trt kins + sim configs JA
credit to Rudy du Preez

Adapt from Rudy's files:
1) convert .c files for sequential joint usage (eliminating
   joints for unused axis letters)
2) locate sim configs in
          configs/sim/axis/vismach/5axis/table-rotary-tilting
3) update ini files for joints_axes ini requirements
   and use [KINS]AUTO_TELEOP=
4) use basic_sim.tcl to configure joint cmd-->fb connections,
   homing, ddts, estop loop, tool-change loop
5) include vismach gui hal connects within inifiles
6) include boat-xyzac.ngc,boat-xyzac.ngc in ./examples/
7) convert test-xyzac.ngc,testxyzbc to ngcgui-compatible
   subroutines with user-alterable settings and make
   ngcgui tabs
8) remove dos line endings in .ngc files

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9e89e0490c 5axis sim config (bridge mill xyzbc) update for JA
Preparatory to adding additional 5axis sim configs

Simplify and consolidate sim config:
0) place as new subdir (configs/sim/axis/vismach/5axis/bridgemill/
1) use joint numbers in sequence (.c & .py files)
2) use basic_sim.tcl and [HAL]HALCMD= instead of halfile
3) remove unused items and boilerplate from ini file

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6788fead25 xhc-hb04.tcl support NONtrivkins world jogging JA
For known identity kins (namely trivkins, nee gentrivkins), xhc-hb04.tcl
connects corresponding (one-to-one) joint and axis wheel jog pins
maintaining compatibility with pre-JA configs in both joint and teleop
motion modes.

For unknown kins (expected to be non-identity), this commit allows
connections for any kinematics for the axis coordinates wheel jog pins
specified by the usual ini file setting:
   [XHC_HB04_CONFIG]coords=

To use the pendant for world jogging AND for joint jogging of selected
joints, see the added information in the README accompanying the
xhc-hb04 sim configs.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
aed98a14bc axis.py restore task_mode after touchoff if JA
no open file.  (can occur using [DISPLAY]OPEN_FILE="")
reload_file() --> get_mode_from_tab() --> ensure_manual

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a7f642359d axis.py allow lowercase [DISPLAY]JOG_AXES] JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c60cc3d782 sim_lib.tcl fix make_ddts for ddt_limit JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9352460683 kinematics.txt paste errs JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7c251b942c axis.py go to joint mode before switch to mdi JA
addresses ugly bug sequence:
 1) run program (normal end or abend)
 2) jog (gui, kb, halui, or wheel)
 3) switch to mdi tab -- postion jump to
    position at program termination

Pre-JA: joint mode was true prior to mdi switch.

0_ensure_mdi ('AUTO',   'STATE_ON', 'TELEOP', 'IDLE')
1_ensure_mdi ('MANUAL', 'STATE_ON', 'FREE',   'IDLE')
2_ensure_mdi ('MDI',    'STATE_ON', 'COORD',  'IDLE')
3_ensure_mdi ('AUTO',   'STATE_ON', 'TELEOP', 'IDLE')

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ddf8f2e0aa axis.py note not error for len(trajcoordinates) JA
> jointcount

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a46e9cafd7 configs/sim remove unused TLO_IS_ALONG_W items
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e2f994646a docs some fixes for AXIS_0 in some examples JA
Notes:
   xlinuxcnc.txt formerly referred to
      [AXIS_0]MIN_LIMIT_SWITCH_POLARITY
   which does exit in any current code

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3d4cba60a0 lintini.py updates for joints_axes JA
1) AXIS_N --> JOINT_N
2) use njoints=[KINS]JOINTS not naxes=[TRAJ]AXES
3) skip [JOINT_N] section if stepper and no STEPGEN_MAXVEL
4) use period==0 if no [EMCMOT]BASE_PERIOD
5) use abs() for period check
6) make it executable

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9e7138cd8d touchy.py,gscreen.py,gladevcp AXIS_0-->AXIS_X JA
these files used [AXIS_0]UNITS to determine units
when there is no ini file item for[TRAJ]LINEAR_UNITS

for ja, AXIS_0 becomes AXIS_X typically but note that
there are no code references to [AXIS_n]UNITS otherwise

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9ad116283c tklinuxcnc: joint/world sw for non-iden kins JA
For non-identity kins, after homing, allow switching
    joint->world->joint->world...
using the joint/world radiobuttons.

tested with:
       configs/sim/tklinuxcnc/xz_both.ini
       configs/sim/axis/ldelta.ini
         (using [DISPLAY]DISPLAY=tklinuxcnc
Note:
     contemporaneous use of halui.mode.joint,teleop
     may interfere

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fe69d8db89 sim_lib.tcl improve compat with non-iden kins JA
remove identity assumptions and make pos-fb commands,etc.
for $number_of_joints

Also:
  1. only make xy,xyz velocity hal pins for known kins (trivkins)
     having xyz coordinates
  3. remove eval from loadrt commands for better twopass compat
  4. report limit if no. of ddts exceeds .comp limit (=16)
       (can occur for 9 axis config requesting vel,acc ddts)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c4fdfb7e43 axis.py use same value as iniaxis.cc:loadAxis() JA
for min/max in soft_limts()

This seems more compatible and allows configs with no
   [AXIS_N]MIN_LIMIT,MAX_LIMIT
settings to run a program without complaint of
   'Program exceeds machine ..."

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74db1f519d kins.9 fix example error JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
dc6393ae41 glcanon.py establish no_joint_display locally JA
e.g., apply cloaking rule once at init_glcanon:
no_joint_display = kinematics_type == KINEMATICS_IDENTITY

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
07c517c233 gscreen update for joints_axes +debugging aids JA
1) try: init_glcanondraw() for all configs (formerly
   was attempted only for some configs)

2) Add tests to limit error messages that occur on the
   sim config configs/sim/gscreen/gscreen_custom/9axis.ini
   (The problem may be with the sim config not with gscreen.py)
   The messages also may occur in debugging defective configs
   and the rapid and persistent issue of messages seems
   to hang the system attempting to handle unlimited, repeated
   popups.

   Tests use new globals:
     excepthook_msg_ct = 0
     excepthook_msg_ct_max = 10
     update_spindle_bar_error_ct = 0
     update_spindle_bar_error_ct_max = 3

Ref: configs/sim/gscreen/gscreen_custom/9axis.ini
  repeatedly issues messages about 'No widget 's_display2'
  same behavior in git master (669f5fe)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3d40b90ebe glcanon.py: new func GlCanonDraw:init_glcanon() JA
for onetime setup of trajcoordinates & kinstype

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7e11637edc hal_gremlin.py remove adjust of lathe home[] JA
now handled in GlCanonDraw:redraw() by parsing posstrs for:

   xz lathes (proper config for joints_axes) using:
      [DISPLAY]LATHE=1
      [TRAJ]COORDINATES=xz
      [KINS]KINEMATICS=trivkins coordinates=xz
      [KINS]JOINTS=2

   lathe_historical_configs (dummy y axis) using:
      [DISPLAY]LATHE=1
      [TRAJ]COORDINATES=xz
      [KINS]KINEMATICS=trivkins (by default: coordinates=xyz)
      [KINS]JOINTS=3

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
69765636fb gremlin.py: update WRAPPED_ROTARY,num_joints JA
AXIS_1,2,3 --> AXIS_A,B,C
joints_axes ini item for num_joints is [KINS]JOINTS

Note: [TRAJ]JOINTS never existed (as far as i can tell)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ae2d42b89e glcanon.py updates readability etc for JA
preparatory to work on hal_gremlin compatibility

1) improve readability of logic for parsing posstrs and the
   handling of special cases:
      lathes (xz and historical xyz with 3 joints and dummy 2==y)
      identity kinematics cloaking of joint/teleop modes
      display of limit,home icons (joint items) when identity kinematics

2) show home and limit icons on left when self.get_show_offsets()
     for consistency and simpler code

3) for non-identity kinematics
     if allhomed and teleop mode:     show (new) allhomedicon on Preview
     if any limit sw and teleop mode: show (new) somelimiticon on Preview

Note: hal_gremlin overrides dro_format()

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4cbfaf7719 motion/kinematics.txt update JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b28255e46e axis.py: abandon DRO tab home&limit indicators JA
since they duplicate items shown on the Preview Tab (managed in
glcanon.py)

The number of cases (joint/teleop, identity/nonidentity,
xzlathe/historical-xyzlathe) make it increasingly problematic
to maintain.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
1de14c22a1 glcanon.py:limiticon for historicallathe config JA
is specialcase
  joints 012 --> xyz axes, but joint1==Yaxis not used
  so limit switch for z is on joint 2

also: remove unused function aletter_for_jnum()

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
036345709f kins.9 update,gentrivkins,gantrykins superseded JA
Retain man pages for gantrykins,gentrivkins -- add note that these
modules are superseded by trivkins and point to trivkins (kins) man page

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e0a43bc23f axis.py get_jog_speed_map() ret 0 if unknown index
suppress error msgs if user tries to jog with [,] and
fourth jog_axis not specified

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
15a7404a21 hexapod sim: update for JA
hexapod.hal: update for halui name changes:
             halui.0.pos-feedback --> halui.axis.x.pos-feedback
             etc.

hexapod.ini: use [KINS]AUTO_TELEOP for automatic switch to teleop
             add note about [TRAJ]HOME z coordinate for this config
             remove boilerplate comments

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
01226276fe halui.cc fix broken masking
old mistake not noticed because the hal pins affected
(halui.axis.L.pos-commanded, pos-feedback, pos-relative) are seldom used

(hexagui.hal only known user in distribution)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c98e73f5fe taskintf.cc remove unused emcAxisSetHome() JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8bef93a2a2 initraj.cc restore [TRAJ]HOME use (hexapod fail)JA
The hexapod sim config (configs/sim/axis/vismach/hexapod-sim/hexapod.ini)
has been broken in joints_axesNN branches since joints_axes8 (at least)
while it works in recent master (SHA 669f5fe).

After starting the sim, a switch to world mode (before or after homing)
results in all 'nan's for the world coordinates.  The same behavior
can be shown in master by removing the ini setting:
   [TRAJ]HOME = 0 0 20 0 0 0
e.g,. the sim config fails using default zero values for [TRAJ]HOME.
In testing, the sim config succeeds for many values for the z coordinate,
like:
     #nan HOME = 0 0 0 0 0 0
     #ok  HOME = 0 0 10 0 0 0
     #ok  HOME = 0 0 1 0 0 0
     #ok  HOME = 0 0 .1 0 0 0
     #ok  HOME = 0 0 .0001 0 0 0
     #nan HOME = 0 0 .00001 0 0 0
     #ok  HOME = 0 0 -1 0 0 0
     #ok  HOME = 0 0 40 0 0 0
     #ok  HOME = 0 0 100 0 0 0
     #ok  HOME = 0 0 1.23 0 0 0

The problem is due to a failure of a matrix inverse computation when the z
coordinate==0 in the kinematicsForward() function of genhexkins.c (note it
works for z=0.0001 but not 0.00001).

For JA, the code to read and use inifile item [TRAJ]HOME was omitted years ago
so this commit restores it making it possible to use non-zero values for the
[TRAJ]HOME z coordinate.

This problem may be solvable in genhexkins.c --only the omission of
inifile item [TRAJ]HOME is addressed with this commit.

The problem is likely only reproducible when using kinematics modules that use
iterative algorithms in kinematicsFowrward().  The genhexkins.c is the only
current kinematics module that does this.

Also:  taskintf.cc: removed superseded use of: EmcPose home

Note: The vismach model view is not correct for the hexapod sim in JA, it looks
      ok in master.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
eaa97e683a genhexkins.c relocate comment txt to correct place
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7418ec16d8 max5triv,max5kins combine to share common settings
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
50f0faea16 max5kins,max5triv vismach-- updates for JA
eliminate unneeded items

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2cf77bb265 vismach/hbm fixes for JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
76ab03c629 sim configs: update some configs locking_indexer
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e27439ccf9 axis_foam: make work with updated trivkins
This config formerly used LIB:core_sim9.hal for convenience even though it is a
four joint configuration.  Using core_sim9.hal worked with the former trivkins
(all axis letters) but breaks when trivkins updated to what was formerly named
gentrivkins.

This commit:
   relocates the config to a subdirectory
   adds a simplified hal file for the four joints
   uses immediate homing

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6e3d7117f5 glcanon.py restore correct posstrs display items
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
439df9f484 axis.py use trivkins coordinates when applicable
trivkins formerly was gentrivkins

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
818159a110 axis.py: avoid race for s.kinematics_type
Occasionally seen: s.kinematics_type not valid at startup
so move using code so it is after check for s.joints
and add a check to that existing check.

Observed on a working kins (trivkins), on uspace

Also: now trivkins (formerly gentrivkins) returns invalid
      kinematics_type until set

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
823f0cb1de axis.py,glcanon.py detect historical lathe configs
and make work with updated trivkins (sequential joint
assignment to axis letters, formerly gentrivkins)

Prior to joints_axes, many configs used a lathe config
with a dummy joint0/Yaxis.  This was done, I believe,
largely for convenience of hal setups (core_sim.hal and
friends).  This type of config is also used in lathe
configs in the by_machine and by_interface directories.

This commit removes an earlier hack for such lathes and
adds a new detection to handle:
  is_lathe && coordinates=="XZ" && joints==3

This allows the update_ini script provide a working config
from the historical lathe configs and retention of
halfiles that assume dummy joint0/Yaxis for lathes, namely:
   LIB:core_sim.hal
   LIB:simulated_home.hal
   LIB:lathe.hal

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4e242a69ae trivkins update, del gentrivkins, gantrykins
trivkins    was gentrivkins
gentrivkins deleted
gantrykins  deleted (use trivkins kinstype=BOTH)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0570b0b99b gremlin users, set kinstype,trajcoordinates JA
for GlCanonDraw for embedded gladevcp apps

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
aeb7e318f0 updating-linuxcnc.txt update_ini script #44 JA
Describe status of distribution provided configurations

Describe automatic invocation of the update_ini script for user
configurations and note that:
  1) common ini and halfile items are converted
     (basic machines using identity kinematics)
  2) less common items may not be converted
     (locking indexers, non-identity kinematics, wheel jogging, haltcl files)
  3) subsequent document sections identify changes that
     may require additional user edits

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d466df07b4 xyzx_mpg (simulated mpg and xhc-hb04) examples
xyzx.ini          uses a sim_pin app to simulate mpg jogging
xyzx-xhc-hb04.ini requires an XHC-HB04 18 button pendant
                  (the config will start without a pendant
                   using the ini setting:
                   [XHC_HB04_CONFIG]require_pendant=no)
Notes:

  Use of the LIB:xhc-hb04.tcl script requires _known_ kinematics (namely
  trivkins or gentrivkins) and connects hal pins for jogging joints and axes
  having the expected one-to-one correspondence.

  A config with multiple joints assigned to an axis letter like
  the ones added herein, requires additional hal connections to
  support joint mode jogging of the the additional joint assigned to
  the duplicated axis letter (for xyzx, this is joint 3).

  These connections are demonstrated in a postgui hal file (xhc-hb04-postgui.hal)
  but it is not clear that jogging such a joint is a realistic requirement when:
    1) it is expected that appropriate homing logic will set up the machine
       and allow automatic switching to teleop mode (using [KINS]AUTOTELEOP=)
    2) independent jogging of the joints for duplicated axis letters is likely to
       cause racking and other problems if not used with extreme care.

  If joint mode jogging for joint_3 is not required, the pendant rotary
  switch fourth ('a') position can be used for an addtional rotary axis
  (an xyza trunnion config for example)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a746180aca configs/sim/axis/ja_tests -- reorg JA sim configs
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
70914f93f5 updating-linuxcnc.txt: joint/teleop wheel jogging
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2c13ef3a51 twopass: handle loadrt's using multiple parms (JA)
For joints_axes, by convention (update_ini, axis.py) anticipate inifile
items:
     [KINS]
     KINEMATICS=kinematics_module_name [optional_kinematics_parms ...]

And Hal    files use commands like: loadrt [KINS]KINEMATICS
    Haltcl files use commands like: loadrt $::KINS(KINEMATICS)

For kinematics modules using (optional) parameters like:
  KINEMATICS=gentrivkins coordinates=xyzb kinstype=BOTH
twopass.tcl needs to process the multiple loadrt parameters passed in the
first arg by haltcl (arg1) and escaped (\{,\}) as:
   arg1split=\{gentrivkins coordinates=xyz kinstype=BOTH\}

So, test arg1 and if necessary, rearrange loadrt parameters to make theargs
a proper tcl list

Also: catch errors while executing loadrt commands
      and print message for debugging

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ce37e5d0ea gentrivkins,gantrykins: exit on illegal coord char
instead of continuing in while loop (because if no
legal character is found, it would loop forever)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4ef9325c51 axis gui: allow world wheel jog after running prog
without requiring user intervention.

The issue: 'ja: surprise switch to World mode when turning on #40'
was addressed by commit 'axis.tcl set_mode_from_tab no ensure_manual JA#40'
    (SHA: d8e83bd9 in the joints_axes12 branch)

A side effect prevented teleop wheel jogging after running a program because
motion_mode remained as EMC_TRAJ_MODE_COORD.  It was necessary for user to
manually intervene with a keyboard jog (axis gui) or by selecting
EMC_TRAJ_MODE_FREE or EMC_TRAJ_MODE_TELEOP with another gui (halui).

This commit checks for s.motion_mode==COORD to establish correct
TRAJ mode following:
   set_mode_from_tab() (axis.tcl) --> ensure_manual() (axis.py)
to allow wheel jogging after running a program (while avoiding the
unexpected behavior reported in issue #40).

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ba339523cc updating-linuxcnc.txt del leftover .axisrc example
also: axis.py remove leftover debug print

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
104ca53291 axis: keyboard jogging improvements
.. as detailed in documentation.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
f64471d3b6 docs: document AXIS's foam mode
.. this mode has existed for a long time, but it was not documented.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
06d320b690 configs: foam: this has no locking indexer
.. a fact which became an error in ja##

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
cf04eb762f axis.py: bind [,] keys using trajcoordinates (JA)
Was: key bindings for "[","]" ("bracketleft","bracketright") hardcoded
     for axis_number==3.
Is:  find axis letter from ini [TRAJ]COORDINATES=

Note: No current method to accomodate preceding duplicate axis
      letters (like XYYZB).  For such cases, workaround is to
      use .axisrc (or [DISPLAY]USER_COMMAND_FILE, example line:

         bind_axis("bracketleft, "bracketright", 4)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
be16987ffd motion: initialize all axis->locking_indexer items
since task may not do it for omitted axis letters

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
62971d8fcf control.c: no wheel jogs for locking indexer (JA)
disallow for an axis(teleop) designated as having a LOCKING_INDEXER
joint and for that LOCKING_INDEXER joint

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ce0af4f8d0 motion: disallow jogging axis w locking indexer JA
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
bddabf1d60 configs/sim/axis/ja_tests(new)temp sim configs JA
Temporary sim configs to demonstrate:

a) wheel jogging for IDENTITY kins configs where the hal pins
         for joints and axes jogging are connected together
b) omitted axis letters    (xyzb omits a)
c) duplicated axis letters (xyyzb duplicates y)
d) locking indexer on AXIS_B (the joint number depends on kins uses)
e) automatically set mode to teleop after homing ([KINS]AUTO_TELEOP)

xyzb_trivkins.ini         trivkins with omitted axis letter    (a)
xyzb_gentrivkins.ini   gentrivkins with ommitted axis letter   (a)
xyyzb_gentrivkins.ini  gentrivkins with ommitted axis letter   (a)
                                   and  duplicated axis letter (y)
                                   and  auto teleop after homing

The xyyzb_gentrivkins.ini uses the gentrivkins kinstype option
to set the kinematics type to KINEMATICS_BOTH (not IDENTITY) to
demonstrate jogging and teleop jogging and the AUTO_TELEOP capability.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ac063ef2bd axis.py,glcanon.py rework icons display (JA)
whac-a-mole to work better with permutations of
   trivkins with omitted axis letter (example: xz lathe with dummy y)
   gentrivkins with duplicated axis letters (example: gantry)

Known JA Issue:
     An axis coordinate may specify a corresponding
     locking indexer joint.  Jogging is not allowed
     on this joint.  Currently, the axis can be jogged
     in teleop mode.  This should be disallowed too.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9931f1b1dc updating-linuxcnc.txt: copy/paste err inexample
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
1afb99b173 command.c: detect missing rotaryunlock pin
Was coredumping if motmod unlock_joints_mask= parameter set wrong.
This commit detects and issues clue if pin data missing.

For more info, see docs section:
   "Locking rotary indexer (updates for joints_axes)"
in file:
    docs/src/getting-started/updating-linuxcnc.txt

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
27a31dd455 linuxcnc.in: exit with failure if update_ini fails
This would have prevented the failure of certain tests with
non-converted inifiles and trivial checkresult scripts from being
silent failures.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
6df2df03a3 update_ini: use distinctive error code for 'cancel'
.. this will allow the linuxcnc script to treat cancel differently than
failure to run the script to completion (e.g., when running without a
DISPLAY from runtests)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
36de38e86c tests/ use LIB:halfiles instead of symlinks (JA)
Where applicable, update tests/ inifiles to use LIB: file specifiers so that
lib/hallib files will be found automatically by the linuxcnc script and its
search rule.

This change also reduces the number of symlinks which already pointed to
lib/hallib files.

Explicit use of LIB: may also help to catch future errors occurring in the
lib/hallib files used in the tests/ tree.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6e6b3ded01 tests/ fixes for ini files requiring JA update
Numerous tests that use an ini file have not been exercised recently in the
joints_axesNN branches because the linuxcnc script invokes the update_ini
script which (when running non-interactively) exits with a tkinter error but ok
(0) status.  Thus, the tests are not executed (nor is an updated ini file created
by the update_ini script).

This commit was created by manually using the update_ini script to convert the
unconverted ini files (eg those that do not have VERSION=1.0), then some manual
edits, etc.

Ini files in directories marked with a 'skip' file were updated even though not
currently active:

        tests/g0/motion-test/
        tests/linuxcncrsh-tcp/

Also:
     Use symlinks for core_sim.hal throughout the tests/ directory
     to --> lib/hallib/core_sim.hal (using relative links)
     However, if the required core_sim.hal file is unique, rename it
     to mod_core_sim.hal:
        tests/toolchanger/m61/
        tests/tlo/

Note: The directory tests/trajectory-planner/ does not use the files
      required by runtests (per tests/README test.sh or test.hal)
      so that directory is not updated with this commit.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
00683fbb4b ldelta demos: revise world limits
so that the startup gcode file (axis.ngc) runs
(users appreciate this)

also: silence sim_pin stdout outputs (>/dev/null)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8853cf64d7 motion/control.c update teleop_tp.curr_pos
If teleop, then update &axes[n]->teleop_tp.curr_pos
in set_operating_mode() when motion not enabled

also: remove axis.py onoff_clicked tmp modifications

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
202af9c0a2 axis.py onoff_clicked joint mode iff identity
preclude unexpected reset to joint mode for non-identity kins
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
66b9850e86 axis.py onoff_clicked force joint mode #45 'On sim'
attempted restart after forced ferror in sim would fail because
the axis gui would restart in teleop mode

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
bbc03ad6c7 axis.py make sure startup is in joint mode
before this commit, joint wheel jogging would not work at
startup with axis gui (but worked after gui or keyboard jogging
or other stimuli from gui)

note: motion.teleop-mode hal pin indicated it was not in teleop so
it should be in joint mode-- not sure why it needs to be
set explicitly by axis gui

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3577010f6e linuxcnc.in improve handling DISPLAY=linuxcncrsh
linuxcnc script: detect [DISPLAY]DISPLAY=linuxcncrsh and accommodate its
                 getopt handling of '--' to separate cmdline parameters

                 This prevents confusing warning: "linuxcncrsh -i invalid option"
                 reported on forum by user k-1

emcrsh.cc:       The '--' token may be used to separate cmdline parameters
                 for emcrsh.cc:main() and its call to LinuxCNC:emcGetArgs().
                 So skip parameters used for emcrsh.cc:main() when it
                 calls emcGetArgs()

Note: no changes for compatibility, runtests passes, better conformance to
      documentation: 'linuxcncrsh --help' and 'man linuxcncrsh'

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4aa00306b8 sim_*.comp man page text update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
91f8708ad1 configs/sim/gscreen/spartan update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
605caae6c2 axis.tcl set_mode_from_tab no ensure_manual JA#40
reduce operator surprise for sequence:
  homed, estopped, set joint mode, restarted

will not be surprised if there are new side effects due to this change

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5ec6ee83c5 glcanon.py, axis.py work icons for DRO JA#39
Display of homeicon,limiticon on the axis gui Preview tab:

1) for Joint DRO: show each joint homeicon if joint is homed
2) for World DRO:
   if   KINEMATICS_IDENTIY:
        show homeicon for each individual axis letter if corresponding
        joint is homed
   else (not identity):
        display homeicon for ALL axis letters if ALL joints are homed

Similar display of homeicon,limiticon on the axis gui DRO tab

Note:
1) when axis gui menu/view/show_offsets selected, limiticons are
   not shown on Preview tab (same as pre JA)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5d0de07326 motion-logger.c use joints and axes structs (JA)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9be7437bac motion-logger update expected files for runtests
due to earlier correction of typo in taskintf.cc for
   emcmotCommand.maxLimit  & emcmotCommand.minLimit

Note: motion-logger.c needs additional future work
      to separate joints and axes items

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b4232b4603 updating-linuxcnc.txt fix coordinates= item
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
db0d3329d4 halui man page: clarify analog jog items
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4e315015b0 command.c: support EMCMOT_JOG_ABS in teleop (JA)
last JOG message type to convert for joints_axes teleop mode

No known users in configs but used with halui analog jogging

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fb22cae05e enforce soft joint limits when teleop jogging (JA)
situation: Teleop jogging exceeds joint soft limit (can occur if ini hal
           pins used to alter joint limits for instance).

before:    Joint soft limit detected but doesn't prohibit subsequent
           teleop jog moves.

Note:      A gui override facility is not necessarily be available as
           they are normally provided for hard limits (physical
           switches) not soft limits. (axis gui for example)

after:     When on_soft_limit detected and teleop, stop jog and
           SET_MOTION_ERROR_FLAG().
           Decline to start a subsequent teleop jog (EMCMOT_JOG_*).
           Decline to start a subsequent ajogwheel (on_soft_limit)

           To move off soft limits, user must switch to joint mode so
           include hint in error message

Also:      For clarity  was: jog_ok(), is: joint_jog_ok()
           Remove redundant "axis->teleop_tp.max_acc ="

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
01930fa2f8 taskintf.cc old typo had switched min,max (JA)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
94350a095e updating-linuxcnc.txt fix coordinates= text (JA)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
aa21864884 pyui/commands.py: handle some special configs (JA)
1) support configs with identity kins that use duplicated axis letters
   (use [TRAJ]COORDINATES in jnum_for_axisnum() instead of axis_mask)

2) decline to jog for misconfiguration of too many coord letters
   in [TRAJ]COORDINATES.
   Note: the primary gui should protect (axis gui does)

3) reject attempts to joint jog for non-identity kinematics
   (jog by letter is still possible in axis gui: switch to teleop
    mode with $ hotkey)
    Note: in general, no rule exists for converting an axis number to
          a joint number for non-identity kinematics so determining
          a joint number is not possible for non-identity kins.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3010821463 updating-linuxcnc.txt consistent JA specifications
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
efb6871308 axis.py: error if [TRAJ]COORDINATES misconfig (JA)
Note: It's complicated for kins with duplicated axis
      letters etc. as there are several ini file
      items that must be consistent, example:

      [KINS]KINEMATICS = gentrivkins coordinates = ****
      [KINS]JOINTS = ****
      [TRAJ]COORDINATES = ****

      This imperfect check reacts to:
      number_of([TRAJ]COORDINATES) > [KINS]JOINTS

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
e707dfaf97 nml_intf: Work around poor c++11 support in g++4.6
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
58d8a6f24b canterp.ini: make sim runnable (joints_axes)
follows changes for canterp.ini in 2.7 for ja testing
beware rebase

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7da29a2599 canon.hh init rotary_unlock_for_traverse (JA)
the -1 setting was lost when struct CanonConfig_t was created
for joints_axes in emc/nml_intf/canon.hh

observed testing canterp:
  canon.rotary_unlock_for_traverse is 0 when it should be -1
resulting in segfaults in tp.c:tpActivateSegment() which expects -1 if
no joint selected not active

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7e74b98f31 support jog while mdi tab (axis gui) JA
new: emctaskmain.cc:allow_while_idle_type() for these
     immediate command types:
       EMC_JOG_CONT_TYPE
       EMC_JOG_INCR_TYPE
       EMC_JOG_STOP_TYPE
       EMC_JOG_ABS_TYPE
       EMC_TRAJ_SET_TELEOP_ENABLE_TYPE

Tested with axis gui for:
  wheel jogs (teleop & free)
  halui jogs (teleop & free)

Notes:
  In axis.py: no 'task_mode detect and switch tab' as
  behavior seems better without when other guis (halui)
  pulse halui.mode.* pins.  Prior behavior can be restored
  for testing with enable_tab_change var in LivePlotter:update()

  Keyboard jogging with mdi tab would require additional
  work for key binding and widget focus. (not envisioned)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b4a3183a07 panelui update for joints_axes
supports identity kins with an axis_mask (viz. gentrivkins)
         (before ja, support for trivkins only, no non-consecutive axes spec)

ini file: updated using scripts/update_ini script (pre-ja to ja)
          and edits to:
          use gentrivkins coordinates=xz (non-consecutive joints)
          remove hardcoded user dir for PROGRAM_PREFIX
          amend  MIN_,MAX_LIMITS so default program is within limits

halfiles: was:axis.0.* is:joint.0.*  (identity kins joint0==>axis x)
          was:axis.2.* is:joint.1.*  (identity kins joint1==>axis z)
          duplicate wheel jog connections for axis jogging

commands.py: use jjogmode,j_or_a per motion_mode

Notes:
      tested with provided sim config: panelui-demo.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8dc113cc59 axis.py clarify get_jog_mode function
also: fix misnamed TASK_MODE_* debugging items

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
18962a732c axis.py jogspeed_incremental() cursel may be tuple
value returned by:
   root_window.call(widgets.jogincr._w, "curselection")
is 'str' for tcl8.5/python2.6.5
is tuple for tcl8.6/python2.7.9

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ab87e879c0 axis.py update Quick Ref text for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9ca599a445 updating-linuxcnc.txt typos + minor fixes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c5daf98a59 updating-linuxcnc.txt: reorganize ja sections
also: try to improve text, update example
also: fix misinformation for [JOINT_n]LOCKING_INDEXER=
      (it is required in addition to [AXIS_L]LOCKING_INDEXER_JOINT=)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2550dc7843 sim/axis/halui_pyvcp/pyvcp.hal fix ja hal pin name
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
ae83a715ca shuttlexpress hal: update for joints_axes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b04bfa0d08 nml-messages.txt update to reflect emc.hh
This documentation file has not been updated recently (years) and included
numerous items like "Obs: not used ..." so this is a restart based on current
emc.hh

Not included:
  NMLTYPE number
  details

If someone wants to update details, this could be a start point, otherwise
it just lists current message items from the source: emc.hh

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5c09ceaf8f emc_nml.hh annotate j/a jog settings
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c20ea4a750 emc.hh remove gap and removed comment text
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
118c4a6085 nml was:EMC_AXIS_CMD_MSG is:EMC_JOG_CMD_MSG
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
649e76d63c axis.py: improve conformance of j/a key bindingss
to prior (pre-joints_axes) behavior
for activate_ja_widget_or_set_feedrate()

for manual_ok() and KINEMATICS_IDENTITY in teleop mode:
  `(backtick),1,2,3,...,8 select corresponding coordinate letter

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
18847ac52c axis.py unhome_joint fix cut/paste mistake
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8a8adb3cad axis.py: fix confused message and comment
i mixed up forward and inverse kinematics direction
in earlier commit (axis.py: Warn for duplicated coords (kins Inverse))

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0068808e32 axis.py decode ja_rbutton value for joint homing
letter: select jnum from trajcoordinates (return if not identity kins)
else:   use asis (int)

fixes   home_joint() used by Home key binding
also  unhome_joint() (no callers)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b320b51edc axis.py remove blanks in trajcoordinates
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
64b1958c71 updating-linuxcnc.txt: clarify ini items,pin names
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
bc72e16d28 axis.py: Warn for duplicated coords (kins Inverse)
Kins which support duplicated coordinates (gantrykins and
gentrivkins kinstype=BOTH for instance) currently return
the value of the highest joint number for a duplicated
axis letter.  Moving a joint may not show as movement on
the display if there is a higher numbered joint for a
(duplicated) axis letter.

Alternatives inverse kinematics could be considered for these
'general-purpose' kinematics:

Example: compute the average of all joint values in use for a
         duplicated axis letter.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ac8395017d axis.py: use [TRAJ]COORDINATES as is
before: computing trajcoordinates could result in blank menu
item for 'Homing' and 'Unhoming' joint numbers:
     Machine/Homing/(Un)Home Joint n
since duplicated letters weren't counted.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fb49d8c19c kinematics.txt: distinguish trivkins,gentrivkins
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
18cfab3ab9 updating-lnuxcnc.txt: describe ini hal pin changes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e9e19cae5c inihal pins: docs update (joints_axes)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
13ec526727 xhc-hb04-accels: connect joint, axis accel pins
Note: The xhc-hb04.tcl script supports known identity kins only --
      currently: trivkins, gentrivkins

This commit connects the multiplexed accels specified by the ini item:
  [XHC_HB04_CONFIG]mpg_accels
to the ini pins for both joints and axes (identity kins assumption):
    ini.L.max_acceleration (L == coord letter)
and
    ini.N.max_acceleration (N == joint number for L)
so that wheel jogging functions in both joint and teleop modes.
The axis gui uses teleop for keyboard jogging (for identity kins);
other guis may behave differently.

This commit preserves pre-joints_axes behavior so that reduced accels
are used for _all_ manual moves including homing.  Since homing is a
joint-specific activity, an alternative method could use higher valued
joint accels for acceleration during homing.  This could be
implemented by setting ini.N.max_acceleration (no multiplexer) to
[JOINT_N]MAX_ACCELERATION but would require additional
functionality to force teleop mode for wheel jogging in keeping
with the expected axis gui behavior.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d85cc4687c ini_hal_demo.ini: revise sim_pin testers for ja tests
also: use gentrivkins kinstype=both to facilitate testing
      (allows switching joint/teleop mode with axis gui '$' key)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
6d2c72ec5c inihal: support axis ini items (joints_axes)
Notes:
  create,check hal ini joint pins for actual number of joints used
        (numjoints not EMCMOT_MAX_JOINTS)

  clarify internal names where there could be confusion with joints/axes

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f8adefd00f keystick.cc enforce use of trivkins (joints_axes)
also:
   use [JOINT_N]JOGGING_POLARITY ( not [AXIS_N]
   clarify jjogmode with define JOGJOINT

joints_axes notes:
   1) trivkins required     (same as pre-joints_axes assumption)
   2) only X Y Z supported  (same as pre-joints_axes)
   3) only JOGJOINT used    (doesn't matter since trivkins enforced)

Bring me a rock.
  This rock?
No, a different rock.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
68a2d2a1dc mini.tcl: joints_axes (trivkins,gentrivkins)
[KINS]KINEMATICS = trivkins|gentrivkins only

Tthis commit for joints_axes supports more configs than
pre-joints_axes (viz. gentrivkins) but no additions were
made to support other, non-identity kinematics types.

The gui jogs according to teleop/joint mode (which may
be changed by other guis (halui for example))

The pre-joints_axes code has numerous hooks for additional
joint/world support -- these were not used pre-joints_axes
and not exploited herein.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f7f8ad1b27 tklinuxcnc.tcl: remove unused var
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f62efd8655 configs: cleanup some obsolete/renamed items
was:tkemc,is:tklinuxcnc
was:xemc,is:xlinuxcnc
was:/usr/share/doc/emc2/,is:/usr/share/doc/linuxcnc/
was:emc2.gif,is:linuxcnc.gif
remove lines like "DISPLAY = usrmot"
remove lines like "#PREFIX = /home/john/emc2/nc_files"
fix recurring typo: was:tklinucnc, is:tklinuxcnc

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a67659da85 teach-in.py update for joints_axes
use s.joints    when Joint radiobutton active
use s.axis_mask when World radiobutton active and display only masked axes
                Note: s.axes is deprecated

Also: include as /usr/bin/teach-in in deb
      (previously, only available for RIP)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c98b4aff86 configs/by_interface,by_machine joints_axes update
Using update_ini script
     (with mods to suppress comments, and extra blank lines)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c6e0da45a7 command.c: error message on one line (joints_axes)
Note:
     If multiple guis are active, it is possible for one of the
     guis to send a jog command for the wrong mode (joint, teleop)
     if the mode has been changed by the other gui.

     While this should be checked first in each gui, the code in
     command.c has some provisions to guard, abort on the error,
     and print a message.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
51e58912c1 emcsh.cc remove debugging print
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9de635e0f4 kins manpage, add info for gentrivkins
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5d574f704b touchy: update hal example, notes for joints_axes
to show use of joints.N.* not axis.L.*

Touchy historically has had no provisions to switch to teleop mode
and this is not changed for joints_axes -- so joint jogging is
described.

Examples describe the trivkins fixed joint-axis assignments
(x-->0, y-->1, z-->2, etc.)

To use trivkins with ommitted axis letters in [TRAJ]COORDINATES=,
use a dummy (empty) [JOINT_n] stanza.

Note: No provisions currently exist for non-identity kinematics.

Also: use script (hwsim.sh) to simulate the buttons and mpg
      hardware that can be used with touchy (consolidates
      use of sim_pin in ngcgui/pyngcgui*.ini files)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4df9ff22d5 rebase updates motion-logger, tests/halui
motion-logger.c and runtests update for joints_axes
tests/halui/jogging/postgui.hal joints_axes hal pin names

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b9fc2671cd usr_intf/ consolidate JOGJOINT,JOGTELEOP defines
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
a1f5459d5c linuxcncrsh (emcrsh.cc): update for joints_axes
Modify jogging commands (continuous,incremental,stop):
to support free (joint) and world (teleop) jogging:

was: set jog      joint_number             speed
 is: set jog      joint_number|axis_letter speed

was: set jog_incr joint_number             speed increment
 is: set jog_incr joint_number|axis_letter speed increment

was: set jog_stop
 is: set jog_stop joint_number|axis_letter

Note: Test for teleop mode using command: 'get teleop_enable on|off'
      if TELEOP_ENABLE=YES, use axis_letter
      else                  use joint_number

Also:
      rebranding within emcrsh.cc
      update manpage, expand example, plus some rebranding

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
76a57eabe1 Makefile: copy update_ini to bin/ for deb pkg
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
155eda790b minor cleanups
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3901b73474 minor docs update for joints_axes
moveoff_gui -- identity kins note
ini-config,updateing-linuxcnc  -- add [KINS]AUTO_TELEOP=

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8099a89776 xhc-hb04.tcl: mpg jogging in free,teleop modes for
known kins with KINEMATICS_TYPE=KINEMATICS_IDENTITY

1) known kins are: (trivkins, gentrivkins)

2) To support free (joint) mode and teleop (world) mode
   jogging for the supported identity kins:

   Connect to both sets of hal pins

       axis.L.jog-counts, joint.N.jog-counts
       axis.L.jog-scale,  joint.N.jog-scale

   where N is the joint number for the (1:1) corresponding
   axis (letter L)

3) add example config for testing with omitted axes names:
   (xhc-hb04-layout2-gentrivkins.ini)
   (also move TRAJ,KINS stanzas to .inc files)

3) remove 'experimental' plus-minus mode (this provision had
   some support for halui jogging -- probably never used)
   With added support for world mode wheel jogging in
   joints_axes, the halui modes are superfluous.

Note: Support for non-identity kins not currently planned --
      the driver can be wired up in hal without the
      xhc-hb04.tcl script of course.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
72e40a9bf4 moveoff_gui update for joints_axes
Support configs with known kins having KINEMATICS_IDENTITY

moveoff_gui:
   use jnum (joint number throughout)
   align joint number to axis name per rule
         (use proc joint_number_for_axis{})

linuxcnc.in:
   export TRAJ_COORDINATES (inifile: [TRAJ]COORDINATES
   export KINS_KINEMATICS  (inifile: [KINS]KINEMATICS

lib/hallib/util_lib.tcl:
   new proc joint_number_for_axis{}
   return joint number for know kins
   with KINEMATICS_IDENTITY

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ed080132b5 sim configs: use [KINS]KINEMATICS from inifile
in halfiles as: loadrt [KINS]KINEMATICS

Improve consistency and avoid some config errors:
   1) The update_ini script creates [KINS]KINEMATICS,JOINTS items
      so these items are expected in (updated) user configs.
   2) Early adaptions of pncconf and stepconf use these [KINS]
      items as precedent as well.
   3) Guis may require or validate [KINS]JOINTS=n
   4) Guis can check for KINS[KINEMATICS] item in inifile and note
      handle (fail?) for inconsistencies.
   5) Potential conflict of kinematics options for setting kins
      coordinates (like gentrivkins coordinates= parameter) and
      [TRAJ]COORDINATES are isolated to a single ini file instead
      of both the ini file and a halfile.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
171b5c05ed man page compiler warnings try fix
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
53a9df74c7 tklinuxcnc gui: update for joints_axes
Note: tklinuxcnc is seldom used but provides an alternative gui
      to rule out opengl problems

shcom.cc,hh, emcsh.cc: jog functions prototypes use jjogmode (joint/axis)
emclcd.cc,emcrsh.cc:   updated not tested

tklinuxcnc.tcl:
   use jjogmode in jog calls (joint/axis) according to joint/teleop mode
   user for loops over ::MAX_JOINTS instead of hardcoded 0...8
   use inifile [KINS]JOINTS (numjoints)
   use [TRAJ]COORDINATES to support omitted axis letters
       (also: allow "X Z" or "XZ" like initraj.cc does for axis_mask)
   if KINEMATICS_IDENTITY: show axes only
   if KINEMATICS_IDENTITY: no world/joint radiobutton
   popupAxisOffset: enforce teleop mode for popupAxisOffset
   popupAxisOffset: display correct axis letter
   modify some var names for more clarity of joints/axis distinctions

Note: no 'auto switch to teleop' supported (no Home-all button in gui)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
91517bedb9 tklinuxcnc: sim configs update
gentrivkins/xz.ini:      gentrivkins nonsequential axes, KINEMATICS_IDENTIY
gentrivkins/xz_both.ini: gentrivkins nonsequential axes, KINEMATICS_BOTH
ldelta.ini:              non-identity kins testing (copied from axis, mod DISPLAY=)
tripod.ini:              [KINS]KINEMATICS= was wrong (halfile is correct)

also: move sim_ldelta.hal,sim_rdelta.hal to lib/hallib to facilitate sharing
      for multiple sim configs

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f6e968df82 fix some compiler warnings (edit errors)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
17e65b7025 config/core-components.txt missing link
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
af50014364 interp_convert.c:fix logic detecting rotaryindexer
detected by runtests

formerly: a_indexer      was boolean
now     : a_indexer_jnum is the number of the joint
                         (-1 ==> not in use)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
599c0a42ab force jogmode for touchy,gscreen,gmoccapy (JA)
Two keyboard jog modes are available: joint,teleop.

For these guis, force to JOGMODE=1 (joint)
until someone updates gui for JOINTS_AXES.

Note:
  The axis gui (JOINTS_AXES) selects jogmode according to the current
  teleop_mode and always uses teleop mode for configs with
  KINEMATICS_IDENTITY.  For non-identity kinematics, it supports
  switching between joint/teleop modes and uses appropriate JOGMODE for
  keyboard jogging.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
786f37996c sim/configs: cleanup HOME items (joints_axes)
Remove: [AXIS_letter]HOME   (not used, [JOINT_n]HOME is used)
Remove: [TRAJ]HOME          (not used)
modify: scripts/update_ini: don't use [AXIS_letter]HOME

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9f2a23f04c ini-config.txt updates for joints_axes
ini-config.txt      update for joints/axes
core-components.txt update motion joints/axes
                    refer to motion man page instead of
                    listing pins in two places

iniaxis.cc remove unused items:
           [TRAJ]AXES no longer used
           [AXIS_n]HOME

inihal.cc  remove some refs

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c36ab0c1a5 locking indexer:joint homing with gcode locking
Test with axis_9axis.ini (uses locking_indexer for axis B)

For joints_axes, a locking indexer must be a joint for homing
and must be unlockable for G0 gcode moves.  The joint number
to use for an axis cannot be predicted for arbitrary,
non-identity kinematics.

Imlementation:
 1) Use motmod unlock_joints_mask= parameter to create hal pins:
    joint.n.unlock, joint.n.is-locked
    Example:
       [EMCMOT]motmod unlock_joints_mask=0x10 (joint 4)
 3) Specify the joint to use for an axis with inifile item:
       [AXIS_L]LOCKING_INDEXER_JOINT=
    Example:
      [AXIS_A]LOCKING_INDEXER_JOINT = 4 (joint 4)

Note: There must be a one-to-one correspondence between the
      specified joint and the axis (A,B,C)

Also:
     clarify joint/axis notation in numerous function prototypes
     (dont refer to parameter as axis, use jnum etc.)

     Update configs/sim/axis/axis_9axis.ini

     WRAPPED_ROTARY,was: AXIS_3, is: AXIS_A ...

     axis.py: accomodate num_joints >= len(trajcoordinates)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ded5760802 motion.c: new parameter to specify unlock hal pins
Unlock pins:
   joint.N.unlock
   joint.N.is-unlocked
may be needed for locking indexers (typically a rotary joint).

Previously, unlock pins were created based on the convention
for rotary axes (A,B,C).

For joints_axes branch, use a parameter to cause creation
of the unlock pins.

New parameter: unlock_joints_mask=
Example:       loadrt motmod ... unlock_joints_mask=0x38
               for joints 3,4,5

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8e093ded1b pncconf: update for joints_axes
Notes:
  Use gentrivkins with coordinates=  parameter
  Set joint no.s for gentrivkins sequential joint numbering
  For halui-based jogging, use teleop jogging (halui.axis.*)
  For wheel-based jogging, use teleop jogging (axis.*.jog*)

Tested with the axis gui which supports:
  1) machines with KINEMATICS_IDENTITY by hiding details
     about joints/axes from the user:
     a) the axis gui uses teleop for jogging
     b) the axis gui DRO shows xyz always (not 012)
  2) The key binding for toggling joints/teleop ('$') is inactive
     because there is no need to switch

Tested xyz, xz, xyza for loading (after commenting out
hm2 items in halfile)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
e8aefb43fb stepconf: use gentrivkins for supported configs
With gentrivkins, joints are assigned sequentially according
to the coordinates= parameter (man gentrivkins)

Example: loadrt gentrivkins coordinates=xz
Assigns: joint0 --> x, joint1 --> z

This commit adapts hardcoded joint assignments to the
gentrivkins sequential numbering; further simplifications
to take advantage of the sequential joint number assignment
are feasible.

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
dc1c6ac2d1 gentrivkins: add man page
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7695936fae axis.py: fix coordinates for home/unhome display
to allow for missing coordinates
example:  loadrt gentrivkins coordinates=xz
          [TRAJ]COORDINATES = xz
joints will be 0,1

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ce3e3f1680 motion.9 update man page for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74ea62892a axis.py: if KINEMATICS_IDENTITY, label menu items
for homing and unhoming as 'Axis', else label as 'Joint'

to be consistent with axis gui hiding joints/axes details when
kinematics is identity

Note:
  use print formats with named arguments to prevent:
  "warning: 'msgid' format string with unnamed arguments cannot
   be properly localized"

  moved some associated startup code below assignment of s.linuxcnc.stat
  in order to use s.kinematics_type

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b3e933d9ac stepconf: update for joints_axes
Tested with the axis gui which supports:
  1) machines with KINEMATICS_IDENTITY by hiding details
     about joints/axes from the user:
     a) the axis gui uses teleop for jogging
     b) the axis gui DRO shows xyz always (not 012)
  2) The key binding for toggling joints/teleop ('$') is inactive
     because there is no need to switch

Tested xyz case with 'simulated hardware configuration' option.
Observations:
  1) axis gui: 'home all' only homes x but each joint can
     be homed individually (probably expected) ?
  2) keyboard jogging works
  3) mdi works
  4) program runs (after touch-off z)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b767a306a2 tests/halui/jogging: fix pin name for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b4221269b0 ldelta_demo.ini consolidate sim_pin testers
to just two instances.

So, this ini be used to test keyboard, wheel, and halui
jogging in both joint (free) and teleop (world) modes.

A) select teleop mode           (halui.mode.teleop)
   teleop x,y,z, wheel simulate (halui.joint.N.jog-counts,...)
   teleop x,y,z, halui jog cont (halui.joint.N.plus,...)

B) select joint mode            (halui.mode.joint)
   joint  0,1,2, wheel simulate (halui.axis.L.jog-counts,...)
   joint  0,1,2, halui jog cont (halui.axis.L.plus,...)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2aba0b8f56 halui support for axis jogging (world,teleop)
Halui now supports teleop jogging resulting in some
changed pin names and numerous new names for jogging-related
pins.

Two pins were renamed to clarify usage (joint or axis):
      was: halui.jog-speed          is: halui.joint.jog-speed
      was: halui.jog-deadband       is: halui.joint.jog-deadband
The corresponding new pins for axis jogging are:
                                   new: halui.axis.jog-speed
                                   new: halui.axis.jog-deadband

All pins for joint jogging were renamed for specificity:
      was: halui.jog.N.plus         is: halui.joint.N.plus
      was: halui.jog.N.minus        is: halui.joint.N.minus
           ...  etc                     ... etc
    where N is a joint number (0 ... num_noints-1) or 'selected'
    for the joint selected by the halui.joint.N.select pins.

The corresponding new pins for axis jogging are:
                                   new: halui.axis.L.plus
                                   new: halui.axis.L.minus
                                        ... etc
where L is a letter corresponding to one of the axes
specified by [TRAJ]COORDINATES using an axis_mask or 'selected'
for the axis selected by the halui.axis.L.select pins.

Aditional pin renames for consistency to related pins:
  was: halui.joint.selected.is_homed
   is: halui.joint.selected.is-homed

  was: halui.joint.selected.on-soft-limit
   is: halui.joint.selected.on-soft-min-limit

If no axes are specified, make pins for all (mask=0xffff)

While the pin halui.joint.selected value is the number of
the joint selected, the pin halui.axis.selected is the index
of the corresponding axis (0:x 1:y 2:z 3:a 4:b 5:c 6:u 7:v 8:w)
since hal pin values must be numbers not letters.

Fixed bug: at startup,joint0/axis0(X) is used for selected
axis/joint but halui.joint.0.is-selected/halui.axis.x.is-selected
was not set.

Changed int sendJog*()  to static void sendJog*() (return was never tested)

Remove comment section in halui.cc that is redundant to man page

Updated halui man page.

Notes:
 1) No pin has ever been created for accessing the selected
    analog input for joint jogging (e.g.,
    halui.joint.selected.analog), so no corresponding pin
    was created for axis jogging.
 2) axis pins are created for all axes (xyxabcuvw) but
    jogging commands are sent iff the axis_mask applies,
    e.g., [TRAJ]COORDINATES values are enforced.
 2) some prints remain for debugging "...unexpected_n..."

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0db94f7884 motion: make sure jogging planners are disabled
when changing mode teleop - free

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
cd8bc39b07 configs/axis/ldelta_demo new sim config
Based on ldelta.ini (thanks to jepler), adds:
  AUTO_TELEOP  -- switch to teleop after homing

Adds simple popup guis to demonstrate:

wheel JOINT jogging for Joint 0
halui JOINT jogging for Joint 2
wheel AXIS  jogging for X Axis
wheel AXIS  jogging for Y Axis

and a gui using halui to switch modes joint/teleop

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
45997854f5 wheel world jogging
Support Jog wheel teleop jogging (aka world, 'axis')

Creates jog pins for all axes Letters (L= [x,y,z,a,b,c,u,v,w])
(akin to the pins used for joints jogging):
   axis.L.jog-enable
   axis.L.jog-scale
   axis.L.jog-vel-mode
   axis.L.jog-counts
   axis.L.kb-jog-active
   axis.L.wheel-jog-active

For trivkins (kinematicsType == KINEMATICS_IDENTITY), to jog
both joints and axes with same jog wheel, make hal connections like:
        net sig_0_to_x  joint.0.*  axis.z.*
        net sig_1_to_y  joint.1.*  axis.y.*
        ...

For other kins with kinematicsType=KINEMATICS_IDENTITY) (for example,
gentrivkins with no kinstype parameter (or with kinstype=I)), axes letters
may be omitted (nonconsecutive), so connect as:
    net sig_0_to_first_letter    joint.0.*   axis.first_axis_letter.*
    net sig_0_to_second_letter   joint.1.*   axis.second_axis_letter.*
    ...

For the more general case of kins with kinematicsType=KINEMATICS_BOTH (for
example, gentrivkins with kinstype=B), axis letters may not necessarily
have any one-to-one correspondence to joint numbers so axis.L.* jog pins
and joint.N.* jog pins must be connected individually as required.

Examples sim configs:
  configs/sim/axis/gentrivkins/xz.ini           gentrivkins,KINEMATICS_IDENTITY
  configs/sim/axis/gentrivkins/xz_both.ini      gentrivkins,KINEMATICS_BOTH
  configs/sim/axis/gentrivkins/xz_both_auto.ini gentrivkins,KINEMATICS_BOTH,
                                                with auto switch to teleop

Many sim trivkins configs can be tested by changing the HAL specified kins from:
    loadrt trivkins
to
    loadrt gentrivkins                 #for KINEMATICS_IDENTITY)
or
    loadrt gentrivkins kinstype=BOTH   #for KINEMATICS_BOTH

An excellent sim config for testing with non-trivial kinematics is
configs/sim/axis/ldelta.ini (includes a vismach app) (thanks to jepler)

Also: revise halui.cc sendJog*() to use param jjogmode (1:joints,0:axis)
      in anticipation of adding teleop jogging to halui someday

Notes:
  1) motion.c test for creation of '*unlock' pins not right for joints_axes

  2) wheel teleop jogging uses use axis vel_limit, maybe there needs
     to be a pin to adjust velocity.
     (kb jogging makes use of item in message: emcmotCommand->vel)

  3) halui currently supports joint jogging only (no teleop jogging)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Kim Kirwan
d09ca9ba58 dgarr/ja9_updates, gentrivkins: fix minor typo.
Fixed minor typo.

Signed-off-by: Kim Kirwan <Kim@KimKirwan.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74b476caad ja9_updates: xemc.cc vi err
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
7b474e0f1a halui: fix some jogging bugs (adapt ja9_updates)
This fixes some bugs in halui, relating to jogging of the selected axis.
See SF bug #449.

Before this commit, when an axis is jogged using the
"halui.jog.selected.plus" pin (or the ".minus" pin), and then the selected
axis is changed (by sending a rising edge to a "halui.joint.N.select"
pin), then the old joint would keep jogging, and the new joint would
not start jogging.

In addition, if you later drive "halui.jog.selected.plus" (or ".minus")
false, the jogging joint would not stop jogging.

This commit fixes all of these bugs.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
fd985dba5f joints_axes9: joint jogging and axis gui updates
New for testing: configs/sim/axis/gentrivkins/xz*.ini

Summary:

 1) src/emc/nml_intf/
      names changed to reflect Joint jogging:
           was: sendJogIncr(),... is: sendJogJointIncr(),...
      for emcJogCont(),emcJogIncr(),emcJogStop(),emcJogAbs(),
      add jjogmode parameter to indicate jogging type:
          jjogmode == 1 ==> joint jogging
          jjogmode == 0 ==> axis (teleop) jogging
      (Note emcJogAbs() not updated (not used anywhere?)

 2) src/emc/task/
    src/emc/motion/
    support jjogmode parameter to distinguish joint/axis jogging
    ignore wheel jog for teleop

 3) src/emc/usr_intf/halui.cc
    clarify naming for support of joint jog modes
    rename sendJogInc(),... to sendJogJointIncr(),...
    use jjogmode to deterine joints jogging
    note: currently no pins are created nor support
          incorporated for axis (teleop) jogging

 4) src/emc/usr_intf/emclcd,emcrsh,emcsh,shcom,xemc,keystick
    names changed to reflect Joint jogging:
          was: sendJogIncr(),...  is:sendJogJointIncr()
    support jjogmode parameter to distinguish joint/axis joggint
            (not tested)

 3) axis gui: src/emc/usr_intf/axis/extensions/emcmodule.cc
      new constants linuxcnc.MAX_JOINTS,MAX_AXIS
      jog() new parameter jjogmode to distinguish joint/axis jogging

 4) axis gui: src/emc/usr_intf/axis/scripts/axis.py
      use linuxcnc.MAX_JOINTS and linuxcnc.MAX_AXIS
      derive trajcoodinates from s.axis_mask
      set axis.tcl globals from axis.py (::MAX_JOINTS, etc)
      joints_mode() now independent of kinematics_type
      for KINEMATICS_IDENTITY, force teleop for jogging (get_jog_mode())
      for KINEMATICS_IDENTITY, force teleop for touchoff also
      pass jjogmode parameter to jog()
      new functions: ja_from_rbutton(),all_homed(),go_home()
                     set_teleop(), get_jog_mode()
      new convenience functions get_states(),motion_modename(), etc.
      distinguish axes/joints naming several places
        for instance, current_axis (var for radiobuttons for axis/joint
        selection) is now named ja_rbutton
      use ini [TRAJ]COORDINATES for axis indices
      use parm 'no_joint_display' if KINEMATICS_IDENTITY for dro display
      new option [KINS]AUTO_TELEOP to set teleop after homing (with timelimit)
      change some names to clarify joints/axes
         home_all_axes()      --> home_all_joints()
         home_axis()          --> home_joint()
         home_axis_number()   --> home_joint_number()
         unhome_axis_number() --> unhome_joint_number()
         unhome_axis()        --> unhome_joint()
         unhome_all_axes()    --> unhome_all_joints()
         activate_axis()      --> activate_ja_widget()
         activate_axis_or_set_feedrate() -->
              activate_ja_widget_or_set_feedrate()
      different key binding for activate_ja_widget() for axes xyza
      use AXIS_A not AXIS_3 for a_axis_wrapped etc.
      use AXIS_%s not AXIS_%d for finding SCALE
      use linuxcnc.MAX_JOINTS not 9
      probably a few more ...

 5) axis gui: share/axis/tcl/axis.tcl
      rename varname for joints/axes selection radiobuttons (now ja_rbutton)
      for joints: ja_rbutton values are joint _numbers_
      for axes:   ja_rubtton_values are axis  _letters_
      consolidate radiobuttons and grid for joints & axes with for loops
      use constants set from axis.py (remove hardcoded items: STATE_ON,...)
      expand complex if tests to multiple lines for readability
      initialize ::ja_rbutton in joint_mode_switch{}

 6) lib/python/rs274/glcanon.py
     posstrs() add parm 'no_joint_display' for use with IDENTITY kins
     improve location of homeicon for lathe (based on 'Dia')

 7) new dir: configs/sim/axis/gentrivkins with example configs:
      xz.ini           KINEMATICS_IDENTITY
      xz_both.ini      KINEMATICS_BOTH
      xz_both_auto.ini KINEMATICS_BOTH with AUTO_TELEOP after homing
    (these configs use [DISPLAY]LATHE=1 for testing dro display)

 8) lib/hallib/sim_lib.tcl
      compute axis indices for kins used in sim examples (trivkins,gentrivkins)
      handle [KINS]KINEMATICS= with parameters

Notes:
  a) Not changed:
        Currently, only joint jogging available for:
        wheel jog pins (joint.N.jog*)
        halui jog pins (halui.jog.N*, halui.jog.selected.*,halui.jog-*)

  b) Potential problem/nuisance:
     Some kins may use/require coordinates=value
     (Example: loadrt gentrivkins coordinates=xz)
     The kins parameter:       coordinates=value
     must agree with:    [TRAJ]COORDINATES=value

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
2a6d43940b gentrivkins: support other KINEMATICS_TYPEs
default type is unchanged (KINEMATICS_IDENTITY)

parameter kinstype=b|B KINEMATICS_BOTH
                   f|F KINEMATICS_FORWARD_ONLY
                   i|I KINEMATICS_INVERSE_ONLY
                   1   KINEMATICS_IDENTITY     (==default)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
de456b8036 hal: use mask for homed detection(joints_axes)
This (perhaps interim) change allows sim configs for lathes
in gscreen and gmoccapy to execute mdi (without hanging) after homing

Note:
     The lathe sim configs use dummy JOINT_1 with immediate homing

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
1d09559e14 xhc-hb04/README use JOINT_
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8772f8e0f7 attic/unclaimed (new) for unknown config files (ja)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
d0c3c27f61 core_servo,core_stepper use JOINT_ ini settings
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4d1cdd76d8 emccalib: update msg txt for JOINT_
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8490ca3e7d sim/gmoccapy/ use [KINS]JOINTS (not [TRAJ]AXES)
problems:
  gmoccapy_lathe.ini,gmoccapy_lathe_imperial.ini: can't mdi after home
  gmoccapy_4_axis.ini: added dummy JOINT_3,4 but can't mdi after home

  summary: work required on homing status
           in hal_glib.py and elsewere ?

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b4c7df7dfa sim/gscreen use [KINS]JOINTS (not [TRAJ]AXES)
problems: gscreen_lathe.ini,gscreen_custom/industrial_lathe.ini
          homeall: results for  halui.joint.[012]is-homed are true
             but message "not-all-homed" and mdi hangs ?

          summary: work required on homing status
                   in hal_glib.py and elsewere ?

note:
  gscreen_gaxis.ini requires a dir named ~/.themes to start
  tester.ini ?

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c4beeed774 low_graphics/(partial) [KINS]JOINTS(not[TRAJ]AXES)
keystick.ini modified for consistency,
             no changes to keystick.cc (doesn't use [TRAJ]AXES)

xlinuxcnc.ini modified for consistency
              no changes to xemc.cc (uses #define XEMC_NUM_AXES 3)
              is xemc.cc worth the trouble?

mini.ini not modified (mini.cc uses [TRAJ]AXES)

mini.cc doesn't work with tcl8.6:
  Error in startup script: cannot use geometry manager grid inside .top.left
  which already has slaves managed by pack while executing
  "grid $position -row 1 -sticky ew -padx 2 -pady 2"
      (file "/data/git/linuxcnc-dev/tcl/mini.tcl" line 1197)

mini.cc does seemm to work with tcl8.5.8 (on lucid)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
653ce93c3c sim/tklinuxcnc/ use [KINS]JOINTS (not [TRAJ]AXES)
tklinuxcnc.tcl probably needs additional work

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
204d404f8f sim/touchy/ use [KINS]JOINTS (not [TRAJ]AXES)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0e06c92995 sim/pyvcp_demo/ use [KINS]JOINTS (not [TRAJ]AXES)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
944d4d6fda sim/axis configs use [KINS]JOINTS (not [TRAJ]AXES)
misc:
sim/axis/5axis/5axis.ini:  added dummy [JOINT_*] with immediate homing
sim/axis/sim_xyzbc.ini:    use POSITION_FILE = position_sim_xyzbc.txt
                           to support existing ../.gitignore

sim/axis/classicladder/demo_sim_cl.ini: fix homing items
sim/axis/halui_pyvcp/halui.ini:         fix homing items

problems:
sim/axis/vismach/puma/puma.ini: AXIS_n limit problems (homes ok)
                                (puma560.ini works better)
sim/axis/remap/iocontrol-removed/iocontrol-removed.ini: not working (obsolete?)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
3549ae072e sim configs add dummy joint_1 for lathes
needs work on homing: gscreen,gmoccapy lathe configs
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
9639f373eb sim/axis/ngcgui fix helper file names
and remove unused code in axis_resize.py

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
53e8773c2b hallib: use [KINS]JOINTS (not [TRAJ]AXES)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
cc369f63c7 docs: add code notes about joints and axes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
f164856cf1 update_ini: dont get confused by commented-out sections
When looking for [SECTION] headings in the old ini file, only count
the ones that are at the beginning of a line (so it skips commented-out
section headings).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Jeff Epler
bf82a431ff task: get rid of useless count-of-axes
.. from loadTraj down to emcTrajSetAxes.  emcTrajSetAxes now computes
the "right" value for compatibility, so there's no need to pass a
computed value in.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
0632249572 task: remove useless function emcInitGlobals
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
55f8018388 emcglb: remove unneeded inclusion
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
efbb220992 nml: remove emcglb.h from public interface
the header emcmotcfg.h includes the noted definitions.  The other
items were not intended to be part of the public NML interface.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
98c2acca10 task: finish deprecating TrajConfig_t::Axes
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
8bba5b0c16 motion: remove unused variable
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
c982c75c2e teach-in: note a spot that needs attention
ideally the fix would be squashed to this commit.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
124bb7cdf2 general: use deprecated names in locations that have been reviewed
Most of these are initialization and copy, to maintain compatibility
for code that ultimately uses the deprecated value.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
0fc3e5c39e task: deprecate TrajConfig_t::Axes
Users that need to simply copy it to maintain compatibility with another
layer may use the aliased field DeprecatedAxes to avoid a compile-time
warning.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
b8de43b2a0 nml: deprecate the "axes" field
Users that need to simply copy it to maintain compatibility with another
layer may use the aliased field deprecated_axes to avoid a compile-time
warning.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
afd0e44bff task: enable and disable the right number of joints
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
c72c11148a task: correct axes based on axis mask
This number is eventually exposed in the stat buffer, and many UIs
have used it to choose how many axes to display.

The more modern axis mask is preferable, because it allows UIs to correctly
show the right axes when some are missing.  But for better operation of
old UIs (as well as code in task that may incorrectly rely on the value
of Axes), correct the setting so that it includes all axes specified
by the axis mask.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
2541d517af task: update information about all configuread axes
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Jeff Epler
45cd5088a2 axis: soft_limits() must return info about axes, not joints.
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-26 19:08:28 -06:00
Dewey Garrett
82ec8cd31a axis/lathe.ini add [JOINT_1] stanza (joints_axes)
axis/lathe.ini: homing works, homeicons in correct place, mdi & auto work

Notes:
 0) Lathes are commonly configured as XZ machines
 1) The simplest, non-custom, distro-supplied kinematics available is
    trivkins so it has commonly been used for XZ lathes
 2) trivkins  kinematicsInverse() is hardcoded:
      joints[0] = pos->tran.x;
      joints[1] = pos->tran.y;
      joints[2] = pos->tran.z;
 3) To use trivkins (using XZ only), add dummy stanza for [JOINT_1]
    making it home immediately.
    ref: src/config/ini-homing.txt: Immediate Homing
    [JOINT_1]
    HOME_SEARCH_VEL = 0
    HOME_LATCH_VEL  = 0
    HOME_USE_INDEX  = NO
    HOME_SEQUENCE   = 0
    also specify 3 joints:
    [KINS]
    JOINTS = 3
 4) Common sim hal files (namely core_sim.hal, simulated_home.hal)
    assume 3 axes so use:
    [TRAJ]
    AXES = 3
    COORDINATES = X Z

Asides:
  a) An XZ kinematics would be simpler but it is (and has been
     in the past) convenient to use existing trivkins
     and existing halfiles for sims.
  b) The setting [TRAJ]NO_FORCE_HOMING=1 can be used to
     eliminate the need for the [JOINT_1] stanza.
     (The XZ coordinates can still be homed)
  c) In prior, non-joints_axes branch (e.g. 2.7), a mask is used
     so that homing is enforced only for coordinates in
     use.  A similar feature could probably be applied in
     joints_axes (but not by me)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
98364a8fe7 axis.py no show masked joints (joints_axes)
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
aec0cf44a6 glcanon.py(joints_axes) fix lathe homeicon display
with configs/sim/axis/lathe.ini
was:
    homeicon was appearing in Vel: position
    homeicon would appear (at Z: position) when homing nonused joint1

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
0dc62fde76 axis/ cleanups for joints_axes
configs that were previously created for joints_axes:
  sim_xyzbc
  gantry_mm
1) move to configs/axis/ dir for consistency with inis with DISPLAY=axis
2) set VERSION = 1.0 for consistency with converted ini files for joints_axes

other:
  in sim_xyzbc.ini, use POSITION_FILE = pos_sim_xyzbc.txt
  since the former name (sim_xyzbc.txt) is expected to be a documenting
  file by the pickconfig.tcl

  cleanup autoconvert text in axis/lathe.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
39fc42e374 gmoccapy/ updates for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
f261de7462 gscreen/ update configs for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
c9fbac7763 touchy/ update configs for joints_axes
already done:
 touchy/touchy.ini (set VERSION = 1.0 for consistency)

modified:
 touchy/gladevcp/touchy.ini
 touchy/gladevcp/gladevcp_touchy.ini
 touchy/ngcgui/pyngcgui_touchy.ini
 touchy/ngcgui/pyngcgui_touchy_lathe.ini
 touchy/ngcgui/pyngcgui_touchy_gcmc.ini
 touchy/ngcgui/pyngcgui_touchy_moveoff.ini

Note: a fix for a regression in pyngcgui, gremlin_view is pending

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
58d0fb402a pyvcp_demo/ update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
b5b2f43e89 tklinuxcnc/ update configs for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
74e30507df low_graphics/ update for joints_axes
already modified:
  keystick.ini  (update VERSION for consistency)
  xlinuxcnc.ini (update VERSION for consistency, add KINENMATICS=trivkins)

updated:
  mini.ini -- updated mini.tcl for AXIS_ --> JOINT_

  but mini.ini is not runnable due to a regression in mini.tcl:

mini.tcl is not working on debian jessie (not joints_axes):
  Error in startup script: cannot use geometry manager grid inside .top.left
        which already has slaves managed by pack

  while executing "grid $position -row 1 -sticky ew -padx 2 -pady 2"
  (file "/data/git/linuxcnc-dev/tcl/mini.tcl" line 1204)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
81d8eb8677 lib/hallib/sim_lib.tcl: enforce reqmt for joints_axes
for [KINS]KINEMATICS -- detect early and fail if missing

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
597372a8d6 axis/ngcgui configs update for joints_axes
Note:
  pyngcgui*.ini are updated for joints_axes but need a fix for a
                regression related to pgrep in package:procps)
                (change options -lf and -a)
                not fixed yet (but not part of these configs)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
5d63d7213f axis/spindle_orient update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8c72fa222c axis/remap configs update for joints_axes
Notes:
  axis/remap/iocontrol-removed notworking before, is probably obsolete
  axis/orphans/                not updated, obsolete

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
54a7e29b9b axis/vismach sim configs update for joints_axes
configs already compliant, set VERSION = 1.0 for consistency:
  axis/vismach/puma/puma560.ini
  axis/vismach/scara/scara.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
76a8a77b6f axis/ sim subdirs update for joints_axes(partial)
done:
  axis/lathe-fanucy/*.ini
  axis/classicladder/*.ini
  axis/gladevcp/*.ini
  axis/halui_pyvcp/*.ini
  axis/twopass/*.ini
  axis/iocontrolv2/*.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
7d60dc3279 axis/lathe.ini update for joints_axes
force limit, homed to be lists

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
8d42bdd21a axis/axis/ sim configs update for joints_axes
already done:
  axis.ini        (no change herein, already VERSION = 1.0)
  axis_9axis.ini  (set to VERSION = 1.0 only)

this commit updates for joints_axes (and sets VERSION = 1.0)
  axis_mm.ini
  ini_hal_demo.ini
  histogram_demo.ini
  axis_foam.ini
  acc_test.ini
  canterp.ini   problem: popup Near line 0 f /.../axis.ngc: ERROR 5
  medium.ini
  profile_axis.ini
  random_tc.ini
  gantry.ini

already KINS
  ldelta.ini  (set VERSIION = 1.0 for consistency)
  rdelta.ini  (set VERSIION = 1.0 for consistency)

notdone:
  lathe.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
4845cec8a1 axis/moveoff/ configs update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
749af34e7b axis/simtcl/ configs: update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
ddcc7c9a57 axis/ini_with_includes/: update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Dewey Garrett
41965d4ccc axis/xhc-hb04 configs update for joints_axes
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
d64f43d62e update_ini: preserve leading comments correctly
And if the file begins with a [section], don't accidentally think it's
a comment.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
73536f16c9 update_ini: when adding comments to the ini file, begin with "#"
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
ed7274d5a8 update_ini: find sections even at the very top of the file
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 19:08:28 -06:00
Chris Radek
02cb5620bf re-add isfinite, needed for rtai on lucid
Signed-off-by: Chris Radek <chris@timeguy.com>
2016-06-26 19:08:28 -06:00
Chris Radek
5477dee157 Remove unneeded gcc version check, like fdb2d64
Signed-off-by: Chris Radek <chris@timeguy.com>
2016-06-26 19:08:28 -06:00
Chris Radek
33f8aa19ef This one has been hand-converted 2016-06-26 19:08:28 -06:00
Chris Radek
3dec14e8bd Make the splash screen run by default, ja-style 2016-06-26 19:08:28 -06:00
sam sokolik
f2f0fb48ff Added axis.N.unlock and axis.N.is-unlocked to autoconversion script 2016-06-26 19:08:28 -06:00
Chris Radek
97f88606db These were manually converted; avoid the autoconvert which requires $DISPLAY 2016-06-26 19:08:28 -06:00
andypugh
71cbf2b74e Arrange for the linuxcnc launch script to prompt to auto-convert non JA configs
Also includes a number of bug fixes:
Ignores missing values rather than putting "None" in the INI
Works from anywhere in the tree, not just the config directory
Fixes a {} [] confusion.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Andy Pugh
39913556d4 Add dialog and force options to the update_ini script to make it more suited
to scripted use.
force (-f) means that it performs the best-guess behaviur with no prompting
dialog (-d) gives a user some information about what is going to happen, and
the option to opt out.
The script also now makes a complete backup of the config.
in -f mode this is deleted after successful completion
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
8d72a924cf puma560: make the config load under ja 2016-06-26 19:08:28 -06:00
Andy Pugh
9c195e10f3 Add a script to convert configurations to the joints_axes format.
The script brings back the [EMC]VERSION flag, and this particular iteration
is allocated the tag VERSION = 1.0.
Some limited thought has been given to future extensibility.
usage update_ini myconfig.ini
It shuffles the INI file sections to suit the new format, and also changes
the HAL pin names where necessary.

Signed-off-by: Andy Pugh <andy@bodgesoc.org>
2016-06-26 19:08:28 -06:00
Jeff Epler
b3ecd6e8ca Fix pin_new already-initialized errors
.. by indexing with num_joints instead of num_axes as needed
2016-06-26 19:08:28 -06:00
Chris Radek
f92a90a664 Fix the ini and hal files in the subroutine-return test 2016-06-26 19:08:28 -06:00
Chris Radek
a8a350cb38 Install simple_tp.h to fix header-sanity test 2016-06-26 19:08:28 -06:00
Chris Radek
6b0715da49 Fix axis limits 2016-06-26 19:08:28 -06:00
Chris Radek
f9f1ad0c2a rdelta: set more appropriate axis jog speed limit 2016-06-26 19:08:28 -06:00
Chris Radek
0270947df7 Fix: teleop jog speed uncontrollable from gui
4.7. in Todo-2.6 says: test jog speed - Tomaz T reports on emc-users 2013-10-10
or so that ja3 jogging speed is not controllable

This was my screwup while fixing another bug where the jog speed was not
limited to the AXIS maximum; this change does both by capping the jog speed
request.
2016-06-26 19:08:28 -06:00
Jeff Epler
b69222f2d5 rtapi_math: fix isfinite implementation for pre-4.4 gcc 2016-06-26 19:08:28 -06:00
Jeff Epler
12981c4134 sample-configs: sim linear delta configuration 2016-06-26 19:08:28 -06:00
Jeff Epler
4faa84ae3b vismach: Linear delta visualization 2016-06-26 19:08:28 -06:00
Jeff Epler
57082538ca kins: Implement linear delta kinematics 2016-06-26 19:08:28 -06:00
Jeff Epler
4b8995385c motion: check for kinematicsInverse failures
.. and NaN and inf returns of joint positions from kinematicsInverse
2016-06-26 19:08:28 -06:00
Jeff Epler
6f9ae3cf86 motion: treat a point as out of range when it it is not finite
(not finite includes not only points at infinity, but also points
which are NaNs.  The existing comparisons were enough to weed out
infinities)
2016-06-26 19:08:28 -06:00
Jeff Epler
fbc6cd8225 rtapi_math: ensure that isfinite() is available
.. we want it when checking joint positions for sanity
2016-06-26 19:08:28 -06:00
Jeff Epler
25db1fdd66 vismach: Fix HalToolCylinder
.. and other subclasses of CoordsBase which do not have any constructor
arguments.
2016-06-26 19:08:28 -06:00
Chris Radek
afe7bf0a89 Teleop jogs: obey axis velocity limit
I don't know why this was commented out.  It works correctly.
2016-06-26 19:08:28 -06:00
Chris Radek
c7cfd7fec5 Remove lying comments and unused code 2016-06-26 19:08:28 -06:00
Chris Radek
2f14b3de04 For testing, make these all different 2016-06-26 19:08:28 -06:00
Chris Radek
6ed53250b3 fix teleop of uvw 2016-06-26 19:08:28 -06:00
Chris Radek
ea057c6584 add abcuvw to my config for testing 2016-06-26 19:08:28 -06:00
Chris Radek
ceb3e18650 After homing, be inside the world volume 2016-06-26 19:08:28 -06:00
Chris Radek
a8db9fe649 Add gearboxes 2016-06-26 19:08:28 -06:00
Chris Radek
8a5db4f29f This gives a nice 8x8x8 work volume 2016-06-26 19:08:28 -06:00
Chris Radek
917e79c3f9 Hexagonal foot 2016-06-26 19:08:28 -06:00
Chris Radek
b17d07ccbf Fixup ini and units, standardize on inches 2016-06-26 19:08:28 -06:00
Chris Radek
e0e0ac3a2b rdelta config cleanup 2016-06-26 19:08:28 -06:00
Jeff Epler
e71d5e3a06 rotarydelta visualization 2016-06-26 19:08:28 -06:00
Chris Radek
214eb8c247 rotarydelta config with simulation 2016-06-26 19:08:28 -06:00
Chris Radek
8308ef4b32 Rotary delta kinematics 2016-06-26 19:08:28 -06:00
Jeff Epler
7b91409830 vismach: make it possible to use HAL pins in any CoordsBase
so that for instance this cylinder will have its
length set by c['tl']:
    CylinderX(c, 0, 5, 'tl', 5)
2016-06-26 19:08:28 -06:00
Chris Radek
d92600ee62 Fix axis.X.vel_cmd pins in coordinated mode
These pins existed but had no output.
2016-06-26 19:08:28 -06:00
Chris Radek
d7044e8191 Show correct world constraints in AXIS 2016-06-26 19:08:28 -06:00
Chris Radek
73236bff76 Verify that endpoints are within the world volume
Previously inRange() checked that endpoints corresponded to valid joint
positions, but did not check the world constraints.
2016-06-26 19:08:28 -06:00
Jeff Epler
8e9a1fe95b motion: make joint.#.homing an output pin as it should be
This was incorrectly changed back at
	a440d16 Add new teleop jogging code
but went unnoticed until now
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
f4984f72b9 motion: temporary fix for bad velocity in teleop jogging
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
1a16e4bb0d tests: update ini files for ja3
The [AXIS_<number>] sections are split up into [AXIS_<name>] and
[JOINT_<number], and a [KINS] section is added.
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
c486d8a6e6 Update runtests after merge
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
b86a485193 gentrivkins: remove hardcoded number of joints and use proper #define instead (bug noticed by Andy Pugh)
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
b9123d537f add patch to axis.py from a dropped merge
Commit 0662094ae97f32b2201b437e4c6d32e8f694bb3a merges master into
joints_axes3.  That merge commit (and all other merges) was dropped
during the rebase of joints_axes3 to joints_axes4.

That merge commit in ja3 also introduces the unrelated change contained
in this commit; this commit was added to ja4 (in the same place as
the 0662094ae merge, relative to the other commits in the branch) to
introduce the new patch introduced during the merge.
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
59f0b7a73e configs: update sim/axis_mm config to run properly in ja3
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
d739a94741 Add axes teleop velocities to motion status to be used by gui
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
d9a4751da0 task: remove obsolete limits tests from interpreter list readahead
this will allow running programs in configurations with different position limits in joints/axes

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
e4d8561584 motion: Reset teleop mode interpolators after disabling during move by estop or other error.
This avoid very dangerous move to last calculated position of interpolators after later enabling.

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
0db84d971f halui: create proper joints pins count according to ini file
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
090f0911d5 Rename HOME_VEL to HOME_FINAL_VEL ini file entry
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
c9edfc6db2 touchy: update sim configuration to work in ja3
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Stephen Wille Padnos
28eb183720 Add "unrotate" parameter for each joint
This parameter is used to accomodate serial joints which do
not rotate with the previous joint.  This type of linkage is
common in some robot types (notably silicon wafer handlers).

In general, the parameter will be 0 (no compensation), 1 (add
prior joint position), or -1 (sibtract prior joint position).
It is possible to set it to any integer value, and other values may
make sense (if there is gearing, for example)
2016-06-26 19:08:28 -06:00
Chris Radek
d3475a9bc1 make jogs have the right accel and velocity 2016-06-26 19:08:28 -06:00
Chris Radek
2dc1dd8cab fix jog speed slider 2016-06-26 19:08:28 -06:00
Chris Radek
6a08e149db fix typo in index-enable pin name 2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
de7e2d4aaa this is bit not float pin
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
b1e4fbc13c This pin was skipped during motion code reorganisation
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
e752a3f9d4 Rename coord mode trajectory planner structure according to new naming convention 2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
bce1426d75 Remove motion debug structure fields used to debug TP before HAL was introduced
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
1c586c3802 Add incremental teleop jog
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>

Conflicts:
	share/axis/tcl/axis.tcl
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
f3ad6740e8 Fix halui to look for new sections names in inifile
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
c493ccfd45 Fix position errors when switching teleop<->free mode
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
5da7466cd4 More cleanup of scara config
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
241d98c1e8 Make CATCH_NAN macro more correct
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Alex Joni
842b3be441 make scara config at least start up 2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
d85878f4b8 Add sim gantry config for testing
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
11783a8089 Add new teleop jogging code
new thing is that there are now soft limits for teleop jogging
(for now definable in inifile)

at task level commands are unified for free and teleop jogging
at motion level they are handled regard of current mode
Axis modifications to make use unified jogging commands

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
e1092f3002 Remove leavings of changelogs in motion source
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
39cfa2ccb4 Fix few comments in motion command handler
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
69e00c8293 Move some global varables to emcmotConfig structure 2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
72360381b6 Remove old teleoperating code from motion
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
1adc33f11c Cleanup of motion code to prepare for deeper modifications
- remove dead code
- fixed comments
- slight reorganisation of source code
- remove unused variables
- convert unnessesary global varables to local

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
cad8d03ee7 Convert NAN catching code to global macro
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
f0e10a37ae Make emccalib tool works with new inifile organisation
Change variables names from axis* to joint*
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
20dc98c255 Change function name to set joint type for clarity
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
70e4f472a6 Remove unused obsolete varables
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
215da72061 Avoid flood of messages when exceed soft limit
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
bd4f106bad Improve soft limit checks to report which joint and limit they are exceeded
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
42224a3b3a Fix preloading free tp on coord->free switch to avoid ferror
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
b6cd7aa5a8 Avois small joint move when enabling motion
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
f2a000f16e Fix preloading free mode planner to avoid ferror on enabling
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
5db9c67539 Rename motion commands names for joints, for clarity and consistency
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
97b8d08882 Use existing joint velocity pin for free tp
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
320a1c3d8e Remove the need to define axes count in inifile
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
bf8c2eade3 Execute free mode planner calculation only when joint is active, some small cleanup
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
9dc735754f Add joint free planner current velocity HAL pin
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
931a4513ca Fix bug that override limits is grayed out when machine is on limit
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
990f7552c0 Make override limits working in Axis
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
b208d81804 Fix bug that all homing moves was at max joint velocity instead of defined in inifile
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
d57c605704 emctop: show only position of existing axes
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
e651c83b1b * Add gentrivkins kinematics
- trivial kinematics
- existing axes can be added as a load time params
- available ony m->n (m = n) mapping of axes to joints
- with no params this is simple trivkins functionality

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
cacb6f9def Fix joints/axes home and limit icons in trivkins and nontrivkins in Axis preview
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
0ed0f5191d emctop: display proper counts of joint positions and home/limit flags
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
f366c87d5b Use joints count not axes
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
4c84756274 get proper joints count and fix Machine->Homing and Unhoming menu
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
e1ce967ef2 Read proper homed joints values in Axis preview
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
8a3f814e6f Add XYZBC sim configuration for testing
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
416f20ebef Make AxisConfig structure locally in taskintf.cc
Create functions to get/set fields currently used in iniaxis and canon
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
18cc63e409 Make global TrajConfig now locally in taskintf.cc
Make sure that JointConfig array are also locally here
Remove unused TrajConfig.DefaultVel variable

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
cde0f8d38b Remove setting up emc global TRAJ variables from xemc and keystick
This part is now done in initraj
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
79e35503f1 Change sim keystick and xemc configs to run
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
ff7b070907 Create global structure for TRAJ config values
This and others created structures is preparation to create some interfaces for those data

Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
34bda02277 Remove redefines of EMCMOT_MAX_DIO and EMCMOT_MAX_AIO
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
cfcbae6fe4 Update info only for existing joints
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
018aede2c7 Change globals canon variables into one struct CanonConfig_t
Also include the new canon_position.hh, which is now needed here.
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
26f15bd3c1 Remove joints data dictionary from main window
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
57e132514d Checking homed joints only when they exists
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
6bdecf1b3c Use Axis inited flag in new AxisConfig
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Michael Geszkiewicz
2d9bbba772 Move Axes home position globals to new AxisConfig structure
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2016-06-26 19:08:28 -06:00
Alex Joni
0f0d50adfd early Joints/Axes work
This starts the Joints/Axes branch.  Squashed work by:

    Alex Joni
    Chris Radek
    John Kasunich
    Michael Geszkiewicz
2016-06-26 19:08:28 -06:00
Sebastian Kuzminsky
928b7f266d Merge remote-tracking branch 'origin/2.7' 2016-06-26 18:55:29 -06:00
Sebastian Kuzminsky
8e88428de6 interp/compile test: update expected
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 12:37:36 -06:00
Sebastian Kuzminsky
f115cbdc5c docs: fix asciidoc markup in Updating LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-26 11:05:14 -06:00
Jeff Epler
fe7b155c03 use-rs274: test that NURBS can be used
IRC user ickalB reported that his program encountered problems
due to a missing implementation of knot_vector_creator.  I am
unable to reproduce his report.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-24 21:19:12 -05:00
Jeff Epler
5e5ae81bfa use-rs274: must initialize variable file name
side effect of not doing so: files with random names
created each run

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-24 21:19:12 -05:00
Jeff Epler
2d68a6606c tests: Get runtime linker errors early
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-24 21:19:12 -05:00
Sebastian Kuzminsky
7a8021ecc8 Merge remote-tracking branch 'origin/2.7' 2016-06-24 19:03:58 -06:00
andypugh
04b9abd46a carousel.comp: Make homing a bit more intuitive
If the carousel was jogged before being homed and with no tool selected
the component never knew when to stop.
So now it stops when it is homed, then maybe re-starts next time.

Signed-off-by: andypugh <andy@bodgesoc.org>
2016-06-22 22:31:16 +01:00
Jeff Epler
52bbeaaef8 uspace: fix locking of shared memory segments
I misread the shmctl manpage, and tried to use shmctl IPC_SET
with the SHM_LOCK bit set in shm_perm.mode.  Instead,
the right way to do this is shmctl SHM_LOCK, and then check
for the SHM_LOCK bit.

Only do this in rtapi_app when rtapi_is_realtime(), because
it doesn't matter if a segment can't be locked by a non-
realtime process.  This also prevents needing to raise the
locked memory limit, because rtapi_app has used its root
powers to raise RLIMIT_MEMLOCK.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-21 21:16:25 -05:00
Jeff Epler
2faa909743 uspace: check if rtapi_app is setuid for rtapi_is_realtime
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-21 21:16:25 -05:00
Jeff Epler
5753cf9c3c uspace: remove unneeded forward declaration
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-21 21:16:25 -05:00
Jeff Epler
ad8dcb0880 uspace: Return RTAPI delay to 10us
.. it was intended to only raise the ULAPI ("non-realtime")
limit to 1s-1ns

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-21 21:16:24 -05:00
Jeff Epler
823f34cfdc gitignore: don't propose to add 'hallib' in configs/
This is a symlink created by pickconfig, and it causes problems if
it is committed in git.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-21 21:16:24 -05:00
Sebastian Kuzminsky
85ec56da6d docs: add a document describing how to build LinuxCNC
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-21 18:53:26 -06:00
Sebastian Kuzminsky
9472866a2d fix a parallel build problem with pyui
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-20 20:10:54 -06:00
Jeff Epler
a2b72442eb stepconf: Always write postgui_call_list.hal
I created a sim configuration with all defaults, but it didn't run because
postgui_call_list.hal didn't exist.  It appears this would have affected any
configuration that didn't set the pyvcp option.

It doesn't appear critical for the condition to match the one under which
lines that *do things* are written to pyvcp_options.hal, because that file
is created unconditionally just below the context of this change.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-20 20:57:13 -05:00
Jeff Epler
68d7d8679e Merge remote-tracking branch 'origin/jepler/master/nicokid-stepconf'
Closes #33
Closes #71
2016-06-20 20:51:18 -05:00
Jeff Epler
191042211c Merge branch 'jepler/for-master/pippin88'
Closes #77
Closes #78
Closes #79
2016-06-20 20:38:33 -05:00
Sebastian Kuzminsky
f4cdfa1ed7 Merge remote-tracking branch 'origin/2.7' 2016-06-20 15:06:16 -06:00
Jeff Epler
19aaa6f752 hal: export hal_stream_writable
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-20 07:48:13 -05:00
Jeff Epler
086abd9095 sampler: fix indentation, remove redundant comments
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-20 07:09:11 -05:00
Rushabh Loladia
53cde63260 sampler: Update fifo-depth and fifo-full even if sampler (RTAPI) is not-enabled.
Currently this pins do not provide live/actual values of fifo.
If halsampler (ULAPI) is reading fifo after sampler is disabled then fifo-depth is altered which is not updated on this pin; Similarly if fifo was full before diabling it and then halsampler emptied it, still sampler will show that fifo is full.

Signed-off-by: Rushabh Loladia <rushabh.loladia@gmail.com>
2016-06-20 17:09:22 +05:30
Sebastian Kuzminsky
9130e35efd docs: note shuttle driver rename in "updating your config"
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-19 15:50:09 -06:00
Sebastian Kuzminsky
074b0b632b shuttle: add support for ShuttlePRO
This commit adds support for the Contour Devices ShuttlePro.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-19 15:45:55 -06:00
Sebastian Kuzminsky
22d853acb7 shuttle: more internal refactoring
This commit makes it easier for the hardware device template to specify
the number of buttons.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-19 15:45:31 -06:00
Sebastian Kuzminsky
149d253bd9 shuttle: make the driver structure more flexible
This is a refactor of the shuttle driver guts, to make it easier to
add support for other devices with similar interfaces and protocols
(coming in the following commits).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-19 15:42:40 -06:00
Sebastian Kuzminsky
ba077f564c rename "shuttlexpress" driver to "shuttle"
This is in preparation for adding support for other Shuttle* devices by
Contour Design.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-19 15:41:59 -06:00
Edward Tomasz Napierala
bb257df700 Fix includes for FreeBSD.
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 15:14:18 -05:00
Jeff Epler
4a6fe390c8 WIP get rid of use of nonportable alloca
.. by using C99 variable-length-arrays instead

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:55:22 -05:00
Jeff Epler
4f778f1579 uspace: introduce, use rtapi_clock_nanosleep
.. which attempts to emulate clock_nanosleep on platforms that
don't have it (i.e., freebsd).

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:50:50 -05:00
Jeff Epler
e8179c251c hal: Use rtapi_delay in stream wait ops
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:50:50 -05:00
Jeff Epler
c2c9d7d393 rtapi: add rtapi_delay{,_max} to ULAPI
and increase the max delay to 999,999,999ns (1 second minus 1ns),
which is the biggest value that can be trivially supported via
clock_nanosleep without extra arithmetic.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:50:50 -05:00
Jeff Epler
7ff5d44f89 rtapi_delay: respect rtapi_delay_max, per documentation
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:50:50 -05:00
Jeff Epler
ca2521cae6 configure: check if clock_nanosleep is available
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-19 14:50:49 -05:00
pippin88
227a2d10be Correct typos and update tooltips in gmoccapy
Signed-off-by: Nick Whitehead <pippin88@imagineant.com>
2016-06-19 12:35:58 -05:00
pippin88
0525015b90 corrected typos
Signed-off-by: Nick Whitehead <pippin88@imagineant.com>
2016-06-19 12:35:56 -05:00
pippin88
84448f7d75 corrected typo
Signed-off-by: Nick Whitehead <pippin88@imagineant.com>
2016-06-19 12:35:51 -05:00
Jeff Epler
e7804e88dc configure: check whether dlopen needs -ldl
Reportedly, freebsd(11) has dlopen in libc, and there is no libdl, so
-ldl is a compile-time error.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
Tested-by: Edward Tomasz Napierała <trasz@FreeBSD.org>
2016-06-19 08:12:42 -05:00
Jeff Epler
f6952d2298 tests: test for the getopt reset bug
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-18 15:10:07 -05:00
Jeff Epler
d9b80fc503 halcmd: Unportably reset getopt state
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-18 15:10:07 -05:00
Jeff Epler
edfcb03f71 Merge remote-tracking branch 'origin/2.7' 2016-06-17 10:47:50 -05:00
Sebastian Kuzminsky
9509874c5a Merge remote-tracking branch 'origin/2.7'
Conflicts:
	src/emc/rs274ngc/interp_convert.cc
2016-06-16 15:59:42 -06:00
Nicola Quargentan
0b3ec8cfd2 custom_postgui.hal will not be overwritten
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:14 -05:00
Nicola Quargentan
a3a3037e4c Update again option.glade
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:12 -05:00
Nicola Quargentan
9a5cd32558 Update again option.glade
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:10 -05:00
Nicola Quargentan
f36c2b5c19 Update start.glade
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:08 -05:00
Nicola Quargentan
a6b1eab49b Update pages.py to correct typo
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:05 -05:00
Nicola Quargentan
a75419a0f6 Update options.glade
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:03 -05:00
Nicola Quargentan
c35d60d222 Move halui page from gtk 3.12 to 3.2
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:38:01 -05:00
Nicola Quargentan
b5e0adbddf Add halui page tab
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:37:58 -05:00
Nicola Quargentan
fdb4f520a7 Add label when append_page on notebook1
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:37:56 -05:00
Nicola Quargentan
2e1d70391b Create multifilebuilder_gtk3.py
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:37:52 -05:00
Nicola Quargentan
ac6f6c7dac Remove unused button
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:37:45 -05:00
Nicola Quargentan
be1995ea41 Remove some comments
Signed-off-by: Nicola Quargentan <nicola@quargentan.com>
2016-06-15 06:37:34 -05:00
Edward Tomasz Napierala
236fee99de Don't use nested functions. They don't work with clang.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:58 -05:00
Edward Tomasz Napierala
642955de28 Improve debugging: warn about errors during shmem removal.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:52 -05:00
Edward Tomasz Napierala
f76a39cb3e Avoid get_current_dir_name().
The get_current_dir_name() is a nonportable GNU extension.
Use getcwd(NULL, 0) instead; it's nonstandard too, but it's
widely supported.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:49 -05:00
Edward Tomasz Napierala
8033574151 Fix two regression tests to work under FreeBSD.
This adapts them to a different spelling of FreeBSD error messages.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:45 -05:00
Edward Tomasz Napierala
17b4eaf570 In FreeBSD, python lives in /usr/local/bin/, not /usr/bin/.
Use the usual env(1) trick to make things work.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:42 -05:00
Edward Tomasz Napierala
56ac6bb8d0 Make setuid detection work under FreeBSD.
FreeBSD version of stat(1) doesn't support -c.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:01:37 -05:00
Edward Tomasz Napierala
a143bd96df Fix byteorder detection under FreeBSD.
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-14 16:00:26 -05:00
Jeff Epler
9e477cae2d rs274ngc: get rid of setup_struct and typedef
typedefs like these don't seem to be idiomatic C++ code (since 'class T'
makes it possible to delcare 'T t', the typedef is redundant), and a
later definition of the destructor as
    setup::~setup() { ... }
caused errors in clang and doesn't seem to be standards-compliant.

Reported-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-14 09:02:28 -05:00
Jeff Epler
5a81a49a4f Merge remote-tracking branch 'origin/sleepybishop-max31855' 2016-06-13 09:07:07 -05:00
Jeff Epler
3934097760 libnml: Create shm segment with owner-only permissions
It turns out that shmctl IPC_CREAT does not apply umask to the provided
mode.  Since there's no easy way to access the current umask, apply
owner-only permissions.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-13 09:06:20 -05:00
Jeff Epler
7c0c274d93 uspace: delete the "uuid"(sic) shared memory at exit
Reported-By: Edward Tomasz Napierala <trasz@FreeBSD.org>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-13 08:14:11 -05:00
Jeff Epler
48bd31b205 uspace: Create shm segment with owner-only permissions
It turns out that shmctl IPC_CREAT does not apply umask to the provided
mode.  Since there's no easy way to access the current umask, apply
owner-only permissions.

Reported-By: Edward Tomasz Napierala <trasz@FreeBSD.org>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-13 08:06:11 -05:00
Sebastian Kuzminsky
75c2329b7b tests/realtime-math: test for exp() and nan()
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-12 21:38:22 -06:00
Jeff Epler
778109501d rtapi_math: provide declaration for c99-compatible exp()
.. whether a component using this will load depends whether the rtai
implementation actually provides exp() or not.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-12 20:41:08 -05:00
Jeff Epler
25b3527705 max31855: use C99-compatible nan("")
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-12 16:00:36 -05:00
Jeff Epler
086643bb80 rtapi_math: provide C99-compatible nan definition in kernelspace
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-12 16:00:36 -05:00
Sebastian Kuzminsky
11f7e7bb62 move the new max31855 comp to hal/components
This makes it build on both rtai and uspace.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-06-12 15:58:48 -05:00
joseph calderon
f14a83cd45 add bitbang spi driver for the max31855 thermocouple to digital converter
Signed-off-by: joseph calderon <calderon.joe@gmail.com>
2016-06-12 15:58:48 -05:00
Edward Tomasz Napierala
59ed979ec1 Add GNU-specific libm #defines, take two.
This fixes build on FreeBSD, which doesn't define them in <math.h>.
Those were taken from glibc.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-12 14:11:10 -05:00
Jeff Epler
98fab3a0df xemc: fix DBL_MAX compile errors
The C99 standard says that the header <float.h> provides DBL_MAX.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-06-11 10:52:10 -05:00
Edward Tomasz Napierala
e7be16c98f Tweak includes to make things build on FreeBSD.
Note that I hadn't actually tested this on Linux.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-11 09:38:27 -05:00
Edward Tomasz Napierala
e32c296bd6 Avoid using SA_ONESHOT to fix build on FreeBSD.
Seems like SA_ONESHOT is just an obsolete name for SA_RESETHAND.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-11 09:35:40 -05:00
Edward Tomasz Napierala
2f55c0adc8 Fix build with clang.
Without it, it fails with:

emc/rs274ngc/interp_internal.cc:76:44: error: cast from pointer to smaller type 'char' loses information
    for (n = 0, m = 0; (item = line[m]) != (char) NULL; m++) {
                                           ^~~~~~~~~~~
Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-11 09:35:40 -05:00
Edward Tomasz Napierala
0ff7df36db Use getopt(3) in a way that's compatible with FreeBSD.
Without this patch loading modules fail due to accessing
uninitialized memory, like this:

halcmd: loadrt meh
<stdin>:1: module 'meh' not loaded
<stdin>:1: execv(...): No such file or directory

Thanks to Jeff Epler for figuring out the right fix.

Signed-off-by: Edward Tomasz Napierala <trasz@FreeBSD.org>
2016-06-11 09:35:40 -05:00
Sebastian Kuzminsky
f99bdad762 Merge remote-tracking branch 'origin/2.7' 2016-06-08 11:21:31 -06:00
Moses McKnight
5cdaa52a45 Merge branch '2.7' 2016-05-31 15:35:06 -05:00
Norbert Schechner
28370b8aa2 GladeVCP - gremlin - corrected mouse button 6 behavior
- Checking the file for lathe behavior, I changed the intended
  handling of button 6 mode


Signed-off-by: Norbert Schechner <nieson@web.de>
2016-05-31 16:32:07 +02:00
Norbert Schechner
21d545edd9 Merge branch '2.7' 2016-05-27 12:27:53 +02:00
Norbert Schechner
657ba39d2d GladeVCP - tooledit widget - bug in reload if decimal separator not dot
It is correct in 2.6 and 2.7, but in master this line changed
like a miracle.

corrected that.


Signed-off-by: Norbert Schechner <nieson@web.de>
2016-05-25 16:13:14 +02:00
Norbert Schechner
17ce170a71 Merge branch '2.7' 2016-05-23 20:08:37 +02:00
chris morley
edcaf9ffbf docs: update gladevcp tooledit widget doumentation
added python function call descriptions

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-05-19 21:35:11 -07:00
chris morley
5c1bad8fc4 gladevcp: add functions to change title and tab font
Now when the font is changed the column title and tab font change too.
There are also separate functions to set the title and/or tab font
separately.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-05-19 21:34:44 -07:00
andypugh
6b46650a59 carousel.comp: Add pins to enable jogging of the carousel.
Signed-off-by: andypugh <andy@bodgesoc.org>
2016-05-18 04:41:42 +01:00
Sebastian Kuzminsky
fd8964307c Merge remote-tracking branch 'origin/2.7' 2016-05-12 21:34:01 -06:00
Jeff Epler
aebad414dd tests: linuxcncrsh-tcp test now passes for me
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
48a06f30ff fix other nmlfiles
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
b1708eafef nml: write the serial number into the command as seen by task
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
428e9c6cbf nml: add 'serial' flag to do command serial-number stuff
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
2090d90303 nml: trivial typo
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
c0c788c956 configs: must enable "confirm_write" to get serial number return
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
e75654151f nml: tcp: arrange to transport write_id back to client
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
84b0b3d5cb nml: tcp: copy serial number back to caller
.. and remove now-illogical blocks that compare serial number to an
expected serial number.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
8bed9d6cfa nml: Fix prototypes in class TCPMEM
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Jeff Epler
379fd11c90 build: warn about incorrect function overloading
.. this is just one element that prevents nml-over-tcp from working

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 17:24:20 -05:00
Sebastian Kuzminsky
ffdc647227 move mesa_pktgyro_test comp to correct dir, fix header path
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-11 08:00:03 -06:00
Jeff Epler
9733d35cc7 pktgyro: remove unneeded header
.. this caused a compile error on rtai, because the header is not
available in kernel space.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-11 09:34:07 -05:00
Sebastian Kuzminsky
ad06db2cec Axis: don't need to switch to Auto to load a program
Task allows Open in Manual mode now.  It's Run that needs Auto, and Axis
does that switch as needed.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-10 18:48:43 -06:00
Sebastian Kuzminsky
27a67cdce8 task: allow EMC_TASK_PLAN_OPEN when State=On, Mode=Manual
It's already allowed in all the non-On States, and in On/MDI and
the appropriate On/Auto sub-Modes, so in On/Manual doesn't seem like
a stretch.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-10 18:48:28 -06:00
Sebastian Kuzminsky
693c8617de pktuart: fix a printf format error
Cut-n-paste bug maybe.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-10 18:35:28 -06:00
Jeff Epler
645fef390a Merge branch 'PktUART_LinuxCNC' of https://github.com/sirop/machinekit 2016-05-10 10:03:01 -05:00
Boris Skegin
8e21a899b7 Corrected: resetting the registers
* a typo prevented resetting the registers

Signed-off-by: Boris Skegin <boris.skegin.de at gmail.com>
2016-05-10 16:57:03 +02:00
Boris Skegin
25031ef5b4 PktUART symbolic error codes defined in pktuart_errno.h
* corrected man files

Signed-off-by: Boris Skegin <boris.skegin.de at gmail.com>
2016-05-10 16:57:01 +02:00
Boris Skegin
8f82be8363 PktUART driver for MESA
* man files
* test component

Signed-off-by: Boris Skegin <boris.skegin.de at gmail.com>
2016-05-10 16:56:58 +02:00
Jeff Epler
6c0b1f91f2 axis: use task_plan_synch instead of unneeded change to MODE_MDI
This doesn't solve the problem of being unable to call
c.program_open in some circumstances, but it does get rid of some
black magic which is good.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-05-10 08:15:01 -05:00
Al Smart
fd36b4b3da standardized a python null pointer & fix a docs error
Signed-off-by: Al Smart <smartmachinetool@yahoo.com>
2016-05-10 07:58:16 -05:00
Sebastian Kuzminsky
e15d107b4e Revert "axis: call linuxcnc.task_plan_synch() to force a var file write"
This reverts commit 5fb0e81784.

Task allows EMC_TASK_PLAN_OPEN in any Mode if the machine State is Off,
Estop, or Estop-Reset.  But if the state is On, Task only allows it
if Mode is Auto.  So not switching to Auto here means it fails to open
files in some situations...

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-09 22:18:08 -06:00
Sebastian Kuzminsky
699438b8ef Task: allow EMC_TASK_PLAN_SYNCH in all modes and states
Before this commit, Task used to only allow the UI to sync the Interpreter
if the machine was in the On state, and Task was in the Manual mode.

This commit makes Task also allow the UI to sync the Interpreter in
Estop, Estop-Reset, and Off states, and in the On state with Task in
the MDI mode.

On/Auto is still disallowed because I don't need it for now.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-06 17:47:12 -06:00
Sebastian Kuzminsky
5fb0e81784 axis: call linuxcnc.task_plan_synch() to force a var file write
Before this commit, Axis would switch Task modes to MDI, then Auto, when
opening a file (such as the splash gcode).  These Task mode switches
cause an Interpreter sync (and the associated var file write) as a side
effect, which is what Axis wants (so its' internal interpreter can run
from the same state as the real Interpreter in Task).

Both the MDI and Auto Task modes require Motion to me in Coordinated mode.
On identity kins machines this is no problem, since they can switch
between Free and Coordinated mode at any time, but on non-identity-kins
machines Coordinated mode is only available when the machine is homed.
A bug in Motion would incorrectly allow this change to Coord to happen,
because at Axis start time the joints haven't been marked 'active' yet.

This commit changes Axis to use the new task_plan_synch() function
instead, which just requests an Interpreter sync in Task, without the
problematic Motion mode switch.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-06 17:47:12 -06:00
Sebastian Kuzminsky
619e4662ab emcmodule: add task_plan_synch() function
This sends the EMC_TASK_PLAN_SYNCH message to Task, which forces an
Interpreter sync and a var file write.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-06 17:47:12 -06:00
Sebastian Kuzminsky
c828daab7c motion: remove check_stuff(), dead code
This function might have served a purpose long ago, but now it's just
confusing-looking dead cruft.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-05-05 22:34:15 -06:00
Al Smart
15be32892e allow horizontal radiobuttons in pyvcp
Signed-off-by: Al Smart <smartmachinetool@yahoo.com>
2016-05-03 12:46:41 -05:00
Dewey Garrett
b1fb19c29e lowpass.comp: man page help for setting gain pin
i couldn't figure out how to show the more complicated
equations but this may help users wanting a starting
point for setting the 'gain' pin

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-04-19 18:53:40 -07:00
Dewey Garrett
1b0a0349f1 Revert "lowpass.comp: add man page note section"
This reverts commit c43b6dd2b6.

The equations looked ok in a terminal but not in the generted pdf or
html files.

Maybe someone else knows how to do put equations in a man page
(groff eqn .EQ,.EN macros maybe)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-04-16 12:02:01 -07:00
Dewey Garrett
c43b6dd2b6 lowpass.comp: add man page note section
and examples for setting 'gain' to match a zero-order-hold
equivalent of a single pole low pass filter

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-04-16 08:37:17 -07:00
Norbert Schechner
69e87f99f2 Merge branch '2.7' 2016-04-11 18:55:44 +02:00
Jeff Epler
30ac65e78a Merge remote-tracking branch 'origin/2.7'
The resolved conflict looks like a mess in git diff, the result
needs to be double-checked.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>

Conflicts:
	docs/src/getting-started/updating-linuxcnc.txt
2016-04-10 16:11:34 -05:00
Norbert Schechner
10fd971e34 GladeVCP - SpeedControl - forgot to push this file
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-04-10 21:14:03 +02:00
Norbert Schechner
806c45cba9 GladeVCP - Speedcontrol - added widget icon
Signed-off-by: Norbert Schechner <nieson@web.de>
2016-04-10 17:53:35 +02:00
Jeff Epler
d2b12b2bf0 Merge commit '5954dcf9743ededd7856162c11bae2e42f7e08ea'
This merges most of origin/2.7 but stops short of a recent doc commit
that creates conflicts.
2016-04-09 10:02:34 -05:00
Jeff Epler
6e88b6e5ff template: remind users that the issue tracker is not a support forum
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-04-09 09:43:27 -05:00
Norbert Schechner
cf087cef0d Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-04-04 21:30:54 +02:00
Norbert Schechner
85b3d8f384 Merge branch '2.7' 2016-04-04 21:30:01 +02:00
Jeff Epler
ed1bbf8562 Merge remote-tracking branch 'origin/2.7' 2016-04-04 11:22:12 -05:00
Jeff Epler
518427cf5d Merge remote-tracking branch 'origin/2.7' 2016-04-04 09:21:29 -05:00
Norbert Schechner
e735d7090b Merge branch '2.7' 2016-04-01 10:47:58 +02:00
Norbert Schechner
669f5fe4aa Merge branch '2.7' 2016-03-30 22:00:53 +02:00
Norbert Schechner
5f42585fd3 Merge branch '2.7' 2016-03-30 20:23:18 +02:00
Chris Morley
2957cc5ad0 Merge branch '2.7' 2016-03-11 20:58:17 -08:00
Jeff Epler
6e895a0382 docs: be pedantic
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-03-09 15:02:08 -06:00
Jeff Epler
78e6972875 halmodule: Fix 'SystemError: null argument to internal routine'
There were two problems introduced at commit 2b6c8ad710.  First,
the logic when the Hal type was an integer and the Python type
was not int or long was wrong.  Second, in a place where the Hal
type was float, the C type was incorrectly an integral type.

Closes: #43
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-03-09 12:06:06 -06:00
Jeff Epler
1d3abeb8f2 add github-style templates
.. for issues and pull requests.  We can refine the language, this is
just proof-of-concept.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-02-24 12:01:40 -06:00
Jeff Epler
e2d494ea61 Add a github-style contributing document
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-02-24 11:41:23 -06:00
Jeff Epler
e8151f0adb uspace: remove duplicate ld step in Makefile rule
.. this crept in at e4b94a5df9 and is harmless but does more work
than necessary.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-02-21 13:16:19 -06:00
Jeff Epler
f87c0244cf uspace: Work around reported docker /dev/stdout bug
Reportedly, using /dev/stdout as the destination of objcopy fails in a
docker container.  This may be docker/docker#11462.  This reformulation,
which uses a temporary file, is expected to work around the problem.

For more background, see machinekit/machinekit#876.

Reported-by: Michael Haberler <mah@mah.priv.at>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-02-21 13:13:03 -06:00
Chris Morley
d5ae641f39 Merge branch '2.7' 2016-02-15 19:00:45 -08:00
chris morley
0ae98da410 Merge branch '2.7' 2016-02-14 12:15:37 -08:00
Sebastian Kuzminsky
53f48b0d63 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2016-02-08 21:44:01 -07:00
chris morley
952c29cb8f configs: add a sample simulated config for spartan screen
Spartan is a gscreen skin designed by Chris Brady.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-07 22:16:56 -08:00
chris morley
3b82a397b1 gscreen -add a new screen skin 'spartan'
Designed and given back to linuxcnc by Chris Brady.
Requires some physical butons to operate

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-07 22:16:56 -08:00
Jeff Epler
0b8bce1d23 Merge remote-tracking branch 'origin/2.7' 2016-02-07 10:35:14 -06:00
Norbert Schechner
4336381821 Merge branch '2.7' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2016-02-03 21:53:35 +01:00
chris morley
d584d60336 gladevcp: tooledit: hide lathe tabs on non lathe configs
It should now look/work the same on non lathe configs

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:48:06 -08:00
chris morley
9dcc568c74 gladevcp: tooledit_widget: clean up comments and debugging code
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:47:57 -08:00
chris morley
2304f481af gladevcp: tooledit widget: fix saving of data
probably mistook it for a debug line when commented out

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-02-01 13:26:04 -08:00
Jeff Epler
4c491d750f Merge remote-tracking branch 'origin/2.7' 2016-01-29 21:32:51 -06:00
chris morley
4dbda77479 panelui: hide panelui INI file from linuxcnc launcher
Could be confusing to users as panelui's INI file was
shown but is not valid to load a machine config.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-24 15:55:23 -08:00
Dewey Garrett
f9972b9259 pickconfig.tcl: honor an exclude_file_list
requested by Chris Morley for _panelui.ini

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2016-01-23 19:59:37 -08:00
chris morley
89f37da79e gscreen: add rapid_override status to available data
Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-23 19:59:27 -08:00
chris morley
f1c1dd48df gscreen: add matchbox virtual keyboard to choices
now gscreen will try to launch Onboard or Matchbox
(Onboard is not available in Debian)

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-23 19:59:10 -08:00
Sebastian Kuzminsky
170bb5a853 Merge remote-tracking branch 'origin/2.7' 2016-01-20 22:05:51 -07:00
Norbert Schechner
ac009d3c92 Merge branch '2.7' 2016-01-18 18:46:41 +01:00
chris morley
6edc3be1b1 Merge branch '2.7' 2016-01-16 21:04:32 -08:00
Sebastian Kuzminsky
6dfacb2ee3 tell git to ignore the generated thermistor.1 manpage
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 19:48:51 -07:00
Sebastian Kuzminsky
8a0b4d3cf7 add conv-bit-float component
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 16:27:25 -07:00
Sebastian Kuzminsky
aba29478b9 build system: add user_comps .comp support
Build userspace components found in hal/user_comps/*.comp

Thanks to Jeff Epler for fixing my initial broken version of this commit.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 15:27:19 -07:00
Sebastian Kuzminsky
ba85acae72 build: add a "make headers" target, to let userspace comps build
Thanks to Jeff Epler for fixing my initial broken version of this commit.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 15:27:19 -07:00
Sebastian Kuzminsky
7517f8a337 add a thermistor component
This component computes the temperature indicated by a thermistor.

It uses the Beta-parameter variant of the Steinhart-Hart equation,
described here:

    http://en.wikipedia.org/wiki/Thermistor

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 15:27:19 -07:00
Sebastian Kuzminsky
a760846689 halcmd help: clarify loadusr's -Wn argument
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-16 15:27:18 -07:00
Jeff Epler
4c485bc55e Merge remote-tracking branch 'origin/2.7' 2016-01-16 09:47:53 -06:00
Sebastian Kuzminsky
362d6c55f6 halcmd: remove unused #include
These header files are not used by the C files that #include them,
so remove the #include.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 17:02:21 -07:00
Sebastian Kuzminsky
da3de292f3 halcompile: support "count=" and "names=" load-time arguments in userspace components
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 13:46:47 -07:00
Sebastian Kuzminsky
9169e4e270 tests: verify "count=" and "names=" load-time args to userspace components
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 13:45:12 -07:00
Sebastian Kuzminsky
ed33e6ea24 tests: fix new deeper path in halcompile/userspace
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 11:36:43 -07:00
Sebastian Kuzminsky
37b39e7a17 tests: rename "usercomp.0" test to "halcompile/userspace" for clarity
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 11:36:43 -07:00
Sebastian Kuzminsky
a22aca35cc tests: rename "comp-extralib" test to "halcompile/extralib" for clarity
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 11:36:43 -07:00
Sebastian Kuzminsky
e46654d013 tests: rename "comp" test to "halcompile/names" for clarity
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2016-01-08 11:36:43 -07:00
chris morley
7715856d82 sim config: add a sample sim config for panelui
simulates keys with gladevcp, which calls panelui's routines

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
chris morley
6bb91e3e78 docs: add some official docs for panelui
Probably should make a man page too...

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
Chris Morley
957e7f8361 component: panelui -add keyscan to ui command decoder
uses an INI file to designate commands and/or HAL pins.
allows a handler file to add custom commands in python
buffers keyboard scan codes in a shared memory buffer
current design expects sampler to fill the shared mem.
expected that the sampler wuill be connected to a
mesa 7i73 or matrix_kb component for scan codes.
Thanks jeppler for your help on this

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
chris morley
23253842db component: sim_matrix_kb: converts HAL pin logic to keycodes
built for sim testing of panelui.
makes 64 input pins for buttons repersenting 8 rows and 8 columns
converts them into keyscan code compatible with panelui, matrix_kb,
 and with output equivelent to MESA 7i73
Thanks jeppler for bug fixes.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
chris morley
d8201df00e gladevcp: -if the limits are bilateral change color bilaterally
now the color zones are applied on negative or positive values if
the upper and lower limts are set the same (aside from neg and pos)

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
chris morley
9fad493cd4 gladevcp -add option to make buttons momentary
I needed momentary buttons with LED like visual aids
It should work as before if is_momentary is false (default)

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2016-01-07 20:29:15 -08:00
Jeff Epler
0221b06e41 don't permit xsltproc to use the network
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-07 07:24:21 -06:00
Jeff Epler
3d430bac3a Merge remote-tracking branch 'origin/2.7' 2016-01-07 07:23:40 -06:00
Jeff Epler
325799725c README: fix markdown headings
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-05 14:11:50 -06:00
Jeff Epler
d7ac04fa0e build: fix building linuxcnc.1 when docs not requested
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 19:33:09 -06:00
Jeff Epler
1290adda29 build: don't fail when requested not to build documentation
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 19:27:33 -06:00
Jeff Epler
fc498f3aa7 README: convert to markdown
This works better on github

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 18:23:48 -06:00
Jeff Epler
19d7036db8 build: check links from index.html
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 18:23:11 -06:00
Jeff Epler
c6a5274047 build: ensure asciidoc manpages are built before checklink is run
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 18:23:11 -06:00
Jeff Epler
b2fdcbc433 build: ensure images are generated when building html docs only
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 18:23:11 -06:00
Jeff Epler
63c6ad5c75 build: error if images can't be copied to into html docs
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-04 18:23:11 -06:00
Jeff Epler
18517a3ee9 task: include <cmath> for std::nearbyint
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2016-01-03 13:54:04 -06:00
Jeff Epler
beccaa25f4 Merge remote-tracking branch 'origin/2.7' 2016-01-02 09:22:17 -06:00
Jeff Epler
e4f726e58e Merge remote-tracking branch 'origin/2.7' 2016-01-02 09:00:38 -06:00
andypugh
b2553ce0df Astonishingly at least one manufacturer thought that BCD was a good way to encode a tool carousel
Signed-off-by: andypugh <andy@bodgesoc.org>
2016-01-01 20:30:25 +00:00
Jeff Epler
b8fcd14d03 docs: rename hal_stream manpage
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-31 09:54:35 -06:00
Sebastian Kuzminsky
0e089af3cb Merge remote-tracking branch 'origin/2.7'
This picks up the RTAI-5 support.

Conflicts:
	docs/src/getting-started/updating-linuxcnc.txt
2015-12-30 12:21:34 -07:00
Jeff Epler
404093ebdd Merge remote-tracking branch 'origin/jepler/hal-streams' 2015-12-28 08:32:06 -06:00
Jeff Epler
79463cebf4 makefiles: drop unneeded flag
--require-license became the default (and only) mode some time ago, so
there's no need to specify it now.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-28 08:31:27 -06:00
Jeff Epler
5562e710b9 motion: Remove confusing use of emcmotglb from realtime
These variables are intended to be used in milltask.  However, because
the emcmotglb object file was linked to the modmod realtime component,
there was a separate and unininitialized copy of these values there as
well.

This leads only to confusion, such as with the (now modified)
initialization of emcmot structure fields from VELOCITY and ACCELERATION
values that would always be equal to 0.0.

For the same reason, remove it from the set of public header files.

This confusion also tripped up Moses when he tried to initialize a new
emcmotglb.c field "inhibit_probe_errors" from task and then use the value
in motion.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-28 08:30:02 -06:00
Sebastian Kuzminsky
bba906ba38 Merge remote-tracking branch 'origin/2.7' 2015-12-27 10:58:06 -07:00
Jeff Epler
3df5e11c76 tests: test stream interface
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:09 -06:00
Jeff Epler
fdb95c7be7 halmodule: expose streams to Python
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:08 -06:00
Jeff Epler
2b6c8ad710 halmodule: factor out to/from python functions
.. which will be used by the stream code too.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:08 -06:00
Jeff Epler
eef9f52585 hal: document the new C API
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:08 -06:00
Jeff Epler
773c944a61 hal: factor out streamer/sampler
.. so that hypothetically these can be used to stream to or sample from
a special-purpose component like a serial device.

Since the runtests use sampler and streamer extensively, I think that's
a good sign that the code is right.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:07 -06:00
Jeff Epler
391e1a35e4 rtai: don't hide an informative error message
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:07 -06:00
Jeff Epler
424df73b5e make failure more verbose
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-23 16:18:06 -06:00
Chris Radek
8f98c7e419 mention G52 at the G92 summary, too
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-12-23 15:54:25 -06:00
Chris Radek
a86aeb5a96 fix typo
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-12-23 15:54:25 -06:00
Chris Radek
047b5e2467 add G52 to the quickref
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-12-23 15:54:24 -06:00
John Morris
0d124750b8 fixup: incorporate Chris Radek's feedback
- Change `.ini` file parameter
  - Rename from `PERSISTENT_G92_OFFSET` to `DISABLE_G92_PERSISTENCE`
  - Change type from `bool` to `int`
- Fix docs

Signed-off-by: John Morris <john@zultron.com>
2015-12-23 15:54:20 -06:00
Chris Radek
b3e620f0e3 don't imply something is wrong with using G92
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-12-23 15:53:02 -06:00
John Morris
5fc7c5e959 Implement G52 offsets
This implementation of `G52` is intended to be compatible with Fanuc,
including sharing offset registers with `G92`.

LinuxCNC rs274ngc persists `G92` offsets across machine startup, M02
and M30, but Fanuc does not.  Because users familiar with Fanuc may
expect the offset to be volatile, and be surprised (perhaps badly)
when the offset persists, this patch adds a `.ini` file option to
disable it.

Other implementation details:

- `G52` shares registers with `G92`, `#5210` (flag) and `#5211`
  through `#5219` (9 axis offsets)
- `G52` offsets are applied in the same way as `G92`, after workpiece
  coordinate offsets and rotation.
- `G52` and `G92`/`G92.n` may be freely mixed, and in the light of the
  shared registers, interactions behave as expected.
  - `G52 X0 Y0` zeros the offsets, but does not reset the `#5210`
    flag.  This is not expected to cause unexpected behavior; the flag
    apparently exists only to implement `G92.2` and `G92.3`.
  - `G52` and `G92` share DRO readouts and preview offset display.
- `G92` offset persistence may be disabled by setting
  `PERSISTENT_G92_OFFSET = false` in the `[RS274NGC]` section of the
  `.ini` file.  By default, `G92` is persistent.

Signed-off-by: John Morris <john@zultron.com>
2015-12-23 15:52:56 -06:00
John Morris
21778054bd interp_convert.cc: use readable symbols for switch(g_code)
Rewrite e.g. `case 540:` as `case G_54:`

Signed-off-by: John Morris <john@zultron.com>
2015-12-23 15:46:56 -06:00
John Morris
f95bf31e77 interp_convert.cc: noop: wrap ridiculously long lines
Signed-off-by: John Morris <john@zultron.com>
2015-12-23 15:46:55 -06:00
Sebastian Kuzminsky
392c4630e0 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/realtime-math/rtmath.comp
            Keep the version from master, which tests round().  Drop the
            version from 2.7, which does not test round().
2015-12-23 11:47:50 -07:00
Dewey Garrett
3f4b049b49 mini.tcl: remove duplicate geo mgmt of widget
is detected as error with tk8.6:

  "Error in startup script: cannot use geometry manager grid
   inside .top.left which already has slaves managed by pack"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-12-22 15:15:32 -07:00
Sebastian Kuzminsky
ecc24a01b5 Merge remote-tracking branch 'origin/2.7' 2015-12-22 10:45:38 -07:00
chris morley
5af856cd5b Merge branch '2.7' 2015-12-21 18:42:27 -08:00
Chris Morley
886e41cd00 Merge branch '2.7' 2015-12-21 13:23:23 -08:00
Dewey Garrett
cc48cacced pyngcgui remove unused variable
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-12-18 06:47:28 -07:00
Dewey Garrett
982eda8167 ngcgui: new variable for ct of remaining features
global: #<_remaining_features:> indicates the number of features
remaining after the current feature.  A value of zero indicates that
the current feature is the last feature.

A user subroutine (or preamble or postamble) can test
value to display count of remaining features and/or to test
if the current feature is the last feature in a sequence.

Also: include debug prints in some examples

Credit to RickG for suggestion on the LinuxCNC forum

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-12-18 06:34:40 -07:00
John Thornton
4efd142d15 Merge branch '2.7' 2015-12-16 07:09:13 -06:00
Jeff Epler
4e3fe5a395 cms: silence scan-build zero byte allocation warning
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 14:34:17 -06:00
Jeff Epler
acb4fc71cf interp: warn about missing field initializers
.. in setup_struct and block_struct constructors

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 11:12:08 -06:00
Jeff Epler
0b5fdb791f interp: move a constructor out of line
nothing indicates that it is important to inline this constructor

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 11:12:07 -06:00
Jeff Epler
e38ff45f16 interp: prefer std::fill to memset
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 11:12:07 -06:00
Jeff Epler
1a6f213b78 interp: use {}-initializers in setup_struct constructor
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 11:12:07 -06:00
Jeff Epler
19dca87d26 interp: finish evicting object.hpp from interp_internal.hh
By moving python related stuff out of line, the lightweight
header object_fwd can be used here now.

On the same i5 laptop as my earlier measurements,
timing
    touch emc/rs274ngc/*; make -j4
this further reduces user+system CPU time by 68s,
elapsed time by 33 seconds, and page faults by
1.4 million (5.6GB)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-14 08:57:28 -06:00
Jeff Epler
e1e21ab5b8 interp: replace round_to_int with template
again, this makes it safe against arguments with side effects.
It also uses std::nearbyint in preference to the open-coded
variant; if there are any differences, the behavior of
the standard function is probably equally defensible if not
more so.

(n.b. both have undefined behavior if the rounded FP value
is outside the range of int; and I happen to know that
the actual behavior on gcc is different between x86 and
arm.  blech.)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Jeff Epler
126d34558c interp: replace R2D, D2R, SQ macros with functions
This is especially important if SQ is ever invoked with
an argument that has a side-effect.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Jeff Epler
0badb0c37f interp: get rid of MAX macro
.. replacing former use sites with std::max

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Jeff Epler
5b717f53b6 interp: Use {}-initialization in preference to std::fill
this way, the array members are not special cases, but
instead their initialization can be in with all the other
non-array fields.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Jeff Epler
76be9fd56c general: get rid of more boost stuff
.. in favor of C++11 constructs.  These generally have
lower compile-time overhead.  Hoewver, the measured improvement
is slight, <1 second sys+user CPU time, <1 seecond elapsed time;
and a slight increase in page faults (+245, +1MB)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Jeff Epler
93e461692f interp: reduce boost python inclusions
This includes
 - preferring forward declarations where possible
 - moving using namespace and namespace= out of headers
 - preferring more specific headers
 - using std::end in preference to boost::end

This is beneficial because just including boost/python.hpp
adds a lot of time and memory to compiling a file.  On an
underpowered platform (rpi2), the increase from an empty
C++ source file to one that includes <boost/python.hpp> is:
 469MB more maximum resident set size (50% of total RAM!)
 51s more elapsed time

object_fwd.hpp adds only ~6MB and <1s.

object.hpp adds about 26s and 298MB.  Most other boost/python
header files include object.hpp indirectly.

On a higher-powered system (i5 laptop, 4 cores, 8GB RAM),
this patch reduces the compile time of
    touch emc/rs274ngc/*; make -j4
by 82 user+system CPU seconds, 23 elapsed seconds, and 1.24 million
page faults (5GB of page faults)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-13 22:08:44 -06:00
Sebastian Kuzminsky
fc949aa523 build system: let "make V=1" verbosify kernel module builds too
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-12-12 18:20:27 -07:00
Sebastian Kuzminsky
36a955fb21 timedelta: don't glitch on the output pin on the first cycle
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-12-12 18:20:27 -07:00
Sebastian Kuzminsky
5ad2806dbb RTNAME is not used anywhere
Simplify the configure system by removing it.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-12-12 18:20:26 -07:00
Sebastian Kuzminsky
67463494e2 Merge remote-tracking branch 'origin/2.7' 2015-12-12 18:14:23 -07:00
Sebastian Kuzminsky
7ad5559ed4 Merge remote-tracking branch 'origin/2.7' 2015-12-12 12:40:29 -07:00
Chris Radek
638aba708b Teach motion-logger about the new message, and fix tests accordingly
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-12-09 17:29:41 -06:00
Moses McKnight
90b5d856e9 Added ini settings to disable probe errors while jogging and homing.
Two settings were added:
NO_PROBE_JOG_ERROR
NO_PROBE_HOME_ERROR

Each one disables the corresponding error.  The disable for homing is
useful if the probe input is the same as a home switch.

Signed-off-by: Moses McKnight <moses@texband.net>
2015-12-09 16:10:54 -06:00
Norbert Schechner
affcf9a83c Merge branch '2.7' 2015-12-09 20:47:07 +01:00
Chris Radek
00581f6175 Merge branch '2.7' 2015-12-08 11:38:42 -06:00
Norbert Schechner
9d7bb46a7d Merge branch '2.7' 2015-12-08 09:10:14 +01:00
Robert W. Ellenberg
bef8d9d525 tp: partial revert of target calculation changes (had it right the first time)
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-12-06 07:37:45 -05:00
Chris Morley
58ab506fe8 Merge branch '2.7' 2015-12-05 16:49:47 -08:00
Jeff Epler
5f9f789301 task: remove vestige of setuid task support
These lines were added in 2005 when linuxcnc 2.x got support for
user-defined M-codes.  But in linuxcnc 2.x never had a setuid task
program.  (Some version of emc1 might have)

Simply remove the call, which caused a compile-time warning on some platforms.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-12-05 09:17:04 -06:00
Robert W. Ellenberg
85ea15f657 tp: Allow reverse run past segments requiring spindle at-speed condition
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:40:10 -05:00
Robert W. Ellenberg
39bc7aa3f3 tp: remove unnecessary check during queue backstep
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:40:06 -05:00
Robert W. Ellenberg
34e7e3b8e7 tp: fix bug in tcq reverse run changes due to bad initialization
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:40:02 -05:00
Robert W. Ellenberg
068afb2707 tp: more purging of unnecessary dependencies
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:58 -05:00
Robert W. Ellenberg
9b39f2a90c tp: refactor to remove tp pointer as dependency from a few helper functions
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:52 -05:00
Robert W. Ellenberg
5ca8a79b5d tp: cleanup based on cppcheck
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:44 -05:00
Robert W. Ellenberg
53afd89ddb tp: refactor tpGetScaledAccel
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:39 -05:00
Robert W. Ellenberg
db5beebec7 tp: clean up formatting in preparation for redesign
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:32 -05:00
Robert W. Ellenberg
2004326050 tp: increase size of reverse queue to allow long reversals
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:28 -05:00
Robert W. Ellenberg
0512212941 Overhaul adaptive feed handling for reverse run
One difficulty of using negative adaptive feed to trigger reverse run is
that the actual scale factor has to be non-negative. With a few
additional checks, this commit handles the translation from a bilateral
input (-1.0 to 1.0) to the unilateral feed scale and direction switch
(forward or reverse).

What happens now is that a negative adaptive feed causes the TP to try
to reverse direction. If this is successful, or we're already in
reverse, then the scale factor is just the absolute value of the
adaptive feed pin. Otherwise, the scale factor is set to zero, so the TP
decelerates to a stop (allowing a direction change). A similar situation
happens for the reverse to forward transition

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:24 -05:00
Robert W. Ellenberg
b8ad4e6411 tp: force current_vel to zero by default
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:08 -05:00
Robert W. Ellenberg
e37e1a1c2b tp: relax pause requirement for reverse run
Pausing was a lazy way to ensure that the machine absolutely was not
moving when doing a direction switch. However, a properly-written
"is-moving" function can do this same job without needing an explicit
pause from the user. One critical side-effect of this is that we can
give the appearance of smooth transitions between forward and reverse
motion with adaptive feed.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:39:04 -05:00
Robert W. Ellenberg
cd2846f82d motion: rearrange checks on adaptive feed in anticipation of negative feed scale
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:38:59 -05:00
Robert W. Ellenberg
e268b3264f tp: add explicit return state for empty reverse queue
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
15b80e8687 tp: fix for sam's issue (no movement after reverse, then abort, then play
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
0dea61e608 motion: add hal pin to indicate if motion is running in reverse
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
fac16e8450 tp: added additional prohibition for reverse run so it doesn't run past atspeed moves
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
8e622e93f1 tp: avoid split cycle calculations during reverse run due to position hiccups
Split cycles and reverse run don't play well together. This ugly fix
simply skips any split cycle calculations, since we don't need them for
reverse run (no tangent check).

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
c0dd5f06cb axis: whitespace only
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:33 -05:00
Robert W. Ellenberg
658f1bde7b axis: fix for bad reverse run command
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
2435e31e0d axis: Added not-very-well-thought-out keyboard shortcuts reverse run.
For testing purposes, the quickest way to add reverse run functionality
to axis was through the keyboard shortcuts. Here's how it works:

"Shift + R" (During Pause): enable reverse run
"Shift + F" (During Pause): enable forward run (default)

Both commands only work when a program is loaded and paused somewhere in
the middle of the run. To see reverse run, hit "resume" or use the "S"
key to resume motion.

NOTE: when the reverse-run queue is empty (past about 20 segments), the
motion will slow down and stop, but NOT be paused. To switch to forward
run again, you need to explicitly pause, then enable forward run, then
resume.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
a7d10bedc8 tp: reset cycle time on segment removal
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
7480d0aca4 tests: space out holes on rigid tap test for easier manual pausing
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
d30bdfb90d tests: make square spiral test feed rather than rapid
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
981d93e4d3 tp: ensure that reverse run stops at any synced motion segments
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
fb962e871e tests: added demo script for reverse run ability
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:32 -05:00
Robert W. Ellenberg
0342ceba22 tp: remove ineffective pause and clean up debug comments
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
8ac9b32b3d tp: automatically pause when we run out of reverse history
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
1bb8b508c0 tcq: cleanups to make queue margin account for reverse history space
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
1ab170a453 emcmodule: Added enum constants for reverse and forward
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
b1cd460d07 emcmodule: add forward command to python API
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
cf2fc8b161 task: Add forward command to complement reverse command
This fix also adds stronger prohibitions against switching motion when
not moving, so that we don't clobber motion by suddenly moving forward
during a reverse move.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
81be399bb4 tp: ignore backstep queue error since this means the history is simply exhausted
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:31 -05:00
Robert W. Ellenberg
b3e82952c0 tp: added cleanup in segment removal to make sure segments can be re-activated cleanly
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
aff9b9fdc4 tp: more reverse run cleanups and missing target / progress references
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
9e810042c5 add missing bits for reverse command
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
0311e0ffdc axis: added python command / constants for reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
2bab544f34 task: added command type for reverse run / task plan
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
cf2a089d2c tp: replace direct access to target with distance to go function
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
92f67d41fa task: add command for reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:30 -05:00
Robert W. Ellenberg
100df23245 tp: for testing, allow stepping in reverse direction
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
38bb7b0f36 motion: Added command type for reverse run
When called from task, this will allow the user to set reverse run

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
8bbca84cbc tp: added API call in tp to set run direction
TODO: check for non-zero velocity / other safety conditions to ensure
that a direction change happens ONLY when paused and at rest.

Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
89ea0cbfc4 tp: Added queue dir to tcqItem call
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
a4bdf7adb3 tcq: initial attempt at queue with partial reverse history
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
a4684df00f tp: Fixed target bug introduced in reverse run
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Robert W. Ellenberg
b692e07761 tp: Added groundwork for reverse run in TP execution
Signed-off-by: Robert W. Ellenberg <rwe24g@gmail.com>
2015-11-30 21:37:29 -05:00
Norbert Schechner
fe60c7fe2d Merge branch '2.7' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2015-11-30 13:28:51 +01:00
Chris Radek
904187e825 Merge branch '2.7'
Conflicts:
	VERSION
	debian/changelog
2015-11-29 17:14:11 -06:00
Sebastian Kuzminsky
5a6d2434cc Merge remote-tracking branch 'origin/2.7' 2015-11-28 22:59:00 -07:00
Norbert Schechner
0e8fc2a75f Merge branch '2.7' 2015-11-28 16:40:22 +01:00
Sebastian Kuzminsky
75cf36baaf hm2: fix uninitialized variable warning in ioport
Before this commit, if the "pin" argument passed into count_instances()
was not found (because it was greater than the number of pins available,
or less than 0), then the "this_instance" argument would never get set,
and the calling code (in hm2_ioport_gpio_export_hal()) would use an
uninitialized value.

This commit fixes that problem.

This commit also renames a bunch of internal variables for clarity.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-27 12:04:59 -07:00
Sebastian Kuzminsky
6c17db6280 tests: verify that the exported realtime math functions exist
This verifies that the math functions declared in rtapi_math.h are all
actually available at load-time.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-26 10:42:48 -07:00
Jeff Epler
7e6df7ceec Merge branch 'jepler/intrinsic-rdtsc' 2015-11-26 11:37:53 -06:00
Jeff Epler
d120ce8187 Merge branch 'jepler/simplify-bitops' 2015-11-26 11:37:49 -06:00
Jeff Epler
e2b772547c uspace: Use compiler intrinsic for rdtsc
.. in preference for two different blocks of inline asm

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 18:03:01 -06:00
Jeff Epler
78d8f5fadb configure: No supported platforms have userspace asm/msr.h
I actually wasn't able to determine what platform *did* ever support
asm/msr.h in userspace.  It is still legitimately used by rtai with
the kernel threads model.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 18:03:01 -06:00
Jeff Epler
818e4327f5 rtapi_bitops: remove unneded asm versions
The version which uses gcc intrinsics is suitable for all
architectures and all supported gcc versions.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 17:00:07 -06:00
Jeff Epler
d0bf9a594a rtapi: introduce, use new rtapi_mutex_t type
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 17:00:07 -06:00
Jeff Epler
232d2a85cd rtapi: split mutex to new header
most source files that include rtapi.h don't use mutexes, so split it out.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 17:00:03 -06:00
Jeff Epler
eced6ad99f docs: fix formatting in rtapi_mutex page
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 16:59:39 -06:00
Jeff Epler
e49db4be19 rtapi: remove rtapi_common.h from public interface
This header always stated its declarations are "INTERNAL to the
RTAPI implementation, and should not be included in any application
modules." and it is not in turn included by any other header in the
public interface.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 16:59:39 -06:00
Jeff Epler
2f76b99cbc tests: add a test of the rtapi mutex operations
this simplistic test increments a counter that is protected by the rtapi
mutex.  If the mutex works properly, the counter is equal to a known
value (number of iterations times number of threads).  If the mutex
doesn't work properly, the counter can have a value other than that
known value.

This test passed 10,000 trials on an x86_64 machine and 10,000 trials on
an ARM machine.  It readily fails when no-op mutex operations are
substituted instead.  This gives us a level of confidence that the mutex
primitives are correct.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-25 16:59:05 -06:00
Sebastian Kuzminsky
80e58b9af3 Merge remote-tracking branch 'origin/2.7' 2015-11-24 21:38:33 -07:00
Sebastian Kuzminsky
29dbefdbf9 Merge remote-tracking branch 'origin/2.6' into 2.7 2015-11-24 21:37:56 -07:00
Dewey Garrett
97b9164523 halshow: tree insert at end to preserve sort
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-11-24 10:42:14 -07:00
Dewey Garrett
78b0099783 sim_pin: add plus,minus buttons for integers
to increment/decrement by 1

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-11-24 10:39:46 -07:00
Sebastian Kuzminsky
2e604ba31b docs: dont have two copies of the project history
When I extracted content from our old Joomla website, i added the History
notes that i found there to our "Getting Started" document.  But Chris
Radek just pointed out to me that we already had a copy of the history
notes in our docs, in common/emc-history.

This commit copies the good parts of my second copy into the original
copy, and removes my second copy.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-24 10:29:36 -07:00
Jeff Epler
e79f435374 configs: Fix instances of # that were intended to be comments
Possibly affected sites were identified by
    git grep '^[^#]*=.*#' -- "*.ini"

This was accomplished by the vim substitution
    :%s/^\([^#].*=.*[^ ^I]\)\s*\(#.*\)/\2^M\1/g
where ^I and ^M are literal control characters.

One location where the value was intended to contain a literal # was manually
not replaced.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-23 17:50:26 -06:00
Sebastian Kuzminsky
91f44950dd docs: note new ini variable strictness in Updating/Config Changes
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-23 08:44:47 -07:00
Sebastian Kuzminsky
9d470d4a58 docs: minor update to Updating docs
Stop calling the new version "2.7".

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-23 08:44:12 -07:00
Jeff Epler
b10597e0c4 Merge branch '2.7' 2015-11-23 07:21:43 -06:00
Jeff Epler
f08031464e interp: explicitly make Interp{,Base} noncopyable
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-23 07:21:39 -06:00
Jeff Epler
c3ac4f5bf2 inifile: detect spurious trailing text on numbers in inifiles
this will break inifiles, because before now this text was just
ignored by anything that uses the 'typed' interface to InfFile::Find.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-11-23 07:21:39 -06:00
Sebastian Kuzminsky
cc2959d2c0 gladevcp: fix merge conflict mistake in tooledit widget
This fixes a merge conflict resolution error I made in the previous
merge commit.  Thanks to Balestrino for the correction.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-17 15:19:04 -07:00
Sebastian Kuzminsky
4b9702569f Merge remote-tracking branch 'origin/2.7'
Conflicts:
	lib/python/gladevcp/tooledit_widget.py
2015-11-17 10:49:38 -07:00
Sebastian Kuzminsky
fb1afd4251 Merge remote-tracking branch 'origin/2.7' 2015-11-15 19:27:19 -07:00
Sebastian Kuzminsky
4e018cccc1 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/halui/jogging/test-ui.py
2015-11-14 11:01:19 -07:00
Sebastian Kuzminsky
0ac9918a84 Merge remote-tracking branch 'origin/2.7' 2015-11-11 14:13:43 -07:00
Sebastian Kuzminsky
5ab82f963b Merge remote-tracking branch 'origin/2.7' 2015-11-11 12:50:27 -07:00
Sebastian Kuzminsky
40c1ea7c5e docs: add a History blurb (from the main joomla website)
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-11-10 10:26:59 -07:00
Jeff Epler
447847f32a Merge remote-tracking branch 'origin/jepler/for-master/drop-lucid' 2015-11-09 08:40:14 -06:00
Jeff Epler
85e8bc3413 Merge branch 'jepler/for-master/drop-lucid' 2015-11-09 07:51:42 -06:00
Jeff Epler
ec19e1e625 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-11-09 07:51:29 -06:00
Sebastian Kuzminsky
2e94777055 build-depend on w3c-linkchecker
This commit causes the HTML links to be validated every time the HTML
docs are built, using the W3C "checklink" program from the
w3c-linkchecker package.

This validation was optional before, because Lucid doesn't have the
w3c-linkchecker package, so we couldn't build-depend on it.  Now that we
don't support Lucid any more, we can finally add this build dependency.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-10-29 11:29:32 -06:00
Sebastian Kuzminsky
e2b065110d Merge remote-tracking branch 'origin/2.7' 2015-10-29 10:29:22 -06:00
Dewey Garrett
bf578d3404 sim_pin: support cmdline mode for bit items
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-25 19:29:49 -07:00
Dewey Garrett
95115738c5 sim_pin: make ivalue name consistent
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-25 19:27:48 -07:00
Sebastian Kuzminsky
9c15d39643 Merge remote-tracking branch 'origin/2.7' 2015-10-24 00:12:39 -06:00
Dewey Garrett
827175a9a1 halshow: remember last filename and dir for opens
also: reduce default number of files shown in open
      dialogs by using -filetypes

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-23 19:56:35 -07:00
Dewey Garrett
d79ff2a8c7 halshow: improve handling of missing watchfile items
before this commit, ::watchfile would be appended with
missing item names resulting in blank lines in display

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-23 11:47:16 -07:00
Dewey Garrett
ef849df9a3 halshow: support writing multiline watchfiles
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-23 11:44:20 -07:00
Sebastian Kuzminsky
0998870642 Merge remote-tracking branch 'origin/2.7' 2015-10-22 23:13:22 -06:00
Dewey Garrett
ce429f0668 halshow: support multiple line watchfile
halshow watchfiles created with the menu item: 'File/Save Watch File'
may require numerous clicks in the selection tree widget and
are created as one long line which can complicate modifying
or creating a watch file when editing by hand.

This commit makes it easier to hand-edit a halshow watchfile:
  o items can appear on multiple lines
  o blank lines are ignored
  o lines beginning with # character are ignored

Example:
  $ cat tst.halshow
  # comment_1

  pin+axis.0.pos-hard-limit
  param+iocontrol.0.tool-prep-index
  # comment_2
  sig+estop-loop

  $ halshow tst.halshow

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-10-22 20:34:49 -07:00
Sebastian Kuzminsky
d1e507b5db Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-10-20 17:43:04 -06:00
Jeff Epler
e7a1b21494 configure: Increase minimum Python requirement to 2.7.
It is easier to write code that is portable between Python 2.7 and
Python 3.x, which will become important soon as Python 2.7 is EOL'd
in 2020.

Support for older versions of Python was only required on Ubuntu
10.04 "Lucid Lynx", which is no longer supported in this branch.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-18 15:03:15 -05:00
Jeff Epler
9e0a18c05b configure: Drop non-working --disable-python
--disable-python has not worked, at least since we started using python
for the interpreter remap feature.  Remove the broken configure option.

This commit is best viewed with 'git show -w' because a large block had
its indentation level changed.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-18 15:03:15 -05:00
Jeff Epler
8380c9e65e build: drop PRELOAD_WORKAROUND
This workaround was only required on Ubuntu 10.04 "Lucid Lynx",
which is no longer supported in this branch.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-18 15:03:03 -05:00
Jeff Epler
2393c38826 build: drop support for building on Ubuntu Lucid
Ubuntu Lucid reached EOL in April 2015.  We will end support for it when
we reach EOL on our 2.7 release series.

Accordingly, don't build this combination on the buildbot.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-18 15:01:53 -05:00
Jeff Epler
a6bd7d3014 hostmot2: work properly with duplicate pins
.. by introducing an extra .#. part of the aliased name when the same
gtag/unit/pin is associated with more than one GPIO.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-17 13:07:29 -05:00
Jeff Epler
53eef401fe hostmot2: make failure to create aliases non-fatal
This can occur either because a user has an existing alias (not likely)
or because the same unit/function/pin is output on the same GPIO.  This
latter case actually happens in the field e.g., for firmwares designed
to work with 7i48/7i54.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-17 13:07:29 -05:00
Jeff Epler
993436a6fd Merge branch 'jepler/hm2-aliases' 2015-10-10 17:10:34 -05:00
Jeff Epler
c7803838e3 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/getting-started/updating-linuxcnc.txt
2015-10-10 17:10:28 -05:00
Jeff Epler
0c6fd14d94 hostmot2: add aliases related to GPIO pins used for special functions
On my test rig, this creates aliases like the following excerpt:
$ halcmd show alias
Parameter Aliases:
 Alias                                            Original Name
 hm2_7i92.0.pwmgen.00.out0.invert_output          hm2_7i92.0.gpio.001.invert_output
 hm2_7i92.0.pwmgen.00.out0.is_opendrain           hm2_7i92.0.gpio.001.is_opendrain

Where possible, I tried to model the naming after the related software
implementations (stepgen, pwmgen).

I did not cover all gtag and sec_tag combos; the ones that aren't covered
will not create aliases.  Mostly the combos not covered were marked
as not supported in hm2_get_pin_secondary_name.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-10 11:46:45 -05:00
Chris Morley
629916027d stepconf -add basic Gmoccapy screen option
Gmoccapy is a popular choice now.
The pyvcp panel option is stepconf doesn't make sense with
Gmoccapy, I will address that soon.
This is just basic support for Gmoccapy there may be more options
required/desirable.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-10-09 20:11:51 -07:00
Jeff Epler
e205f64709 Revert "checkglade: a new script to check glade files"
This reverts commit 65348391d3.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-09 20:46:04 -05:00
Jeff Epler
6cd31737da Revert "stepconf: non-fatal check for duplicate IDs"
This reverts commit e2bace3929.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-10-09 20:45:59 -05:00
Chris Morley
d40e5d4cee Merge branch '2.7' 2015-10-05 16:40:18 -07:00
Chris Radek
a2980486bf Fix stepconf backtrace at startup
Signed-off-by: Chris Radek <chris@timeguy.com>
2015-10-05 14:04:14 -05:00
Sebastian Kuzminsky
9f5b80c9f6 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	docs/src/getting-started/updating-linuxcnc.txt
2015-10-05 09:09:31 -06:00
Chris Morley
5f92b2f9ce gladevcp -add lathe wear offset display option
For those who use wear offset remap options, this separates
the wear offsets from the tool offsets on different tabs

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-10-04 03:28:40 -07:00
Chris Morley
6806220cb8 gscreen -add intenal doc capability
gscreen -F will send internal function docs to
standard output
Still more docs to make but my head hurts..

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-10-04 03:15:38 -07:00
Sebastian Kuzminsky
f0612e18bb docs: remove 2.6->2.7 stuff from "Updating LinuxCNC" instructions
This is in preparation for any new config changes needed when upgrading
from 2.7 to 2.8 (or 3, or whatever the next version will be).

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-10-02 22:14:54 -06:00
andypugh
9833ec895a Change the Vismcah VMC demo to use the new orient.N.is-oriented pin
Signed-off-by: andypugh <andy@bodgesoc.org>
2015-10-01 00:33:07 +01:00
Chris Morley
c3ed258d48 Merge branch '2.7' 2015-09-28 00:48:15 -07:00
Jeff Epler
b62f3d3c72 admonish users harder about 'make install'
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-09-25 16:46:36 -06:00
Sebastian Kuzminsky
ecf1685e33 Merge remote-tracking branch 'origin/2.7' 2015-09-24 22:42:32 -05:00
Sebastian Kuzminsky
6edc6e831d Merge remote-tracking branch 'origin/2.7' 2015-09-24 00:12:10 -06:00
Sebastian Kuzminsky
aa37cb02f9 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-09-10 15:53:54 -06:00
Jeff Epler
7417d4a7e8 Merge remote-tracking branch 'origin/jepler/aarch64' 2015-09-10 11:37:37 -05:00
Jeff Epler
e2bace3929 stepconf: non-fatal check for duplicate IDs
We discovered in 2014 that duplicated IDs in different glade files don't
behave consistently when those IDs are referred to from Python code.

However, some duplicate IDs seem to be OK, such as when the ID is never
referred to from Python code.

With this change, there will be a warning about *any* duplicated id in
stepconf's glade files; this produces a lot of warnings at the moment.

This should be expanded to the other parts of LinuxCNC that use glade
such as pncconf.

Related:
http://stackoverflow.com/questions/1378582/using-multiple-glade-files-gtkbuiler#1380024
http://pygtk-id.blogspot.com/2009/06/replace-duplicate-widget-name-in-glade.html
2015-09-10 11:28:42 -05:00
Jeff Epler
c813031ccb stepconf build: refactor to repeat less 2015-09-10 11:24:19 -05:00
Jeff Epler
65348391d3 checkglade: a new script to check glade files
.. for repeated IDs, which caused bug #380 and #385
2015-09-10 11:22:50 -05:00
Jeff Epler
fdb8d52bfc Merge branch '2.7' 2015-08-30 21:24:48 -05:00
Sebastian Kuzminsky
34f5a3baee Merge origin/2.7 into master (using imerge) 2015-08-29 13:20:59 -06:00
Jeff Epler
edb8ad1174 Merge branch '2.7' 2015-08-07 19:11:25 -05:00
Sebastian Kuzminsky
9b613cc97f Merge remote-tracking branch 'origin/2.7' 2015-08-07 17:14:05 -06:00
Jeff Epler
8b989a180e Merge branch '2.7' 2015-08-04 09:07:48 -05:00
Sebastian Kuzminsky
fc374e3119 Merge remote-tracking branch 'origin/2.7' 2015-07-29 10:20:17 -06:00
Sebastian Kuzminsky
77eb37da67 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	tests/halui/mdi/test-ui.py
2015-07-28 14:07:29 -06:00
Jeff Epler
66ec566cfb Merge remote-tracking branch 'origin/2.7' 2015-07-15 20:09:46 -05:00
Jeff Epler
f1c84aa873 build: remove unused IS_POWERPC
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-13 06:50:58 -05:00
Jeff Epler
aa18ad4909 rtapi: accommodate systems without sys/io.h
.. such as aarch64.  On these systems, there is no
suitable definition of inb/outb to be had, as there is no I/O
memory space distinct from the regular address space.

Implement these functions such that inX returns zero,
outX does nothing.

(In retrospect, it's surprising that 32-bit arm has
sys/io.h, inb/outb and the rest, but apparently for certain early
ARM systems such as the NetWinder, inb/outb were mapped onto a
certain range of memory addresses known as the "footbridge"; that
lives on in glibc to this day despite the fact that all the netwinders
are probably in landfills by now)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-13 06:50:58 -05:00
Norbert Schechner
6991d22261 Merge branch '2.7' 2015-07-12 14:15:08 +02:00
Norbert Schechner
7971463d77 Merge branch '2.7' 2015-07-12 13:34:31 +02:00
Jeff Epler
e4b94a5df9 build: use a different method to expose symbols
.. the old method doesn't work on aarch64 and apparently caused problem
with powerpc back in the day.  The new method has been tested to work on
amd64 and aarch64 and is expected to be more portable: it is the normal
method used to select the symbols visible in a shared library.

(I don't have a powerpc to test with)

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-09 02:18:33 +00:00
Jeff Epler
00aff4a53e Makefiles: remove unused rule
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2015-07-09 01:22:56 +00:00
Sebastian Kuzminsky
8df0f68e0a Merge remote-tracking branch 'origin/2.7' 2015-07-01 02:01:03 -06:00
Jeff Epler
c4ea03c235 Merge remote-tracking branch 'origin/2.7' 2015-06-22 17:02:06 -05:00
Sebastian Kuzminsky
65603e7f17 halui tests: better logging
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>

(cherry picked from commit a4b4f6c93b156a7bd8e0068d1f65ed9076f36e51,
in the liblinuxcnc-ui branch)
2015-06-08 23:51:59 -06:00
andy pugh
a91a77904b Add a default value to the is-oriented tolerance.
Also add the new pin to the useage example.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2015-06-07 15:02:43 +01:00
Sebastian Kuzminsky
eb111dbbad Merge remote-tracking branch 'origin/2.7' 2015-06-03 17:59:08 -06:00
Moses McKnight
4c0ce18dd5 Merge branch '2.7' 2015-05-26 22:24:48 -05:00
Chris Morley
abb34167fa Merge branch '2.7'
Conflicts:
	src/emc/usr_intf/stepconf/stepconf.py
2015-05-26 17:50:43 -07:00
andy pugh
ad152d4576 If you change the pin name, you have to change the variable too. You idiot.
And make sure you save before recompiling to test too, Fool.


Signed-off-by: andy pugh <andy@bodgesoc.org>
2015-05-22 22:58:04 +01:00
andy pugh
9763aa8efe Add a pin to the orient component to toggle the motion.spindle-is-oriented pin
Signed-off-by: andy pugh <andy@bodgesoc.org>
2015-05-22 22:41:00 +01:00
Norbert Schechner
4ef4cb5acf Merge branch '2.7' 2015-05-19 19:09:18 +02:00
Norbert Schechner
e743793567 Merge branch '2.7' 2015-05-14 23:22:12 +02:00
Norbert Schechner
14af9d8913 Merge branch '2.7' 2015-05-14 22:54:49 +02:00
Norbert Schechner
f6cecd5a65 Merge branch '2.7' 2015-05-14 21:58:19 +02:00
Sebastian Kuzminsky
368f439f15 Merge remote-tracking branch 'origin/2.7' 2015-05-10 13:55:16 -06:00
Jeff Epler
f699c1cc1b Merge branch '2.7'
Conflicts:
	VERSION
	debian/changelog
	docs/man/man9/streamer.9
2015-05-02 18:40:04 -05:00
Jeff Epler
fa8867adb8 Merge branch '2.6' 2015-04-18 07:20:56 -05:00
Chris Radek
048366b51d Merge branch '2.7' 2015-03-30 15:30:20 -05:00
Norbert Schechner
7d10243e33 Merge branch '2.7' 2015-03-30 21:58:40 +02:00
Chris Morley
fb624ed544 stepconf -only show relevent questions for spindle page
it's less confusing of course

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-29 21:13:55 -07:00
Chris Morley
502dd61b9c Merge branch '2.7' 2015-03-29 20:04:12 -07:00
Chris Morley
99a52db00d stepconf -fix error while live testing U or V axis
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-29 15:28:48 -07:00
Sebastian Kuzminsky
51e3bac99a Merge remote-tracking branch 'origin/2.7' 2015-03-26 08:01:38 -06:00
Chris Morley
a73f4629c9 stepconf -fix missing HAL reset lines for U and V axes
didn't add parport reset HAL code for U and V

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-22 19:32:30 -07:00
Chris Morley
6970254398 stepconf -fix Z being called U in HAL file
variables were in the wrong order.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-22 19:23:19 -07:00
Norbert Schechner
e99f2cbd82 Merge branch '2.7'
Solved Conflicts:
	VERSION
	debian/changelog


Signed-off-by: Norbert Schechner <nieson@web.de>
2015-03-14 21:15:20 +01:00
Chris Morley
d39f00c45a stepconf - oops forgot glade files
axisu and axisv are required

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-13 18:50:15 -07:00
Chris Morley
b29c175893 Merge branch 'stepconf-foam' 2015-03-13 18:16:50 -07:00
Chris Morley
d453bee753 stepconf -add XYUV foam capability to stepconf
The changes were based on the axis_foam sample and forum info.
I have not tested on a real machine - just in simulation

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-13 18:16:33 -07:00
Chris Morley
d467ba432c HAL comp -update sim_axis_hardware for U and V axes
for stepconf - we are adding foam configs

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2015-03-13 18:16:25 -07:00
Norbert Schechner
d3c6d4dfc8 gmoccapy_1_5_2_2 - fixed division by zero error on spindle
ver. 1.5.2.2
- if a user did reduce spindle override to zero and switched on the
  spindle, gmoccapy produced a division by zero error. Fixed!
  reported by "tekmobile"

Signed-off-by: Norbert Schechner <nieson@web.de>
2015-03-13 18:16:25 -07:00
Norbert Schechner
dde5c45630 Merge branch '2.7' 2015-03-09 20:39:18 +01:00
Sebastian Kuzminsky
eaff4f05eb docs: convert streamer manpages to asciidoc
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-03-08 17:44:45 -06:00
Sebastian Kuzminsky
c7800455c8 docs: teach buildsystem to generate manpages from asciidoc source
The asciidoc markup format is way simpler than the *roff format natively
used for manpages.

This commit allows manpages to be written in asciidoc format, and
automatically converted at build time.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2015-03-08 17:44:32 -06:00
Chris Radek
20f52dd0e1 Merge branch '2.7' 2015-03-08 17:15:29 -05:00
Norbert Schechner
9c409f333b Merge branch '2.7' 2015-03-05 21:44:24 +01:00
Norbert Schechner
c10bf34c86 Merge branch '2.7' 2015-03-05 21:35:30 +01:00
Norbert Schechner
d79368f283 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2015-03-02 16:16:06 +01:00
Norbert Schechner
f0b3026732 docs - some corrections on gmoccapy docs
Signed-off-by: Norbert Schechner <nieson@web.de>
2015-03-02 16:15:20 +01:00
chris morley
f828f6eddb Merge branch '2.7' into lnc_master 2015-02-28 10:21:50 -08:00
chris morley
ff4fef1f9b pncconf -add the 7i84 daughter card as an option
both mode 0 and mode 3 (MPG)
I haven't live tested as I don't have the card.
Compared HAL output to user suplied text.

Signed-off-by: chris morley <chrisinnanaimo@hotmail.com>
2015-02-28 09:43:24 -08:00
Sebastian Kuzminsky
7411497689 Merge remote-tracking branch 'origin/2.7' 2015-02-24 22:56:55 -07:00
Sebastian Kuzminsky
516e7540a2 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-02-21 15:17:37 -07:00
Sebastian Kuzminsky
2d20def100 Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2015-02-19 22:42:45 -07:00
Sebastian Kuzminsky
5718f6fde7 Merge remote-tracking branch 'origin/2.7' 2015-02-18 08:35:57 -07:00
Dewey Garrett
d937bc9fb1 Merge remote-tracking branch 'origin/2.7'
with minor edits to numbers within comments to
     fix out-of-sequence ordering

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2015-02-04 11:43:04 -07:00
Sebastian Kuzminsky
82a23e3bfe Merge remote-tracking branch 'origin/2.7' 2015-01-28 21:48:54 -07:00
Norbert Schechner
4ceca76361 Merge branch '2.7' 2015-01-21 21:42:53 +01:00
Norbert Schechner
1e718685d0 Merge branch '2.7' 2015-01-19 19:13:29 +01:00
Norbert Schechner
c3ec78e12e Merge branch '2.7' 2015-01-17 20:39:01 +01:00
Norbert Schechner
8173dd36eb Merge branch '2.7' 2015-01-17 19:52:09 +01:00
Norbert Schechner
04828fe24e Merge branch '2.7' 2015-01-14 12:39:57 +01:00
Norbert Schechner
ef81eceb13 Merge branch '2.7' 2015-01-12 21:46:52 +01:00
Sebastian Kuzminsky
0aca6a1c91 Merge remote-tracking branch 'origin/2.7' 2015-01-11 10:59:15 -07:00
Norbert Schechner
d0ec0da306 Merge branch '2.7' 2015-01-10 21:16:01 +01:00
Sebastian Kuzminsky
99e6bc9c1d Merge remote-tracking branch 'origin/2.7' 2015-01-06 08:25:39 -07:00
Norbert Schechner
473751a031 Merge branch '2.7' 2015-01-04 16:14:32 +01:00
Norbert Schechner
12fe0ad695 Merge branch '2.7' 2015-01-03 18:35:01 +01:00
Norbert Schechner
218fe70bf4 Merge branch '2.7' 2015-01-02 21:42:14 +01:00
Sebastian Kuzminsky
5631d61ac5 Merge remote-tracking branch 'origin/2.7' 2015-01-02 01:18:50 -07:00
Chris Morley
677fe4137d pncconf -add combobox filters to sserial and ss encoders
We limit the selections in ss comboboxes to what makes sense

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:43 -08:00
Chris Morley
71f43e823e pncconf -have the sserial tabs display subboard names
Should help with identification.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:43 -08:00
Chris Morley
3367cffd7d pncconf -fix wrong auto-selection of last firmware
if the firmware was last on the list it would be found
but pncconf decide it wasn't found and showed a default firmware.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:43 -08:00
Chris Morley
6f3eb0e144 pncconf -add support for 7i76e
untested as of yet

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:42 -08:00
Chris Morley
17b59d2d20 pncconf -add spindle vfd options
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:42 -08:00
Chris Morley
f22876f08b pncconf -add helpful info to multibuilder error message
knowing the name of the conflicting widget helps alot

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:42 -08:00
Chris Morley
b9e1ce8d11 pncconf -improve spindle data collection
including info for hi and low range gear settings
we get some useful in-between spindle fb signals:
feedback in RPM
feedback in RPM absolute
remove spindle test as the test commands position not velocity

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:42 -08:00
Chris Morley
9b16451b2f pncconf -fix calculation of STEPGEN_MAXVEL
maxvel should be doubled when using backlash comp

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-12-30 01:52:42 -08:00
Norbert Schechner
d237a26733 Merge branch '2.7' 2014-12-30 05:10:25 +01:00
Norbert Schechner
7db148d789 Merge branch '2.7' 2014-12-29 14:05:44 +01:00
Sebastian Kuzminsky
4dba3e688a Merge remote-tracking branch 'origin/2.7' 2014-12-28 17:02:02 -07:00
Norbert Schechner
3d190beb41 Merge branch '2.7' 2014-12-27 18:54:27 +01:00
Norbert Schechner
33e7433a91 Merge branch '2.7' 2014-12-26 13:49:59 +01:00
Chris Radek
eff27b5214 Merge branch '2.7' 2014-12-25 10:54:11 -06:00
Sebastian Kuzminsky
d230316be8 Merge remote-tracking branch 'origin/2.7' 2014-12-18 18:33:42 -07:00
Sebastian Kuzminsky
fa35947abd Merge remote-tracking branch 'origin/2.7' 2014-12-17 16:01:56 -07:00
Sebastian Kuzminsky
f3ca26afcf Merge remote-tracking branch 'origin/2.7' 2014-12-16 22:45:44 -07:00
Sebastian Kuzminsky
9a20e81381 Merge remote-tracking branch 'origin/2.7' 2014-12-12 18:46:27 -07:00
Sebastian Kuzminsky
7118806e02 Merge remote-tracking branch 'origin/2.7' 2014-12-09 21:29:51 -07:00
Chris Morley
0c55c19594 Merge branch '2.7' 2014-11-24 01:08:29 -08:00
Chris Morley
0d52df09db Merge branch '2.7'
Conflicts:
	src/emc/usr_intf/stepconf/build_HAL.py
	src/emc/usr_intf/stepconf/stepconf.py
2014-11-23 23:25:27 -08:00
Dewey Garrett
854fc2324f sim_pin: better default for bit types
Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-11-23 15:04:57 -07:00
Norbert Schechner
f67038fa5e Merge branch '2.7' 2014-11-20 18:32:07 +01:00
Norbert Schechner
6f96b26bdc Merge branch '2.7' 2014-11-18 09:30:52 +01:00
Sebastian Kuzminsky
093b040530 task: reindent for consistency
This commit only changes whitespace, to get adjacent lines to line up
on the same column (given 8-character tabs).

Some nearby lines use tabs instead of spaces so the diff looks off,
but in an editor with 8-char tabs it looks right, and i didn't want to
replace all the tabs.

Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-11-17 22:51:51 -07:00
Chris Radek
5a12a79d87 Merge branch '2.7' 2014-11-17 15:49:00 -06:00
Sebastian Kuzminsky
382a14c932 Merge remote-tracking branch 'origin/2.7' 2014-11-17 08:02:30 -07:00
Jeff Epler
19dcbdefcb Merge remote-tracking branch 'origin/2.7' 2014-11-14 06:59:04 -06:00
Jeff Epler
49a9ed2263 Merge remote-tracking branch 'origin/2.7' 2014-11-13 21:53:16 -06:00
Jeff Epler
bf22e30dc6 Merge remote-tracking branch 'origin/2.7' 2014-11-13 20:47:55 -06:00
Sebastian Kuzminsky
7dbefb47cc Merge remote-tracking branch 'origin/2.7' 2014-11-04 17:27:08 -07:00
Sebastian Kuzminsky
75ec84cbcd Merge remote-tracking branch 'origin/2.7' 2014-11-04 08:24:12 -07:00
Jeff Epler
246fa4e365 Merge branch '2.7' 2014-11-03 16:20:50 -06:00
Sebastian Kuzminsky
2cfd3dbd8a Merge remote-tracking branch 'origin/2.7' 2014-11-02 09:58:37 -07:00
Chris Radek
2f3138b20f Merge branch '2.7' 2014-10-29 13:12:02 -05:00
Jeff Epler
fd255aea7c Merge branch '2.7' 2014-10-28 15:41:08 -05:00
Norbert Schechner
33fc3dc585 Merge branch '2.6' 2014-10-28 10:01:38 +01:00
Norbert Schechner
f2ec59a600 gmoccapy_1_3_2 - PAUSE button did not get active on M01
ver. 1.3.2
- fixed a small bug PAUSE button did not get active on M01
  Thanks to Rick (LAIR82) for pointing on it.

Signed-off-by: Norbert Schechner <nieson@web.de>
2014-10-28 09:56:32 +01:00
Norbert Schechner
1a54c8d0bf Merge branch '2.6' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git into 2.6 2014-10-28 09:54:59 +01:00
Sebastian Kuzminsky
ec5f64e986 LinuxCNC 2.8.0~pre1 pre-release
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-10-26 23:18:24 -06:00
Sebastian Kuzminsky
1403f9673b Merge remote-tracking branch 'origin/2.7'
Conflicts:
	VERSION
	debian/changelog
2014-10-26 23:16:32 -06:00
Chris Morley
b4f5ce0aa0 sim_axis_hardware -remove home-all selection pins, add docs
with apropriate defaults, home-all selection is not required,
the unused axes will not trip home-all because the position stays at zero.

docs are probably helpful...

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-26 12:09:50 -07:00
Chris Morley
68912a8820 remove parport component
Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-26 12:09:50 -07:00
Chris Morley
5f36422f67 replace parport component with sim_parport
better descriptive name
adjust stepconf to use new name

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-26 12:09:50 -07:00
Norbert Schechner
859c53a8c9 Merge branch 'master' of ssh://norbert@git.linuxcnc.org/git/linuxcnc.git 2014-10-26 12:21:46 +01:00
Norbert Schechner
32e7737049 gmoccapy_1_3_1 - fixed PAUSE / RESUME / STOP bug
ver. 1.3.1
- fixed very serious bug PAUSE / RESUME / STOP issue
  Program jumped to strange positions if STOP has been pressed
  while PAUSE was active.
  Thanks to Mael (papaours) for finding it.

ver. 1.3.0.1
- corrected a bug, toolchange velocity hal pin have not been
  presseted with values, if the user worked with the
  default values, so a probing with vel = 0 was possible,
  resulting in an error
- corrected an error in notifications.py, as the text to be
  displayed has not been checked for correct pango format, a
  message like "vel <= 0" resulted in an error. Now the necessary
  check is done

Signed-off-by: Norbert Schechner <nieson@web.de>
2014-10-26 12:03:04 +01:00
Dewey Garrett
2c56474f61 task: ini_hal_init only when emcmotion_initialized
emcMotionInit() may be called multiple times if something goes
wrong so avoid confusing messages from unneeded repeated
calls to ini_hal_init()

Note: ini_hal_init* fails are reported but not fatal

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-25 20:30:53 -07:00
Jeff Epler
fe0bf4707f task: shut down ini_hal at exit
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-10-24 19:27:07 -05:00
Jeff Epler
bbdef1c0dc tcl: test that the Hal and Linuxcnc extensions load
This test is expected to fail in the case that configure selected
conflicting versions of libtcl and tclsh/wish executable.

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-10-24 16:28:39 -05:00
Jeff Epler
e1ed51280a emcsvr: daemonize after setup is complete
.. which allows removal of an unconditional sleep from
the linuxcnc runscript

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-10-24 16:28:39 -05:00
Jeff Epler
55ec5ebac2 runscript: EMCTASK is a HAL component now
.. so load it like one.  This allows the removal of delays and postgui
hal file tricks to use the ini.* pins

Signed-off-by: Jeff Epler <jepler@unpythonic.net>
2014-10-24 16:28:39 -05:00
Dewey Garrett
acd743ec4e ini_hal_demo.ini eliminate unneeded file
by using [APPLICATION]APP= instead

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-23 21:02:18 -07:00
Dewey Garrett
46998fa0fb inifile.cc: support extending lines with backslash
Applies to variable lines only (not to SECTION lines).
Max number of lines to extend is MAX_EXTEND_LINES (20)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-23 21:02:18 -07:00
Chris Morley
71b96f06c0 stepconf -use a preference file
make stepconf remember last config name, link, shortcut,
and sim hardware options for next time started.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-23 20:48:25 -07:00
Chris Morley
a2a134bf57 stepconf -use new components to make a simulated config.
One can build an arbitrary sized simulated machine.
one can test stepconf's configs on a non realtime computer.

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-23 19:29:26 -07:00
Chris Morley
9aca17b32b components -add (sim) parport and sim_axis_hardware components
These are for making simulated configs with stepconf.
The parport component is a passthrough that stands in for the realtme parport component.
sim_axis_hardware creates limit and homing switches based from current joint position and
info plugged into it (expected to come from the INI file)

Signed-off-by: Chris Morley <chrisinnanaimo@hotmail.com>
2014-10-23 19:29:26 -07:00
Dewey Garrett
b0dcec1a50 latency-test: dont force lowercase on units
not proper (eg, mS is milli-siemens)

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-23 13:42:58 -07:00
Dewey Garrett
3bbbca47fd latency-test: include -h|--help option
also:
  parse_time(): consider inputs as lower case
                to support uS,mS, etc.

also: allows testing single thread using either "-" or 0 for other period
      as mentioned in commit 5829d4cb

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-23 13:29:55 -07:00
Dewey Garrett
60cf79ef95 latency-test: typo for $1 lt 1000 computation
According to help text:
"Times without a suffix and less than 1000 are taken to be in us"

Signed-off-by: Dewey Garrett <dgarrett@panix.com>
2014-10-23 13:21:17 -07:00
Sebastian Kuzminsky
dcf6f1cf04 githelper: better tag glob for master
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-10-21 17:14:00 -05:00
Sebastian Kuzminsky
3a525011b0 Merge branch '2.7'
Conflicts:
	VERSION
	debian/changelog
2014-10-21 14:43:32 -05:00
Sebastian Kuzminsky
847eaaff28 Pre-release: 2.8.0~pre0
Signed-off-by: Sebastian Kuzminsky <seb@highlab.com>
2014-10-21 14:40:15 -05:00
6454 changed files with 5398095 additions and 508017 deletions

1
.gitattributes vendored
View file

@ -1,2 +1,3 @@
*.po merge=pofile
*.pot merge=pofile
.github/ export-ignore

219
.github/workflows/ci.yml vendored Normal file
View file

@ -0,0 +1,219 @@
# vim: sw=2
name: Build CI
on:
push:
pull_request:
release:
types: [published]
check_suite:
types: [rerequested]
jobs:
rip-and-test:
runs-on: ubuntu-20.04
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
- name: Build RIP & test
run: |
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
sudo apt install ./po4a_0.67-2_all.deb
cd src
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps
eatmydata make -O -j$((1+$(nproc))) default pycheck V=1
# Note that the package build covers html docs
../scripts/rip-environment runtests -p
htmldocs:
runs-on: ubuntu-20.04
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- run: git fetch --recurse-submodules=no https://github.com/linuxcnc/linuxcnc refs/tags/*:refs/tags/*
- name: Build HTML docmentation
run: |
./scripts/travis-install-build-deps.sh
sudo apt-get install -y eatmydata
curl -O https://snapshot.debian.org/archive/debian/20220716T154603Z/pool/main/p/po4a/po4a_0.67-2_all.deb
sudo apt install ./po4a_0.67-2_all.deb
cd src
eatmydata ./autogen.sh
eatmydata ./configure --with-realtime=uspace --disable-check-runtime-deps --enable-build-documentation=html
eatmydata make -O -j$((1+$(nproc))) manpages
eatmydata make -O -j$((1+$(nproc))) translateddocs
eatmydata make -O -j$((1+$(nproc))) docs
# Note that the package build covers html docs
package-arch:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["debian:buster", "debian:bullseye", "debian:bookworm", "debian:sid"]
container:
image: ${{ matrix.image }}
# IPC_OWNER is needed for shmget IPC_CREAT
# SYS_ADMIN is needed for shmctl IPC_SET
options: --cpus=2 --cap-add=IPC_OWNER --cap-add=SYS_ADMIN
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Install pre-dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
apt-get --quiet update
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
- uses: actions/checkout@v3
with:
# "fetch-depth: 0" fetches all of history, this is needed by
# our build system to determine the version from tags
fetch-depth: 0
- name: Add linuxcnc.org deb archive
env:
DEBIAN_FRONTEND: noninteractive
run: |
case "${{matrix.image}}" in
debian:sid|debian:bookworm)
exit 0
;;
*)
;;
esac
set -e
set -x
apt-get --yes --quiet install --no-install-recommends gpg software-properties-common
gpg --homedir="${PWD}/gnupg" --output /etc/apt/trusted.gpg.d/linuxcnc-deb-archive.gpg --export 3CB9FD148F374FEF
DIST=$(echo ${{matrix.image}} | cut -d : -f 2)
add-apt-repository "deb http://linuxcnc.org $DIST base"
apt-get --quiet update
- name: Build architecture-specific Debian packages
env:
DEBEMAIL: emc-developers@lists.sourceforge.net
DEBFULLNAME: LinuxCNC Github CI Robot
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
git config --global --add safe.directory "${PWD}"
debian/configure
debian/update-dch-from-git
scripts/get-version-from-git | sed -re 's/^v(.*)$/\1/' >| VERSION; cat VERSION
git diff
apt-get --yes --quiet build-dep --arch-only .
apt-get --yes --quiet install eatmydata
eatmydata debuild -us -uc --build=any
- name: Test debian packages
env:
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
apt-get --yes --quiet install ../*.deb
apt-get --yes --quiet install sudo # some tests run sudo...
adduser --disabled-password --gecos "" testrunner
passwd -d testrunner
adduser testrunner sudo
chmod 0777 $(find tests/ -type d) # make test dirs world-writable for the testrunner
su -c "./scripts/runtests -p ./tests" testrunner
package-indep:
runs-on: ubuntu-latest
strategy:
matrix:
image: ["debian:buster", "debian:bullseye", "debian:bookworm", "debian:sid"]
container:
image: ${{ matrix.image }}
# IPC_OWNER is needed for shmget IPC_CREAT
# SYS_ADMIN is needed for shmctl IPC_SET
options: --cpus=2 --cap-add=IPC_OWNER --cap-add=SYS_ADMIN
steps:
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Install pre-dependencies
env:
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
apt-get --quiet update
# Install stuff needed to check out the linuxcnc repo and turn it into a debian source package.
apt-get --yes --quiet install --no-install-suggests git lsb-release python3 devscripts
- uses: actions/checkout@v3
with:
# "fetch-depth: 0" fetches all of history, this is needed by
# our build system to determine the version from tags
fetch-depth: 0
- name: Add linuxcnc.org deb archive
env:
DEBIAN_FRONTEND: noninteractive
run: |
case "${{matrix.image}}" in
debian:sid|debian:bookworm)
exit 0
;;
*)
;;
esac
set -e
set -x
apt-get --yes --quiet install gpg software-properties-common
gpg --homedir="${PWD}/gnupg" --output /etc/apt/trusted.gpg.d/linuxcnc-deb-archive.gpg --export 3CB9FD148F374FEF
DIST=$(echo ${{matrix.image}} | cut -d : -f 2)
add-apt-repository "deb http://linuxcnc.org $DIST base"
apt-get --quiet update
- name: Build architecture-independent Debian packages
env:
DEBEMAIL: emc-developers@lists.sourceforge.net
DEBFULLNAME: LinuxCNC Github CI Robot
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
git config --global --add safe.directory "${PWD}"
debian/configure
debian/update-dch-from-git
scripts/get-version-from-git | sed -re 's/^v(.*)$/\1/' >| VERSION; cat VERSION
git diff
apt-get --yes --quiet build-dep --indep-only .
apt-get --yes --quiet install eatmydata
eatmydata debuild -us -uc --build=all
- name: Test install debian packages
env:
DEBIAN_FRONTEND: noninteractive
run: |
set -e
set -x
apt-get --yes --quiet install ../*.deb

33
.gitignore vendored
View file

@ -13,24 +13,25 @@ build-stamp
.tmp*
# Ignore generated html files,
/docs/src/*/*.html
# Except Gcode quick-ref cards (en,de,sp,fr) which are maintained by hand
!docs/html/gcode*.html
# Ignore all LyX files, we're done with them now.
*.lyx
docs/src/hal/components_gen.adoc
# docs/html/.gitignore is for the html directory
debian/*.debhelper.log
rtlib/Module.symvers
share/*/*.desktop
share/menus/CNC.menu
share/desktop-directories/cnc.directory
share/desktop-directories/linuxcnc-cnc.directory
share/desktop-directories/linuxcnc-ref.directory
share/desktop-directories/linuxcnc-doc.directory
src/modules.order
docs/html/drivers
/configs/*/emc.nml
!/configs/common/emc.nml
/docs/src/source-highlight/local
lib/python/gremlin.py
lib/python/qt5_graphics.py
lib/python/touchy
configs/sim/gmoccapy/*.pref
configs/sim/gmoccapy/gmoccapy_plasma/*.pref
configs/sim/gmoccapy/gmoccapy-JA/*.pref
# Miscellaneous generated files (Rob)
cscope
cscope.*
@ -38,5 +39,23 @@ cscope.*
oprofile*
*.log
position.txt
*.9
# *.9
*.glade.h
# Ignore test results
*.result
# Ignore temp files
*.swp
# Ignore po4a temp files
*.failed.po
*-new_??.po
# Ignore stamp files
*.*-stamp
# Ignore VSCode settings
.vscode/settings.json
# Ignore po4a-generated files for other languages
docs/help/es/*
docs/help/fr/*
docs/help/hu/*
docs/help/nb/*
docs/help/vi/*
docs/help/zh_CN/*

View file

@ -1,6 +0,0 @@
sudo: required
language: c++
before_install: ./scripts/travis-install-build-deps.sh
script: ./scripts/travis-build-test.sh
notifications:
email: false

491
COPYING
View file

@ -1,30 +1,12 @@
****************************************************************
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Notice: Most of LinuxCNC is covered by the GNU General Public
License. Some portions are covered by the GNU Lesser
General Public License (mostly interface definitions).
Both licenses are included in their entirety below.
Much of LinuxCNC is derived from the Enhanced Machine Controller, a
work of Fred Proctor, Tom Kramer, Will Shackleford, and others.
That work was originally released into the public domain. It was
used as the basis of LinuxCNC, but received extensive modifications.
LinuxCNC is NOT public domain. Anyone wishing to use the public
domain code in a way that is not compatible with the (L)GPL must
locate the original the Enhanced Machine Controller code - they may
NOT use LinuxCNC.
******************************************************************
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
@ -33,7 +15,7 @@ software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
the GNU Lesser General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
@ -73,8 +55,8 @@ patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
@ -128,7 +110,7 @@ above, provided that you also meet all of these conditions:
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
@ -186,7 +168,7 @@ access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
@ -243,7 +225,7 @@ impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
@ -273,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@ -295,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
@ -321,17 +303,16 @@ the "copyright" line and a pointer to where the full notice is found.
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
@ -354,437 +335,5 @@ necessary. Here is a sample; alter the names:
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License.
******************************************************************************
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public Licenses are
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some specially
designated software packages--typically libraries--of the Free Software
Foundation and other authors who decide to use it. You can use it too, but
we suggest you first think carefully about whether this license or the
ordinary General Public License is the better strategy to use in any
particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish); that you receive source code or can get it
if you want it; that you can change the software and use pieces of it
in new free programs; and that you are informed that you can do these
things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis or
for a fee, you must give the recipients all the rights that we gave you.
You must make sure that they, too, receive or can get the source code.
If you link other code with the library, you must provide complete object
files to the recipients, so that they can relink them with the library
after making changes to the library and recompiling it. And you must show
them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that there is
no warranty for the free library. Also, if the library is modified by
someone else and passed on, the recipients should know that what they
have is not the original version, so that the original author's reputation
will not be affected by problems that might be introduced by others.
Finally, software patents pose a constant threat to the existence of any
free program. We wish to make sure that a company cannot effectively
restrict the users of a free program by obtaining a restrictive license
from a patent holder. Therefore, we insist that any patent license
obtained for a version of the library must be consistent with the full
freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License. This license, the GNU Lesser General Public
License, applies to certain designated libraries, and is quite different
from the ordinary General Public License. We use this license for certain
libraries in order to permit linking those libraries into non-free programs.
When a program is linked with a library, whether statically or using a
shared library, the combination of the two is legally speaking a combined
work, a derivative of the original library. The ordinary General Public
License therefore permits such linking only if the entire combination fits
its criteria of freedom. The Lesser General Public License permits more lax
criteria for linking other code with the library.
We call this license the "Lesser" General Public License because it does
Less to protect the user's freedom than the ordinary General Public License.
It also provides other free software developers Less of an advantage over
competing non-free programs. These disadvantages are the reason we use the
ordinary General Public License for many libraries. However, the Lesser
license provides advantages in certain special circumstances.
For example, on rare occasions, there may be a special need to encourage
the widest possible use of a certain library, so that it becomes a de-facto
standard. To achieve this, non-free programs must be allowed to use the
library. A more frequent case is that a free library does the same job as
widely used non-free libraries. In this case, there is little to gain by
limiting the free library to free software only, so we use the Lesser
General Public License.
In other cases, permission to use a particular library in non-free programs
enables a greater number of people to use a large body of free software.
For example, permission to use the GNU C Library in non-free programs
enables many more people to use the whole GNU operating system, as well
as its variant, the GNU/Linux operating system.
Although the Lesser General Public License is Less protective of the users'
freedom, it does ensure that the user of a program that is linked with the
Library has the freedom and the wherewithal to run that program using a
modified version of the Library.
The precise terms and conditions for copying, distribution and modification
follow. Pay close attention to the difference between a "work based on the
library" and a "work that uses the library". The former contains code derived
from the library, whereas the latter must be combined with the library in
order to run.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other program
which contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Lesser General
Public License (also called "this License"). Each licensee is addressed as
"you".
A "library" means a collection of software functions and/or data prepared
so as to be conveniently linked with application programs (which use some
of those functions and data) to form executables.
The "Library", below, refers to any such software library or work which
has been distributed under these terms. A "work based on the Library"
means either the Library or any derivative work under copyright law:
that is to say, a work containing the Library or a portion of it, either
verbatim or with modifications and/or translated straightforwardly into
another language. (Hereinafter, translation is included without limitation
in the term "modification".)
"Source code" for a work means the preferred form of the work for making
modifications to it. For a library, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and
installation of the library.
Activities other than copying, distribution and modification are not covered
by this License; they are outside its scope. The act of running a program
using the Library is not restricted, and output from such a program is
covered only if its contents constitute a work based on the Library
(independent of the use of the Library in a tool for writing it). Whether
that is true depends on what the Library does and what the program that
uses the Library does.
1. You may copy and distribute verbatim copies of the Library's complete
source code as you receive it, in any medium, provided that you conspicuously
and appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this
License and to the absence of any warranty; and distribute a copy of this
License along with the Library.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Library or any portion of it,
thus forming a work based on the Library, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that
you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices stating
that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no charge
to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses the
facility, other than as an argument passed when the facility is invoked,
then you must make a good faith effort to ensure that, in the event an
application does not supply such function or table, the facility still
operates, and performs whatever part of its purpose remains meaningful.
(For example, a function in a library to compute square roots has a
purpose that is entirely well-defined independent of the application.
Therefore, Subsection 2d requires that any application-supplied function
or table used by this function must be optional: if the application does
not supply it, the square root function must still compute square roots.)
These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Library, and can be reasonably
considered independent and separate works in themselves, then this License,
and its terms, do not apply to those sections when you distribute them as
separate works. But when you distribute the same sections as part of a whole
which is a work based on the Library, the distribution of the whole must be
on the terms of this License, whose permissions for other licensees extend
to the entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest your
rights to work written entirely by you; rather, the intent is to exercise
the right to control the distribution of derivative or collective works
based on the Library.
In addition, mere aggregation of another work not based on the Library with
the Library (or with a work based on the Library) on a volume of a storage
or distribution medium does not bring the other work under the scope of
this License.
3. You may opt to apply the terms of the ordinary GNU General Public License
instead of this License to a given copy of the Library. To do this, you must
alter all the notices that refer to this License, so that they refer to the
ordinary GNU General Public License, version 2, instead of to this License.
(If a newer version than version 2 of the ordinary GNU General Public License
has appeared, then you can specify that version instead if you wish.) Do not
make any other change in these notices.
Once this change is made in a given copy, it is irreversible for that copy,
so the ordinary GNU General Public License applies to all subsequent copies
and derivative works made from that copy.
This option is useful when you wish to copy part of the code of the Library
into a program that is not a library.
4. You may copy and distribute the Library (or a portion or derivative of
it, under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you accompany it with the complete
corresponding machine-readable source code, which must be distributed under
the terms of Sections 1 and 2 above on a medium customarily used for software
interchange.
If distribution of object code is made by offering access to copy from a
designated place, then offering equivalent access to copy the source code
from the same place satisfies the requirement to distribute the source
code, even though third parties are not compelled to copy the source
along with the object code.
5. A program that contains no derivative of any portion of the Library,
but is designed to work with the Library by being compiled or linked with
it, is called a "work that uses the Library". Such a work, in isolation,
is not a derivative work of the Library, and therefore falls outside the
scope of this License.
However, linking a "work that uses the Library" with the Library creates
an executable that is a derivative of the Library (because it contains
portions of the Library), rather than a "work that uses the library".
The executable is therefore covered by this License. Section 6 states
terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library.
The threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data structure
layouts and accessors, and small macros and small inline functions
(ten lines or less in length), then the use of the object file is
unrestricted, regardless of whether it is legally a derivative work.
(Executables containing this object code plus portions of the Library
will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6, whether
or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or link
a "work that uses the Library" with the Library to produce a work
containing portions of the Library, and distribute that work under
terms of your choice, provided that the terms permit modification of
the work for the customer's own use and reverse engineering for
debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered
by this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do
one of these things:
a) Accompany the work with the complete corresponding machine-readable
source code for the Library including whatever changes were used in the
work (which must be distributed under Sections 1 and 2 above); and, if
the work is an executable linked with the Library, with the complete
machine-readable "work that uses the Library", as object code and/or
source code, so that the user can modify the Library and then relink
to produce a modified executable containing the modified Library. (It
is understood that the user who changes the contents of definitions
files in the Library will not necessarily be able to recompile the
application to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the Library.
A suitable mechanism is one that (1) uses at run time a copy of the
library already present on the user's computer system, rather than
copying library functions into the executable, and (2) will operate
properly with a modified version of the library, if the user installs
one, as long as the modified version is interface-compatible with the
version that the work was made with.
c) Accompany the work with a written offer, valid for at least three
years, to give the same user the materials specified in Subsection 6a,
above, for a charge no more than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy from a
designated place, offer equivalent access to copy the above specified
materials from the same place.
e) Verify that the user has already received a copy of these materials or
that you have already sent this user a copy.
For an executable, the required form of the "work that uses the Library"
must include any data and utility programs needed for reproducing the
executable from it. However, as a special exception, the materials to be
distributed need not include anything that is normally distributed (in
either source or binary form) with the major components (compiler, kernel,
and so on) of the operating system on which the executable runs, unless
that component itself accompanies the executable.
It may happen that this requirement contradicts the license restrictions of
other proprietary libraries that do not normally accompany the operating
system. Such a contradiction means you cannot use both them and the Library
together in an executable that you distribute.
7. You may place library facilities that are a work based on the Library
side-by-side in a single library together with other library facilities
not covered by this License, and distribute such a combined library, provided
that the separate distribution of the work based on the Library and of the
other library facilities is otherwise permitted, and provided that you do
these two things:
a) Accompany the combined library with a copy of the same work based on the
Library, uncombined with any other library facilities. This must be
distributed under the terms of the Sections above.
b) Give prominent notice with the combined library of the fact that part
of it is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute the Library
except as expressly provided under this License. Any attempt otherwise to
copy, modify, sublicense, link with, or distribute the Library is void, and
will automatically terminate your rights under this License. However, parties
who have received copies, or rights, from you under this License will not have
their licenses terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not signed
it. However, nothing else grants you permission to modify or distribute
the Library or its derivative works. These actions are prohibited by law
if you do not accept this License. Therefore, by modifying or distributing
the Library (or any work based on the Library), you indicate your acceptance
of this License to do so, and all its terms and conditions for copying,
distributing or modifying the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the Library),
the recipient automatically receives a license from the original licensor to
copy, distribute, link with or modify the Library subject to these terms and
conditions. You may not impose any further restrictions on the recipients'
exercise of the rights granted herein. You are not responsible for enforcing
compliance by third parties with this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot distribute
so as to satisfy simultaneously your obligations under this License and
any other pertinent obligations, then as a consequence you may not distribute
the Library at all. For example, if a patent license would not permit
royalty-free redistribution of the Library by all those who receive
copies directly or indirectly through you, then the only way you could
satisfy both it and this License would be to refrain entirely from
distribution of the Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is implemented
by public license practices. Many people have made generous contributions
to the wide range of software distributed through that system in reliance
on consistent application of that system; it is up to the author/donor
to decide if he or she is willing to distribute software through any
other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Library under this License may add an
explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new versions
of the Lesser General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail
to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Library does not specify a license version
number, you may choose any version ever published by the Free Software
Foundation.
14. If you wish to incorporate parts of the Library into other free programs
whose distribution conditions are incompatible with these, write to the author
to ask for permission. For software which is copyrighted by the Free Software
Foundation, write to the Free Software Foundation; we sometimes make exceptions
for this. Our decision will be guided by the two goals of preserving the free
status of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE,
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

790
COPYING.more Normal file
View file

@ -0,0 +1,790 @@
****************************************************************
Notice: Most of LinuxCNC is covered by the GNU General Public
License. Some portions are covered by the GNU Lesser
General Public License (mostly interface definitions).
Both licenses are included in their entirety below.
Much of LinuxCNC is derived from the Enhanced Machine Controller, a
work of Fred Proctor, Tom Kramer, Will Shackleford, and others.
That work was originally released into the public domain. It was
used as the basis of LinuxCNC, but received extensive modifications.
LinuxCNC is NOT public domain. Anyone wishing to use the public
domain code in a way that is not compatible with the (L)GPL must
locate the original the Enhanced Machine Controller code - they may
NOT use LinuxCNC.
******************************************************************
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.
******************************************************************************
GNU LESSER GENERAL PUBLIC LICENSE
Version 2.1, February 1999
Copyright (C) 1991, 1999 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
[This is the first released version of the Lesser GPL. It also counts
as the successor of the GNU Library Public License, version 2, hence
the version number 2.1.]
Preamble
The licenses for most software are designed to take away your freedom to
share and change it. By contrast, the GNU General Public Licenses are
intended to guarantee your freedom to share and change free software--to
make sure the software is free for all its users.
This license, the Lesser General Public License, applies to some specially
designated software packages--typically libraries--of the Free Software
Foundation and other authors who decide to use it. You can use it too, but
we suggest you first think carefully about whether this license or the
ordinary General Public License is the better strategy to use in any
particular case, based on the explanations below.
When we speak of free software, we are referring to freedom of use, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish); that you receive source code or can get it
if you want it; that you can change the software and use pieces of it
in new free programs; and that you are informed that you can do these
things.
To protect your rights, we need to make restrictions that forbid
distributors to deny you these rights or to ask you to surrender these
rights. These restrictions translate to certain responsibilities for
you if you distribute copies of the library or if you modify it.
For example, if you distribute copies of the library, whether gratis or
for a fee, you must give the recipients all the rights that we gave you.
You must make sure that they, too, receive or can get the source code.
If you link other code with the library, you must provide complete object
files to the recipients, so that they can relink them with the library
after making changes to the library and recompiling it. And you must show
them these terms so they know their rights.
We protect your rights with a two-step method: (1) we copyright the
library, and (2) we offer you this license, which gives you legal
permission to copy, distribute and/or modify the library.
To protect each distributor, we want to make it very clear that there is
no warranty for the free library. Also, if the library is modified by
someone else and passed on, the recipients should know that what they
have is not the original version, so that the original author's reputation
will not be affected by problems that might be introduced by others.
Finally, software patents pose a constant threat to the existence of any
free program. We wish to make sure that a company cannot effectively
restrict the users of a free program by obtaining a restrictive license
from a patent holder. Therefore, we insist that any patent license
obtained for a version of the library must be consistent with the full
freedom of use specified in this license.
Most GNU software, including some libraries, is covered by the ordinary
GNU General Public License. This license, the GNU Lesser General Public
License, applies to certain designated libraries, and is quite different
from the ordinary General Public License. We use this license for certain
libraries in order to permit linking those libraries into non-free programs.
When a program is linked with a library, whether statically or using a
shared library, the combination of the two is legally speaking a combined
work, a derivative of the original library. The ordinary General Public
License therefore permits such linking only if the entire combination fits
its criteria of freedom. The Lesser General Public License permits more lax
criteria for linking other code with the library.
We call this license the "Lesser" General Public License because it does
Less to protect the user's freedom than the ordinary General Public License.
It also provides other free software developers Less of an advantage over
competing non-free programs. These disadvantages are the reason we use the
ordinary General Public License for many libraries. However, the Lesser
license provides advantages in certain special circumstances.
For example, on rare occasions, there may be a special need to encourage
the widest possible use of a certain library, so that it becomes a de-facto
standard. To achieve this, non-free programs must be allowed to use the
library. A more frequent case is that a free library does the same job as
widely used non-free libraries. In this case, there is little to gain by
limiting the free library to free software only, so we use the Lesser
General Public License.
In other cases, permission to use a particular library in non-free programs
enables a greater number of people to use a large body of free software.
For example, permission to use the GNU C Library in non-free programs
enables many more people to use the whole GNU operating system, as well
as its variant, the GNU/Linux operating system.
Although the Lesser General Public License is Less protective of the users'
freedom, it does ensure that the user of a program that is linked with the
Library has the freedom and the wherewithal to run that program using a
modified version of the Library.
The precise terms and conditions for copying, distribution and modification
follow. Pay close attention to the difference between a "work based on the
library" and a "work that uses the library". The former contains code derived
from the library, whereas the latter must be combined with the library in
order to run.
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any software library or other program
which contains a notice placed by the copyright holder or other authorized
party saying it may be distributed under the terms of this Lesser General
Public License (also called "this License"). Each licensee is addressed as
"you".
A "library" means a collection of software functions and/or data prepared
so as to be conveniently linked with application programs (which use some
of those functions and data) to form executables.
The "Library", below, refers to any such software library or work which
has been distributed under these terms. A "work based on the Library"
means either the Library or any derivative work under copyright law:
that is to say, a work containing the Library or a portion of it, either
verbatim or with modifications and/or translated straightforwardly into
another language. (Hereinafter, translation is included without limitation
in the term "modification".)
"Source code" for a work means the preferred form of the work for making
modifications to it. For a library, complete source code means all the
source code for all modules it contains, plus any associated interface
definition files, plus the scripts used to control compilation and
installation of the library.
Activities other than copying, distribution and modification are not covered
by this License; they are outside its scope. The act of running a program
using the Library is not restricted, and output from such a program is
covered only if its contents constitute a work based on the Library
(independent of the use of the Library in a tool for writing it). Whether
that is true depends on what the Library does and what the program that
uses the Library does.
1. You may copy and distribute verbatim copies of the Library's complete
source code as you receive it, in any medium, provided that you conspicuously
and appropriately publish on each copy an appropriate copyright notice and
disclaimer of warranty; keep intact all the notices that refer to this
License and to the absence of any warranty; and distribute a copy of this
License along with the Library.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Library or any portion of it,
thus forming a work based on the Library, and copy and distribute such
modifications or work under the terms of Section 1 above, provided that
you also meet all of these conditions:
a) The modified work must itself be a software library.
b) You must cause the files modified to carry prominent notices stating
that you changed the files and the date of any change.
c) You must cause the whole of the work to be licensed at no charge
to all third parties under the terms of this License.
d) If a facility in the modified Library refers to a function or a
table of data to be supplied by an application program that uses the
facility, other than as an argument passed when the facility is invoked,
then you must make a good faith effort to ensure that, in the event an
application does not supply such function or table, the facility still
operates, and performs whatever part of its purpose remains meaningful.
(For example, a function in a library to compute square roots has a
purpose that is entirely well-defined independent of the application.
Therefore, Subsection 2d requires that any application-supplied function
or table used by this function must be optional: if the application does
not supply it, the square root function must still compute square roots.)
These requirements apply to the modified work as a whole. If identifiable
sections of that work are not derived from the Library, and can be reasonably
considered independent and separate works in themselves, then this License,
and its terms, do not apply to those sections when you distribute them as
separate works. But when you distribute the same sections as part of a whole
which is a work based on the Library, the distribution of the whole must be
on the terms of this License, whose permissions for other licensees extend
to the entire whole, and thus to each and every part regardless of who wrote
it.
Thus, it is not the intent of this section to claim rights or contest your
rights to work written entirely by you; rather, the intent is to exercise
the right to control the distribution of derivative or collective works
based on the Library.
In addition, mere aggregation of another work not based on the Library with
the Library (or with a work based on the Library) on a volume of a storage
or distribution medium does not bring the other work under the scope of
this License.
3. You may opt to apply the terms of the ordinary GNU General Public License
instead of this License to a given copy of the Library. To do this, you must
alter all the notices that refer to this License, so that they refer to the
ordinary GNU General Public License, version 2, instead of to this License.
(If a newer version than version 2 of the ordinary GNU General Public License
has appeared, then you can specify that version instead if you wish.) Do not
make any other change in these notices.
Once this change is made in a given copy, it is irreversible for that copy,
so the ordinary GNU General Public License applies to all subsequent copies
and derivative works made from that copy.
This option is useful when you wish to copy part of the code of the Library
into a program that is not a library.
4. You may copy and distribute the Library (or a portion or derivative of
it, under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you accompany it with the complete
corresponding machine-readable source code, which must be distributed under
the terms of Sections 1 and 2 above on a medium customarily used for software
interchange.
If distribution of object code is made by offering access to copy from a
designated place, then offering equivalent access to copy the source code
from the same place satisfies the requirement to distribute the source
code, even though third parties are not compelled to copy the source
along with the object code.
5. A program that contains no derivative of any portion of the Library,
but is designed to work with the Library by being compiled or linked with
it, is called a "work that uses the Library". Such a work, in isolation,
is not a derivative work of the Library, and therefore falls outside the
scope of this License.
However, linking a "work that uses the Library" with the Library creates
an executable that is a derivative of the Library (because it contains
portions of the Library), rather than a "work that uses the library".
The executable is therefore covered by this License. Section 6 states
terms for distribution of such executables.
When a "work that uses the Library" uses material from a header file
that is part of the Library, the object code for the work may be a
derivative work of the Library even though the source code is not.
Whether this is true is especially significant if the work can be
linked without the Library, or if the work is itself a library.
The threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data structure
layouts and accessors, and small macros and small inline functions
(ten lines or less in length), then the use of the object file is
unrestricted, regardless of whether it is legally a derivative work.
(Executables containing this object code plus portions of the Library
will still fall under Section 6.)
Otherwise, if the work is a derivative of the Library, you may
distribute the object code for the work under the terms of Section 6.
Any executables containing that work also fall under Section 6, whether
or not they are linked directly with the Library itself.
6. As an exception to the Sections above, you may also combine or link
a "work that uses the Library" with the Library to produce a work
containing portions of the Library, and distribute that work under
terms of your choice, provided that the terms permit modification of
the work for the customer's own use and reverse engineering for
debugging such modifications.
You must give prominent notice with each copy of the work that the
Library is used in it and that the Library and its use are covered
by this License. You must supply a copy of this License. If the work
during execution displays copyright notices, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License. Also, you must do
one of these things:
a) Accompany the work with the complete corresponding machine-readable
source code for the Library including whatever changes were used in the
work (which must be distributed under Sections 1 and 2 above); and, if
the work is an executable linked with the Library, with the complete
machine-readable "work that uses the Library", as object code and/or
source code, so that the user can modify the Library and then relink
to produce a modified executable containing the modified Library. (It
is understood that the user who changes the contents of definitions
files in the Library will not necessarily be able to recompile the
application to use the modified definitions.)
b) Use a suitable shared library mechanism for linking with the Library.
A suitable mechanism is one that (1) uses at run time a copy of the
library already present on the user's computer system, rather than
copying library functions into the executable, and (2) will operate
properly with a modified version of the library, if the user installs
one, as long as the modified version is interface-compatible with the
version that the work was made with.
c) Accompany the work with a written offer, valid for at least three
years, to give the same user the materials specified in Subsection 6a,
above, for a charge no more than the cost of performing this distribution.
d) If distribution of the work is made by offering access to copy from a
designated place, offer equivalent access to copy the above specified
materials from the same place.
e) Verify that the user has already received a copy of these materials or
that you have already sent this user a copy.
For an executable, the required form of the "work that uses the Library"
must include any data and utility programs needed for reproducing the
executable from it. However, as a special exception, the materials to be
distributed need not include anything that is normally distributed (in
either source or binary form) with the major components (compiler, kernel,
and so on) of the operating system on which the executable runs, unless
that component itself accompanies the executable.
It may happen that this requirement contradicts the license restrictions of
other proprietary libraries that do not normally accompany the operating
system. Such a contradiction means you cannot use both them and the Library
together in an executable that you distribute.
7. You may place library facilities that are a work based on the Library
side-by-side in a single library together with other library facilities
not covered by this License, and distribute such a combined library, provided
that the separate distribution of the work based on the Library and of the
other library facilities is otherwise permitted, and provided that you do
these two things:
a) Accompany the combined library with a copy of the same work based on the
Library, uncombined with any other library facilities. This must be
distributed under the terms of the Sections above.
b) Give prominent notice with the combined library of the fact that part
of it is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
8. You may not copy, modify, sublicense, link with, or distribute the Library
except as expressly provided under this License. Any attempt otherwise to
copy, modify, sublicense, link with, or distribute the Library is void, and
will automatically terminate your rights under this License. However, parties
who have received copies, or rights, from you under this License will not have
their licenses terminated so long as such parties remain in full compliance.
9. You are not required to accept this License, since you have not signed
it. However, nothing else grants you permission to modify or distribute
the Library or its derivative works. These actions are prohibited by law
if you do not accept this License. Therefore, by modifying or distributing
the Library (or any work based on the Library), you indicate your acceptance
of this License to do so, and all its terms and conditions for copying,
distributing or modifying the Library or works based on it.
10. Each time you redistribute the Library (or any work based on the Library),
the recipient automatically receives a license from the original licensor to
copy, distribute, link with or modify the Library subject to these terms and
conditions. You may not impose any further restrictions on the recipients'
exercise of the rights granted herein. You are not responsible for enforcing
compliance by third parties with this License.
11. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot distribute
so as to satisfy simultaneously your obligations under this License and
any other pertinent obligations, then as a consequence you may not distribute
the Library at all. For example, if a patent license would not permit
royalty-free redistribution of the Library by all those who receive
copies directly or indirectly through you, then the only way you could
satisfy both it and this License would be to refrain entirely from
distribution of the Library.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply, and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system which is implemented
by public license practices. Many people have made generous contributions
to the wide range of software distributed through that system in reliance
on consistent application of that system; it is up to the author/donor
to decide if he or she is willing to distribute software through any
other system and a licensee cannot impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
12. If the distribution and/or use of the Library is restricted in certain
countries either by patents or by copyrighted interfaces, the original
copyright holder who places the Library under this License may add an
explicit geographical distribution limitation excluding those countries,
so that distribution is permitted only in or among countries not thus
excluded. In such case, this License incorporates the limitation as if
written in the body of this License.
13. The Free Software Foundation may publish revised and/or new versions
of the Lesser General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail
to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Library does not specify a license version
number, you may choose any version ever published by the Free Software
Foundation.
14. If you wish to incorporate parts of the Library into other free programs
whose distribution conditions are incompatible with these, write to the author
to ask for permission. For software which is copyrighted by the Free Software
Foundation, write to the Free Software Foundation; we sometimes make exceptions
for this. Our decision will be guided by the two goals of preserving the free
status of all derivatives of our free software and of promoting the sharing
and reuse of software generally.
NO WARRANTY
15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE
LIBRARY "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE,
YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS

33
ISSUE_TEMPLATE.md Normal file
View file

@ -0,0 +1,33 @@
# The issue tracker is not a support forum
The LinuxCNC issue tracker is to report bugs in the software.
If you have a question about how to use the software, use one of the other methods detailed on our community support page: http://linuxcnc.org/community/
(delete this section before submitting your bug report)
## Here are the steps I follow to reproduce the issue:
1.
2.
3.
## This is what I expected to happen:
## This is what happened instead:
## It worked properly before this:
(If the behavior changed after making a particular change in hardware or
software, describe the change you think is responsible. E.g., "after upgrading
from LinuxCNC 2.7.3 to 2.7.4")
## Information about my hardware and software:
* I am using this Linux distribution and version (often, shown by `lsb_release -a`):
* I am using this kernel version (shown by `uname -a`):
* I am running ...
* [ ] A binary version from linuxcnc.org (including buildbot.linuxcnc.org)
* [ ] A binary I built myself
* [ ] A binary version from some other source besides linuxcnc.org
* I am using this LinuxCNC version (shown in package manager or, for git versions, `scripts/get-version-from-git`):
* I am using this user interface (GUI) (e.g., AXIS, Touchy, gmoccapy, etc):
* I am using this interface hardware vendor and chipset (e.g., parallel port, ethernet port, FPGA card):

48
README
View file

@ -1,48 +0,0 @@
DISCLAIMER
----------
THE AUTHORS OF THIS SOFTWARE ACCEPT ABSOLUTELY NO LIABILITY FOR
ANY HARM OR LOSS RESULTING FROM ITS USE. IT IS _EXTREMELY_ UNWISE
TO RELY ON SOFTWARE ALONE FOR SAFETY. Any machinery capable of
harming persons must have provisions for completely removing power
from all motors, etc, before persons enter any danger area. All
machinery must be designed to comply with local and national safety
codes, and the authors of this software can not, and do not, take
any responsibility for such compliance.
This software is released under the GPLv2, with some parts under the LGPL.
See the file COPYING for more details.
The Build Process
-----------------
Refer to the file 'docs/INSTALL' for information about building and
running the software.
Quickstart
----------
From the top level directory, switch to the source directory:
cd src
In the source directory, build LinuxCNC:
[for rtai]
./autogen.sh
./configure
[or, for PREEMPT-rt or vanilla kernels:]
./autogen.sh
./configure --with-realtime=uspace
make clean
make
sudo make setuid
to run the software go back to the top level directory, and issue:
. scripts/rip-environment
linuxcnc

87
README.md Normal file
View file

@ -0,0 +1,87 @@
[![Badge GPL2]][License]
[![Badge LGPL]][License]
<div align = center>
<br>
# LinuxCNC
*Controlling CNC Machines*
<br>
[![Badge Translation]][Translation]
<br>
---
[<kbd><br><br></kbd>][Website]
[<kbd><br><br></kbd>][]
[<kbd><br><br></kbd>][]
[<kbd><br><br></kbd>][]
---
<br>
It can drive milling machines, lathes, 3D printers, laser <br>
cutters, plasma cutters, robot arms, hexapods, and more.
LinuxCNC was initiated 25 years ago and evolved into a very <br>
international project with contributions from all over the globe.
With release 2.9 of LinuxCNC we also transitioned the <br>
documentation to the use of the public crowd translation <br>
services [Weblate] and invite all our users to contribute.
The translations we expect to help attract practitioners <br>
to the project and also helps educating enthusiasts of <br>
all age groups on automated machining.
<br>
## DISCLAIMER
<br>
```
 
 
Any machinery capable of harming persons must have
provisions for completely removing power from all
motors, etc, before persons enter any danger area.
All machinery must be designed to comply with local
and national safety codes, and the authors of this
software cannot and do not, take any responsibility
for such compliance.
```
<br>
</div>
<!----------------------------------------------------------------------------->
[Badge Translation]: https://hosted.weblate.org/widgets/linuxcnc/-/svg-badge.svg
[Badge GPL2]: https://img.shields.io/badge/Most-LGPL_3-blue.svg?style=for-the-badge 'The license this software is under'
[Badge LGPL]: https://img.shields.io/badge/Some-GPL_2-blue.svg?style=for-the-badge 'Some parts are under this license'
[Translation]: https://hosted.weblate.org/engage/linuxcnc/
[Weblate]: https://hosted.weblate.org/projects/linuxcnc/
[Website]: https://linuxcnc.org/
[]: http://linuxcnc.org/docs/stable/html/
[]: http://linuxcnc.org/docs/stable/html/getting-started/getting-linuxcnc.html
[]: http://linuxcnc.org/docs/stable/html/code/building-linuxcnc.html
[License]: COPYING

25
README_es.md Normal file
View file

@ -0,0 +1,25 @@
# LinuxCNC
LinuxCNC controla máquinas CNC. Puede manejar fresadoras, tornos, impresoras 3D, cortadores láser, cortadores de plasma, brazos de robot, hexápodos y otras. http://linuxcnc.org/
# DESCARGO DE RESPONSABILIDAD
** LOS AUTORES DE ESTE SOFTWARE NO ACEPTAN ABSOLUTAMENTE NINGUNA RESPONSABILIDAD POR NINGÚN DAÑO O PÉRDIDA RESULTANTE DE SU USO. **
** ES _EXTREMADAMENTE_ IMPRUDENTE CONFIAR LA SEGURIDAD SOLO AL SOFTWARE. **
** Cualquier maquinaria capaz de dañar a las personas debe tener prevista la desconexion completa de energía de todos los motores, etc., antes de que las personas entren en cualquier área peligrosa.
** Toda la maquinaria debe estar diseñada para cumplir con las normas y códigos de seguridad locales y nacionales, y los autores de este software no pueden, y no lo hacen, asumir cualquier responsabilidad derivada de dicho cumplimiento. **
Este software se lanza bajo licencia GPLv2, con algunas partes bajo LGPL. Vea el archivo COPYING para más detalles.
La traduccion al español de este software queda adherida a este descargo y a las licencias GPLv2 y partes LGPL.
# El proceso de construcción
Consulte el archivo 'docs/src/code/building-linuxcnc.txt' para obtener información sobre cómo construir y ejecutar el software, o vea:
http://linuxcnc.org/docs/devel/html/code/building-linuxcnc.html

7
TODO
View file

@ -1,3 +1,10 @@
TODO for the joints_axes branch
* clean up joints/axes throughout the whole code (lots of parts already done)
* define a unified jogging way (both for joints and axes)
* implement joint-limits for cartesian moves (requires simulating the speed in userspace)
* update configs
(and many other probably..)
TODO sort out axis/joints issues:
* limits need to be imposed on joints (tricky with kins)

View file

@ -1 +1,2 @@
2.7.14
2.9.0~pre0

View file

@ -1,894 +0,0 @@
*borderColor: blue
*font: -adobe-helvetica-bold-r-normal--12-*-*-*-*-*-*-1
*translations: #augment\
<Message>WM_PROTOCOLS:topLevelProtocols()
*topForm.background: blue
*topForm.defaultDistance: 0
! with no modifiers, e.g., Shift<KeyPress>a, means any occurrence
! of key gets through. With modifier, only that modification does
! see files in /usr/lib/X11/app-defaults/ for examples, and run
! 'xev' and see the output for key names
*topForm.translations: #augment\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction() \n\
<KeyPress>Prior: keyAction() \n\
<KeyRelease>Prior: keyAction() \n\
<KeyPress>Next: keyAction() \n\
<KeyRelease>Next: keyAction() \n\
<KeyPress>Up: keyAction() \n\
<KeyRelease>Up: keyAction() \n\
<KeyPress>Down: keyAction() \n\
<KeyRelease>Down: keyAction() \n\
<KeyPress>Right: keyAction() \n\
<KeyRelease>Right: keyAction() \n\
<KeyPress>Left: keyAction() \n\
<KeyRelease>Left: keyAction() \n\
<Key>0: keyAction() \n\
<Key>1: keyAction() \n\
<Key>2: keyAction() \n\
<Key>3: keyAction() \n\
<Key>4: keyAction() \n\
<Key>5: keyAction() \n\
<Key>6: keyAction() \n\
<Key>7: keyAction() \n\
<Key>8: keyAction() \n\
<Key>9: keyAction() \n\
<Key>x: keyAction() \n\
<Key>y: keyAction() \n\
<Key>z: keyAction() \n\
Alt<Key>t: keyAction() \n\
Alt<Key>x: keyAction() \n\
Alt<Key>y: keyAction() \n\
Alt<Key>z: keyAction() \n\
<Key>l: keyAction() \n\
<Key>o: keyAction() \n\
<Key>e: keyAction() \n\
<Key>r: keyAction() \n\
<Key>p: keyAction() \n\
<Key>s: keyAction() \n\
<Key>v: keyAction() \n\
<Key>a: keyAction() \n\
<Key>b: keyAction() \n\
Shift<Key>B: keyAction() \n\
<Key>i: keyAction() \n\
<Key>c: keyAction() \n\
<KeyPress>comma: keyAction() \n\
<KeyRelease>comma: keyAction() \n\
<KeyPress>period: keyAction() \n\
<KeyRelease>period: keyAction() \n\
<Key>Home: keyAction() \n\
<Key>End: keyAction() \n\
Alt<Key>s: keyAction() \n\
Alt<Key>p: keyAction() \n\
Ctrl<Key>p: keyAction() \n\
Alt<Key>f: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*barMenuForm.background: blue
! *barMenuForm.borderColor: red
*barMenuForm.defaultDistance: 0
*menu*font: -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-1
*fileMenu.label: File
*viewMenu.label: View
*settingsMenu.label: Settings
*helpMenu.label: Help
*fileOpenShell*title: Open Program
*fileOpenShell*translations:#override\
<Message>WM_PROTOCOLS:fileOpenShellProtocols() \n\
<Key>Return: fileOpenReturnAction() \n\
<Key>Tab: fileOpenTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*fileOpenDialog*label: Program Name:
*fileOpenDialog*fileOpenDone*label: Open It
*fileOpenDialog*fileOpenCancel*label: Don't Open It
*fileEditShell.title: Edit Program
*fileEditDialog.label: Program Name:
*fileEditDialog*fileEditDone*label: Done
*fileEditDialog*fileEditCancel*label: Cancel
*fileEditShell*translations:#override\
<Message>WM_PROTOCOLS:fileEditShellProtocols() \n\
<Key>Return: fileEditReturnAction() \n\
<Key>Tab: fileEditTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*fileQuitShell*title: Quit
*fileQuitDialog*label: Quit Xemc?
*fileQuitShell*translations:#override\
<Message>WM_PROTOCOLS:fileQuitShellProtocols() \n\
<Key>Return: fileQuitReturnAction() \n\
<Key>Tab: fileQuitTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*fileQuitDialog*fileQuitDone*label: Quit
*fileQuitDialog*fileQuitCancel*label: Don't Quit
*fileEditorShell*title: File Editor
*fileEditorShell*translations:#override\
<Message>WM_PROTOCOLS:fileEditorShellProtocols() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*fileEditorLabel*label: (none)
*fileEditorLabel*borderWidth: 0
*fileEditorText.height: 200
*fileEditorText.width: 600
*fileEditorText*font: -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-1
*fileEditorDone*label: Save
*fileEditorCancel*label: Close
*fileEditorMark*label: Set Run Mark
*toolTableShell*title: Tool Table
*toolTableShell*translations:#override\
<Message>WM_PROTOCOLS:toolTableShellProtocols() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*toolTableLabel*label: (none)
*toolTableLabel*borderWidth: 0
*toolTableText.height: 200
*toolTableText.width: 600
*toolTableText*font: -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-1
*toolTableDone*label: Save and Load Them
*toolTableCancel*label: Don't Save and Load Them
*varFileShell*title: Variables
*varFileShell*translations:#override\
<Message>WM_PROTOCOLS:varFileShellProtocols() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*varFileLabel*label: (none)
*varFileLabel*borderWidth: 0
*varFileText.height: 200
*varFileText.width: 600
*varFileText*font: -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-1
*varFileDone*label: Save and Load Them
*varFileCancel*label: Don't Save and Load Them
*diagnosticsShell*title: Diagnostics
*diagnosticsLabel*label: Axis ? Diagnostics
*diagnosticsShell*translations:#override\
<Message>WM_PROTOCOLS:diagnosticsShellProtocols() \n\
<Key>Return: diagnosticsReturnAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*diagnosticsTaskHBLabel*label: Task Heartbeat:
*diagnosticsTaskHBLabel*width: 150
*diagnosticsTaskHBLabel*justify: left
*diagnosticsTaskHB*width: 150
*diagnosticsTaskHB*justify: left
*diagnosticsIoHBLabel*label: IO Heartbeat:
*diagnosticsIoHBLabel*width: 150
*diagnosticsIoHBLabel*justify: left
*diagnosticsIoHB*width: 150
*diagnosticsIoHB*justify: left
*diagnosticsMotionHBLabel*label: Motion Heartbeat:
*diagnosticsMotionHBLabel*width: 150
*diagnosticsMotionHBLabel*justify: left
*diagnosticsMotionHB*width: 150
*diagnosticsMotionHB*justify: left
*diagnosticsFerrorLabel*label: Max Following Error:
*diagnosticsFerrorLabel*width: 150
*diagnosticsFerrorLabel*justify: left
*diagnosticsFerror*width: 80
*diagnosticsDone*label: Done
*calibShell*title: Calibration
*calibShell*translations:#override\
<Message>WM_PROTOCOLS:calibShellProtocols() \n\
<Key>Return: calibReturnAction() \n\
<Key>Tab: calibTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*calibCycleTimeLabel*label: Cycle Time:
*calibCycleTimeLabel*width: 120
*calibCycleTimeLabel*justify: left
*calibCycleTime*width: 80
*calibPGainLabel*label: P Gain:
*calibPGainLabel*width: 120
*calibPGainLabel*justify: left
*calibPGain*width: 80
*calibIGainLabel*label: I Gain:
*calibIGainLabel*width: 120
*calibIGainLabel*justify: left
*calibIGain*width: 80
*calibDGainLabel*label: D Gain:
*calibDGainLabel*width: 120
*calibDGainLabel*justify: left
*calibDGain*width: 80
*calibFF0GainLabel*label: FF0 Gain:
*calibFF0GainLabel*width: 120
*calibFF0GainLabel*justify: left
*calibFF0Gain*width: 80
*calibFF1GainLabel*label: FF1 Gain:
*calibFF1GainLabel*width: 120
*calibFF1GainLabel*justify: left
*calibFF1Gain*width: 80
*calibFF2GainLabel*label: FF2 Gain:
*calibFF2GainLabel*width: 120
*calibFF2GainLabel*justify: left
*calibFF2Gain*width: 80
*calibBacklashLabel*label: Backlash:
*calibBacklashLabel*width: 120
*calibBacklashLabel*justify: left
*calibBacklash*width: 80
*calibBiasLabel*label: Bias:
*calibBiasLabel*width: 120
*calibBiasLabel*justify: left
*calibBias*width: 80
*calibMaxErrorLabel*label: Max Cum Error:
*calibMaxErrorLabel*width: 120
*calibMaxErrorLabel*justify: left
*calibMaxError*width: 80
*calibOutputScaleLabel*label: Output Scale:
*calibOutputScaleLabel*width: 120
*calibOutputScaleLabel*justify: left
*calibOutputScale*width: 80
*calibOutputOffsetLabel*label: Output Offset:
*calibOutputOffsetLabel*width: 120
*calibOutputOffsetLabel*justify: left
*calibOutputOffset*width: 80
*calibFerrorLabel*label: Following Error:
*calibFerrorLabel*width: 120
*calibFerrorLabel*justify: left
*calibFerror*width: 80
*calibDone*label: Done
*calibCancel*label: Cancel
*loggingShell*title: Logging
*loggingShell*translations:#override\
<Message>WM_PROTOCOLS:loggingShellProtocols() \n\
<Key>Return: loggingReturnAction() \n\
<Key>Tab: loggingTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*loggingLabel*label: Logging
*loggingFileLabel*label: File:
*loggingFileLabel.width: 50
*loggingFile.width: 100
*loggingFileLabel*justify: left
*loggingTypeLabel*label: Type:
*loggingTypeLabel.width: 50
*loggingTypeMenu.width: 100
*loggingTypeLabel*justify: left
*loggingSizeLabel*label: Size:
*loggingSizeLabel.width: 50
*loggingSize.width: 100
*loggingSizeLabel*justify: left
*loggingSkipLabel*label: Skip:
*loggingSkipLabel.width: 50
*loggingSkip.width: 100
*loggingSkipLabel*justify: left
*loggingStart*label: Start
*loggingStop*label: Stop
*loggingSave*label: Save
*loggingPlot*label: Plot
*loggingDone*label: Done
*loggingCancel*label: Cancel
*helpXemcShell*title: Xemc Help
*helpXemcShell*translations:#override\
<Message>WM_PROTOCOLS:helpXemcProtocols() \n\
<Key>Return: helpXemcReturnAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*helpXemcLabel*label: Xemc Help
*helpXemcLabel*borderWidth: 0
*helpXemcText.height: 200
*helpXemcText.width: 600
*helpXemcText*font: -adobe-helvetica-medium-r-normal--12-*-*-*-*-*-*-1
*helpXemcDone*label: Done
*helpAboutShell*title: About XEMC
*helpAboutShell*translations:#override\
<Message>WM_PROTOCOLS:helpAboutProtocols() \n\
<Key>Return: helpAboutReturnAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*helpAboutDialog*label: XEMC\n\
Public Domain (1999)\n\
National Institute of\n\
Standards and Technology
*helpAboutDialog*helpAboutDone*label: Done
*errorShell*title: EMC
*errorShell*translations:#override\
<Message>WM_PROTOCOLS:errorShellProtocols() \n\
<Key>Return: errorReturnAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*errorDialog*errorDone*label: OK
*commandMenuForm.background: blue
! *commandMenuForm.borderColor: red
*commandMenuForm.defaultDistance: 0
! dynamically labeled labels need a width
*stateMenu.width: 120
! *modeMenu.width is made the same
*mistMenu.width: 120
! floodMenu.width is made the same
*spindleDecLabel.label: <
*spindleDecLabel.width: 20
*spindleMenu.width: 120
*spindleIncLabel.label: >
*spindleIncLabel.width: 20
! *brakeMenu.width is made the total
*abortCommand.label: ABORT
! *abortCommand.width is calculated
! *abortCommand.height is calculated
*limCommand.label: Limit Override
*toolNumberForm.background: blue
! *toolNumberForm.borderColor: red
*toolNumberForm.defaultDistance: 0
*toolNumberFormTitle.label: Tool:
*toolNumberFormTitle.justify: left
*toolNumberFormTitle.foreground: white
*toolNumberFormTitle.background: blue
*toolNumberFormTitle.width: 80
*toolNumberFormName.label: (none)
*toolNumberFormName.justify: left
*toolNumberFormName.foreground: white
*toolNumberFormName.background: blue
*toolNumberFormName.width: 100
! *toolNumberFormName.borderColor: white
*toolOffsetForm.background: blue
! *toolOffsetForm.borderColor: red
*toolOffsetForm.defaultDistance: 0
*toolOffsetForm.translations:#augment\
<Btn3Up>: toolSetOffsetUpAction()
*toolOffsetFormTitle.label: Offset:
*toolOffsetFormTitle.justify: left
*toolOffsetFormTitle.foreground: white
*toolOffsetFormTitle.background: blue
*toolOffsetFormTitle.width: 80
*toolOffsetFormName.label: (none)
*toolOffsetFormName.justify: left
*toolOffsetFormName.foreground: white
*toolOffsetFormName.background: blue
*toolOffsetFormName.width: 100
! *toolOffsetFormName.borderColor: white
*toolSetOffsetShell*title: Set Tool Offset
*toolSetOffsetToolLabel*label: Tool:
*toolSetOffsetLengthLabel*label: Length:
*toolSetOffsetDiameterLabel*label: Diameter:
*toolSetOffsetDone*label: Done
*toolSetOffsetCancel*label: Cancel
*toolSetOffsetShell*translations:#override\
<Message>WM_PROTOCOLS:toolSetOffsetShellProtocols() \n\
<Key>Return: toolSetOffsetReturnAction() \n\
<Key>Tab: toolSetOffsetTabAction() \n\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*positionTypeForm.background: blue
! *positionTypeForm.borderColor: red
*positionTypeForm.defaultDistance: 0
*positionTypeFormTitle.label: Position:
*positionTypeFormTitle.justify: left
*positionTypeFormTitle.foreground: white
*positionTypeFormTitle.background: blue
*positionTypeFormTitle.width: 130
*positionTypeFormName.label: (none)
*positionTypeFormName.justify: left
*positionTypeFormName.foreground: white
*positionTypeFormName.background: blue
*positionTypeFormName.width: 280
! *positionTypeFormName.borderColor: white
*workOffsetForm.background: blue
! *workOffsetForm.borderColor: red
*workOffsetForm.defaultDistance: 0
*workOffsetFormTitle.label: Work Offsets:
*workOffsetFormTitle.justify: left
*workOffsetFormTitle.foreground: white
*workOffsetFormTitle.background: blue
*workOffsetFormTitle.width: 130
*workOffsetFormName.label: (none)
*workOffsetFormName.justify: left
*workOffsetFormName.foreground: white
*workOffsetFormName.background: blue
*workOffsetFormName.width: 270
! *workOffsetFormName.borderColor: white
*posLabel0.width: 600
*posLabel0.font: -adobe-courier-bold-r-normal--64-*-*-*-*-*-*-1
! *posLabel0.foreground: white
*posLabel0.background: blue
*posLabel0.borderColor: white
! *posLabel1.width same as for X
! *posLabel1.font same as for X
! *posLabel1.foreground: white
*posLabel1.background: blue
*posLabel1.borderColor: white
! *posLabel2.width same as for X
! *posLabel2.font: same as for X
! *posLabel2.foreground: white
*posLabel2.background: blue
*posLabel2.borderColor: white
*posOffsetShell*title: Axis Offset
*posOffsetShell*translations:#override\
<Message>WM_PROTOCOLS:posOffsetShellProtocols() \n\
<Key>Return: posOffsetReturnAction()
*posOffsetDialog*label: Enter new axis value:
*jogIncrementForm.background: blue
*jogSpeedForm.background: blue
! *jogSpeedForm.borderColor: red
*jogSpeedForm.defaultDistance: 0
*jogSpeedTitleLabel.label: Axis Speed
*jogSpeedTitleLabel.foreground: white
*jogSpeedTitleLabel.background: blue
*jogSpeedDecLabel.label: <
*jogSpeedLabel.width: 40
*jogSpeedLabel.justify: center
*jogSpeedIncLabel.label: >
*jogSpeedShell*title: Jog Speed
*jogSpeedShell*translations:#override\
<Message>WM_PROTOCOLS:jogSpeedShellProtocols() \n\
<Key>Return: jogSpeedReturnAction()
*jogSpeedDialog*label: Enter jog speed:
*jogIncrementForm.background: blue
! *jogIncrementForm.borderColor: red
*jogIncrementForm.defaultDistance: 0
*jogIncrementTitleLabel.label: Increment
*jogIncrementTitleLabel.foreground: white
*jogIncrementTitleLabel.background: blue
*jogIncrementMenu.width: 100
*jogForm.background: blue
! *jogForm.borderColor: red
*jogForm.defaultDistance: 0
*jogTitleLabel.label: Axis Motion
*jogTitleLabel.foreground: white
*jogTitleLabel.background: blue
*jogMinusLabel.label: -
*homeCommand.label: home
*jogPlusLabel.label: +
*feedOverrideForm.background: blue
! *feedOverrideForm.borderColor: red
*feedOverrideForm.defaultDistance: 0
*feedOverrideTitleLabel.label: Feed Override
*feedOverrideTitleLabel.foreground: white
*feedOverrideTitleLabel.background: blue
*feedOverrideLabel.width: 40
*feedOverrideLabel.justify: center
*feedOverrideDecLabel.label: <
*feedOverrideIncLabel.label: >
*feedOverrideShell*title: Feed Override
*feedOverrideShell*translations:#override\
<Message>WM_PROTOCOLS:feedOverrideShellProtocols() \n\
<Key>Return: feedOverrideReturnAction()
*feedOverrideDialog*label: Enter feed %:
*loggingStatusForm.background: blue
! *loggingStatusForm.borderColor: red
*loggingStatusForm.defaultDistance: 0
*loggingStatusTitleLabel.label: Logging
*loggingStatusTitleLabel.foreground: white
*loggingStatusTitleLabel.background: blue
*loggingStatusOpenLabel.width: 60
*loggingStatusOpenLabel.justify: center
*loggingStatusStartedLabel.width: 80
*loggingStatusStartedLabel.justify: center
*loggingStatusPointsLabel.width: 40
*loggingStatusPointsLabel.justify: center
*spindleIncLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*spindleDecLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*posLabel0.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction() \n\
<Btn3Up>: posOffsetUpAction() \n\
*posLabel1.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction() \n\
<Btn3Up>: posOffsetUpAction()
*posLabel2.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction() \n\
<Btn3Up>: posOffsetUpAction()
*jogSpeedLabel.translations:#augment\
<Btn1Down>: downAction()
*jogSpeedIncLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*jogSpeedDecLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*jogMinusLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*jogPlusLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*feedOverrideLabel.translations:#augment\
<Btn1Down>: downAction()
*feedOverrideIncLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*feedOverrideDecLabel.translations:#augment\
<Btn1Down>: downAction() \n\
<Btn1Up>: upAction()
*mdiForm.background: blue
! *mdiForm.borderColor: red
*mdiForm.defaultDistance: 0
*mdiFormTitle.label: MDI:
! *mdiFormTitle.foreground: blue
*mdiFormTitle.background: white
! *mdiFormText*font: fixed
*mdiFormText*borderColor: white
*mdiFormText*foreground: white
*mdiFormText*background: blue
! *mdiFormText.height: 20
*mdiFormText.width: 400
*mdiFormText*translations:#override\
<Key>Return: mdiReturnAction() select-all() delete-selection() \n\
<Key>Escape: keyAction() \n\
<Key>End: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction()
*mdiCodesLabel*justify: left
*mdiCodesLabel*foreground: white
*mdiCodesLabel*background: blue
*mdiCodesLabel.width: 600
*programForm.background: blue
! *programForm.borderColor: red
*programForm.defaultDistance: 0
*programFormTitle.label: Program:
! *programFormTitle.foreground: blue
*programFormTitle.background: white
*programFormName.label: (none)
*programFormName.justify: left
*programFormName.foreground: white
*programFormName.background: blue
*programFormName.width: 300
*programFormStateTitle.label: Status:
! *programFormStateTitle.foreground: blue
*programFormStateTitle.background: white
*programFormState.label: (none)
*programFormState.justify: left
*programFormState.foreground: white
*programFormState.background: blue
*programFormState.width: 100
*programOpenCommand.label: Open...
*programRunCommand.label: Run
*programPauseCommand.label: Pause
*programResumeCommand.label: Resume
*programStepCommand.label: Step
*programVerifyCommand.label: Verify
*programText*font: fixed
*programText*borderColor: white
*programText*foreground: white
*programText*background: blue
*programText.height: 100
*programText.width: 600
*programText*translations: #override\
<Key>Escape: keyAction() \n\
<Key>F1: keyAction() \n\
<Key>F2: keyAction() \n\
<Key>F3: keyAction() \n\
<Key>F4: keyAction() \n\
<Key>F5: keyAction() \n\
<Key>F6: keyAction() \n\
<Key>F7: keyAction() \n\
<Key>F8: keyAction() \n\
<Key>F9: keyAction() \n\
<Key>F10: keyAction() \n\
<KeyPress>F11: keyAction() \n\
<KeyRelease>F11: keyAction() \n\
<KeyPress>F12: keyAction() \n\
<KeyRelease>F12: keyAction() \n\
<KeyPress>Prior: keyAction() \n\
<KeyRelease>Prior: keyAction() \n\
<KeyPress>Next: keyAction() \n\
<KeyRelease>Next: keyAction() \n\
<KeyPress>Up: keyAction() \n\
<KeyRelease>Up: keyAction() \n\
<KeyPress>Down: keyAction() \n\
<KeyRelease>Down: keyAction() \n\
<KeyPress>Right: keyAction() \n\
<KeyRelease>Right: keyAction() \n\
<KeyPress>Left: keyAction() \n\
<KeyRelease>Left: keyAction() \n\
<Key>0: keyAction() \n\
<Key>1: keyAction() \n\
<Key>2: keyAction() \n\
<Key>3: keyAction() \n\
<Key>4: keyAction() \n\
<Key>5: keyAction() \n\
<Key>6: keyAction() \n\
<Key>7: keyAction() \n\
<Key>8: keyAction() \n\
<Key>9: keyAction() \n\
<Key>x: keyAction() \n\
<Key>y: keyAction() \n\
<Key>z: keyAction() \n\
Alt<Key>t: keyAction() \n\
Alt<Key>x: keyAction() \n\
Alt<Key>y: keyAction() \n\
Alt<Key>z: keyAction() \n\
<Key>l: keyAction() \n\
<Key>o: keyAction() \n\
<Key>e: keyAction() \n\
<Key>r: keyAction() \n\
<Key>p: keyAction() \n\
<Key>s: keyAction() \n\
<Key>v: keyAction() \n\
<Key>a: keyAction() \n\
<Key>b: keyAction() \n\
Shift<Key>B: keyAction() \n\
<Key>i: keyAction() \n\
<Key>c: keyAction() \n\
<KeyPress>comma: keyAction() \n\
<KeyRelease>comma: keyAction() \n\
<KeyPress>period: keyAction() \n\
<KeyRelease>period: keyAction() \n\
<Key>Home: keyAction() \n\
<Key>End: keyAction()

2
configs/.gitignore vendored
View file

@ -11,3 +11,5 @@
position*.txt
!common/*.hal
*.ini.expanded
hallib
*_cmds.hal

11
configs/apps/README_es Normal file
View file

@ -0,0 +1,11 @@
info: crear archivo de información del sistema
Directorios:
gladevcp -- widgets de demostración
halrun ---- inicia halrun en xterm
latency --- aplicaciones para investigar latencia
parport --- pruebas de puerto paralelo
pyvcp ----- demostraciones
xhc-hbo4 -- prueba de colgante inalámbrico usb

View file

@ -26,7 +26,7 @@ For a named widget, use:
To retrieve a list of all widgets in the UI file, use:
wl = self.builder.get_objects()
This works regardless wether the UI is in libglade or GtkBuilder format.
This works regardless whether the UI is in libglade or GtkBuilder format.
persistence.py
==============

View file

@ -0,0 +1,63 @@
Nota sobre los cambios API de los manejadores de clase y persistence.py:
Handlers de clase:
=====================
El parámetro 'panel' se eliminó de get_handlers() ya que no es necesario.
En consecuencia, el handler del método __init__() no recibe este
parámetro:
class HandlerClass:
...
def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
self.builder = builder
def get_handlers(halcomp,builder,useropts):
return [HandlerClass(halcomp,builder,useropts)]
Acceso a widgets en handlers de clases:
==========================================
Para un widget con nombre, use:
w = self.builder.get_object("widgetname")
Para recuperar una lista de todos los widgets en el archivo UI, use:
wl = self.builder.get_objects()
Esto funciona independientemente de si la interfaz de usuario está en formato libglade o GtkBuilder.
persistence.py
==============
El manejo del parámetro builder se ha simplificado. Se elimina
de los métodos save_state y restore_state, y se agrega en su lugar al método
IniFile.__init__(). Por lo tanto, utilicelo de la siguiente manera:
class HandlerClass:
...
def on_destroy(self,obj,data=None):
# note: save_state(<object to fetch attributes from>) only:
self.ini.save_state(self)
def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
self.builder = builder
self.ini_filename = __name__ + '.ini'
self.defaults = { IniFile.vars: dict(),
IniFile.widgets : widget_defaults(select_widgets(self.builder.get_objects(), hal_only=False,output_only = True))
}
# notese parámetro extra self.builder
self.ini = IniFile(self.ini_filename, self.defaults, self.builder)
# nota: solo se pasa el objeto que obtiene el conjunto de atributos:
self.ini.restore_state(self)
Todos los ejemplos y plantillas se han adaptado en consecuencia.
Michael Haberler 19 de diciembre de 2010

View file

@ -0,0 +1,16 @@
Aplicaciones demo gladevcp:
Aplicaciones:
glade-manual
gladevcp-test
Directorios:
animated-backdrop
by-widget
class-callback
colored-label
complex
helloWorld
mdi-command-examples
simple-callback
templates

View file

@ -0,0 +1,16 @@
Este es un ejemplo de cómo configurar un fondo de mapa de bits para la ventana de
nivel superior gladevcp, y posicionamiento absoluto de los widgets HAL en ella.
Es posible que necesite 'apt-get install python-cairo'
------------------------------------------
Para ejecutar de forma independiente:
gladevcp -u cairodraw.py cairodraw.ui
-psha & mah

View file

@ -8,15 +8,15 @@ pngfile = 'vortex.me.png'
class HandlerClass:
def on_expose(self,widget,data=None):
print "on_expose"
print("on_expose")
cr = widget.window.cairo_create()
# Sets the operator to clear which deletes everything below
# Sets the operator to clear which deletes everything below
# where an object is drawn
cr.set_operator(cairo.OPERATOR_CLEAR)
# Makes the mask fill the entire window
cr.rectangle(0.0, 0.0, *widget.get_size())
# Deletes everything in the window (since the compositing
# Deletes everything in the window (since the compositing
# operator is clear and mask fills the entire window
cr.fill()
# Set the compositing operator back to the default
@ -26,8 +26,8 @@ class HandlerClass:
x, y, w, h = widget.allocation
cr.scale(1.0 *w / self.width, 1.0*h/self.height)
cr.set_source_surface(self.img, 0, 0)
cr.paint()
cr.set_source_surface(self.img, 0, 0)
cr.paint()
@ -35,7 +35,7 @@ class HandlerClass:
self.builder = builder
win = self.builder.get_object("window1")
#win.set_decorated(False)
self.img = cairo.ImageSurface.create_from_png(pngfile)
@ -51,7 +51,7 @@ class HandlerClass:
screen = win.get_screen()
rgba = screen.get_rgba_colormap()
win.set_colormap(rgba)
# scaling the bitmap is possible by turning this on
# however the fixed widget does NOT do proportional scaling
self.scale = 1

View file

@ -0,0 +1,6 @@
by-widget
combobox
radiobutton
sourceview
spinbutton

View file

@ -6,9 +6,9 @@
Michael Haberler 12/2010
'''
#import pygtk
import gtk
import gobject
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
debug = 0
@ -16,12 +16,12 @@ debug = 0
class HandlerClass:
def on_destroy(self,obj,data=None):
print "on_destroy, combobox active=%d" %(self.combo.get_active())
print("on_destroy, combobox active=%d" %(self.combo.get_active()))
self.halcomp.exit() # avoid lingering HAL component
gtk.main_quit()
Gtk.main_quit()
def on_changed(self, combobox, data=None):
print "on_changed %f %d" % (combobox.hal_pin_f.get(),combobox.hal_pin_s.get())
print("on_changed %f %d" % (combobox.hal_pin_f.get(),combobox.hal_pin_s.get()))
def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
@ -34,7 +34,7 @@ def get_handlers(halcomp,builder,useropts):
global debug
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -0,0 +1,17 @@
ejemplos de combobox:
combobox
combobox_manual_list
Vea esto para aprender acerca de Glade y ComboBox: http://www.youtube.com/watch?v=Z5_F-rW2cL8
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u combobox.py combobox.ui
combobox_manual_list.* son archivos de ejemplo para construir listas desplegables sobre la marcha.
correr como:
$ gladevcp -u combobox_manual_list.py combobox_manual_list.ui
Michael Haberler 12/2010

View file

@ -6,9 +6,9 @@
Michael Haberler 12/2010
'''
#import pygtk
import gtk
import gobject
import gi
from gi.repository import Gtk
from gi.repository import GObject
debug = 0
@ -16,15 +16,15 @@ debug = 0
class HandlerClass:
def on_destroy(self,obj,data=None):
print "on_destroy"
print("on_destroy")
self.halcomp.exit() # avoid lingering HAL component
gtk.main_quit()
Gtk.main_quit()
def on_changed(self, combobox, data=None):
model = combobox.get_model()
index = combobox.get_active()
if index:
print 'index of selected value',index
print('index of selected value',index)
return
@ -36,7 +36,7 @@ class HandlerClass:
self.combo = self.builder.get_object('hal_combobox1')
self.list_store = gtk.ListStore(gobject.TYPE_FLOAT)
self.list_store = Gtk.ListStore(GObject.TYPE_FLOAT)
self.list_store.append([3.14])
self.list_store.append([2.71828])
self.list_store.append([1.67])
@ -44,7 +44,7 @@ class HandlerClass:
self.list_store.append([42.0])
self.combo.set_model(self.list_store)
self.combo.set_active(0)
cell = gtk.CellRendererText()
cell = Gtk.CellRendererText()
self.combo.pack_start(cell, True)
self.combo.add_attribute(cell, "text", 0)
@ -53,7 +53,7 @@ def get_handlers(halcomp,builder,useropts):
global debug
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -5,9 +5,12 @@
Michael Haberler 12/2010
'''
import pygtk
import gtk
import pango
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GObject
from gi.repository import Pango
debug = 0
@ -23,22 +26,22 @@ class HandlerClass:
else:
state = 'inactive'
print ' %s button toggled - now %s ' % ( widget.get_label(), state)
print(' %s button toggled - now %s ' % ( widget.get_label(), state))
def on_red_rbtn_toggled(self, widget, data=None):
print 'on_red_rbtn_toggled'
print('on_red_rbtn_toggled')
self.print_radiobutton_state(widget)
def on_blue_rbtn_toggled(self, widget, data=None):
print 'on_blue_rbtn_toggled'
print('on_blue_rbtn_toggled')
self.print_radiobutton_state(widget)
def on_green_rbtn_toggled(self, widget, data=None):
print 'on_green_rbtn_toggled'
print('on_green_rbtn_toggled')
self.print_radiobutton_state(widget)
def on_yellow_rbtn_toggled(self, widget, data=None):
print 'on_yellow_rbtn_toggled'
print('on_yellow_rbtn_toggled')
self.print_radiobutton_state(widget)
def on_showoutput_btn_toggled(self, widget, data=None):
@ -50,12 +53,12 @@ class HandlerClass:
def set_color_label(self, color):
self.color_lbl.set_label(color)
mycolor = self.color_lookup[color.lower()]
self.color_lbl.modify_fg(gtk.STATE_NORMAL, mycolor)
self.color_lbl.modify_fg(Gtk.StateFlags.NORMAL, mycolor)
def on_destroy(self,obj,data=None):
print "on_destroy"
print("on_destroy")
self.halcomp.exit() # avoid lingering HAL component
gtk.main_quit()
Gtk.main_quit()
def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
@ -65,14 +68,14 @@ class HandlerClass:
self.window = self.builder.get_object('window1')
self.color_lbl = self.builder.get_object('color_lbl')
fontdesc = pango.FontDescription("Sans 20")
fontdesc = Pango.FontDescription("Sans 20")
self.color_lbl.modify_font(fontdesc)
self.color_lookup = {
'red': gtk.gdk.Color(red=65535),
'blue': gtk.gdk.Color(blue=65535),
'green': gtk.gdk.Color(green=65535),
'yellow': gtk.gdk.color_parse('yellow')
'red': Gdk.color_parse('red'),
'blue': Gdk.color_parse('blue'),
'green': Gdk.color_parse('green'),
'yellow': Gdk.color_parse('yellow')
}
self.on_showoutput_btn_toggled(self.builder.get_object('showoutput_btn'))
@ -80,7 +83,7 @@ def get_handlers(halcomp,builder,useropts):
global debug
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -0,0 +1,9 @@
Ejemplo gladevcp radiobutton
Tomado de http://old.nabble.com/glade-and-radio-buttons.-td28793060.html
------------------------------------------
Para correr independientemente:
$ gladevcp -u radio.py radio.ui
Michael Haberler 12/2010

View file

@ -16,24 +16,23 @@ class HandlerClass:
self.mark.set_visible(True)
else:
self.textbuffer.move_mark(self.mark, line)
self.sourceview.scroll_to_mark(self.mark, 0, True, 0, 0.5)
self.sourceview.scroll_to_mark(self.mark, 0, True, 0, 0.5)
def file_set(self,widget,data=None):
filename = widget.get_filename()
print "file_set",filename
print("file_set",filename)
self.textbuffer.set_text(open(filename).read())
self.line = 1
self._set_line(self.line)
self._set_line(self.line)
def on_down(self,widget,data=None):
self.line += 1
self._set_line(self.line)
def on_up(self,widget,data=None):
self.line -= 1
self._set_line(self.line)
def __init__(self, halcomp,builder,useropts):
self.halcomp = halcomp
self.builder = builder
@ -50,7 +49,6 @@ class HandlerClass:
self.sourceview.set_mark_category_background('highlight', gtk.gdk.Color('yellow'))
self.mark = None
def get_handlers(halcomp,builder,useropts):
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -0,0 +1,9 @@
Ejemplo para usar el widget sourceview
---------------------------------------
Cargando un archivo, y resaltando una línea
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u sourceview.py sourceview.ui

View file

@ -0,0 +1,7 @@
ejemplo de botón spin
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u spinbutton.py spinbutton.ui
Michael Haberler 06/2012

View file

@ -0,0 +1,19 @@
ejemplo con métodos de clase callback
-------------------------------------
Se muestra cómo utilizar los métodos de clases como devoluciones de llamada.
Nota:
Hay dos definiciones de clase en este ejemplo. Ambas están instanciadas. OtherClass, alrededor de la línea 84 durante
la importacion, y HandlerClass por la función get_handlers().
HandlerClass.__init__() muestra cómo definir un pin hal que no está asociado a ningún widget HAL.
Al pasar el builder se habilita la referencia a cualquier widget en el árbol (vea, por ejemplo, la línea 33).
Además, se muestra una devolución de llamada de temporizador lento (1 segundo) que actualiza 'value' del pin HAL.
Este pin esta vinculado al widget de barra horizontal hal_hbar a través de class_callback.hal.
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u class_callback.py -H class_callback.hal class_callback.ui

View file

@ -1,7 +1,14 @@
import hal
import glib
import time
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gdk
from gi.repository import GObject
from gi.repository import Pango
from gi.repository import GLib
from inspect import stack
class OtherClass:
@ -66,7 +73,7 @@ class HandlerClass:
# demonstrate a slow background timer - granularity is one second
# for a faster timer, use this:
# glib.timeout_add(5000, self._on_timer_tick)
glib.timeout_add_seconds(1, self._on_timer_tick)
GLib.timeout_add_seconds(1, self._on_timer_tick)

View file

@ -11,9 +11,9 @@ invisible - see the coloredlabel.ui file.
To help with this, the colorize() method tries to detect this
situation and give a warning if the widget is a GtkLabel and the
parent widget is not an GtkEventBox. It can be used to set the colors
of arbitray widgets, not just GtkLabel.
of arbitrary widgets, not just GtkLabel.
Also, this example shows how to set a custon text and color label
Also, this example shows how to set a custom text and color label
depending on the HAL pin's value.
------------------------------------------

View file

@ -0,0 +1,22 @@
Cómo colorear un widget HAL_Label dependiendo del valor del pin
-------------------------------------------------- ------------
Configurar el color de fondo de un widget GtkLabel (HAL_Label está
derivado de GtkLabel) es un poco complicado. Por razones de rendimiento
el widget GtkLabel no tiene objeto ventana propio, y solo los objetos ventana
pueden tener color de fondo. La solución es encerrar Labl en un contenedor
EventBox, que tiene una ventana pero invisible - ver el archivo coloredlabel.ui.
Para ayudar a esto, el método colorize() intenta detectar esta
situación y da una advertencia si el widget es un GtkLabel y
el widget principal no es un GtkEventBox. Se puede utilizar para configurar los colores
de widgets arbitrarios, no solo de GtkLabel.
Además, este ejemplo muestra cómo configurar un texto custom y una etiqueta de color
dependiendo del valor del pin HAL.
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u coloredlabel.py -H coloredlabel.hal coloredlabel.ui

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# vim: sts=4 sw=4 et
# This is a component of LinuxCNC
# complex.py Copyright 2011 Michael Haberler
@ -16,20 +16,24 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA''''''
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.''''''
'''
gladevcp colored label example
Michael Haberler 2/2011
'''
import sys
import hal
import gtk
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
from gi.repository import Gdk
global red,green,white
red = gtk.gdk.color_parse("red")
green = gtk.gdk.color_parse("green")
yellow = gtk.gdk.color_parse("yellow")
red = Gdk.color_parse("red")
green = Gdk.color_parse("green")
yellow = Gdk.color_parse("yellow")
# data for a table-driven HAL Label
table = { 0: ("No Fault", green),
@ -46,12 +50,12 @@ class HandlerClass:
def colorize(self, w, state, color):
''' helper method: try to do the right thing when setting the color of a widget.
The GtkLabel, and hence HAL_Label widget doesnt take a color, so
The GtkLabel, and hence HAL_Label widget doesn't take a color, so
it needs an enclosing Eventbox which can be colorized.'''
if isinstance(w,gtk.Label):
if isinstance(w,Gtk.Label):
parent = w.get_parent()
if not isinstance(parent,gtk.EventBox):
print >> sys.stderr,"warning: the %s Label widget is not enclosed in an EventBox" % w.get_name()
if not isinstance(parent,Gtk.EventBox):
print("warning: the %s Label widget is not enclosed in an EventBox" % w.get_name(), file=sys.stderr)
parent.modify_bg(state, color)
else:
# non-label widgets can be directly colorized
@ -67,13 +71,13 @@ class HandlerClass:
'''
value = hal_widget.hal_pin.get()
if not table.has_key(value):
if value not in table:
text = default_text + str(value)
color = default_color
else:
(text,color) = table[value]
hal_widget.set_label(text)
self.colorize(hal_widget, gtk.STATE_NORMAL, color)
self.colorize(hal_widget, Gtk.StateFlags.NORMAL, color)
def __init__(self, halcomp,builder,useropts):

View file

@ -0,0 +1,17 @@
Ejemplo complex con widget y persistencia variable.
----------------------------------------------------
Se demuestra el uso del soporte gladevcp.util para persistencia,
y muestra cómo obtener una devolución de llamada cuando cambian los
pines hal o los widgets de entrada hal.
hal_togglebutton1 está vinculado a hal_led1 a través de complex.hal
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u complex.py -H complex.hal complex.ui
o para obtener gran cantidad de resultados de depuración sobre
que están haciendo gladevcp y complex.py:
$ gladevcp -d -d -u complex.py -U debug=3 -H complex.hal complex.ui

View file

@ -1,5 +1,5 @@
# a HAL table must be explicitely enabled from 'outside'
# a HAL table must be explicitly enabled from 'outside'
# by setting its hal pin to 1
# otherwise, all contained widgets are disabled ('greyed out')

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# vim: sts=4 sw=4 et
# This is a component of LinuxCNC
# complex.py Copyright 2010 Michael Haberler
@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA''''''
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.''''''
'''
gladevcp complex demo example
Michael Haberler 11/2010
@ -28,7 +28,9 @@ from gladevcp.persistence import IniFile,widget_defaults,set_debug,select_widget
import hal
import hal_glib
import gtk
import glib
import gi
from gi.repository import GLib
debug = 0
@ -45,7 +47,7 @@ class HandlerClass:
user data passed if any - this is currently unused but
the convention should be retained just in case
'''
print "on_button_press()"
print("on_button_press()")
self.nhits += 1
halwidget.set_label("hits: %d" % self.nhits)
@ -54,7 +56,7 @@ class HandlerClass:
'''
standard button-pressed callback. Parameter is the widget object instance.
'''
print "on_toggle_button() HAL pin value: %s" %(str(hal_button.hal_pin.get()))
print("on_toggle_button() HAL pin value: %s" %(str(hal_button.hal_pin.get())))
def _on_example_trigger_change(self,hal_pin,data=None):
'''
@ -63,7 +65,7 @@ class HandlerClass:
handler through gladevcp since the name begins with an underscore (_) .
Parameter is the HAL pin instance.
'''
print "_on_example_trigger_change() - HAL pin value: %s" % (hal_pin.get())
print("_on_example_trigger_change() - HAL pin value: %s" % (hal_pin.get()))
def on_led_pin_changed(self,hal_led,data=None):
'''
@ -72,7 +74,7 @@ class HandlerClass:
just reacting to the changed HAL pin.
the on_led_pin_changed signal is set in the complex.ui hal_led1 signals section
'''
print "on_led_pin_changed() - HAL pin value:",hal_led.hal_pin.get()
print("on_led_pin_changed() - HAL pin value:",hal_led.hal_pin.get())
def _on_timer_tick(self,userdata=None):
'''
@ -87,7 +89,7 @@ class HandlerClass:
def on_unix_signal(self,signum,stack_frame):
print "on_unix_signal(): signal %d received, saving state" % (signum)
print("on_unix_signal(): signal %d received, saving state" % (signum))
self.ini.save_state(self)
gtk.main_quit()
self.halcomp.exit()
@ -97,7 +99,7 @@ class HandlerClass:
gladevcp_demo.ui has a destroy callback set in the window1 Gobject
note the widget tree is not safely accessible here any more
'''
print "on_destroy() - saving state)"
print("on_destroy() - saving state)")
self.ini.save_state(self)
def on_restore_defaults(self,button,data=None):
@ -106,7 +108,7 @@ class HandlerClass:
self.builder.get_object('hal_button1').set_label("past hits: %d" % self.nhits)
def on_save_settings(self,button,data=None):
print "on_save_settings() - saving state"
print("on_save_settings() - saving state")
self.ini.save_state(self)
def _hal_setup(self,halcomp, builder):
@ -186,8 +188,8 @@ class HandlerClass:
# demonstrate a slow background timer - granularity is one second
# for a faster timer, use this:
# glib.timeout_add(5000, self._on_timer_tick)
glib.timeout_add_seconds(1, self._on_timer_tick)
# GLib.timeout_add(5000, self._on_timer_tick)
GLib.timeout_add_seconds(1, self._on_timer_tick)
def get_handlers(halcomp,builder,useropts):
@ -204,10 +206,10 @@ def get_handlers(halcomp,builder,useropts):
# -U debug=42 -U "print 'debug=%d' % debug"
global debug
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
set_debug(debug)
if debug: print "%s.get_handlers() called" % (__name__)
if debug: print("%s.get_handlers() called" % (__name__))
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -0,0 +1,20 @@
Un ejemplo mínimo de gladevcp - tres widgets HAL
-----------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp_demo hw.ui
Para conectar el pin HAL del botón al LED, ejecutar como:
$ gladevcp_demo -H hw.hal hw.ui
Para incrustar esta aplicación como una pestaña en Axis o Touchy, copie hw.ui y hw.hal a su directorio de configuración,
y edite su archivo ini Axis/Touchy de la siguiente manera:
[DISPLAY]
EMBED_TAB_NAME = HelloWorld
EMBED_TAB_COMMAND = gladevcp -H hw.hal -x {XID} hw.ui
Para editar la interfaz de usuario:
$ glade hw.ui

View file

@ -0,0 +1,10 @@
Ejemplo que demuestra una devolución de llamada simple definida por el usuario
------------------------------------------------------------------------------
callback.py define la función on_button_press() que está conectada al árbol de widgets como un handler de eventos.
Consulte la pestaña Signals de glade sobre cómo se hace referencia a hal_button1.
------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u simplecallback.py simplecallback.ui

View file

@ -4,5 +4,5 @@ nhits = 0
def on_button_press(gtkobj,data=None):
global nhits
nhits += 1
print "on_button_press callback"
print ("on_button_press callback")
gtkobj.set_label("hits: %d" % nhits)

View file

@ -0,0 +1,27 @@
Estos son ejemplos de handler de clases de gladevcp para empezar con los suyos propios.
--------------------------------------------------------------------------------------
Para ejecutar de forma independiente:
$ gladevcp -u functionhandler.py button.ui
$ gladevcp -u classhandler.py button.ui
$ gladevcp -u classhandler_persistent.py -U debug=2 -U "print 'debug=%d' % debug" button.ui
NB: button.ui realmente no tiene un estado interesante de widget para restaurar.
dar un vistazo a classhandler_persistent.ini para obtener una
idea de cómo se guarda el estado persistente. Debería verse más o menos así:
# generated by gladevcp.util.create_default_ini() on Wed Dec 8 12:27:13 2010
[ini]
version = 1
signature = be44d45a0e07d57cfbe8915d668e8d3b399a4cdb
[vars]
abool = True
afloat = 1.67
anint = 42
astring = sometext
[widgets]
# última actualización realizada por gladevcp.util.save_state() el miércoles 8 de diciembre 12:31:20 2010
-Michael Haberler 12/2010

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# vim: sts=4 sw=4 et
# This is a component of LinuxCNC
# classhandler.py Copyright 2010 Michael Haberler
@ -16,27 +16,28 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''
example gladevcp handler class to start your own
no persistence support
'''
import glib
import gi
from gi.repository import GLib
class HandlerClass:
def on_button_press(self,widget,data=None):
print "on_button_press"
print("on_button_press")
def on_destroy(self,obj,data=None):
print "on_destroy"
print("on_destroy")
def _on_timer_tick(self,userdata=None):
print "timer tick"
print("timer tick")
return True
@ -48,12 +49,12 @@ class HandlerClass:
# demonstrate a slow background timer - granularity is one second
# for a faster timer, use this:
# glib.timeout_add(5000, self._on_timer_tick)
glib.timeout_add_seconds(1, self._on_timer_tick)
GLib.timeout_add_seconds(1, self._on_timer_tick)
def get_handlers(halcomp,builder,useropts):
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
return [HandlerClass(halcomp,builder,useropts)]

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# vim: sts=4 sw=4 et
# This is a component of LinuxCNC
# classhandler_persistent.py Copyright 2010 Michael Haberler
@ -16,7 +16,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'''
example gladevcp handler class with widget and attribute persistence support
'''
@ -28,25 +28,25 @@ debug = 0
class HandlerClass:
def on_button_press(self,widget,data=None):
print "on_button_press"
print("on_button_press")
self.anint += 1
# show retained attributes as inifile and current values
print "attr\tini\tcurrent"
for k in self.defaults[IniFile.vars].keys():
print "%s\t%s\t%s" % (k,self.defaults[IniFile.vars][k],getattr(self,k,None))
print("attr\tini\tcurrent")
for k in list(self.defaults[IniFile.vars].keys()):
print("%s\t%s\t%s" % (k,self.defaults[IniFile.vars][k],getattr(self,k,None)))
def on_destroy(self,obj,data=None):
'''
save state on application exit
'''
print "on_destroy() - saving state"
print("on_destroy() - saving state")
self.ini.save_state(self)
def on_restore_defaults(self,button,data=None):
'''
example callback for 'Reset to defaults' button (unused)
'''
print "on_restore_defaults() - setting default state"
print("on_restore_defaults() - setting default state")
self.ini.create_default_ini()
self.ini.restore_state(self)
@ -85,7 +85,7 @@ def get_handlers(halcomp,builder,useropts):
global debug
for cmd in useropts:
exec cmd in globals()
exec(cmd, globals())
# get some detail what save/restore etc are doing
set_debug(debug)

View file

@ -1,9 +1,9 @@
def on_button_press(button,data=None):
print "button pressed"
print ("button pressed")
def on_destroy(object,data=None):
print "on_destroy"
print ("on_destroy")

View file

@ -0,0 +1,8 @@
halrun:
Iniciar halrun en un terminal xterm
Primero ordene el comando 'help' para mostrar los comandos
Nota:
Linuxcnc no debe estar ejecutándose.
Se terminará cualquier otra instancia de halrun.

View file

@ -1,2 +1,4 @@
nodemocopy
.demo files in this dir will not be copied to user dir
.demo files in this dir will not be copied to user dir.
Los archivos .demo en este directorio no se copiaran al directorio de usuario.

9
configs/apps/info_es.txt Normal file
View file

@ -0,0 +1,9 @@
info: crea un archivo con información sobre LinuxCNC y elementos importantes del sistema.
El archivo se crea en /tmp y es adecuado para su publicación como ayuda para diagnosticar problemas.
Nombre de archivo: /tmp/linuxcnc.info
El editor especificado por $VISUAL se utilizará para abrir el archivo.
Si $VISUAL no está establecido, se intentarán otros editores comunes.

View file

@ -0,0 +1,15 @@
Programas de evaluación de latencia
latency-test -- Prueba estándar para linuxcnc
latency-plot -- Plot de latencias para los hilos base y servo predeterminados
latency-histogram -- Histograma jitter para hilos base y servo predeterminados
latency-histogram-1 -- Histograma jitter para un hilo servo
Nota: Los programas latency-plot y latency-histogram se pueden ejecutar con más opciones desde una línea de comando de terminal.
Para ayuda sobre su uso:
latency-plot --help
latency-histogram --help

View file

@ -1,2 +1,3 @@
nodemocopy
.demo files in this dir will not be copied to user dir
.demo files in this dir will not be copied to user dir.
Los archivos .demo en este directorio no se copiaran al directorio de usuario.

View file

@ -1,2 +1,4 @@
nodemocopy
.demo files in this dir will not be copied to user dir
.demo files in this dir will not be copied to user dir.
Los archivos .demo en este directorio no se copiaran al directorio de usuario

View file

@ -0,0 +1,19 @@
Prueba de puerto paralelo usando pyvcp
parport_0x278 test port 0x278 < parallel port 1 (no típico)
parport_0x378 test port 0x378 < parallel port 0
Para encontrar la dirección del puerto paralelo, abra una terminal y escriba:
cat /proc/ioports | grep parport
normalmente sera parport0
0378-037a: parport0
Para averiguar la dirección de un puerto paralelo PCI:
lspci -v
Nota: Para el simulador, se puede mostrar un mensaje de 'acceso root requerido'.
No se recomienda usar root para ejecutar linuxcnc.

View file

@ -1,2 +1,3 @@
nodemocopy
.demo files in this dir will not be copied to user dir
.demo files in this dir will not be copied to user dir.
Los archivos .demo en este directorio no se copiaran al directorio de usuario.

View file

@ -0,0 +1,245 @@
<!-- Test panel for the parallel port cfg for out -->
<pyvcp>
<hbox>
<labelframe text="Salidas">
<font>("Helvetica",16)</font>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn01"</halpin>
<text>"Pin 01"</text>
</button>
<led>
<halpin>"led-01"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn02"</halpin>
<text>"Pin 02"</text>
</button>
<led>
<halpin>"led-02"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn03"</halpin>
<text>"Pin 03"</text>
</button>
<led>
<halpin>"led-03"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn04"</halpin>
<text>"Pin 04"</text>
</button>
<led>
<halpin>"led-04"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn05"</halpin>
<text>"Pin 05"</text>
</button>
<led>
<halpin>"led-05"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn06"</halpin>
<text>"Pin 06"</text>
</button>
<led>
<halpin>"led-06"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn07"</halpin>
<text>"Pin 07"</text>
</button>
<led>
<halpin>"led-07"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn08"</halpin>
<text>"Pin 08"</text>
</button>
<led>
<halpin>"led-08"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn09"</halpin>
<text>"Pin 09"</text>
</button>
<led>
<halpin>"led-09"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn14"</halpin>
<text>"Pin 14"</text>
</button>
<led>
<halpin>"led-14"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<button>
<halpin>"btn16"</halpin>
<text>"Pin 16"</text>
</button>
<led>
<halpin>"led-16"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<button>
<halpin>"btn17"</halpin>
<text>"Pin 17"</text>
</button>
<led>
<halpin>"led-17"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
</labelframe>
<labelframe text="Entradas">
<font>("Helvetica",16)</font>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<label>
<text>"Pin 10"</text>
<font>("Helvetica",14)</font>
</label>
<led>
<halpin>"led-10"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<label>
<text>"Pin 11"</text>
<font>("Helvetica",14)</font>
</label>
<led>
<halpin>"led-11"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<label>
<text>"Pin 12"</text>
<font>("Helvetica",14)</font>
</label>
<led>
<halpin>"led-12"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<label>
<text>"Pin 13"</text>
<font>("Helvetica",14)</font>
</label>
<led>
<halpin>"led-13"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
<hbox>
<relief>RIDGE</relief>
<bd>2</bd>
<label>
<text>"Pin 15"</text>
<font>("Helvetica",14)</font>
</label>
<led>
<halpin>"led-15"</halpin>
<size>25</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</hbox>
</labelframe>
</hbox>
</pyvcp>

View file

@ -0,0 +1,9 @@
Demostración de algunos pyvcp_widgets
Notas:
El widget de barra cambia de color en ciertos rangos de valores.
El valor de las casillas de selección y los diales se puede cambiar utilizando señales HAL.
multilabel cambiará el texto dependiendo de la señal HAL.

View file

@ -0,0 +1,467 @@
<?xml version='1.0' encoding='UTF-8'?>
<pyvcp>
<labelframe text="Spinboxes enlazados a displays de escalas/numeros, muestran el uso de initval y param_pin">
<font>("Helvetica",10)</font>
<bd>3</bd>
<relief>SUNKEN</relief>
<hbox>
<!-- stack of 3 spinboxes -->
<vbox>
<hbox>
<spinbox>
<halpin>"spinbox0"</halpin>
<min_>-12</min_>
<max_>33</max_>
<initval>10</initval>
<resolution>0.1</resolution>
<format>"2.3f"</format>
<font>("Arial",16)</font>
<param_pin>1</param_pin>
</spinbox>
</hbox>
<hbox>
<spinbox>
<halpin>"spinbox1"</halpin>
<min_>-12</min_>
<max_>33</max_>
<initval>20</initval>
<resolution>0.1</resolution>
<format>"2.3f"</format>
<font>("Arial",16)</font>
<param_pin>1</param_pin>
</spinbox>
</hbox>
<hbox>
<spinbox>
<halpin>"spinbox2"</halpin>
<min_>-12</min_>
<max_>33</max_>
<initval>30</initval>
<resolution>0.1</resolution>
<format>"2.3f"</format>
<font>("Arial",16)</font>
<param_pin>1</param_pin>
</spinbox>
</hbox>
</vbox>
<!-- stack of 3 horizontal scales in same hbox -->
<vbox>
<hbox>
<scale>
<font>("Helvetica",16)</font>
<width>"30"</width>
<halpin>"scale0"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>5</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
</hbox>
<hbox>
<scale>
<font>("Helvetica",16)</font>
<width>"30"</width>
<halpin>"scale1"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>15</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
</hbox>
<hbox>
<scale>
<font>("Helvetica",16)</font>
<width>"30"</width>
<halpin>"scale2"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>25</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
</hbox>
</vbox>
<!-- stack of 3 number displays in same hbox -->
<vbox>
<hbox>
<number>
<halpin>"number0"</halpin>
<font>("Helvetica",16)</font>
<format>"+4.4f"</format>
</number>
</hbox>
<hbox>
<number>
<halpin>"number1"</halpin>
<font>("Helvetica",16)</font>
<format>"+4.4f"</format>
</number>
</hbox>
<hbox>
<number>
<halpin>"number2"</halpin>
<font>("Helvetica",16)</font>
<format>"+4.4f"</format>
</number>
</hbox>
</vbox>
</hbox>
</labelframe>
<!-- new hbox with 3 dials -->
<labelframe text="Diales enlazados a escalas, muestran el uso de initval y param_pin">
<font>("Helvetica",10)</font>
<bd>3</bd>
<relief>RAISED</relief>
<hbox>
<dial>
<size>150</size>
<cpr>100</cpr>
<min_>0</min_>
<max_>100</max_>
<text>"Dial-0"</text>
<initval>10</initval>
<resolution>0.01</resolution>
<halpin>"dial0"</halpin>
<dialcolor>"yellow"</dialcolor>
<edgecolor>"green"</edgecolor>
<dotcolor>"black"</dotcolor>
<param_pin>1</param_pin>
</dial>
<dial>
<size>150</size>
<cpr>100</cpr>
<min_>0</min_>
<max_>100</max_>
<text>"Dial-1"</text>
<initval>12</initval>
<resolution>0.1</resolution>
<halpin>"dial1"</halpin>
<dialcolor>"green"</dialcolor>
<edgecolor>"red"</edgecolor>
<dotcolor>"black"</dotcolor>
<param_pin>1</param_pin>
</dial>
<dial>
<size>150</size>
<cpr>100</cpr>
<min_>0</min_>
<max_>100</max_>
<text>"Dial-2"</text>
<initval>5</initval>
<resolution>1</resolution>
<halpin>"dial2"</halpin>
<dialcolor>"yellow"</dialcolor>
<edgecolor>"green"</edgecolor>
<dotcolor>"black"</dotcolor>
<param_pin>1</param_pin>
</dial>
</hbox>
<!-- new hbox with 3 scales, spaced to sit under dials -->
<hbox>
<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"scale3"</halpin>
<resolution>0.01</resolution>
<orient>VERTICAL</orient>
<initval>1</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
<!-- label used as a spacer -->
<label>
<text>" "</text>
</label>
<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"scale4"</halpin>
<resolution>0.1</resolution>
<orient>VERTICAL</orient>
<initval>10</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
<!-- label used as a spacer -->
<label>
<text>" "</text>
</label>
<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"scale5"</halpin>
<resolution>1</resolution>
<orient>VERTICAL</orient>
<initval>20</initval>
<min_>0</min_>
<max_>100</max_>
<param_pin>1</param_pin>
</scale>
</hbox>
</labelframe>
<!-- new hbox with 3 dials -->
<labelframe text="Botones Radio enlazados a multi_labels mostrando leyenda de selección">
<font>("Helvetica",10)</font>
<bd>3</bd>
<relief>FLAT</relief>
<hbox>
<hbox>
<vbox>
<radiobutton>
<choices>["uno","dos","tres"]</choices>
<halpin>"radio0"</halpin>
<initval>0</initval>
</radiobutton>
</vbox>
<vbox>
<radiobutton>
<choices>["cuatro","cinco","seis"]</choices>
<halpin>"radio1"</halpin>
<initval>1</initval>
</radiobutton>
</vbox>
</hbox>
<hbox>
<vbox>
<multilabel>
<legends>["Radio1-Seleccionado","Ahora Radio2-Seleccionado","Y ahora Radio3-Seleccionado"]</legends>
<font>("Helvetica", 10)</font>
<disable_pin>True</disable_pin>
<initval>0</initval>
</multilabel>
<multilabel>
<legends>["Radio4-Seleccionado","Ahora Radio5-Seleccionado","Y ahora Radio6-Seleccionado"]</legends>
<font>("Helvetica", 10)</font>
<disable_pin>True</disable_pin>
<initval>1</initval>
</multilabel>
</vbox>
</hbox>
</hbox>
</labelframe>
<labelframe text="Checkbuttons mostrando configuración initval / leds de operación y cambio de valor remoto">
<font>("Helvetica",10)</font>
<bd>3</bd>
<relief>GROOVE</relief>
<hbox>
<hbox>
<vbox>
<checkbutton>
<halpin>"checkbutton0"</halpin>
<text>"Boton 0"</text>
<initval>1</initval>
</checkbutton>
<checkbutton>
<halpin>"checkbutton1"</halpin>
<text>"Boton 1"</text>
<initval>0</initval>
</checkbutton>
<checkbutton>
<halpin>"checkbutton2"</halpin>
<text>"Boton 2"</text>
<initval>0</initval>
</checkbutton>
</vbox>
</hbox>
<hbox>
<vbox>
<checkbutton>
<halpin>"checkbutton3"</halpin>
<text>"Boton 3"</text>
<initval>0</initval>
</checkbutton>
<checkbutton>
<halpin>"checkbutton4"</halpin>
<text>"Boton 4"</text>
<initval>1</initval>
</checkbutton>
<checkbutton>
<halpin>"checkbutton5"</halpin>
<text>"Boton 5"</text>
<initval>0</initval>
</checkbutton>
</vbox>
</hbox>
<!-- hbox of labels used as a spacer -->
<hbox>
<vbox>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
</vbox>
</hbox>
<hbox>
<vbox>
<button>
<halpin>"toggle-button0"</halpin>
<text>"Cambiar Checkbox 0"</text>
</button>
<!-- label used as a spacer -->
<label>
<text>" "</text>
</label>
<button>
<halpin>"toggle-button1"</halpin>
<text>"Cambiar Checkbox 5"</text>
</button>
</vbox>
</hbox>
<!-- hbox of labels used as a spacer -->
<hbox>
<vbox>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
</vbox>
</hbox>
<hbox>
<vbox>
<led>
<halpin>"led0"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<led>
<halpin>"led1"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<led>
<halpin>"led2"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</vbox>
</hbox>
<hbox>
<vbox>
<led>
<halpin>"led3"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<led>
<halpin>"led4"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
<led>
<halpin>"led5"</halpin>
<size>30</size>
<on_color>"green"</on_color>
<off_color>"red"</off_color>
</led>
</vbox>
</hbox>
</hbox>
</labelframe>
<labelframe text="Barra con rangos de colores diferentes, activados por escala / etiquetas">
<font>("Helvetica",10)</font>
<bd>3</bd>
<relief>RIDGE</relief>
<hbox>
<hbox>
<bar>
<halpin>"my-bar"</halpin>
<min_>0</min_>
<max_>150</max_>
<bgcolor>"grey"</bgcolor>
<range1>(0,100,"green")</range1>
<range2>(101,129,"orange")</range2>
<range3>(130,150,"red")</range3>
<fillcolor>"green"</fillcolor>
</bar>
</hbox>
<hbox>
<scale>
<font>("Helvetica",16)</font>
<width>"25"</width>
<halpin>"my-hscale"</halpin>
<resolution>1</resolution>
<orient>HORIZONTAL</orient>
<initval>0</initval>
<min_>0</min_>
<max_>150</max_>
</scale>
</hbox>
<!-- hbox of labels used as a spacer -->
<hbox>
<vbox>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
<label>
<text>" "</text>
</label>
</vbox>
</hbox>
<hbox>
<vbox>
<label>
<relief>FLAT</relief>
<text>"Soy una etiqueta sin borde"</text>
</label>
<label>
<bd>3</bd>
<relief>RAISED</relief>
<text>"Soy una etiqueta resaltada"</text>
</label>
<label>
<bd>3</bd>
<relief>SUNKEN</relief>
<text>"Soy una etiqueta en bajorelieve"</text>
</label>
</vbox>
</hbox>
</hbox>
</labelframe>
</pyvcp>

View file

@ -0,0 +1,12 @@
Pruebas independientes xhc-hb04
Usarlo para probar diseños de botones para un colgante xhc-hb04 inalámbrico USB.
xhc-hb04-layout1.demo - prueba con layout1 (16 botones)
xhc-hb04-layout2.demo - prueba con layout2 (18 botones)
xhc-hb04.demo: prueba sin diseño de botones predefinido
(Conecte un colgante xhc-hb04 y enciéndalo para usar estos programas)

View file

@ -1,2 +1,3 @@
nodemocopy
.demo files in this dir will not be copied to user dir
.demo files in this dir will not be copied to user dir.
Los archivos .demo en este directorio no se copiaran al directorio de usuario.

8
configs/attic/README_es Normal file
View file

@ -0,0 +1,8 @@
trastero.
Para cualquier cosa.
Colección de configuraciones que:
pueden ser obsoletas
pueden ser no compatibles
pueden ser útiles para estudio

View file

@ -0,0 +1,8 @@
Esta configuración es para una máquina de corte por plasma con control "paso a paso", junto con conexiones ClassicLadder a algunas de las IO de LinuxCNC.
Se basa en la configuración de muestra de classicladder, pero también incluye una bomba de carga y un sistema de control de altura de antorcha para los sistemas de Bob Cambells THC300 y CandCNC THC.
Los pinouts paso a paso son para tarjetas breakout/combo estándar provista por Bob Campbell.
Esta configuración está desactualizada y no se ejecutará sin actualización, ya que
utiliza freqgen, que se ha eliminado desde Linuxcnc 2.6.

View file

@ -69,7 +69,7 @@ net emc-enable-in iocontrol.0.emc-enable-in classicladder.0.out-00
# Spindle Signal, forward drives Torch ON
# Spindle reverse is not used (might be used for a Running Start later)
net turn_torch_on parport.1.pin-01-out
#net spindle-reverse motion.spindle-reverse parport.0.pin-17-out
#net spindle-reverse spindle.0.reverse parport.0.pin-17-out
#Create a limit switch signal for each axis
@ -80,14 +80,14 @@ net limit-reached-z parport.0.pin-13-in-not
net limit-reached-a parport.0.pin-15-in-not
#Connect all limit signals to relevant axes
net limit-reached-x axis.0.neg-lim-sw-in
net limit-reached-x axis.0.pos-lim-sw-in
net limit-reached-y axis.1.neg-lim-sw-in
net limit-reached-y axis.1.pos-lim-sw-in
net limit-reached-a axis.1.neg-lim-sw-in
net limit-reached-a axis.1.neg-lim-sw-in
net limit-reached-z axis.2.neg-lim-sw-in
net limit-reached-z axis.2.neg-lim-sw-in
net limit-reached-x joint.0.neg-lim-sw-in
net limit-reached-x joint.0.pos-lim-sw-in
net limit-reached-y joint.1.neg-lim-sw-in
net limit-reached-y joint.1.pos-lim-sw-in
net limit-reached-a joint.1.neg-lim-sw-in
net limit-reached-a joint.1.neg-lim-sw-in
net limit-reached-z joint.2.neg-lim-sw-in
net limit-reached-z joint.2.neg-lim-sw-in
########## Charge Pump #########
@ -214,7 +214,7 @@ net Zpos-cmd-muxed mux2.2.out
addf mux2.2 servo-thread
#Disconnect Machine/Manual Axis Z Control while ArcOK for safety and to eliminate jitter
net Zpos-instructed-cmd <= axis.2.motor-pos-cmd
net Zpos-instructed-cmd <= joint.2.motor-pos-cmd
net Zpos-instructed-cmd => mux2.3.in0
net Zpos-fb => mux2.3.in1
@ -252,7 +252,7 @@ net senseZFloatSwitch => classicladder.0.in-03
net moveZtoFloat classicladder.0.out-03
net moveZtoSafe classicladder.0.out-04
net senseArcOK classicladder.0.in-04
net spindle-forward classicladder.0.in-05 <= motion.spindle-forward
net spindle-forward classicladder.0.in-05 <= spindle.0.forward
net feed-hold classicladder.0.out-06
net turn_torch_on classicladder.0.out-05
net ui_mode_is_auto halui.mode.is-auto

View file

@ -1,89 +1,61 @@
# EMC controller parameters for generic controller. Make these what you need
# for your system.
# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.
# General section -------------------------------------------------------------
[EMC]
# Version of this INI file
VERSION = $Revision$
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = LinuxCNC-DALLUR-ADVANCED
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
# DEBUG = 0x00000001
# DEBUG = 0x00000007
# DEBUG = 0x7FFFFFFF
DEBUG = 0
# Enable Adaptive Feedrate for THC
# Enable adaptive feed input, we use it for feedhold button and to
# prevent motion during inverse-homing of torch and for pierce delay
RS274NGC_STARTUP_CODE = M52 P1
# Sections for display options ------------------------------------------------
[DISPLAY]
# Name of display program, e.g., xemc
[DISPLAY]
# Name of display program, e.g., xlinuxcnc
# DISPLAY = axis
# DISPLAY = xemc
# DISPLAY = usrmot
DISPLAY = tkemc
# DISPLAY = xlinuxcnc
DISPLAY = tklinuxcnc
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.200
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.2
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 2
# Increments for the JOG section
INCREMENTS = 1000 10 1 0.1 0.01
# Task controller section -----------------------------------------------------
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
[FILTER]
#No Content
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
# Part program interpreter section --------------------------------------------
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = dallur-advanced.var
# Motion control section ------------------------------------------------------
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Base task period, in nanoseconds - this is the fastest thread in the machine
#BASE_PERIOD = 10000
#BASE_PERIOD = 14107
@ -94,19 +66,22 @@ BASE_PERIOD = 20000
# Servo task period, in nanoseconds - will be rounded to an integer multiple
# of BASE_PERIOD
SERVO_PERIOD = 1000000
# Hardware Abstraction Layer section --------------------------------------------------
[HAL]
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
# Part program interpreter section --------------------------------------------
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
#
# HALUI to interact with NML
# Run before any other HALFILE
HALUI=halui
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = dallur-core_stepper.hal
@ -115,31 +90,46 @@ HALFILE = dallur-halvcp.hal
#HALFILE = xylotex_pinout.hal
# HALFILE = standard_pinout.hal
# HALFILE = simulated_limits.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
# Trajectory planner section --------------------------------------------------
[TRAJ]
AXES = 3
[HALUI]
#No Content
[TRAJ]
COORDINATES = X Y Z
HOME = 0 0 0
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.00001
DEFAULT_VELOCITY = 180.00
MAX_VELOCITY = 260.00
DEFAULT_ACCELERATION = 500.0
MAX_ACCELERATION = 2400.0
DEFAULT_LINEAR_VELOCITY = 180.00
MAX_LINEAR_VELOCITY = 260.00
DEFAULT_LINEAR_ACCELERATION = 500.0
MAX_LINEAR_ACCELERATION = 2400.0
# Axes sections ---------------------------------------------------------------
# First axis
[AXIS_0]
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = dallur-advanced.tbl
# section for external NML server parameters ----------------------------------
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = 0
MAX_LIMIT = 2100
MAX_VELOCITY = 220
MAX_ACCELERATION = 2400
[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 220
@ -157,10 +147,15 @@ HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
# Second axis
[AXIS_1]
[AXIS_Y]
MIN_LIMIT = 0.0
MAX_LIMIT = 6100
MAX_VELOCITY = 240
MAX_ACCELERATION = 2400
[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 240
@ -178,10 +173,15 @@ HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
# Third axis
[AXIS_2]
[AXIS_Z]
MIN_LIMIT = 0.0
MAX_LIMIT = 4000.0
MAX_VELOCITY = 20
MAX_ACCELERATION = 250
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 20
@ -200,7 +200,6 @@ HOME_SEARCH_VEL = 0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
# Settings for the Torch Height Control which does not use the stepgen but depends on a PID loop
P = 2500
I = 0.0
@ -210,20 +209,8 @@ FF0 = 0.0
FF1 = 0.0
FF2 = 0.0
DEADBAND= 0.000375
# section for main IO controller parameters -----------------------------------
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = dallur-advanced.tbl
# section for external NML server parameters ----------------------------------
[EMCSERVER]
# Uncomment the following line if you need to run a remote GUI.
# EMCSERVER = emcsvr

View file

@ -2,9 +2,9 @@
# first load the core RT modules that will be needed
# kinematics
loadrt trivkins
loadrt [KINS]KINEMATICS
# motion controller, get name and thread periods from ini file
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
# stepper module, three step generators, all three using step/dir
loadrt stepgen step_type=0,0,0
@ -18,30 +18,30 @@ addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
# connect position commands from motion module to step generator
net Xpos-cmd <= axis.0.motor-pos-cmd
net Xpos-cmd <= joint.0.motor-pos-cmd
net Xpos-cmd => stepgen.0.position-cmd
net Ypos-cmd <= axis.1.motor-pos-cmd
net Ypos-cmd <= joint.1.motor-pos-cmd
net Ypos-cmd => stepgen.1.position-cmd
# Disabled to make THC work better
#linksp Zpos-cmd <= axis.2.motor-pos-cmd
#linksp Zpos-cmd <= joint.2.motor-pos-cmd
# Disabled for THC to work
#linksp Zpos-cmd => stepgen.2.position-cmd
# connect position feedback from step generators
# to motion module
net Xpos-fb <= stepgen.0.position-fb
net Xpos-fb => axis.0.motor-pos-fb
net Xpos-fb => joint.0.motor-pos-fb
net Ypos-fb <= stepgen.1.position-fb
net Ypos-fb => axis.1.motor-pos-fb
net Ypos-fb => joint.1.motor-pos-fb
net Zpos-fb <= stepgen.2.position-fb
net Zpos-fb => axis.2.motor-pos-fb
net Zpos-fb => joint.2.motor-pos-fb
# connect enable signals for step generators
net Xen <= axis.0.amp-enable-out
net Xen <= joint.0.amp-enable-out
net Xen => stepgen.0.enable
net Yen <= axis.1.amp-enable-out
net Yen <= joint.1.amp-enable-out
net Yen => stepgen.1.enable
net Zen <= axis.2.amp-enable-out
net Zen <= joint.2.amp-enable-out
net Zen => stepgen.2.enable
@ -54,12 +54,12 @@ net Zstep stepgen.2.step
net Zdir stepgen.2.dir
# set stepgen module scaling - get values from ini file
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.1.position-scale [AXIS_1]SCALE
setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.0.position-scale [JOINT_0]SCALE
setp stepgen.1.position-scale [JOINT_1]SCALE
setp stepgen.2.position-scale [JOINT_2]SCALE
# set stepgen module accel limits - get values from ini file
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL
setp stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
setp stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
setp stepgen.2.maxaccel [JOINT_2]STEPGEN_MAXACCEL

View file

@ -0,0 +1,8 @@
Demo_mazak es un conjunto complejo de controladores HAL. Incluyen la tarjeta de movimiento Motenc-Lite, una tarjeta parport PMDX y una tarjeta IO ISA de propósito general.
Esta configuración se usa para la Mazak V5 de Cardinal Engineering y se incluye aquí como un ejemplo de una manera de distribuir las habilidades HAL en varios dispositivos.
Esta demostración incluye un ejemplo del uso de un puerto paralelo para leer un codificador de volante. Trae ClassicLadder para manejar la mayor parte de la lógica de la
máquina para el cambio de velocidades y herramientas.
No espere poder ejecutar esto tal como está a menos que tenga un conjunto de hardware coincidente. Sin el conjunto exacto de dispositivos, aún puede estudiar los archivos hal
para ver como se logran muchas de estas cosas.

View file

@ -1,7 +1,7 @@
# this file contains the HAL configuration for Roland's Mazak
#
# kinematics
loadrt trivkins
loadrt [KINS]KINEMATICS
# first load the motion controller, get name and thread periods from ini file
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD
@ -206,7 +206,7 @@ net motion-enable motion.enable
# servo amp enable (only one, driven by axis 0)
net servo-enable motenc.3.out-02
net servo-enable axis.0.amp-enable-out
net servo-enable joint.0.amp-enable-out
# servo amp fault signals
# the signals from the amps are actually "not running"
@ -221,27 +221,27 @@ net Z-amp-running motenc.3.out-15
# these are the real fault signals, and go to the motion
# controller, they are derived from the ones above by
# ladder logic
net X-amp-fault axis.0.amp-fault-in
net Y-amp-fault axis.1.amp-fault-in
net Z-amp-fault axis.2.amp-fault-in
net X-amp-fault joint.0.amp-fault-in
net Y-amp-fault joint.1.amp-fault-in
net Z-amp-fault joint.2.amp-fault-in
# Limit switches
# (the switches are NC, and open when hit, so
# we invert the signals by using the -not input
# pin - the result is limit signals that are
# TRUE when the machine is on the limit.)
net X-lim-plus motenc.3.in-00-not => axis.0.pos-lim-sw-in
net X-lim-minus motenc.3.in-01-not => axis.0.neg-lim-sw-in
net Y-lim-plus motenc.3.in-02-not => axis.1.pos-lim-sw-in
net Y-lim-minus motenc.3.in-03-not => axis.1.neg-lim-sw-in
net Z-lim-plus motenc.3.in-04-not => axis.2.pos-lim-sw-in
net Z-lim-minus motenc.3.in-05-not => axis.2.neg-lim-sw-in
net X-lim-plus motenc.3.in-00-not => joint.0.pos-lim-sw-in
net X-lim-minus motenc.3.in-01-not => joint.0.neg-lim-sw-in
net Y-lim-plus motenc.3.in-02-not => joint.1.pos-lim-sw-in
net Y-lim-minus motenc.3.in-03-not => joint.1.neg-lim-sw-in
net Z-lim-plus motenc.3.in-04-not => joint.2.pos-lim-sw-in
net Z-lim-minus motenc.3.in-05-not => joint.2.neg-lim-sw-in
# Home switches
# (the switches are NC, see note above)
net X-home motenc.3.in-08-not => axis.0.home-sw-in
net Y-home motenc.3.in-09-not => axis.1.home-sw-in
net Z-home motenc.3.in-10-not => axis.2.home-sw-in
net X-home motenc.3.in-08-not => joint.0.home-sw-in
net Y-home motenc.3.in-09-not => joint.1.home-sw-in
net Z-home motenc.3.in-10-not => joint.2.home-sw-in
# spindle related signals: "high level" signals
# ready (from drive to PC)
@ -353,13 +353,13 @@ net sp-in-low-gear ax5214h.0.in-36
net sp-enc-pos scale.2.in
net sp-pos-revs scale.2.out
setp scale.2.gain 0.002777777777777
net sp-pos-revs motion.spindle-revs
net sp-pos-revs spindle.0.revs
# rayh begins to screw it up with help from his friends
# connect iocontrol signals for spindle run and speed
# these work as long as a spindle command is being output.
net spindle-run-request motion.spindle-on
net spindle-rpm-cmd motion.spindle-speed-out
net spindle-run-request spindle.0.on
net spindle-rpm-cmd spindle.0.speed-out
# end of spindle control
@ -484,7 +484,7 @@ net sp-index-enable motenc.3.enc-03-index-enable
net sp-index-enable tristate-bit.0.out
setp tristate-bit.0.in 1
net tool-change tristate-bit.0.enable
net sp-index-enable motion.spindle-index-enable
net sp-index-enable spindle.0.index-enable
# jogwheel signals
setp encoder.0.x4-mode 0
@ -518,9 +518,9 @@ net Y-enc-counts motenc.3.enc-01-count
net Z-enc-counts motenc.3.enc-02-count
# scaling to get inches (scale comes from ini file)
setp motenc.3.enc-00-scale [AXIS_0]INPUT_SCALE
setp motenc.3.enc-01-scale [AXIS_1]INPUT_SCALE
setp motenc.3.enc-02-scale [AXIS_2]INPUT_SCALE
setp motenc.3.enc-00-scale [JOINT_0]INPUT_SCALE
setp motenc.3.enc-01-scale [JOINT_1]INPUT_SCALE
setp motenc.3.enc-02-scale [JOINT_2]INPUT_SCALE
# position in inches
net X-enc-pos motenc.3.enc-00-position
@ -528,9 +528,9 @@ net Y-enc-pos motenc.3.enc-01-position
net Z-enc-pos motenc.3.enc-02-position
# index pulses
net X-index-enable motenc.3.enc-00-index-enable axis.0.index-enable
net Y-index-enable motenc.3.enc-01-index-enable axis.1.index-enable
net Z-index-enable motenc.3.enc-02-index-enable axis.2.index-enable
net X-index-enable motenc.3.enc-00-index-enable joint.0.index-enable
net Y-index-enable motenc.3.enc-01-index-enable joint.1.index-enable
net Z-index-enable motenc.3.enc-02-index-enable joint.2.index-enable
# -----------------------------------------------------
# DACs - output to servo amps
@ -539,12 +539,12 @@ net X-volts motenc.3.dac-00-value
net Y-volts motenc.3.dac-01-value
net Z-volts motenc.3.dac-02-value
# get scale and offset from the ini file
setp motenc.3.dac-00-gain [AXIS_0]OUTPUT_SCALE
setp motenc.3.dac-01-gain [AXIS_1]OUTPUT_SCALE
setp motenc.3.dac-02-gain [AXIS_2]OUTPUT_SCALE
setp motenc.3.dac-00-offset [AXIS_0]OUTPUT_OFFSET
setp motenc.3.dac-01-offset [AXIS_1]OUTPUT_OFFSET
setp motenc.3.dac-02-offset [AXIS_2]OUTPUT_OFFSET
setp motenc.3.dac-00-gain [JOINT_0]OUTPUT_SCALE
setp motenc.3.dac-01-gain [JOINT_1]OUTPUT_SCALE
setp motenc.3.dac-02-gain [JOINT_2]OUTPUT_SCALE
setp motenc.3.dac-00-offset [JOINT_0]OUTPUT_OFFSET
setp motenc.3.dac-01-offset [JOINT_1]OUTPUT_OFFSET
setp motenc.3.dac-02-offset [JOINT_2]OUTPUT_OFFSET
# -----------------------------------------------------
# ADCs - servo amp current feedback
@ -566,9 +566,9 @@ setp motenc.3.adc-02-offset 0.0
# signals for position command
# hook the motion controller outputs to the position command
net X-pos-cmd axis.0.motor-pos-cmd
net Y-pos-cmd axis.1.motor-pos-cmd
net Z-pos-cmd axis.2.motor-pos-cmd
net X-pos-cmd joint.0.motor-pos-cmd
net Y-pos-cmd joint.1.motor-pos-cmd
net Z-pos-cmd joint.2.motor-pos-cmd
# and to the PID inputs
net X-pos-cmd pid.0.command
net Y-pos-cmd pid.1.command
@ -579,9 +579,9 @@ net X-enc-pos pid.0.feedback
net Y-enc-pos pid.1.feedback
net Z-enc-pos pid.2.feedback
# and to motion controller
net X-enc-pos axis.0.motor-pos-fb
net Y-enc-pos axis.1.motor-pos-fb
net Z-enc-pos axis.2.motor-pos-fb
net X-enc-pos joint.0.motor-pos-fb
net Y-enc-pos joint.1.motor-pos-fb
net Z-enc-pos joint.2.motor-pos-fb
# hook PID outputs to DACs
net X-volts pid.0.output
@ -597,34 +597,34 @@ net servo-enable pid.1.enable
net servo-enable pid.2.enable
# get tuning params from ini file
setp pid.0.deadband [AXIS_0]DEADBAND
setp pid.0.Pgain [AXIS_0]PGAIN
setp pid.0.Igain [AXIS_0]IGAIN
setp pid.0.Dgain [AXIS_0]DGAIN
setp pid.0.FF0 [AXIS_0]FF0
setp pid.0.FF1 [AXIS_0]FF1
setp pid.0.FF2 [AXIS_0]FF2
setp pid.0.bias [AXIS_0]BIAS
setp pid.1.deadband [AXIS_1]DEADBAND
setp pid.1.Pgain [AXIS_1]PGAIN
setp pid.1.Igain [AXIS_1]IGAIN
setp pid.1.Dgain [AXIS_1]DGAIN
setp pid.1.FF0 [AXIS_1]FF0
setp pid.1.FF1 [AXIS_1]FF1
setp pid.1.FF2 [AXIS_1]FF2
setp pid.1.bias [AXIS_1]BIAS
setp pid.2.deadband [AXIS_2]DEADBAND
setp pid.2.Pgain [AXIS_2]PGAIN
setp pid.2.Igain [AXIS_2]IGAIN
setp pid.2.Dgain [AXIS_2]DGAIN
setp pid.2.FF0 [AXIS_2]FF0
setp pid.2.FF1 [AXIS_2]FF1
setp pid.2.FF2 [AXIS_2]FF2
setp pid.2.bias [AXIS_2]BIAS
setp pid.0.deadband [JOINT_0]DEADBAND
setp pid.0.Pgain [JOINT_0]PGAIN
setp pid.0.Igain [JOINT_0]IGAIN
setp pid.0.Dgain [JOINT_0]DGAIN
setp pid.0.FF0 [JOINT_0]FF0
setp pid.0.FF1 [JOINT_0]FF1
setp pid.0.FF2 [JOINT_0]FF2
setp pid.0.bias [JOINT_0]BIAS
setp pid.1.deadband [JOINT_1]DEADBAND
setp pid.1.Pgain [JOINT_1]PGAIN
setp pid.1.Igain [JOINT_1]IGAIN
setp pid.1.Dgain [JOINT_1]DGAIN
setp pid.1.FF0 [JOINT_1]FF0
setp pid.1.FF1 [JOINT_1]FF1
setp pid.1.FF2 [JOINT_1]FF2
setp pid.1.bias [JOINT_1]BIAS
setp pid.2.deadband [JOINT_2]DEADBAND
setp pid.2.Pgain [JOINT_2]PGAIN
setp pid.2.Igain [JOINT_2]IGAIN
setp pid.2.Dgain [JOINT_2]DGAIN
setp pid.2.FF0 [JOINT_2]FF0
setp pid.2.FF1 [JOINT_2]FF1
setp pid.2.FF2 [JOINT_2]FF2
setp pid.2.bias [JOINT_2]BIAS
# get maximum (and minimum) output volts from ini file
setp pid.0.maxoutput [AXIS_0]MAX_OUTPUT
setp pid.1.maxoutput [AXIS_1]MAX_OUTPUT
setp pid.2.maxoutput [AXIS_2]MAX_OUTPUT
setp pid.0.maxoutput [JOINT_0]MAX_OUTPUT
setp pid.1.maxoutput [JOINT_1]MAX_OUTPUT
setp pid.2.maxoutput [JOINT_2]MAX_OUTPUT
# LADDER LOGIC!!!
#

View file

@ -1,144 +1,134 @@
# mazak_rf.ini EMC controller parameters for Roland Friestad's Mazak mill.
# General note: Comments can either be preceded with a # or ; - either is
# acceptable, although # is in keeping with most linux config files.
# General section -------------------------------------------------------------
[EMC]
# Version of this INI file
VERSION = $Revision$
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = LinuxCNC-MAZAK-RF
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
# DEBUG = 0x00000003
# DEBUG = 0x00000007
DEBUG = 0
# enable adaptive feed input, we use it for feedhold button and to
# prevent motion during spindle accel, gear changes, etc
RS274NGC_STARTUP_CODE = M52 P1
# Sections for display options ------------------------------------------------
[DISPLAY]
# Name of display program, e.g., xemc
# Name of display program, e.g., xlinuxcnc
DISPLAY = axis
# DISPLAY = tkemc
# DISPLAY = tklinuxcnc
# DISPLAY = mini
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.100
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.2
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# side panel with some extra controls
PYVCP=panel.xml
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
EDITOR = gedit
#EDITOR = gedit
INCREMENTS = 0.010 0.001 0.0001
# Task controller section -----------------------------------------------------
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
[FILTER]
#No Content
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
# Part program interpreter section --------------------------------------------
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = demo_mazak.var
# Motion control section ------------------------------------------------------
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Base task period, in nanoseconds - this is the fastest thread in the machine
BASE_PERIOD = 100000
# Servo task period, in nanoseconds - will be rounded to an integer multiple
# of BASE_PERIOD
SERVO_PERIOD = 500000
# Hardware Abstraction Layer section --------------------------------------------------
[HAL]
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
# Part program interpreter section --------------------------------------------
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = demo_mazak.hal
HALFILE = tester.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
# Single file that is executed after the GUI has started.
# used for "control panel" stuff, since the panel widgets
# don't exist until the GUI starts
POSTGUI_HALFILE = panel.hal
# Spindle Controller Section --------------------------------------------------
[SPINDLE]
ORIENT_POSITION = -75.0
LOW_GEAR_RATIO = 4.133
HIGH_GEAR_RATIO = 1.100
[HALUI]
#No Content
# Trajectory planner section --------------------------------------------------
[TRAJ]
AXES = 3
# COORDINATES = X Y Z A B C
COORDINATES = X Y Z
HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 1.0
MAX_VELOCITY = 5.0
DEFAULT_ACCELERATION = 20.0
MAX_ACCELERATION = 20.0
DEFAULT_LINEAR_VELOCITY = 1.0
MAX_LINEAR_VELOCITY = 5.0
DEFAULT_LINEAR_ACCELERATION = 20.0
MAX_LINEAR_ACCELERATION = 20.0
# Axes sections ---------------------------------------------------------------
# First axis
[AXIS_0]
[EMCIO]
# change tools in the upper left corner of the table
# to avoid hitting the vice or workpiece with the tool
TOOL_CHANGE_POSITION = -13.75 7.5 -0.022
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = demo_mazak.tbl
# tool turret info
TOOL_TURRET_MAX = 24
TOOL_TURRET_WRAP = 1
# wait times in seconds for spindle brake, release
SPINDLE_OFF_WAIT = 1.0
SPINDLE_ON_WAIT = 1.5
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -14.0
MAX_LIMIT = 14.0
MAX_VELOCITY = 5.0
MAX_ACCELERATION = 20.0
[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5.0
@ -170,10 +160,15 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
# Second axis
[AXIS_1]
[AXIS_Y]
MIN_LIMIT = -7.7
MAX_LIMIT = 7.7
MAX_VELOCITY = 5.0
MAX_ACCELERATION = 20.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 5.0
@ -204,10 +199,15 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
# Third axis
[AXIS_2]
[AXIS_Z]
MIN_LIMIT = -7.75
MAX_LIMIT = 0.025
MAX_VELOCITY = 3.0
MAX_ACCELERATION = 20.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 3.0
@ -243,28 +243,10 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
# section for main IO controller parameters -----------------------------------
[EMCIO]
# change tools in the upper left corner of the table
# to avoid hitting the vise or workpiece with the tool
TOOL_CHANGE_POSITION = -13.75 7.5 -0.022
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = demo_mazak.tbl
# tool turret info
TOOL_TURRET_MAX = 24
TOOL_TURRET_WRAP = 1
# wait times in seconds for spindle brake, release
SPINDLE_OFF_WAIT = 1.0
SPINDLE_ON_WAIT = 1.5
[SPINDLE]
ORIENT_POSITION = -75.0
LOW_GEAR_RATIO = 4.133
HIGH_GEAR_RATIO = 1.100
# Trajectory planner section --------------------------------------------------

View file

@ -0,0 +1,15 @@
net jogA parport.0.pin-10-in => encoder.1.phase-A
net jogB parport.0.pin-11-in => encoder.1.phase-B
net jogX axisui.jog.x => joint.0.jog-enable
net jogY axisui.jog.y => joint.1.jog-enable
net jogZ axisui.jog.z => joint.2.jog-enable
net jogcounts encoder.1.counts => joint.0.jog-counts joint.1.jog-counts joint.2.jog-counts
sets jogscale .00002
net jogscale joint.0.jog-scale
net jogscale joint.1.jog-scale
net jogscale joint.2.jog-scale

View file

@ -0,0 +1,224 @@
# HAL config file for MAX NC test machine
#######################################################
# first load all the HAL modules we're going to need
#######################################################
# kinematics
loadrt [KINS]KINEMATICS
# main motion controller module
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
# using steppers....
loadrt stepgen step_type=0,0,0,0
# I/O thru the parport
loadrt hal_parport cfg="0x0378"
# counting the spindle encoder in software
loadrt encoder num_chan=2
# simulate the encoder
loadrt sim_encoder num_chan=1
# misc blocks needed to do fun things
loadrt ddt count=8
#######################################################
# add realtime functions to the threads
# first the high speed thread
#######################################################
# first we read parport inputs
addf parport.0.read base-thread
addf sim-encoder.make-pulses base-thread
# update encoder counter
addf encoder.update-counters base-thread
# generate step and dir signals
addf stepgen.make-pulses base-thread
# write to outputs
addf parport.0.write base-thread
# now the servo thread
########################################################
# capture axis and spindle positions
addf stepgen.capture-position servo-thread
addf encoder.capture-position servo-thread
# process motion commands coming from user space
addf motion-command-handler servo-thread
# run main motion controller
addf motion-controller servo-thread
# differentiators to make vel and acc signals
addf ddt.0 servo-thread
addf ddt.1 servo-thread
addf ddt.2 servo-thread
addf ddt.3 servo-thread
addf ddt.4 servo-thread
addf ddt.5 servo-thread
addf ddt.6 servo-thread
addf ddt.7 servo-thread
# update output info, axis and spindle
addf stepgen.update-freq servo-thread
addf sim-encoder.update-speed servo-thread
#######################################################
# interconnections
#
# first, the basic stepper machine connections
#######################################################
# connect position commands from motion module to step generator
net Xpos-cmd <= joint.0.motor-pos-cmd
net Xpos-cmd => stepgen.0.position-cmd
net Ypos-cmd <= joint.1.motor-pos-cmd
net Ypos-cmd => stepgen.1.position-cmd
net Zpos-cmd <= joint.2.motor-pos-cmd
net Zpos-cmd => stepgen.2.position-cmd
net Apos-cmd <= joint.3.motor-pos-cmd
net Apos-cmd => stepgen.3.position-cmd
# connect position feedback from step generators
# to motion module
net Xpos-fb <= stepgen.0.position-fb
net Xpos-fb => joint.0.motor-pos-fb
net Ypos-fb <= stepgen.1.position-fb
net Ypos-fb => joint.1.motor-pos-fb
net Zpos-fb <= stepgen.2.position-fb
net Zpos-fb => joint.2.motor-pos-fb
net Apos-fb <= stepgen.3.position-fb
net Apos-fb => joint.3.motor-pos-fb
# connect enable signals for step generators
net Xen <= joint.0.amp-enable-out
net Xen => stepgen.0.enable
net Yen <= joint.1.amp-enable-out
net Yen => stepgen.1.enable
net Zen <= joint.2.amp-enable-out
net Zen => stepgen.2.enable
net Aen <= joint.3.amp-enable-out
net Aen => stepgen.3.enable
# connect signals to step pulse generator outputs
net Xstep <= stepgen.0.step
net Xdir <= stepgen.0.dir
net Ystep <= stepgen.1.step
net Ydir <= stepgen.1.dir
net Zstep <= stepgen.2.step
net Zdir <= stepgen.2.dir
net Astep <= stepgen.3.step
net Adir <= stepgen.3.dir
# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed
# create a signal for "spindle on"
net spindle_on <= motion.spindle-on
# connect physical pins to the signals
net Xstep => parport.0.pin-03-out
net Xdir => parport.0.pin-02-out
net Ystep => parport.0.pin-05-out
net Ydir => parport.0.pin-04-out
net Zstep => parport.0.pin-07-out
net Zdir => parport.0.pin-06-out
net Astep => parport.0.pin-09-out
net Adir => parport.0.pin-08-out
# amp enable (active lo)
net Xen => parport.0.pin-01-out
setp parport.0.pin-01-out-invert 1
# spindle enable (active lo)
net spindle_on => parport.0.pin-14-out
setp parport.0.pin-14-out-invert 1
#######################################################
# set scaling and other parameters of the basic machine
# set stepgen module scaling - get values from ini file
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.1.position-scale [AXIS_1]SCALE
setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.3.position-scale [AXIS_3]SCALE
# set stepgen module accel limits - get values from ini file
# jmk said to set these to ini value + 5% to avoid stepgen bug
setp stepgen.0.maxaccel [AXIS_0]HAL_MAXACCEL
setp stepgen.1.maxaccel [AXIS_1]HAL_MAXACCEL
setp stepgen.2.maxaccel [AXIS_2]HAL_MAXACCEL
setp stepgen.3.maxaccel [AXIS_3]HAL_MAXACCEL
# end of basic machine
#######################################################
# Beginning of threading related stuff
#######################################################
# spindle speed control
net spindle-speed-cmd <= motion.spindle-speed-out
net spindle-speed-cmd => sim-encoder.0.speed
# spindle encoder
# connect encoder signals to encoder counter
net spindle-phase-A => encoder.0.phase-A
net spindle-phase-B => encoder.0.phase-B
net spindle-phase-Z => encoder.0.phase-Z
net spindle-phase-A <= sim-encoder.0.phase-A
net spindle-phase-B <= sim-encoder.0.phase-B
net spindle-phase-Z <= sim-encoder.0.phase-Z
# assume 120 ppr = 480 counts/rev for the spindle
setp sim-encoder.0.ppr 120
# iocontrol output is in rpm, but sim-encoder speed is rps
setp sim-encoder.0.scale 60
# scale encoder output to read in revolutions
# (that way thread pitches can be straightforward,
# a 20 tpi thread would multiply the encoder output
# by 1/20, etc)
setp encoder.0.position-scale 480
# encoder reset control
net spindle-index-enable <= motion.spindle-index-enable
net spindle-index-enable <=> encoder.0.index-enable
# report our revolution count to the motion controller
net spindle-pos <= encoder.0.position
net spindle-pos => motion.spindle-revs
#######################################################
# make vel and accel sigs for testing
#######################################################
# send the position commands thru differentiators to
# generate velocity and accel signals (for testing)
# define the signals, and hook them up
net Xpos-cmd => ddt.0.in
net Xvel <= ddt.0.out
net Xvel => ddt.1.in
net Xacc <= ddt.1.out
net Ypos-cmd => ddt.2.in
net Yvel <= ddt.2.out
net Yvel => ddt.3.in
net Yacc <= ddt.3.out
net Zpos-cmd => ddt.4.in
net Zvel <= ddt.4.out
net Zvel => ddt.5.in
net Zacc <= ddt.5.out
net Apos-cmd => ddt.6.in
net Avel <= ddt.6.out
net Avel => ddt.7.in
net Aacc <= ddt.7.out
# for spindle velocity estimate
loadrt lowpass count=1
net spindle-rpm-raw encoder.0.velocity
net spindle-rpm-raw lowpass.0.in
net spindle-rpm-filtered lowpass.0.out
setp lowpass.0.gain .03
addf lowpass.0 servo-thread

View file

@ -0,0 +1,190 @@
###################### Torch Height Control ##########################
# Load realtime hal components for THC
loadrt and2 count=9
loadrt comp count=3
loadrt updown
loadrt flipflop count=3
loadrt hypot
loadrt logic personality=0x203
loadrt minmax
loadrt mult2 count=2
loadrt mux2 count=7
loadrt not count=3
loadrt oneshot count=4
loadrt or2 count=9
loadrt scale
loadrt sum2 count=5
loadrt xor2 count=4
loadrt conv_s32_float
loadrt edge count=2
# Attach realtime hal components to a realtime thread
addf and2.0 servo-thread
addf and2.1 servo-thread
addf and2.2 servo-thread
addf and2.3 servo-thread
addf and2.4 servo-thread
addf and2.5 servo-thread
addf and2.6 servo-thread
addf and2.7 servo-thread
addf and2.8 servo-thread
addf comp.0 servo-thread
addf comp.1 servo-thread
addf comp.2 servo-thread
addf conv-s32-float.0 servo-thread
addf edge.0 servo-thread
addf edge.1 servo-thread
addf flipflop.0 servo-thread
addf flipflop.1 servo-thread
addf flipflop.2 servo-thread
addf hypot.0 servo-thread
addf logic.0 servo-thread
addf minmax.0 servo-thread
addf mult2.0 servo-thread
addf mult2.1 servo-thread
addf mux2.0 servo-thread
addf mux2.1 servo-thread
addf mux2.2 servo-thread
addf mux2.3 servo-thread
addf mux2.4 servo-thread
addf mux2.5 servo-thread
addf mux2.6 servo-thread
addf not.0 servo-thread
addf not.1 servo-thread
addf not.2 servo-thread
addf oneshot.0 servo-thread
addf oneshot.1 servo-thread
addf oneshot.2 servo-thread
addf oneshot.3 servo-thread
addf or2.0 servo-thread
addf or2.1 servo-thread
addf or2.2 servo-thread
addf or2.3 servo-thread
addf or2.4 servo-thread
addf or2.5 servo-thread
addf or2.6 servo-thread
addf or2.7 servo-thread
addf or2.8 servo-thread
addf updown.0 servo-thread
addf scale.0 servo-thread
addf sum2.0 servo-thread
addf sum2.1 servo-thread
addf sum2.2 servo-thread
addf sum2.3 servo-thread
addf sum2.4 servo-thread
addf xor2.0 servo-thread
addf xor2.1 servo-thread
addf xor2.2 servo-thread
# Set static values and default values
setp oneshot.1.width [PLASMA]IGNITION_TIMEOUT
setp oneshot.2.width [PLASMA]ARC_OK_FILTER_TIME
setp oneshot.3.width [PLASMA]EXTINGUISH_TIMEOUT
setp oneshot.3.falling 1
setp oneshot.3.rising 0
setp comp.2.in0 [PLASMA]MAX_FAILED_IGNITIONS
setp mux2.1.in0 -1
setp mux2.1.in1 1
setp mux2.3.in0 0
# Set the lowest value the THC will try to move the torch
setp sum2.4.in0 [AXIS_2]MIN_LIMIT
# Set default gains for sum, positive for addition and negative for subtraction
# Setting positive gains will become implicit and those can be removed safely in a later version
setp sum2.0.gain0 1
setp sum2.0.gain1 1
setp sum2.1.gain0 1
setp sum2.1.gain1 1
setp sum2.2.gain0 1
setp sum2.2.gain1 -1
setp sum2.3.gain0 1
setp sum2.3.gain1 -1
setp sum2.4.gain0 1
setp sum2.4.gain1 -1
# Set Hysterisis for float comp
setp comp.1.hyst 0.001
# Set percentage multiplier for scale
setp scale.0.gain 0.01
# Set edge detectors to work on falling edges to detect Ignition Timeouts
setp edge.0.in-edge 1
setp edge.1.in-edge 1
# Hook up parallel port pins
net MoveDown parport.1.pin-11-in-not => or2.0.in0
net MoveUp parport.1.pin-12-in-not => or2.0.in1 mux2.1.sel
# Hook up component pins using the net command
net FloatSwitch parport.1.pin-03-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
net ArcOK parport.1.pin-15-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in
net FilteredArcOK xor2.1.out => or2.1.in0 or2.6.in0 not.1.in and2.4.in1 flipflop.1.set oneshot.3.in flipflop.2.set and2.2.in0
net TimersOrArcOK or2.4.out => or2.5.in0 or2.3.in0
net LockHeight and2.0.out => xor2.2.in0
net EnabledAdjustHeight and2.1.out => mux2.3.sel
net ReleaseFeedHold and2.2.out => xor2.0.in1
net TorchOn => and2.3.out parport.1.pin-01-out oneshot.1.in not.2.in
net FloatSwitchEstop and2.4.out => logic.0.in-02
net FloatAndTorchOn and2.5.out => or2.2.in1
net TorchAndFloat and2.6.out => flipflop.0.set
net PosAndFloat and2.7.out => or2.5.in1
net IgnitionEstop comp.2.out => logic.0.in-01
net StartTorchOn and2.8.out => and2.3.in0
net OriginalPosZ-cmd joint.2.motor-pos-cmd => mux2.5.in0 sum2.2.in1
net JointPoz-cmd joint.2.pos-cmd => sum2.2.in0
net CHLTriggered comp.0.out => and2.0.in0
net AtPosition comp.1.equal => and2.7.in0
net VelX ddt.0.out => hypot.0.in0
net VelY ddt.1.out => hypot.0.in1
net FloatSwitchSet flipflop.0.out => or2.3.in1 and2.7.in1
net ModeIsAuto halui.mode.is-auto => mux2.5.sel
net VelXY hypot.0.out => minmax.0.in comp.0.in0
net TriggerEStop logic.0.or => estop-latch.0.fault-in
net MaximumVelocity minmax.0.max => mult2.1.in0
net TurnTorchOn motion.spindle-forward => xor2.0.in0 and2.8.in0 and2.6.in0 mux2.4.sel not.0.in
net HeightAdjustment mult2.0.out => mux2.3.in1
net VelocityThreshold mult2.1.out => comp.0.in1
net HeightOffset mux2.0.out => sum2.1.in1
net AdjustmentDirection mux2.1.out => mult2.0.in1
net PositionSnapshot mux2.2.out => sum2.1.in0 mux2.2.in0
net SelectedAdjustment mux2.3.out => mux2.0.in1
net PosZ-cmd mux2.4.out => stepgen.2.position-cmd comp.1.in1
net PosSelectB mux2.5.out => mux2.4.in0
net PosSelectC mux2.6.out => mux2.4.in1
net TurnTorchOff not.0.out => and2.5.in0 or2.7.in0 updown.0.reset
net ReversedArcOK not.1.out => minmax.0.reset
net PierceDelayElapsed oneshot.0.out-not => and2.2.in1
net IgnitionTimer oneshot.1.out => edge.0.in or2.8.in0
net AdjustHeight or2.0.out => xor2.2.in1 and2.1.in0
net TakeSnapshot or2.1.out => mux2.2.sel
net TriggerLimit or2.2.out => joint.2.neg-lim-sw-in joint.2.pos-lim-sw-in joint.2.home-sw-in
net ProbeOrArcOK or2.3.out => mux2.6.sel
net PAFOrArcOK or2.5.out => and2.3.in1
net EstopOrArcOK or2.6.out => flipflop.0.reset
net ExtEStop parport.0.pin-10-in => logic.0.in-00
net ExtEStop => logic.0.in-00
net LimitZ parport.0.pin-13-in => or2.2.in0
net ThresholdPercentage scale.0.out => mult2.1.in1
net PosZ-fb stepgen.2.position-fb => joint.2.motor-pos-fb mux2.2.in1 comp.1.in0
net PierceOffset sum2.0.out => mux2.0.in0
net DestinationHeight sum2.1.out => mux2.6.in1
net JointAxisDiff sum2.2.out => sum2.3.in1 sum2.4.in1
net StepCordsTH sum2.3.out => mux2.5.in1
net StepCordsML sum2.4.out => mux2.6.in0
net FeedHold xor2.0.out => motion.feed-hold
net CHLSwitched xor2.2.out => and2.1.in1
net ArcOKTimer oneshot.2.out => xor2.1.in0
net PierceLatch flipflop.1.out => mux2.0.sel oneshot.0.in
net IgnitionCounterS32 updown.0.count => conv-s32-float.0.in
net IgnitionCounterFloat conv-s32-float.0.out => comp.2.in1
net IgnitionTimerOff oneshot.1.out-not => updown.0.countup
net TorchOff not.2.out => flipflop.1.reset
net TorchTurnedOffOrTimeout or2.7.out => or2.6.in1
net IgnitionTimeout edge.0.out => or2.7.in1
net ExtinguishTimer oneshot.3.out edge.1.in
net ExtinguishLatch flipflop.2.out or2.8.in1
net ExtinguishTimeout edge.1.out flipflop.2.reset
net Timers or2.8.out => or2.4.in0

View file

@ -0,0 +1,32 @@
############################# Parallel Ports ##############################################
# Load Driver for Two Parallel Ports, one for Breakout Board, other for Plasma Torch Height Control
loadrt hal_parport cfg="0xa400 0xac00 in"
# Connect both Paralell Ports to Threads for Read / Write
addf parport.0.read base-thread 1
addf parport.0.write base-thread -1
addf parport.1.read base-thread 1
addf parport.1.write base-thread -1
# Invert pins to make motors move in right direction
setp parport.0.pin-03-out-invert 1
setp parport.0.pin-05-out-invert 1
# Hook up the step and dir signals to the parport pins
# Axis A and Y are the same axis but different motors
net StepX stepgen.0.step => parport.0.pin-02-out
net DirX stepgen.0.dir => parport.0.pin-03-out
net StepY stepgen.1.step => parport.0.pin-04-out
net DirY stepgen.1.dir => parport.0.pin-05-out
net StepZ stepgen.2.step => parport.0.pin-06-out
net DirZ stepgen.2.dir => parport.0.pin-07-out
net StepA stepgen.3.step => parport.0.pin-08-out
net DirA stepgen.3.dir => parport.0.pin-09-out
# Hook up limit and home switches, each axis shares a common pin for homing, limit min and limit max
net LimitX parport.1.pin-06-in-not => joint.0.neg-lim-sw-in joint.0.pos-lim-sw-in joint.0.home-sw-in
net LimitY parport.1.pin-07-in-not => joint.1.neg-lim-sw-in joint.1.pos-lim-sw-in joint.1.home-sw-in
# Z axis Limit switch handled by THC, see thc.hal
#net LimitZ parport.1.pin-13-in => joint.2.neg-lim-sw-in joint.2.pos-lim-sw-in joint.2.home-sw-in
net LimitA parport.1.pin-09-in-not => joint.3.neg-lim-sw-in joint.3.pos-lim-sw-in joint.3.home-sw-in

View file

@ -0,0 +1,190 @@
###################### Torch Height Control ##########################
# Load realtime hal components for THC
loadrt and2 count=9
loadrt comp count=3
loadrt updown
loadrt flipflop count=3
loadrt hypot
loadrt logic personality=0x203
loadrt minmax
loadrt mult2 count=2
loadrt mux2 count=7
loadrt not count=3
loadrt oneshot count=4
loadrt or2 count=9
loadrt scale
loadrt sum2 count=5
loadrt xor2 count=4
loadrt conv_s32_float
loadrt edge count=2
# Attach realtime hal components to a realtime thread
addf and2.0 servo-thread
addf and2.1 servo-thread
addf and2.2 servo-thread
addf and2.3 servo-thread
addf and2.4 servo-thread
addf and2.5 servo-thread
addf and2.6 servo-thread
addf and2.7 servo-thread
addf and2.8 servo-thread
addf comp.0 servo-thread
addf comp.1 servo-thread
addf comp.2 servo-thread
addf conv-s32-float.0 servo-thread
addf edge.0 servo-thread
addf edge.1 servo-thread
addf flipflop.0 servo-thread
addf flipflop.1 servo-thread
addf flipflop.2 servo-thread
addf hypot.0 servo-thread
addf logic.0 servo-thread
addf minmax.0 servo-thread
addf mult2.0 servo-thread
addf mult2.1 servo-thread
addf mux2.0 servo-thread
addf mux2.1 servo-thread
addf mux2.2 servo-thread
addf mux2.3 servo-thread
addf mux2.4 servo-thread
addf mux2.5 servo-thread
addf mux2.6 servo-thread
addf not.0 servo-thread
addf not.1 servo-thread
addf not.2 servo-thread
addf oneshot.0 servo-thread
addf oneshot.1 servo-thread
addf oneshot.2 servo-thread
addf oneshot.3 servo-thread
addf or2.0 servo-thread
addf or2.1 servo-thread
addf or2.2 servo-thread
addf or2.3 servo-thread
addf or2.4 servo-thread
addf or2.5 servo-thread
addf or2.6 servo-thread
addf or2.7 servo-thread
addf or2.8 servo-thread
addf updown.0 servo-thread
addf scale.0 servo-thread
addf sum2.0 servo-thread
addf sum2.1 servo-thread
addf sum2.2 servo-thread
addf sum2.3 servo-thread
addf sum2.4 servo-thread
addf xor2.0 servo-thread
addf xor2.1 servo-thread
addf xor2.2 servo-thread
# Set static values and default values
setp oneshot.1.width [PLASMA]IGNITION_TIMEOUT
setp oneshot.2.width [PLASMA]ARC_OK_FILTER_TIME
setp oneshot.3.width [PLASMA]EXTINGUISH_TIMEOUT
setp oneshot.3.falling 1
setp oneshot.3.rising 0
setp comp.2.in0 [PLASMA]MAX_FAILED_IGNITIONS
setp mux2.1.in0 -1
setp mux2.1.in1 1
setp mux2.3.in0 0
# Set the lowest value the THC will try to move the torch
setp sum2.4.in0 [AXIS_2]MIN_LIMIT
# Set default gains for sum, positive for addition and negative for subtraction
# Setting positive gains will become implicit and those can be removed safely in a later version
setp sum2.0.gain0 1
setp sum2.0.gain1 1
setp sum2.1.gain0 1
setp sum2.1.gain1 1
setp sum2.2.gain0 1
setp sum2.2.gain1 -1
setp sum2.3.gain0 1
setp sum2.3.gain1 -1
setp sum2.4.gain0 1
setp sum2.4.gain1 -1
# Set Hysterisis for float comp
setp comp.1.hyst 0.001
# Set percentage multiplier for scale
setp scale.0.gain 0.01
# Set edge detectors to work on falling edges to detect Ignition Timeouts
setp edge.0.in-edge 1
setp edge.1.in-edge 1
# Hook up parallel port pins
net MoveDown parport.1.pin-06-in-not => or2.0.in0
net MoveUp parport.1.pin-07-in-not => or2.0.in1 mux2.1.sel
# Hook up component pins using the net command
net FloatSwitch parport.1.pin-03-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
net ArcOK parport.1.pin-08-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in
net FilteredArcOK xor2.1.out => or2.1.in0 or2.6.in0 not.1.in and2.4.in1 flipflop.1.set oneshot.3.in flipflop.2.set and2.2.in0
net TimersOrArcOK or2.4.out => or2.5.in0 or2.3.in0
net LockHeight and2.0.out => xor2.2.in0
net EnabledAdjustHeight and2.1.out => mux2.3.sel
net ReleaseFeedHold and2.2.out => xor2.0.in1
net TorchOn => and2.3.out parport.1.pin-01-out oneshot.1.in not.2.in
net FloatSwitchEstop and2.4.out => logic.0.in-02
net FloatAndTorchOn and2.5.out => or2.2.in1
net TorchAndFloat and2.6.out => flipflop.0.set
net PosAndFloat and2.7.out => or2.5.in1
net IgnitionEstop comp.2.out => logic.0.in-01
net StartTorchOn and2.8.out => and2.3.in0
net OriginalPosZ-cmd joint.2.motor-pos-cmd => mux2.5.in0 sum2.2.in1
net JointPoz-cmd joint.2.pos-cmd => sum2.2.in0
net CHLTriggered comp.0.out => and2.0.in0
net AtPosition comp.1.equal => and2.7.in0
net VelX ddt.0.out => hypot.0.in0
net VelY ddt.1.out => hypot.0.in1
net FloatSwitchSet flipflop.0.out => or2.3.in1 and2.7.in1
net ModeIsAuto halui.mode.is-auto => mux2.5.sel
net VelXY hypot.0.out => minmax.0.in comp.0.in0
net TriggerEStop logic.0.or => estop-latch.0.fault-in
net MaximumVelocity minmax.0.max => mult2.1.in0
net TurnTorchOn motion.spindle-forward => xor2.0.in0 and2.8.in0 and2.6.in0 mux2.4.sel not.0.in
net HeightAdjustment mult2.0.out => mux2.3.in1
net VelocityThreshold mult2.1.out => comp.0.in1
net HeightOffset mux2.0.out => sum2.1.in1
net AdjustmentDirection mux2.1.out => mult2.0.in1
net PositionSnapshot mux2.2.out => sum2.1.in0 mux2.2.in0
net SelectedAdjustment mux2.3.out => mux2.0.in1
net PosZ-cmd mux2.4.out => stepgen.2.position-cmd comp.1.in1
net PosSelectB mux2.5.out => mux2.4.in0
net PosSelectC mux2.6.out => mux2.4.in1
net TurnTorchOff not.0.out => and2.5.in0 or2.7.in0 updown.0.reset
net ReversedArcOK not.1.out => minmax.0.reset
net PierceDelayElapsed oneshot.0.out-not => and2.2.in1
net IgnitionTimer oneshot.1.out => edge.0.in or2.8.in0
net AdjustHeight or2.0.out => xor2.2.in1 and2.1.in0
net TakeSnapshot or2.1.out => mux2.2.sel
net TriggerLimit or2.2.out => joint.2.neg-lim-sw-in joint.2.pos-lim-sw-in joint.2.home-sw-in
net ProbeOrArcOK or2.3.out => mux2.6.sel
net PAFOrArcOK or2.5.out => and2.3.in1
net EstopOrArcOK or2.6.out => flipflop.0.reset
net ExtEStop parport.0.pin-10-in => logic.0.in-00
net ExtEStop => logic.0.in-00
net LimitZ parport.0.pin-13-in => or2.2.in0
net ThresholdPercentage scale.0.out => mult2.1.in1
net PosZ-fb stepgen.2.position-fb => joint.2.motor-pos-fb mux2.2.in1 comp.1.in0
net PierceOffset sum2.0.out => mux2.0.in0
net DestinationHeight sum2.1.out => mux2.6.in1
net JointAxisDiff sum2.2.out => sum2.3.in1 sum2.4.in1
net StepCordsTH sum2.3.out => mux2.5.in1
net StepCordsML sum2.4.out => mux2.6.in0
net FeedHold xor2.0.out => motion.feed-hold
net CHLSwitched xor2.2.out => and2.1.in1
net ArcOKTimer oneshot.2.out => xor2.1.in0
net PierceLatch flipflop.1.out => mux2.0.sel oneshot.0.in
net IgnitionCounterS32 updown.0.count => conv-s32-float.0.in
net IgnitionCounterFloat conv-s32-float.0.out => comp.2.in1
net IgnitionTimerOff oneshot.1.out-not => updown.0.countup
net TorchOff not.2.out => flipflop.1.reset
net TorchTurnedOffOrTimeout or2.7.out => or2.6.in1
net IgnitionTimeout edge.0.out => or2.7.in1
net ExtinguishTimer oneshot.3.out edge.1.in
net ExtinguishLatch flipflop.2.out or2.8.in1
net ExtinguishTimeout edge.1.out flipflop.2.reset
net Timers or2.8.out => or2.4.in0

View file

@ -0,0 +1,32 @@
############################# Parallel Ports ##############################################
# Load Driver for Two Parallel Ports, one for Breakout Board, other for Plasma Torch Height Control
loadrt hal_parport cfg="0xa400 0xac00 in"
# Connect both Paralell Ports to Threads for Read / Write
addf parport.0.read base-thread 1
addf parport.0.write base-thread -1
addf parport.1.read base-thread 1
addf parport.1.write base-thread -1
# Invert pins to make motors move in right direction
setp parport.0.pin-03-out-invert 1
setp parport.0.pin-05-out-invert 1
# Hook up the step and dir signals to the parport pins
# Axis A and Y are the same axis but different motors
net StepX stepgen.0.step => parport.0.pin-02-out
net DirX stepgen.0.dir => parport.0.pin-03-out
net StepY stepgen.1.step => parport.0.pin-04-out
net DirY stepgen.1.dir => parport.0.pin-05-out
net StepZ stepgen.2.step => parport.0.pin-06-out
net DirZ stepgen.2.dir => parport.0.pin-07-out
net StepA stepgen.3.step => parport.0.pin-08-out
net DirA stepgen.3.dir => parport.0.pin-09-out
# Hook up limit and home switches, each axis shares a common pin for homing, limit min and limit max
net LimitX parport.0.pin-11-in => joint.0.neg-lim-sw-in joint.0.pos-lim-sw-in joint.0.home-sw-in
net LimitY parport.0.pin-12-in => joint.1.neg-lim-sw-in joint.1.pos-lim-sw-in joint.1.home-sw-in
# Z axis Limit switch handled by THC, see thc.hal
#net LimitZ parport.1.pin-13-in => joint.2.neg-lim-sw-in joint.2.pos-lim-sw-in joint.2.home-sw-in
net LimitA parport.0.pin-15-in => joint.3.neg-lim-sw-in joint.3.pos-lim-sw-in joint.3.home-sw-in

View file

@ -0,0 +1,54 @@
############################ Step Generators #########################################
# Stepper module, four step generators, all using step/dir
loadrt stepgen step_type=0,0,0,0
# Load realtime ddt for velocity calculations used for CHL
loadrt ddt count=2
# Hook functions to base thread (high speed thread for step generation)
addf stepgen.make-pulses base-thread
# Hook functions to servo thread
addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
addf ddt.0 servo-thread
addf ddt.1 servo-thread
# Configure signals for Z axis to be twice the size of the signals for other axis because
# Z axis has a slo-syn driver which can't handle smaller step sizes
setp stepgen.2.steplen 35200
setp stepgen.2.stepspace 35200
setp stepgen.2.dirsetup 35200
setp stepgen.2.dirhold 35200
# Set stepgen module scaling - get values from ini file
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.1.position-scale [AXIS_1]SCALE
setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.3.position-scale [AXIS_3]SCALE
# Set stepgen module accel limits - get values from ini file
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
# Hook up stepgen to motion modules
net PosX-cmd joint.0.motor-pos-cmd => stepgen.0.position-cmd
net PosX-fb stepgen.0.position-fb => joint.0.motor-pos-fb ddt.0.in
net PosY-cmd joint.1.motor-pos-cmd => stepgen.1.position-cmd
net PosY-fb stepgen.1.position-fb => joint.1.motor-pos-fb ddt.1.in
# Z Axis Position and feedback signals handled by THC, see thc.hal
#net PosZ-cmd joint.2.motor-pos-cmd => stepgen.2.position-cmd
#net PosZ-fb stepgen.2.position-fb => joint.2.motor-pos-fb
net PosA-cmd joint.3.motor-pos-cmd => stepgen.3.position-cmd
net PosA-fb stepgen.3.position-fb => joint.3.motor-pos-fb
# Hook up enable signals for step generators
net EnableX joint.0.amp-enable-out => stepgen.0.enable
net EnableY joint.1.amp-enable-out => stepgen.1.enable
net EnableZ joint.2.amp-enable-out => stepgen.2.enable
net EnableA joint.3.amp-enable-out => stepgen.3.enable

View file

@ -0,0 +1,190 @@
###################### Torch Height Control ##########################
# Load realtime hal components for THC
loadrt and2 count=9
loadrt comp count=3
loadrt updown
loadrt flipflop count=3
loadrt hypot
loadrt logic personality=0x203
loadrt minmax
loadrt mult2 count=2
loadrt mux2 count=7
loadrt not count=3
loadrt oneshot count=4
loadrt or2 count=9
loadrt scale
loadrt sum2 count=5
loadrt xor2 count=4
loadrt conv_s32_float
loadrt edge count=2
# Attach realtime hal components to a realtime thread
addf and2.0 servo-thread
addf and2.1 servo-thread
addf and2.2 servo-thread
addf and2.3 servo-thread
addf and2.4 servo-thread
addf and2.5 servo-thread
addf and2.6 servo-thread
addf and2.7 servo-thread
addf and2.8 servo-thread
addf comp.0 servo-thread
addf comp.1 servo-thread
addf comp.2 servo-thread
addf conv-s32-float.0 servo-thread
addf edge.0 servo-thread
addf edge.1 servo-thread
addf flipflop.0 servo-thread
addf flipflop.1 servo-thread
addf flipflop.2 servo-thread
addf hypot.0 servo-thread
addf logic.0 servo-thread
addf minmax.0 servo-thread
addf mult2.0 servo-thread
addf mult2.1 servo-thread
addf mux2.0 servo-thread
addf mux2.1 servo-thread
addf mux2.2 servo-thread
addf mux2.3 servo-thread
addf mux2.4 servo-thread
addf mux2.5 servo-thread
addf mux2.6 servo-thread
addf not.0 servo-thread
addf not.1 servo-thread
addf not.2 servo-thread
addf oneshot.0 servo-thread
addf oneshot.1 servo-thread
addf oneshot.2 servo-thread
addf oneshot.3 servo-thread
addf or2.0 servo-thread
addf or2.1 servo-thread
addf or2.2 servo-thread
addf or2.3 servo-thread
addf or2.4 servo-thread
addf or2.5 servo-thread
addf or2.6 servo-thread
addf or2.7 servo-thread
addf or2.8 servo-thread
addf updown.0 servo-thread
addf scale.0 servo-thread
addf sum2.0 servo-thread
addf sum2.1 servo-thread
addf sum2.2 servo-thread
addf sum2.3 servo-thread
addf sum2.4 servo-thread
addf xor2.0 servo-thread
addf xor2.1 servo-thread
addf xor2.2 servo-thread
# Set static values and default values
setp oneshot.1.width [PLASMA]IGNITION_TIMEOUT
setp oneshot.2.width [PLASMA]ARC_OK_FILTER_TIME
setp oneshot.3.width [PLASMA]EXTINGUISH_TIMEOUT
setp oneshot.3.falling 1
setp oneshot.3.rising 0
setp comp.2.in0 [PLASMA]MAX_FAILED_IGNITIONS
setp mux2.1.in0 -1
setp mux2.1.in1 1
setp mux2.3.in0 0
# Set the lowest value the THC will try to move the torch
setp sum2.4.in0 [AXIS_2]MIN_LIMIT
# Set default gains for sum, positive for addition and negative for subtraction
# Setting positive gains will become implicit and those can be removed safely in a later version
setp sum2.0.gain0 1
setp sum2.0.gain1 1
setp sum2.1.gain0 1
setp sum2.1.gain1 1
setp sum2.2.gain0 1
setp sum2.2.gain1 -1
setp sum2.3.gain0 1
setp sum2.3.gain1 -1
setp sum2.4.gain0 1
setp sum2.4.gain1 -1
# Set Hysterisis for float comp
setp comp.1.hyst 0.001
# Set percentage multiplier for scale
setp scale.0.gain 0.01
# Set edge detectors to work on falling edges to detect Ignition Timeouts
setp edge.0.in-edge 1
setp edge.1.in-edge 1
# Hook up parallel port pins
net MoveDown parport.1.pin-06-in-not => or2.0.in0
net MoveUp parport.1.pin-07-in-not => or2.0.in1 mux2.1.sel
# Hook up component pins using the net command
net FloatSwitch parport.1.pin-13-in => or2.1.in1 and2.4.in0 and2.5.in1 and2.6.in1
net ArcOK parport.1.pin-08-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in
net FilteredArcOK xor2.1.out => or2.1.in0 or2.6.in0 not.1.in and2.4.in1 flipflop.1.set oneshot.3.in flipflop.2.set and2.2.in0
net TimersOrArcOK or2.4.out => or2.5.in0 or2.3.in0
net LockHeight and2.0.out => xor2.2.in0
net EnabledAdjustHeight and2.1.out => mux2.3.sel
net ReleaseFeedHold and2.2.out => xor2.0.in1
net TorchOn => and2.3.out parport.1.pin-01-out oneshot.1.in not.2.in
net FloatSwitchEstop and2.4.out => logic.0.in-02
net FloatAndTorchOn and2.5.out => or2.2.in1
net TorchAndFloat and2.6.out => flipflop.0.set
net PosAndFloat and2.7.out => or2.5.in1
net IgnitionEstop comp.2.out => logic.0.in-01
net StartTorchOn and2.8.out => and2.3.in0
net OriginalPosZ-cmd joint.2.motor-pos-cmd => mux2.5.in0 sum2.2.in1
net JointPoz-cmd joint.2.pos-cmd => sum2.2.in0
net CHLTriggered comp.0.out => and2.0.in0
net AtPosition comp.1.equal => and2.7.in0
net VelX ddt.0.out => hypot.0.in0
net VelY ddt.1.out => hypot.0.in1
net FloatSwitchSet flipflop.0.out => or2.3.in1 and2.7.in1
net ModeIsAuto halui.mode.is-auto => mux2.5.sel
net VelXY hypot.0.out => minmax.0.in comp.0.in0
net TriggerEStop logic.0.or => estop-latch.0.fault-in
net MaximumVelocity minmax.0.max => mult2.1.in0
net TurnTorchOn motion.spindle-forward => xor2.0.in0 and2.8.in0 and2.6.in0 mux2.4.sel not.0.in
net HeightAdjustment mult2.0.out => mux2.3.in1
net VelocityThreshold mult2.1.out => comp.0.in1
net HeightOffset mux2.0.out => sum2.1.in1
net AdjustmentDirection mux2.1.out => mult2.0.in1
net PositionSnapshot mux2.2.out => sum2.1.in0 mux2.2.in0
net SelectedAdjustment mux2.3.out => mux2.0.in1
net PosZ-cmd mux2.4.out => stepgen.2.position-cmd comp.1.in1
net PosSelectB mux2.5.out => mux2.4.in0
net PosSelectC mux2.6.out => mux2.4.in1
net TurnTorchOff not.0.out => and2.5.in0 or2.7.in0 updown.0.reset
net ReversedArcOK not.1.out => minmax.0.reset
net PierceDelayElapsed oneshot.0.out-not => and2.2.in1
net IgnitionTimer oneshot.1.out => edge.0.in or2.8.in0
net AdjustHeight or2.0.out => xor2.2.in1 and2.1.in0
net TakeSnapshot or2.1.out => mux2.2.sel
net TriggerLimit or2.2.out => joint.2.neg-lim-sw-in joint.2.pos-lim-sw-in joint.2.home-sw-in
net ProbeOrArcOK or2.3.out => mux2.6.sel
net PAFOrArcOK or2.5.out => and2.3.in1
net EstopOrArcOK or2.6.out => flipflop.0.reset
net ExtEStop parport.0.pin-10-in => logic.0.in-00
net ExtEStop => logic.0.in-00
net LimitZ parport.0.pin-13-in => or2.2.in0
net ThresholdPercentage scale.0.out => mult2.1.in1
net PosZ-fb stepgen.2.position-fb => joint.2.motor-pos-fb mux2.2.in1 comp.1.in0
net PierceOffset sum2.0.out => mux2.0.in0
net DestinationHeight sum2.1.out => mux2.6.in1
net JointAxisDiff sum2.2.out => sum2.3.in1 sum2.4.in1
net StepCordsTH sum2.3.out => mux2.5.in1
net StepCordsML sum2.4.out => mux2.6.in0
net FeedHold xor2.0.out => motion.feed-hold
net CHLSwitched xor2.2.out => and2.1.in1
net ArcOKTimer oneshot.2.out => xor2.1.in0
net PierceLatch flipflop.1.out => mux2.0.sel oneshot.0.in
net IgnitionCounterS32 updown.0.count => conv-s32-float.0.in
net IgnitionCounterFloat conv-s32-float.0.out => comp.2.in1
net IgnitionTimerOff oneshot.1.out-not => updown.0.countup
net TorchOff not.2.out => flipflop.1.reset
net TorchTurnedOffOrTimeout or2.7.out => or2.6.in1
net IgnitionTimeout edge.0.out => or2.7.in1
net ExtinguishTimer oneshot.3.out edge.1.in
net ExtinguishLatch flipflop.2.out or2.8.in1
net ExtinguishTimeout edge.1.out flipflop.2.reset
net Timers or2.8.out => or2.4.in0

View file

@ -0,0 +1,3 @@
by_interface
Configuraciones demostrando el uso de hardware especifico.

View file

@ -3,9 +3,9 @@
# Loading real-time modules #
#########################################################################
loadrt trivkins
loadrt [KINS]KINEMATICS
loadrt hal_gm
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt pid num_chan=3
loadrt not
@ -42,11 +42,11 @@ net hw_fault gm.0.power-fault => not.0.in
net estop not.0.out => iocontrol.0.emc-enable-in
# connect enable signals for DAC and PID
net Xen axis.0.amp-enable-out => gm.0.dac.0.enable
net Xen joint.0.amp-enable-out => gm.0.dac.0.enable
net Xen => pid.0.enable
net Yen axis.1.amp-enable-out => gm.0.dac.1.enable
net Yen joint.1.amp-enable-out => gm.0.dac.1.enable
net Yen => pid.1.enable
net Zen axis.2.amp-enable-out => gm.0.dac.2.enable
net Zen joint.2.amp-enable-out => gm.0.dac.2.enable
net Zen => pid.2.enable
#########################################################################
@ -62,7 +62,7 @@ setp gm.0.encoder.0.counter-mode 0 #0:quad, 1:stepDir
setp gm.0.encoder.0.index-enable 0 #0:disable, 1:enable
setp gm.0.encoder.0.index-mode 1 #0:reset counter at index, 1:round position at index
setp gm.0.encoder.0.counts-per-rev 2000
setp gm.0.encoder.0.position-scale [AXIS_0]INPUT_SCALE
setp gm.0.encoder.0.position-scale [JOINT_0]INPUT_SCALE
setp gm.0.encoder.0.min-speed-estimate 0.1
# ################
@ -74,7 +74,7 @@ setp gm.0.encoder.1.counter-mode 0 #0:quad, 1:stepDir
setp gm.0.encoder.1.index-enable 0 #0:disable, 1:enable
setp gm.0.encoder.1.index-mode 1 #0:reset counter at index, 1:round position at index
setp gm.0.encoder.1.counts-per-rev 2000
setp gm.0.encoder.1.position-scale [AXIS_2]INPUT_SCALE
setp gm.0.encoder.1.position-scale [JOINT_2]INPUT_SCALE
setp gm.0.encoder.1.min-speed-estimate 0.1
# ################
@ -86,7 +86,7 @@ setp gm.0.encoder.2.counter-mode 0 #0:quad, 1:stepDir
setp gm.0.encoder.2.index-enable 0 #0:disable, 1:enable
setp gm.0.encoder.2.index-mode 1 #0:reset counter at index, 1:round position at index
setp gm.0.encoder.2.counts-per-rev 2000
setp gm.0.encoder.2.position-scale [AXIS_2]INPUT_SCALE
setp gm.0.encoder.2.position-scale [JOINT_2]INPUT_SCALE
setp gm.0.encoder.2.min-speed-estimate 0.1
#########################################################################
@ -98,45 +98,45 @@ setp gm.0.encoder.2.min-speed-estimate 0.1
# ################
# set PID loop gains from inifile
setp pid.0.Pgain [AXIS_0]P
setp pid.0.Igain [AXIS_0]I
setp pid.0.Dgain [AXIS_0]D
setp pid.0.bias [AXIS_0]BIAS
setp pid.0.FF0 [AXIS_0]FF0
setp pid.0.FF1 [AXIS_0]FF1
setp pid.0.FF2 [AXIS_0]FF2
setp pid.0.deadband [AXIS_0]DEADBAND
setp pid.0.maxoutput [AXIS_0]MAX_OUTPUT
setp pid.0.Pgain [JOINT_0]P
setp pid.0.Igain [JOINT_0]I
setp pid.0.Dgain [JOINT_0]D
setp pid.0.bias [JOINT_0]BIAS
setp pid.0.FF0 [JOINT_0]FF0
setp pid.0.FF1 [JOINT_0]FF1
setp pid.0.FF2 [JOINT_0]FF2
setp pid.0.deadband [JOINT_0]DEADBAND
setp pid.0.maxoutput [JOINT_0]MAX_OUTPUT
# ################
# Y [1] Axis
# ################
# set PID loop gains from inifile
setp pid.1.Pgain [AXIS_1]P
setp pid.1.Igain [AXIS_1]I
setp pid.1.Dgain [AXIS_1]D
setp pid.1.bias [AXIS_1]BIAS
setp pid.1.FF0 [AXIS_1]FF0
setp pid.1.FF1 [AXIS_1]FF1
setp pid.1.FF2 [AXIS_1]FF2
setp pid.1.deadband [AXIS_1]DEADBAND
setp pid.1.maxoutput [AXIS_1]MAX_OUTPUT
setp pid.1.Pgain [JOINT_1]P
setp pid.1.Igain [JOINT_1]I
setp pid.1.Dgain [JOINT_1]D
setp pid.1.bias [JOINT_1]BIAS
setp pid.1.FF0 [JOINT_1]FF0
setp pid.1.FF1 [JOINT_1]FF1
setp pid.1.FF2 [JOINT_1]FF2
setp pid.1.deadband [JOINT_1]DEADBAND
setp pid.1.maxoutput [JOINT_1]MAX_OUTPUT
# ################
# Z [2] Axis
# ################
# set PID loop gains from inifile
setp pid.2.Pgain [AXIS_2]P
setp pid.2.Igain [AXIS_2]I
setp pid.2.Dgain [AXIS_2]D
setp pid.2.bias [AXIS_2]BIAS
setp pid.2.FF0 [AXIS_2]FF0
setp pid.2.FF1 [AXIS_2]FF1
setp pid.2.FF2 [AXIS_2]FF2
setp pid.2.deadband [AXIS_2]DEADBAND
setp pid.2.maxoutput [AXIS_2]MAX_OUTPUT
setp pid.2.Pgain [JOINT_2]P
setp pid.2.Igain [JOINT_2]I
setp pid.2.Dgain [JOINT_2]D
setp pid.2.bias [JOINT_2]BIAS
setp pid.2.FF0 [JOINT_2]FF0
setp pid.2.FF1 [JOINT_2]FF1
setp pid.2.FF2 [JOINT_2]FF2
setp pid.2.deadband [JOINT_2]DEADBAND
setp pid.2.maxoutput [JOINT_2]MAX_OUTPUT
#########################################################################
# position reference and feedback connection #
@ -148,9 +148,9 @@ net Ypos-fb gm.0.encoder.1.position => pid.1.feedback
net Zpos-fb gm.0.encoder.2.position => pid.2.feedback
# connect position commands from motion module to PID
net Xpos-cmd axis.0.motor-pos-cmd => pid.0.command
net Ypos-cmd axis.1.motor-pos-cmd => pid.1.command
net Zpos-cmd axis.2.motor-pos-cmd => pid.2.command
net Xpos-cmd joint.0.motor-pos-cmd => pid.0.command
net Ypos-cmd joint.1.motor-pos-cmd => pid.1.command
net Zpos-cmd joint.2.motor-pos-cmd => pid.2.command
# connect PID output to DAC
net Xdac-cmd pid.0.output => gm.0.dac.0.value
@ -158,22 +158,22 @@ net Ydac-cmd pid.1.output => gm.0.dac.1.value
net Zdac-cmd pid.2.output => gm.0.dac.2.value
# connect position feedback
net Xpos-cmd => axis.0.motor-pos-fb
net Ypos-cmd => axis.1.motor-pos-fb
net Zpos-cmd => axis.2.motor-pos-fb
net Xpos-cmd => joint.0.motor-pos-fb
net Ypos-cmd => joint.1.motor-pos-fb
net Zpos-cmd => joint.2.motor-pos-fb
#########################################################################
# homing and limit switches #
#########################################################################
net lim-sw-x-pos gm.0.axis.0.pos-lim-sw-in-not => axis.0.pos-lim-sw-in
net lim-sw-x-neg gm.0.axis.0.neg-lim-sw-in-not => axis.0.neg-lim-sw-in
net lim-sw-x-home gm.0.axis.0.home-sw-in-not => axis.0.home-sw-in
net lim-sw-x-pos gm.0.joint.0.pos-lim-sw-in-not => joint.0.pos-lim-sw-in
net lim-sw-x-neg gm.0.joint.0.neg-lim-sw-in-not => joint.0.neg-lim-sw-in
net lim-sw-x-home gm.0.joint.0.home-sw-in-not => joint.0.home-sw-in
net lim-sw-y-pos gm.0.axis.1.pos-lim-sw-in-not => axis.1.pos-lim-sw-in
net lim-sw-y-neg gm.0.axis.1.neg-lim-sw-in-not => axis.1.neg-lim-sw-in
net lim-sw-y-home gm.0.axis.1.home-sw-in-not => axis.1.home-sw-in
net lim-sw-y-pos gm.0.joint.1.pos-lim-sw-in-not => joint.1.pos-lim-sw-in
net lim-sw-y-neg gm.0.joint.1.neg-lim-sw-in-not => joint.1.neg-lim-sw-in
net lim-sw-y-home gm.0.joint.1.home-sw-in-not => joint.1.home-sw-in
net lim-sw-z-pos gm.0.axis.2.pos-lim-sw-in-not => axis.2.pos-lim-sw-in
net lim-sw-z-neg gm.0.axis.2.neg-lim-sw-in-not => axis.2.neg-lim-sw-in
net lim-sw-z-home gm.0.axis.2.home-sw-in-not => axis.2.home-sw-in
net lim-sw-z-pos gm.0.joint.2.pos-lim-sw-in-not => joint.2.pos-lim-sw-in
net lim-sw-z-neg gm.0.joint.2.neg-lim-sw-in-not => joint.2.neg-lim-sw-in
net lim-sw-z-home gm.0.joint.2.home-sw-in-not => joint.2.home-sw-in

View file

@ -1,117 +1,113 @@
###############################################################################
# General section
###############################################################################
[EMC]
#- Version of this INI file
VERSION = $Revision$
VERSION = 1.1
#+ Name of machine, for use with display, etc.
MACHINE = GM6-PCI-3-axis-servo
#+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
DEBUG = 0
###############################################################################
# Sections for display options
###############################################################################
[DISPLAY]
#+ Name of display program, e.g., xemc
[DISPLAY]
#+ Name of display program, e.g., axis
DISPLAY = axis
# DISPLAY = usrmot
# DISPLAY = mini
# DISPLAY = tkemc
# DISPLAY = tklinuxcnc
# DISPLAY = touchy
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.200
#- Path to help file
HELP_FILE = tkemc.txt
HELP_FILE = tklinuxcnc.txt
#- Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
#- Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
#+ Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.2
#- Prefix to be used
#PROGRAM_PREFIX = /home/gm/emc2/nc_files
PROGRAM_PREFIX = ../../nc_files/
#- Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
###############################################################################
# Task controller section
###############################################################################
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
#- Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[FILTER]
#No Content
[RS274NGC]
#- File containing interpreter variables
PARAMETER_FILE = gm.var
###############################################################################
# Motion control section
###############################################################################
[EMCMOT]
[EMCMOT]
#- Name of the motion controller to use (only one exists for nontrivkins)
EMCMOT = motmod
#- Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
#- Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
#- Servo task period, in nanosecs - will be rounded to an int multiple of BASE_PERIOD
SERVO_PERIOD = 1000000
###############################################################################
# Hardware Abstraction Layer section
###############################################################################
[HAL]
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
#- Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# list of hal config files to run through halcmd
#+ files are executed in the order in which they appear
HALFILE = 3-axis-servo.hal
###############################################################################
# Trajectory planner section
###############################################################################
[HALUI]
#No Content
[TRAJ]
#+ machine specific settings
AXES = 3
COORDINATES = X Y Z
HOME = 0 0 0
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.424
MAX_VELOCITY = 30.48
DEFAULT_ACCELERATION = 300.0
MAX_ACCELERATION = 500.0
DEFAULT_LINEAR_VELOCITY = 0.424
MAX_LINEAR_VELOCITY = 30.48
DEFAULT_LINEAR_ACCELERATION = 300.0
MAX_LINEAR_ACCELERATION = 500.0
###############################################################################
# Axes sections
###############################################################################
#+ First axis
[AXIS_0]
[EMCIO]
#- Name of IO controller program, e.g., io
EMCIO = io
#- cycle time, in seconds
CYCLE_TIME = 0.100
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -191.0
MAX_LIMIT = 0.0
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 30.48
@ -131,7 +127,6 @@ HOME_LATCH_VEL = -2.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.0000
P = 10.0
@ -141,10 +136,15 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
#+ Second axis
[AXIS_1]
[AXIS_Y]
MIN_LIMIT = 0.0
MAX_LIMIT = 270.0
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_1]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 30.48
@ -164,7 +164,6 @@ HOME_LATCH_VEL = 3.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.0000
P = 10.0
@ -174,10 +173,15 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
#+ Third axis
[AXIS_2]
[AXIS_Z]
MIN_LIMIT = -985.0
MAX_LIMIT = 0.00
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MAX_VELOCITY = 30.48
@ -197,7 +201,6 @@ HOME_LATCH_VEL = 3.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.0000
P = 10.0
@ -207,14 +210,6 @@ FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
###############################################################################
# section for main IO controller parameters
###############################################################################
[EMCIO]
#- Name of IO controller program, e.g., io
EMCIO = io
#- cycle time, in seconds
CYCLE_TIME = 0.100

View file

@ -3,9 +3,9 @@
# Loading real-time modules setup #
#########################################################################
loadrt trivkins
loadrt [KINS]KINEMATICS
loadrt hal_gm
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
loadrt not
loadusr halmeter
#loadusr halscope -f
@ -36,9 +36,9 @@ net hw_fault gm.0.power-fault => not.0.in
net estop not.0.out => iocontrol.0.emc-enable-in
# connect enable signals for step generators
net Xen axis.0.amp-enable-out => gm.0.stepgen.0.enable
net Yen axis.1.amp-enable-out => gm.0.stepgen.1.enable
net Zen axis.2.amp-enable-out => gm.0.stepgen.2.enable
net Xen joint.0.amp-enable-out => gm.0.stepgen.0.enable
net Yen joint.1.amp-enable-out => gm.0.stepgen.1.enable
net Zen joint.2.amp-enable-out => gm.0.stepgen.2.enable
#########################################################################
# stepgen setup #
@ -52,9 +52,9 @@ setp gm.0.stepgen.0.invert-step2 0
setp gm.0.stepgen.0.step-type 0 #0:StepDir, 1: UpDown, 2: Quad
setp gm.0.stepgen.0.control-type 0 #0:position control, 1:velocity control
setp gm.0.stepgen.0.maxvel 0 #do not use the maxvel parameter, let interpolator interpolate
setp gm.0.stepgen.0.position-scale [AXIS_0]SCALE
setp gm.0.stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
setp gm.0.stepgen.0.maxvel [AXIS_0]STEPGEN_MAXVEL
setp gm.0.stepgen.0.position-scale [JOINT_0]SCALE
setp gm.0.stepgen.0.maxaccel [JOINT_0]STEPGEN_MAXACCEL
setp gm.0.stepgen.0.maxvel [JOINT_0]STEPGEN_MAXVEL
setp gm.0.stepgen.1.steplen 5000 #5000 ns = 5 us
setp gm.0.stepgen.1.stepspace 5000 #5000 ns = 5 us
@ -64,9 +64,9 @@ setp gm.0.stepgen.1.invert-step2 0
setp gm.0.stepgen.1.step-type 0 #0:StepDir, 1: UpDown, 2: Quad
setp gm.0.stepgen.1.control-type 0 #0:position control, 1:velocity control
setp gm.0.stepgen.1.maxvel 0 #do not use the maxvel parameter, let interpolator interpolate
setp gm.0.stepgen.1.position-scale [AXIS_1]SCALE
setp gm.0.stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
setp gm.0.stepgen.1.maxvel [AXIS_1]STEPGEN_MAXVEL
setp gm.0.stepgen.1.position-scale [JOINT_1]SCALE
setp gm.0.stepgen.1.maxaccel [JOINT_1]STEPGEN_MAXACCEL
setp gm.0.stepgen.1.maxvel [JOINT_1]STEPGEN_MAXVEL
setp gm.0.stepgen.2.steplen 5000 #5000 ns = 5 us
setp gm.0.stepgen.2.stepspace 5000 #5000 ns = 5 us
@ -76,36 +76,36 @@ setp gm.0.stepgen.2.invert-step2 0
setp gm.0.stepgen.2.step-type 0 #0:StepDir, 1: UpDown, 2: Quad
setp gm.0.stepgen.2.control-type 0 #0:position control, 1:velocity control
setp gm.0.stepgen.2.maxvel 0 #do not use the maxvel parameter, let interpolator interpolate
setp gm.0.stepgen.2.position-scale [AXIS_2]SCALE
setp gm.0.stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL
setp gm.0.stepgen.2.maxvel [AXIS_2]STEPGEN_MAXVEL
setp gm.0.stepgen.2.position-scale [JOINT_2]SCALE
setp gm.0.stepgen.2.maxaccel [JOINT_2]STEPGEN_MAXACCEL
setp gm.0.stepgen.2.maxvel [JOINT_2]STEPGEN_MAXVEL
#########################################################################
# position reference and feedback #
#########################################################################
# connect position commands from motion module to step generator
net Xpos-cmd axis.0.motor-pos-cmd => gm.0.stepgen.0.position-cmd
net Ypos-cmd axis.1.motor-pos-cmd => gm.0.stepgen.1.position-cmd
net Zpos-cmd axis.2.motor-pos-cmd => gm.0.stepgen.2.position-cmd
net Xpos-cmd joint.0.motor-pos-cmd => gm.0.stepgen.0.position-cmd
net Ypos-cmd joint.1.motor-pos-cmd => gm.0.stepgen.1.position-cmd
net Zpos-cmd joint.2.motor-pos-cmd => gm.0.stepgen.2.position-cmd
# connect position feedback
net Xpos-fb gm.0.stepgen.0.position-fb => axis.0.motor-pos-fb
net Ypos-fb gm.0.stepgen.1.position-fb => axis.1.motor-pos-fb
net Zpos-fb gm.0.stepgen.2.position-fb => axis.2.motor-pos-fb
net Xpos-fb gm.0.stepgen.0.position-fb => joint.0.motor-pos-fb
net Ypos-fb gm.0.stepgen.1.position-fb => joint.1.motor-pos-fb
net Zpos-fb gm.0.stepgen.2.position-fb => joint.2.motor-pos-fb
#########################################################################
# homing and limit switches #
#########################################################################
net lim-sw-x-pos gm.0.axis.0.pos-lim-sw-in-not => axis.0.pos-lim-sw-in
net lim-sw-x-neg gm.0.axis.0.neg-lim-sw-in-not => axis.0.neg-lim-sw-in
net lim-sw-x-home gm.0.axis.0.home-sw-in-not => axis.0.home-sw-in
net lim-sw-x-pos gm.0.joint.0.pos-lim-sw-in-not => joint.0.pos-lim-sw-in
net lim-sw-x-neg gm.0.joint.0.neg-lim-sw-in-not => joint.0.neg-lim-sw-in
net lim-sw-x-home gm.0.joint.0.home-sw-in-not => joint.0.home-sw-in
net lim-sw-y-pos gm.0.axis.1.pos-lim-sw-in-not => axis.1.pos-lim-sw-in
net lim-sw-y-neg gm.0.axis.1.neg-lim-sw-in-not => axis.1.neg-lim-sw-in
net lim-sw-y-home gm.0.axis.1.home-sw-in-not => axis.1.home-sw-in
net lim-sw-y-pos gm.0.joint.1.pos-lim-sw-in-not => joint.1.pos-lim-sw-in
net lim-sw-y-neg gm.0.joint.1.neg-lim-sw-in-not => joint.1.neg-lim-sw-in
net lim-sw-y-home gm.0.joint.1.home-sw-in-not => joint.1.home-sw-in
net lim-sw-z-pos gm.0.axis.2.pos-lim-sw-in-not => axis.2.pos-lim-sw-in
net lim-sw-z-neg gm.0.axis.2.neg-lim-sw-in-not => axis.2.neg-lim-sw-in
net lim-sw-z-home gm.0.axis.2.home-sw-in-not => axis.2.home-sw-in
net lim-sw-z-pos gm.0.joint.2.pos-lim-sw-in-not => joint.2.pos-lim-sw-in
net lim-sw-z-neg gm.0.joint.2.neg-lim-sw-in-not => joint.2.neg-lim-sw-in
net lim-sw-z-home gm.0.joint.2.home-sw-in-not => joint.2.home-sw-in

View file

@ -1,117 +1,113 @@
###############################################################################
# General section
###############################################################################
[EMC]
#- Version of this INI file
VERSION = $Revision$
VERSION = 1.1
#+ Name of machine, for use with display, etc.
MACHINE = GM6-PCI-3-axis-stepper
#+ Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
DEBUG = 0
###############################################################################
# Sections for display options
###############################################################################
[DISPLAY]
#+ Name of display program, e.g., xemc
[DISPLAY]
#+ Name of display program, e.g., axis
DISPLAY = axis
# DISPLAY = usrmot
# DISPLAY = mini
# DISPLAY = tkemc
# DISPLAY = tklinuxcnc
# DISPLAY = touchy
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.200
#- Path to help file
HELP_FILE = tkemc.txt
HELP_FILE = tklinuxcnc.txt
#- Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
#- Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
#+ Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.2
#- Prefix to be used
#PROGRAM_PREFIX = /home/gm/emc2/nc_files
PROGRAM_PREFIX = ../../nc_files/
#- Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 1
###############################################################################
# Task controller section
###############################################################################
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
#- Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[FILTER]
#No Content
[RS274NGC]
#- File containing interpreter variables
PARAMETER_FILE = gm.var
###############################################################################
# Motion control section
###############################################################################
[EMCMOT]
[EMCMOT]
#- Name of the motion controller to use (only one exists for nontrivkins)
EMCMOT = motmod
#- Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
#- Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
#- Servo task period, in nanosecs - will be rounded to an int multiple of BASE_PERIOD
SERVO_PERIOD = 1000000
###############################################################################
# Hardware Abstraction Layer section
###############################################################################
[HAL]
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
#- Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# list of hal config files to run through halcmd
#+ files are executed in the order in which they appear
HALFILE = 3-axis-stepper.hal
###############################################################################
# Trajectory planner section
###############################################################################
[HALUI]
#No Content
[TRAJ]
#+ machine specific settings
AXES = 3
COORDINATES = X Y Z
HOME = 0 0 0
LINEAR_UNITS = mm
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 0.424
MAX_VELOCITY = 30.48
DEFAULT_ACCELERATION = 300.0
MAX_ACCELERATION = 500.0
DEFAULT_LINEAR_VELOCITY = 0.424
MAX_LINEAR_VELOCITY = 30.48
DEFAULT_LINEAR_ACCELERATION = 300.0
MAX_LINEAR_ACCELERATION = 500.0
###############################################################################
# Axes sections
###############################################################################
#+ First axis
[AXIS_0]
[EMCIO]
#- Name of IO controller program, e.g., io
EMCIO = io
#- cycle time, in seconds
CYCLE_TIME = 0.100
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -191.0
MAX_LIMIT = 0.0
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_0]
TYPE = LINEAR
HOME = -50.000
MAX_VELOCITY = 30.48
@ -131,10 +127,15 @@ HOME_LATCH_VEL = -2.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
#+ Second axis
[AXIS_1]
[AXIS_Y]
MIN_LIMIT = -250.0
MAX_LIMIT = 0.0
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_1]
TYPE = LINEAR
HOME = -40.000
MAX_VELOCITY = 30.48
@ -154,10 +155,15 @@ HOME_LATCH_VEL = -3.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 1
#+ Third axis
[AXIS_2]
[AXIS_Z]
MIN_LIMIT = -985.0
MAX_LIMIT = 0.00
MAX_VELOCITY = 30.48
MAX_ACCELERATION = 50.0
[JOINT_2]
TYPE = LINEAR
HOME = -30.0
MAX_VELOCITY = 30.48
@ -177,14 +183,6 @@ HOME_LATCH_VEL = -3.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
HOME_SEQUENCE = 0
###############################################################################
# section for main IO controller parameters
###############################################################################
[EMCIO]
#- Name of IO controller program, e.g., io
EMCIO = io
#- cycle time, in seconds
CYCLE_TIME = 0.100

View file

@ -0,0 +1,12 @@
Esta configuración utiliza la placa GM6-PCI de General Mechatronics, que puede controlar máquinas de hasta 6 ejes. Tiene una amplia capacidad de expansión de E/S: interruptores home aislados y finales para cada eje, E/S digital 4x8, módulos de E/S analógica y digital aislados para el bus de campo RS485.
Para más información, lea la sección del driver GM6-PCI del Manual del integrador o visite:
www.generalmechatronics.com
Descripción de las configuraciones de muestra:
Servo de 3 ejes:
Esta configuración muestra cómo configurar el DAC del codificador y del eje, y cómo conectarlos al módulo PID hal. Los 3 ejes utilizan un interruptor home y dos interruptores de límite. La entrada de fallo de alimentación está conectada al pin hal E-stop.
3 ejes, de pasos:
Esta configuración muestra cómo configurar el módulo stepgen. Los 3 ejes utilizan un interruptor home y dos interruptores de límite. La entrada de fallo de alimentación está conectada al pin hal E-stop.

View file

@ -0,0 +1,3 @@
General Mechatronics
www.generalmechatronics.com

View file

@ -0,0 +1,3 @@
Mesa Electronics
www.mesanet.com

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=3x20
CONFIG="firmware=hm2/3x20-1/SV24.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=3x20
CONFIG="firmware=hm2/3x20-1/SV24.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i65
CONFIG="firmware=hm2/4i65/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i65
CONFIG="firmware=hm2/4i65/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i68
CONFIG="firmware=hm2/4i68/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i68
CONFIG="firmware=hm2/4i68/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1.5/SVST8_8.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1.5/SVST8_8.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1/SVST8_8.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1/SVST8_8.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i23
CONFIG="firmware=hm2/5i23/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i23
CONFIG="firmware=hm2/5i23/SVST8_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_7i43
BOARD=7i43
CONFIG="firmware=hm2/7i43-4/SVST4_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_7i43
BOARD=7i43
CONFIG="firmware=hm2/7i43-4/SVST4_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_7i43
BOARD=7i43
CONFIG="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_7i43
BOARD=7i43
CONFIG="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=3 num_pwmgens=3 num_stepgens=0"

View file

@ -1,53 +1,32 @@
[HOSTMOT2]
DRIVER=hm2_7i90
BOARD=7i90
CONFIG=""
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Servo
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
# Name of display program, e.g., tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -56,91 +35,76 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-servo.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-servo.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
# COORDINATES = X Y Z R P W
COORDINATES = X Y Z
HOME = 0 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
DEFAULT_VELOCITY = 3.0
MAX_VELOCITY = 4.0
DEFAULT_ACCELERATION = 6.0
MAX_ACCELERATION = 7.0
DEFAULT_LINEAR_VELOCITY = 3.0
MAX_LINEAR_VELOCITY = 4.0
DEFAULT_LINEAR_ACCELERATION = 6.0
MAX_LINEAR_ACCELERATION = 7.0
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_0]
[JOINT_0]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -151,7 +115,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -162,24 +125,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Y]
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = -81920
OUTPUT_SCALE = 1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 10.0
HOME = 0.000
@ -190,7 +152,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -201,24 +162,23 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[AXIS_Z]
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
FERROR = 0.010
MIN_FERROR = 0.002
INPUT_SCALE = 81920
OUTPUT_SCALE = -1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT = 1.0
MIN_LIMIT = -3.0
MAX_LIMIT = 3.0
HOME = 0.0
@ -229,7 +189,6 @@ HOME_LATCH_VEL = 0.10
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
@ -240,17 +199,7 @@ FF1 = 1.000
FF2 = 0.0
BIAS = 0.000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_7i90
BOARD=7i90
CONFIG=""

View file

@ -1,6 +1,6 @@
This configuration drives a 3-axis servo machine using a Mesa AnythingIO board with the HostMot2 firmware. The config will only run if you have the card installed and have installed the firmware.
See the HostMot2 section of the Integrators manual for more information.
See LinuxCNC_Documentation.pdf - 11.4 Mesa HostMot2 Driver section for more information.
All 3 axes use a home switch. All home switches are connected to a single shared input pin. X and Z home without encoder index, Y homes with encoder index.

View file

@ -0,0 +1,20 @@
Esta configuración controla 3 servomotores en 3 ejes utilizando una placa Mesa AnythingIO con el firmware HostMot2.
La configuración solo se ejecutará si tiene la tarjeta y el firmware instalados.
Vea la sección LinuxCNC_Documentación.pdf - 11.4 Driver Mesa HostMot2 para más información.
Los 3 ejes utilizan interruptor home. Todos los interruptores home están conectados a un solo pin de entrada compartido. home X e Z sin índice en codificador, home Y con índice en codificador.
No se utilizan interruptores de límite.
Estas configuraciones tienen 3 codificadores, 3 PWM y 0 StepGens
5i22-big Para la versión de 1.5M puertas
5i22-small Para la versión de 1.0M puertas
7i43-big Para la versión de 400k puertas
7i43-small Para la versión de 200k puertas
3x20-small para la versión de 1.0M puertas

View file

@ -26,10 +26,10 @@
# ###################################
# kinematics
loadrt trivkins
loadrt [KINS]KINEMATICS
# motion controller, get name and thread periods from ini file
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS
# standard components
loadrt pid num_chan=3
@ -75,7 +75,7 @@ newsig emcmot.00.enable bit
sets emcmot.00.enable FALSE
net emcmot.00.enable => pid.0.enable
net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable
net emcmot.00.enable <= axis.0.amp-enable-out
net emcmot.00.enable <= joint.0.amp-enable-out
# encoder feedback
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.counter-mode 0
@ -84,26 +84,26 @@ setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-mask 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.index-mask-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.scale [AXIS_0]INPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.encoder.00.scale [JOINT_0]INPUT_SCALE
net motor.00.pos-fb hm2_[HOSTMOT2](BOARD).0.encoder.00.position => pid.0.feedback
net motor.00.pos-fb => axis.0.motor-pos-fb #push copy back to Axis GUI
net motor.00.pos-fb => joint.0.motor-pos-fb #push copy back to Axis GUI
# set PID loop gains from inifile
setp pid.0.Pgain [AXIS_0]P
setp pid.0.Igain [AXIS_0]I
setp pid.0.Dgain [AXIS_0]D
setp pid.0.bias [AXIS_0]BIAS
setp pid.0.FF0 [AXIS_0]FF0
setp pid.0.FF1 [AXIS_0]FF1
setp pid.0.FF2 [AXIS_0]FF2
setp pid.0.deadband [AXIS_0]DEADBAND
setp pid.0.maxoutput [AXIS_0]MAX_OUTPUT
setp pid.0.Pgain [JOINT_0]P
setp pid.0.Igain [JOINT_0]I
setp pid.0.Dgain [JOINT_0]D
setp pid.0.bias [JOINT_0]BIAS
setp pid.0.FF0 [JOINT_0]FF0
setp pid.0.FF1 [JOINT_0]FF1
setp pid.0.FF2 [JOINT_0]FF2
setp pid.0.deadband [JOINT_0]DEADBAND
setp pid.0.maxoutput [JOINT_0]MAX_OUTPUT
# position command signals
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 1 #pwm on pin1, dir on pin2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale [AXIS_0]OUTPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale [JOINT_0]OUTPUT_SCALE
net emcmot.00.pos-cmd axis.0.motor-pos-cmd => pid.0.command
net emcmot.00.pos-cmd joint.0.motor-pos-cmd => pid.0.command
net motor.00.command pid.0.output => hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value
@ -116,7 +116,7 @@ newsig emcmot.01.enable bit
sets emcmot.01.enable FALSE
net emcmot.01.enable => pid.1.enable
net emcmot.01.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.01.enable
net emcmot.01.enable <= axis.1.amp-enable-out
net emcmot.01.enable <= joint.1.amp-enable-out
# encoder feedback
setp hm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 0
@ -125,26 +125,26 @@ setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.01.scale [AXIS_1]INPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.encoder.01.scale [JOINT_1]INPUT_SCALE
net motor.01.pos-fb hm2_[HOSTMOT2](BOARD).0.encoder.01.position => pid.1.feedback
net motor.01.pos-fb => axis.1.motor-pos-fb #push copy back to Axis GUI
net motor.01.pos-fb => joint.1.motor-pos-fb #push copy back to Axis GUI
# set PID loop gains from inifile
setp pid.1.Pgain [AXIS_1]P
setp pid.1.Igain [AXIS_1]I
setp pid.1.Dgain [AXIS_1]D
setp pid.1.bias [AXIS_1]BIAS
setp pid.1.FF0 [AXIS_1]FF0
setp pid.1.FF1 [AXIS_1]FF1
setp pid.1.FF2 [AXIS_1]FF2
setp pid.1.deadband [AXIS_1]DEADBAND
setp pid.1.maxoutput [AXIS_1]MAX_OUTPUT
setp pid.1.Pgain [JOINT_1]P
setp pid.1.Igain [JOINT_1]I
setp pid.1.Dgain [JOINT_1]D
setp pid.1.bias [JOINT_1]BIAS
setp pid.1.FF0 [JOINT_1]FF0
setp pid.1.FF1 [JOINT_1]FF1
setp pid.1.FF2 [JOINT_1]FF2
setp pid.1.deadband [JOINT_1]DEADBAND
setp pid.1.maxoutput [JOINT_1]MAX_OUTPUT
# position command signals
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.01.output-type 1 #pwm on pin1, dir on pin2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.01.scale [AXIS_1]OUTPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.01.scale [JOINT_1]OUTPUT_SCALE
net emcmot.01.pos-cmd axis.1.motor-pos-cmd => pid.1.command
net emcmot.01.pos-cmd joint.1.motor-pos-cmd => pid.1.command
net motor.01.command pid.1.output => hm2_[HOSTMOT2](BOARD).0.pwmgen.01.value
@ -157,7 +157,7 @@ newsig emcmot.02.enable bit
sets emcmot.02.enable FALSE
net emcmot.02.enable => pid.2.enable
net emcmot.02.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.02.enable
net emcmot.02.enable <= axis.2.amp-enable-out
net emcmot.02.enable <= joint.2.amp-enable-out
# encoder feedback
setp hm2_[HOSTMOT2](BOARD).0.encoder.02.counter-mode 0
@ -166,26 +166,26 @@ setp hm2_[HOSTMOT2](BOARD).0.encoder.02.index-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.02.index-mask 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.02.index-mask-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.02.scale [AXIS_2]INPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.encoder.02.scale [JOINT_2]INPUT_SCALE
net motor.02.pos-fb hm2_[HOSTMOT2](BOARD).0.encoder.02.position => pid.2.feedback
net motor.02.pos-fb => axis.2.motor-pos-fb #push copy back to Axis GUI
net motor.02.pos-fb => joint.2.motor-pos-fb #push copy back to Axis GUI
# set PID loop gains from inifile
setp pid.2.Pgain [AXIS_2]P
setp pid.2.Igain [AXIS_2]I
setp pid.2.Dgain [AXIS_2]D
setp pid.2.bias [AXIS_2]BIAS
setp pid.2.FF0 [AXIS_2]FF0
setp pid.2.FF1 [AXIS_2]FF1
setp pid.2.FF2 [AXIS_2]FF2
setp pid.2.deadband [AXIS_2]DEADBAND
setp pid.2.maxoutput [AXIS_2]MAX_OUTPUT
setp pid.2.Pgain [JOINT_2]P
setp pid.2.Igain [JOINT_2]I
setp pid.2.Dgain [JOINT_2]D
setp pid.2.bias [JOINT_2]BIAS
setp pid.2.FF0 [JOINT_2]FF0
setp pid.2.FF1 [JOINT_2]FF1
setp pid.2.FF2 [JOINT_2]FF2
setp pid.2.deadband [JOINT_2]DEADBAND
setp pid.2.maxoutput [JOINT_2]MAX_OUTPUT
# position command signals
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.02.output-type 1 #pwm on pin1, dir on pin2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.02.scale [AXIS_2]OUTPUT_SCALE
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.02.scale [JOINT_2]OUTPUT_SCALE
net emcmot.02.pos-cmd axis.2.motor-pos-cmd => pid.2.command
net emcmot.02.pos-cmd joint.2.motor-pos-cmd => pid.2.command
net motor.02.command pid.2.output => hm2_[HOSTMOT2](BOARD).0.pwmgen.02.value
@ -221,10 +221,10 @@ net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
#
net home-switch <= hm2_[HOSTMOT2](BOARD).0.gpio.025.in_not
net home-switch => axis.0.home-sw-in
net home-switch => axis.1.home-sw-in
net home-switch => axis.2.home-sw-in
net home-switch => joint.0.home-sw-in
net home-switch => joint.1.home-sw-in
net home-switch => joint.2.home-sw-in
# only the Y servo has an index, X and Z home without using the index
net y-index-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable <=> axis.1.index-enable
net y-index-enable hm2_[HOSTMOT2](BOARD).0.encoder.01.index-enable <=> joint.1.index-enable

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=3x20
CONFIG="firmware=hm2/3x20-1/SVST16_24.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=3x20
CONFIG="firmware=hm2/3x20-1/SVST16_24.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i65
CONFIG="firmware=hm2/4i65/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i65
CONFIG="firmware=hm2/4i65/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i68
CONFIG="firmware=hm2/4i68/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=4i68
CONFIG="firmware=hm2/4i68/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i20
CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1.5/SVST8_8.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1.5/SVST8_8.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

View file

@ -1,54 +1,33 @@
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1/SVST8_8.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"
[EMC]
# The version string for this INI file.
VERSION = 1.1
# Name of machine, for use with display, etc.
MACHINE = HM2-Stepper
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG = 0x00000003
#DEBUG = 0x00000007
DEBUG = 0
[DISPLAY]
# Name of display program, e.g., tkemc
#DISPLAY = tkemc
# Name of display program, e.g., tklinuxcnc
#DISPLAY = tklinuxcnc
DISPLAY = axis
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME = 0.0500
# Path to help file
HELP_FILE = tklinucnc.txt
HELP_FILE = tklinuxcnc.txt
# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET = RELATIVE
# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL
# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 1.5
# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/
# Introductory graphic
INTRO_GRAPHIC = linuxcnc.gif
INTRO_TIME = 5
[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
@ -57,104 +36,85 @@ gif = image-to-gcode
jpg = image-to-gcode
py = python
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[RS274NGC]
# File containing interpreter variables
PARAMETER_FILE = hm2-stepper.var
[EMCMOT]
EMCMOT = motmod
# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT = 1.0
# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010
# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000
[TASK]
# Name of task controller program, e.g., milltask
TASK = milltask
# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME = 0.010
[HAL]
# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.
# list of hal config files to run through halcmd
# files are executed in the order in which they appear
HALFILE = hm2-stepper.hal
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD = save neta
[HALUI]
#No Content
[TRAJ]
AXES = 3
COORDINATES = X Y Z
#HOME = 0 0 0
LINEAR_UNITS = inch
ANGULAR_UNITS = degree
CYCLE_TIME = 0.010
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[KINS]
KINEMATICS = trivkins
JOINTS = 3
[AXIS_X]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_0]
[JOINT_0]
#
# Step timing is 40 us steplen + 40 us stepspace
# That gives 80 us step period = 12.5 KHz step freq
#
# Bah, even software stepping can handle that, hm2 doesnt buy you much with
# Bah, even software stepping can handle that, hm2 doesn't buy you much with
# such slow steppers.
#
# Scale is 200 steps/rev * 5 revs/inch = 1000 steps/inch
#
# This gives a maxvel of 12.5/1 = 12.5 ips
#
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
# scale is 200 steps/rev * 5 revs/inch
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -162,35 +122,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Y]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_1]
[JOINT_1]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -198,35 +154,31 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 1
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[AXIS_Z]
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
[AXIS_2]
[JOINT_2]
TYPE = LINEAR
MAX_VELOCITY = 10
MAX_ACCELERATION = 20
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL = 12
STEPGEN_MAX_ACC = 24
BACKLASH = 0.000
SCALE = 1000
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 0.050
MIN_FERROR = 0.005
#HOME = 0.000
#HOME_OFFSET = 0.10
#HOME_SEARCH_VEL = 0.10
@ -234,24 +186,13 @@ MIN_FERROR = 0.005
#HOME_USE_INDEX = YES
#HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
# these are in nanoseconds
DIRSETUP = 200
DIRHOLD = 200
STEPLEN = 40000
STEPSPACE = 40000
[EMCIO]
# Name of IO controller program, e.g., io
EMCIO = io
# cycle time, in seconds
CYCLE_TIME = 0.100
# tool table file
TOOL_TABLE = tool.tbl
[HOSTMOT2]
DRIVER=hm2_pci
BOARD=5i22
CONFIG="firmware=hm2/5i22-1/SVST8_8.BIT num_encoders=0 num_pwmgens=0 num_stepgens=3"

Some files were not shown because too many files have changed in this diff Show more