problem with num_extrajoint

More
1 year 3 months ago #332383 by Thayloreing
I'm using LinuxCNC 2.9.4 with trivkins and want to use an extra joint that doesn't go through the path planner. I've already configured it in the .ini file.

[KINS] KINEMATICS = trivkins coordinates=XY
Joint = 3

[EMCMOT] num_extrajoints = 1

Even so, it doesn't work correctly. LinuxCNC either won't load or gives a joint mapping error.

❓ Has anyone used num_extrajoints successfully? Is there any additional details beyond that?
The idea is to just have normal X and Y coordinates, and a free joint controllable via HAL, outside of the path planner.

Please Log in to join the conversation.

More
1 year 3 months ago #332386 by Thayloreing
If any of the developers could help me, I’d really appreciate it. I’ve searched extensively for information on the use of NUM_EXTRA_JOINTS, but haven’t found any practical examples of someone actually using this feature. However, it is documented in the official LinuxCNC sources. This feature would solve a specific problem I’m currently facing with a machine. Thank you in advance for any assistance.

Please Log in to join the conversation.

More
1 year 3 months ago #332387 by tommylight
Wait.
It seems you are not aware that most of planet earth is sleeping right now, it is 2:16AM here, it is still night all over the world, except both Americas, so the only option is to wait. OK, might be early morning in Japan...
-
This reply was prompted as a result of both of his posts being made inside of an hour.

Please Log in to join the conversation.

More
1 year 3 months ago #332390 by Thayloreing
I apologize, it wasn't my intention, I couldn't edit it so I added it below, it wasn't my intention to rush anyone

Please Log in to join the conversation.

More
1 year 3 months ago #332391 by tommylight
You are welcomed to post as much as you like, always, but it seemed you were hoping someone will answer at this hour, so i thought it would be OK to remind you this is the time when no one is here, except members form both Americas.
You were a bit late as from 11PM to 1AM my time (Central Europe) is when there are most users active here, and also at mid day is usually busy.
Sorry, but i never used extra joints, so i can not help.
In about 2 hours the Asia and Australia will be up, plenty of our members form there, so someone might just be able to help, if that is not to late for you.
I am off to bed, 3:52 AM, watching "how much do we actually know about space" on the "Spark" channel on youtube.

Please Log in to join the conversation.

More
1 year 3 months ago #332399 by Aciera
Replied by Aciera on topic problem with num_extrajoint
There is a folder with sim configs for extrajoints:
'configs/sim/axis/extrajoints/'

Please Log in to join the conversation.

More
1 year 3 months ago #332428 by andypugh
I think you need
[EMCMOT]
EMCMOT = motmod num_extrajoints=1

It's worth knowing that in many (but not all) cases INI file entries are simply copied into the HAL file.

Typically you will see:
(INI)
Code:
[EMCMOT] EMCMOT = motmod num_extrajoints=1

(HAL)
Code:
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS

What you want to end up as the HAL command is something like
Code:
loadrt motmod servo_period_ns=1000000 num_joints=3 num_extrajoints=1

It doesn't matter what order the modifiers after "loadrt motmod" are, which means that you can either have the num_extrajoints as part of the [EMCMOT]EMCMOT substitution, or you can add it yourself to the loadrt..... line

Please Log in to join the conversation.

Time to create page: 0.159 seconds
Powered by Kunena Forum