steves_logging is now known as steve_stallings
steve_stallings is now known as steves_logging
backlash still has issues? or was it fixed in head? (I try to stay away from backlash)
there is a new backlash algorithm in head/2.1 but it's relatively untested
hmm maybe he could test it :)
how did you guys end up fixing it? I remember none of the solution where liked. something about adding a line segment at each reversal.
We really should build that accel overhead thing into the step generator.
I've said it before and I'll say it again: motion should avoid all these headroom issues by requesting slightly less than the constraints itself
rayh: yep, it's stupid to make every user deal with it when it's a problem that we can easily fix
coordinated motion already asks for 95% of constraints to avoid this -- the only remaining problem is free motion (jogs, homing)
Could it be a param with a default.
not easily, since it's one of the ones read by substitution in HAL and there's no support for defaults with that scheme
Is this a HAL level problem or are we just trying to solve it there?
I think the problem is we're limiting vel and accel in two places, and floating point precision problems make them not quite agree about what the limits are
I'm afraid we have another looming problem which is how these stepgen limits interact with the new backlash compensation code
I/we should test that I guess
I think the fix is to have separate limits for regular motion and backlash "motion", the sum of which are within machine constraints
I suppose the backlash could be taken out at a faster vel/acc than the actual motion - because in effect your not moving the table only the lead screw.
maybe I'm wrong about needing separate limits -- when you apply backlash correction, the axis is pretty much stopped
But we don't know what mass we are trying to move during backlash.
a small 23 motor and 1/2 leadscrew is quite different from a 25mm screw and 1500 ounch inch motor.
cradek, The only question I've got about backlash comp is whether it finishes before the axis reaches max vel or if there is likely to be some overshoot.
I'm thinking of two commands like this
These serve no useful purpose but are worst case of backlash application.
the visible surface finish worst case is at the quadrants of a circle.
These visible quadrant switches will look different for climb and conventional cuts.
* skunkworks still trys to stay away from backlash :)
darn, ray left
there are all sorts of problems with his x1x0 case. for one thing if the machine is fast, it will "throw" the axis to the other side of the backlash, so you have an overshoot
then, the backlash comp has to move the mass of the table back
(violating your assumption that it will be turning just the screw)
yeck yeck yeck
but worse, the planner is already wanting to accelerate at maxaccel back the other way, so there's no accel left for the backlash "move"
how does the circle work - does adding backlash comp - cause a circle to be 'exact stop' at the quadrants?
I don't think it will stop the fast axis at a quadrant
or is it some how 'blended'
it will just move the "stopped" axis, starting at the quadrant point, until it's in the right place
if you want to know what it looks like, you can add backlash to your sim configuration and use halscope to graph the motor-pos-cmd and joint-pos
If I understand correctly, motor-pos-cmd (a pin) will include the backlash, and joint-pos will not
(joint-pos is a param)
I don't know what it looks like myself
I don't either
ooh - good idea.. I just hope I don't have to use it.. It seems like there is no good solution.
there isn't, but you can do useful things in some cases anyway
so I'm back to thinking we need separate constraints
in ray's test case, the axis is accelerating at maxaccel through the entire stop and reversal, you can not add compensation there
and if you wait until "later" (the cruise phase of the second move) you're off the path if the program is slightly more complex (a Y move too)