Help 'jogging' two axis at once
12 Jul 2011 23:28 #11479
by eszyman
Replied by eszyman on topic Re:Help 'jogging' two axis at once
Oops! Sorry for the mis quote,
The command all on one line does not help, in fact if your quick enough on the button, only Y will move...
So short answer is no, not any less buggy... or at least still buggy.
The command all on one line does not help, in fact if your quick enough on the button, only Y will move...
So short answer is no, not any less buggy... or at least still buggy.
Please Log in or Create an account to join the conversation.
12 Jul 2011 23:57 #11480
by andypugh
Replied by andypugh on topic Re:Help 'jogging' two axis at once
Very odd.
If you Halscope the two jog pins, do you see any offset?
JT (on iRC) wondered if the axis accelerations were the same.
I can imagine connecting the jog button to some random HAL function (like an "or2") just to buffer it in HAL.
I think there are some slight velocity profiling differences between the "main" and "secondary" axes. Specifically I don't think that the overall max velocity applies to the secondaries. (it is very debatable whether it should apply to the primaries). You could try setting the [TRAJ] MAX_VELOCITY and MAX_ACCELERATION well out of the way of the individual [AXIS_N] MAX_VELOCITY and MAX_ACCELERATION
If you Halscope the two jog pins, do you see any offset?
JT (on iRC) wondered if the axis accelerations were the same.
I can imagine connecting the jog button to some random HAL function (like an "or2") just to buffer it in HAL.
I think there are some slight velocity profiling differences between the "main" and "secondary" axes. Specifically I don't think that the overall max velocity applies to the secondaries. (it is very debatable whether it should apply to the primaries). You could try setting the [TRAJ] MAX_VELOCITY and MAX_ACCELERATION well out of the way of the individual [AXIS_N] MAX_VELOCITY and MAX_ACCELERATION
Please Log in or Create an account to join the conversation.
13 Jul 2011 00:41 #11483
by btvpimill
Replied by btvpimill on topic Re:Help 'jogging' two axis at once
all accel's are the same.
New question related, what is
•halui.mode.is-teleop (bit, out) - pin showing coordinated jog mode is on
coordinated jog mode? could this be the answer?
New question related, what is
•halui.mode.is-teleop (bit, out) - pin showing coordinated jog mode is on
coordinated jog mode? could this be the answer?
Please Log in or Create an account to join the conversation.
13 Jul 2011 10:05 #11494
by Rick G
Replied by Rick G on topic Re:Help 'jogging' two axis at once
If the short button press pulse turns out to be the problem you could consider using a "oneshot" component and set it's output to a minimum length that works for the jog.
So you could try sending the button press to the input of a oneshot and the output of the oneshot to the halui.jogs
Rick G
So you could try sending the button press to the input of a oneshot and the output of the oneshot to the halui.jogs
Rick G
Please Log in or Create an account to join the conversation.
13 Jul 2011 13:53 #11496
by BigJohnT
Replied by BigJohnT on topic Re:Help 'jogging' two axis at once
Just a short quiz...
Are you running gantrykins?
After you home all 4 axis and switch to world mode does the gantry jog properly with the keyboard up/down arrow keys?
When you open up the Show Hal Configuration window and put
axis.0.motor-pos-cmd
axis.1.motor-pos-cmd
axis.2.motor-pos-cmd
axis.3.motor-pos-cmd
in the Watch window does axis 1 and 3 move the same amount when your in World Mode and using the keyboard?
John
Are you running gantrykins?
After you home all 4 axis and switch to world mode does the gantry jog properly with the keyboard up/down arrow keys?
When you open up the Show Hal Configuration window and put
axis.0.motor-pos-cmd
axis.1.motor-pos-cmd
axis.2.motor-pos-cmd
axis.3.motor-pos-cmd
in the Watch window does axis 1 and 3 move the same amount when your in World Mode and using the keyboard?
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds