Skip to content

2.7#458

Closed
KimK wants to merge 1957 commits intoLinuxCNC:2.7from
KimK:2.7
Closed

2.7#458
KimK wants to merge 1957 commits intoLinuxCNC:2.7from
KimK:2.7

Conversation

@KimK
Copy link
Collaborator

@KimK KimK commented Jul 8, 2018

Docs: Correct G28,G30. Improve G92.

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.

jepler and others added 30 commits October 15, 2017 10:16
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").
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.
At some point these got duplicated, probably by copypaste mishap.
aclocal-1.15: warning: autoconf input should be named 'configure.ac', not 'configure.in'
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
The hm2_dpll "force write" code was only used to set some (probably unwanted)
default values.


Signed-off-by: andy pugh <andy@bodgesoc.org>
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>
mv configure.in to configure.ac to be future-proof
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>
Submit some new Chinese translations for 2.8
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>
                      not print that information every cycle

Signed-off-by: Norbert Schechner <nieson@web.de>
Signed-off-by: Norbert Schechner <nieson@web.de>
Signed-off-by: Norbert Schechner <nieson@web.de>
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>
Signed-off-by: Norbert Schechner <nieson@web.de>
…en Setpconf wrote the configuration file in the Chinese locale.
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.
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.
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)
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
Update Chinese translation, adding braces for some strings.
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)
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>
needed to set teleop mode off.
it would home the first time right after loading - not after.
Fix missed translation in recent large batch
SebKuzminsky and others added 26 commits June 12, 2018 12:58
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.
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>
Proposed fix for "FIXTHIS too verbose"
…le 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>
This can be useful for test controls
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.
reported by simaoamorim4 on irc.
Fix undefined symbols inb, inl, outb when building without io.h
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>
@KimK
Copy link
Collaborator Author

KimK commented Jul 8, 2018

Gaaah! Some branchy thing went wrong? I'll redo it.

@KimK KimK closed this Jul 8, 2018
@KimK KimK deleted the 2.7 branch July 8, 2018 05:58
@andypugh
Copy link
Collaborator

andypugh commented Jul 8, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.