Jogging two axes at the same time teleop mode

More
29 May 2014 00:43 #47472 by narogon
Does anybody know how to solve this sourceforge.net/p/emc/bugs/345/ ???


I have a non trivial cinematics machine with a joystick connected.

In joint mode using halui.jog.n.analog and using halui.jog.plus / halui.jog.minus it works for more than one axis at the same time.
However in teleop mode it only works for one axis and the result is a erratic movement when i use halui.n.analog or only one axis movement in case of plus/minus way.

Regards,
Nacho

Please Log in or Create an account to join the conversation.

More
29 May 2014 01:21 - 29 May 2014 01:27 #47476 by andypugh
Replied by andypugh on topic Jogging two axes at the same time teleop mode

Does anybody know how to solve this sourceforge.net/p/emc/bugs/345/ ???


Which version of LinuxCNC are you using? A fix to this is more likely in the Joints_axes_4 branch than in the main branch, but I don't know it has been fixed in either.
[EDIT]
That file hasn't been touched since the bug report, so the problem probably still exists.
Last edit: 29 May 2014 01:27 by andypugh.

Please Log in or Create an account to join the conversation.

More
29 May 2014 01:31 - 29 May 2014 01:31 #47477 by narogon
Replied by narogon on topic Jogging two axes at the same time teleop mode
2.6.0 pre

It's a fork version by aschiffler with ethercat hal component.
Last edit: 29 May 2014 01:31 by narogon.

Please Log in or Create an account to join the conversation.

More
29 May 2014 14:04 #47507 by ftkalcevic
Replied by ftkalcevic on topic Jogging two axes at the same time teleop mode
I fixed my own local version that I use for experimental stuff, so I can't guarantee I didn't break something else.

github.com/ftkalcevic/LinuxCNC/blob/gwiz...mc/usr_intf/halui.cc

Please Log in or Create an account to join the conversation.

More
29 May 2014 18:06 #47511 by narogon
Replied by narogon on topic Jogging two axes at the same time teleop mode
A silly question. If I want to recompile only halui.cc

./cofigure
make

Is just enough?

Please Log in or Create an account to join the conversation.

More
29 May 2014 18:13 #47512 by narogon
Replied by narogon on topic Jogging two axes at the same time teleop mode

I fixed my own local version that I use for experimental stuff, so I can't guarantee I didn't break something else.

github.com/ftkalcevic/LinuxCNC/blob/gwiz...mc/usr_intf/halui.cc


With your halui.cc file i can't jog any axis in teleop mode.

Please Log in or Create an account to join the conversation.

More
30 May 2014 03:02 #47528 by ftkalcevic
Replied by ftkalcevic on topic Jogging two axes at the same time teleop mode
Hmmm. That's not good.

Did you take the whole file, or just the changes I made? My version is based on approx version 2.5

Please Log in or Create an account to join the conversation.

More
30 May 2014 18:40 #47545 by narogon
Replied by narogon on topic Jogging two axes at the same time teleop mode
I've fixed some parts of the code to send only one
emcCommandBuffer->write(emc_set_teleop_vector);

for all the axis keeping the speeds that don't change in emc_set_teleop_vector

Now it works perfectly for me.

Here is my version of halui.cc

Regards,
Nacho

Please Log in or Create an account to join the conversation.

Time to create page: 0.134 seconds
Powered by Kunena Forum