ubuntu 10.04 Lcnc2.7 JA8 custom kins
k-1's Avatar
@ ANdyPugh .... in motion not have jog.select pin .....
I summarize: i
in joint mode->
halui.mode.is-teleop off
halui.jog.0.increment -257 (go to negative)
halui.jog.selected.increment 0.01
joint.0.wheel-jog.active on
joint.0.jog.scale xxx(not remember
joint.0.jog.enable on
joint.0.jog.increment -257 ALL WORKS 1JOINT AT TIME
in world mode->
halui.mode.is-teleop on
halui.jog.0.increment -257 (go to negative)
halui.jog.selected.increment 0.01
joint.0.wheel-jog.active on
joint.0.jog.scale xxx(not remember
joint.0.jog.enable on
joint.0.jog.increment -257 AXIS/JOINT IS STOP WITH EXTERNAL MPG. With axis button all works!!
@Andypugh as you see I have joint.0.jog.enable on joint.0.jog.scale == selected.increment halui.jog.selected.increment 0.01 halui.jog.0.increment -257 (the value depends of movement of encoder wheel..)
If I try these:
setp axis.0.jog-vel-mode 0 (axis or joint depends if I use JA8 or Lcnc2.7 --- this is Lcnc code)
net selected-jog-incr => axis.0.jog-scale (selected-jog-incr depends of mux4 0.001/0.004/0.012)
net joint-select-a => axis.0.jog-enable <= hm2_5i25.0.7i77.0.0.input-16
net joint-selected-count => axis.0.jog-counts (joint-selected-counts depends of encoder count mesa pin)
#******OR IN JA8************************
setp joint.0.jog-vel-mode 0 (axis or joint depends if I use JA8 or Lcnc2.7 --- this is JA8 code)
net selected-jog-incr => joint.0.jog-scale (selected-jog-incr depends of mux4 0.001/0.004/0.012)
net joint-select-a => joint.0.jog-enable <= hm2_5i25.0.7i77.0.0.input-16
net joint-selected-count => joint.0.jog-counts (joint-selected-counts depends of encoder count mesa pin)
I can make jog in joint mode but not in world mode .... the same in JA8 too .... What is wrong
regards
Giorgio
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
that fool I am .... I can not give the same jog.count all axes if I want interpolate us..
Actually, I think you can.
Each individual axis looks at the change in jog counts when it is enabled for jogging, rather than absolute jog counts.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
setp joint.0.jog-vel-mode 0
setp joint.0.jog-scale 0.001
net joint-select-a => joint.0.jog-enable <= hm2_5i25.0.7i77.0.0.input-16
net MPG-encoder-count hm2_5i25.0.7i77.0.0.encoder.5.count => joint.0.jog-counts
Is right?
But in joint mode works fine ..... swithc to world mode and the axis stop .... I move the hand wheel whitout any result ...than I switch again to joint mode and the axis litterally JUMP for an amount of position than not move in world mode.
regards
Giorgio
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
today I try with other kinematics customisation....
I am setting up a JA system on my new controller.
So far with the normal 2.7 version I can confirm your joint-mode but not world-mode jogging experience.
Please Log in or Create an account to join the conversation.
if is-teleop & is-manual & selected-axis is ON condition than set encoder.reset to 0 and add encoder-count/selected-increment convert to float in these way : emcpose * pos->tran--selected axis + encoder-value......
int kinematicsInverse(const EmcPose * world,
double * joints,
const KINEMATICS_INVERSE_FLAGS *iflags,
KINEMATICS_FORWARD_FLAGS *fflags)
{
double x0, y0, z0, theta1, theta2, theta3;
int status;
if ( condition ....)
{x0 = world->tran.x + encoder-value (for example);}
else if (condition ....)
{ y0 = world->tran.y+ encoder-value (for example);}
............
else {
x0 = world->tran.x;
y0 = world->tran.y;
z0 = world->tran.z;
joints[3] = world->a;
joints[4] = world->b;
joints[5] = world->c;
joints[6] = world->u;
joints[7] = world->v;
joints[8] = world->w;
}
theta1 = theta2 = theta3 = 0;
status = delta_calcAngleYZ(x0, y0, z0, &theta1);
obviusly when the is-teleop & is-manual & selected
axis than condition is OFF emcpose*pos return immediately to original value .... how to add definitively some value in kinematics to emcpose*pos? Appreciate any link to study the situation.
I try to add the code on foward kins .... dro show the modified new quote but nothing move. Than I put the code on inverse kins....
Tanks
Regards
giorgio
Please Log in or Create an account to join the conversation.
It needs to be in motion. (if for no other reason that otherwise the limits will not work).
Please Log in or Create an account to join the conversation.
in any case are not such a good programmer to get by with a couple of hours of work for this ..... I tried the way kinematics .... I know the file (which is quite simple ) and just do the My changes ......
Please Log in or Create an account to join the conversation.