Joypad question:

More
23 Nov 2011 12:53 #15052 by dab77
gonna try in a moment..

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

More
23 Nov 2011 13:36 #15054 by dab77
andypugh wrote:

dab77 wrote:

Ok, today i could do that. ...and...now i can exchange between joint and world mode into trivial kinematics, but the problem remains the same.


That's interesting. I wasn't expecting that to fix it, but it does take something else out of the equation.

So, you can jog simultaneously in trivkins in Joint mode, but not in World mode?

exactly. and that's the same with bipod/tripod/tetrapod kins.


I will try the same test on my system tonight, but I think your test makes it clear that the problem is somewhere in Axis or Motion.

Actually, will your config work with tkEmc as the GUI? And is that the same?


Tried now with tkemc both the bipod and the trivial-kin sim. same result same issue.
tried also with mini, but it seems to me you cannot exchange to world mode. same for keystick.

Davide.

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

More
23 Nov 2011 16:21 - 23 Nov 2011 16:26 #15057 by dab77
YEEESSSSS!!!

Ok Andy and other interested, i almost solved the question!

i tried again (one year ago my first attempt, but i wasn't able to accomplish..) to install joints_axes3 branch... not so simple for me, but this time i could do.
modify my .ini and .hal bipod files and...


let's say that it can read two analog joystick directions together. I have only one problem now, that it reads only the maximum value of the analog joystick. to explain: as i touch the joystick in X direction, the system move into the right world X direction, but at max speed, as if i pressed the joystick at the maximum. Then, as i move simultaneously to the Y direction, the system goes to X,Y in diagonal at maximum speed.
i think that's a problem with the configuration file of Joyhandle.

these are my configs:
Attachments:
Last edit: 23 Nov 2011 16:26 by dab77.

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

More
23 Nov 2011 16:27 #15058 by dab77
oops.
sorry i made some mistake with the attachment, these are my configs:

File Attachment:

File Name: bipod_dab.zip
File Size:3 KB
Attachments:

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

More
15 Dec 2011 17:02 #15708 by dab77
Hi, some days ago i could finally solve this problem, and for everybody's knowledge (of course who cares or needs..) i'm writing here how.
It was finally possible thanks to Michael Geszkiewicz suggestion on the devel-mailing-list:

If you want to make halui.jog-speed pin working in ja3 branch, comment
line 1223 (axis->teleop_tp.max_vel = axis->vel_limit;) in file
/src/emc/motion/control.c and recompile

regards,
Michael


This solution interests those who need to jog with a joystick/joypad with non-trivial kinematics into world-mode (teleop.).
The issue with master and older EMC2 was that it was impossible to jog 2 or more axis together.
Instead with JA3 branch, as it is, you can jog, but with a costant speed (no manual control of speed).

Thanks to Michael mod that is possible.
soon i'll put a video to show this.

Ciao, Davide.

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

More
16 Dec 2011 02:03 #15714 by dab77
You can see it in action here:

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

More
16 Dec 2011 11:16 #15729 by BigJohnT
Nice! I love it when a plan comes together.

John

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

More
16 Dec 2011 17:18 #15732 by dab77
thanks John!
and thanks also to the forum and mailing list.

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

More
19 Dec 2011 18:34 #15848 by cncbasher
great result Davide

this has brought other ideas i'd like to try
could you share your gladevcp panel as shown in the video

Dave

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

Time to create page: 0.080 seconds
Powered by Kunena Forum