- Posts: 395
- Thank you received: 0
Possible Gscreen bug
Please Log in to join the conversation.
Please Log in to join the conversation.
persei8 wrote: Basically, in the INI file I have:
[TRAJ]
COORDINATES = X Y Y Z
I wonder how common that is? (it doesn't make sense)
If lots of configs have that then my update-ini script (as modified last night) will go rather wrong.
Probably best that I realised sooner rather than later.
Please Log in to join the conversation.
What's wrong with that configuration?I wonder how common that is? (it doesn't make sense)
I have a gantry with turn-table and have coded: XYYZA
Please Log in to join the conversation.
andypugh wrote: Off topic:
persei8 wrote: Basically, in the INI file I have:
[TRAJ]
COORDINATES = X Y Y Z
I wonder how common that is? (it doesn't make sense)
If lots of configs have that then my update-ini script (as modified last night) will go rather wrong.
Probably best that I realised sooner rather than later.
All my gantry routers that have two motors on y axis uses this.
IT is actually quite common. What doesnt make sense?
Your script doesnt deal with two motors on one axis. You would have to query the user when script runs then govern accordingly. you are talking about your upgrade script?
Please Log in to join the conversation.
bevins wrote: All my gantry routers that have two motors on y axis uses this.
IT is actually quite common. What doesnt make sense?
I suppose it depends if the [TRAJ]COORDINATES setting is used in your HAL file.
(And what it does, if it is).
Repeated letters are just ignored in initraj:
github.com/LinuxCNC/linuxcnc/blob/b948db.../ini/initraj.cc#L109
Where they just serve to decide which letters are valid in the G-code as far as I can tell.
halui uses it and _does_ count more axes if a letter is used twice:
github.com/LinuxCNC/linuxcnc/blob/a048d6..._intf/halui.cc#L1441
(I wonder if it _should_?)
Your script doesnt deal with two motors on one axis. You would have to query the user when script runs then govern accordingly. you are talking about your upgrade script?
It copes reasonably well with any existing config using gantrykins or gentrivkins, because those make it easy to determine that its a paired motor config.
Please Log in to join the conversation.
KINEMATICS = trivkins coordinates=XYYZ kinstype=BOTH
[TRAJ]
COORDINATES = X Y Y Z
And not know that the second line only sets what letter is valid.
Is there any time that the two lines would be validly different?
Ultimately should they be combined in the future?
Chris M
Please Log in to join the conversation.
