On Tuesday 14 April 2020 12:35:01 andy pugh wrote:

> On Tue, 14 Apr 2020 at 16:29, Gene Heskett <[email protected]> wrote:
> > which may be not enough but its building now. Keep in mind I have to
> > make debs and install them and reboot to try them
>
> You should be able to test with a run-in-place. If you are compiling
> on the machine under test then you don't need debs.
>
> >  as the shutdown is not
> > cleaning house as I quit it and I have to reboot to get a clean
> > slate for the next try.
>
> This _could_ be caused by a runtests failure. How does that go?
>
Perfectly, no failures.

> > 2 weeks apparently wasn't enough, its broken there.  How do I back
> > the bisect start "good" up another 2 weeks?
>
> Keep scrolling through "git log" until you find a commit on a date
> that suits you.

git log?  What I am doing does not show dates.
>
> I still think this is probably a config or hardware problem.

I can't argue.  Editors have been known to make typu's.

> This isn't the command-deriv thing is it? Is that pin netted at all?

yes, for all 4 axises. I can't stop the following errors without it

And it only effects the y axis. x,z,a work fine.

>From my main hal file:
#********************
#  AXIS Y = joint_1 *
#********************
setp   pid_y.Pgain     [JOINT_1]P
setp   pid_y.Igain     [JOINT_1]I
setp   pid_y.Dgain     [JOINT_1]D
setp   pid_y.bias      [JOINT_1]BIAS
setp   pid_y.FF0       [JOINT_1]FF0
setp   pid_y.FF1       [JOINT_1]FF1
setp   pid_y.FF2       [JOINT_1]FF2
setp   pid_y.deadband  [JOINT_1]DEADBAND
setp   pid_y.maxoutput [JOINT_1]MAX_OUTPUT
setp   pid_y.error-previous-target true
setp   pid_y.maxerror .0005


#**********************************
# Step Gen signals/setup for Y axis
#**********************************
setp   hm2_5i25.0.stepgen.01.dirsetup        [JOINT_1]DIRSETUP
setp   hm2_5i25.0.stepgen.01.dirhold         [JOINT_1]DIRHOLD
setp   hm2_5i25.0.stepgen.01.steplen         [JOINT_1]STEPLEN
setp   hm2_5i25.0.stepgen.01.stepspace       [JOINT_1]STEPSPACE
setp   hm2_5i25.0.stepgen.01.position-scale  [JOINT_1]STEP_SCALE
setp   hm2_5i25.0.stepgen.01.step_type        0
setp   hm2_5i25.0.stepgen.01.control-type     1
setp   hm2_5i25.0.stepgen.01.maxaccel         [JOINT_1]STEPGEN_MAXACCEL
setp   hm2_5i25.0.stepgen.01.maxvel           [JOINT_1]STEPGEN_MAXVEL
#*********************************************
# --closed loop stepper signals for joint_1=Y*
#*********************************************
# 1st 2 are from motion
net y-pos-cmd    <= joint.1.motor-pos-cmd => pid_y.command
net y-vel-cmd    <= joint.1.vel-cmd  #  =>  pid_y.command-deriv
net y-output     <= pid_y.output => hm2_5i25.0.stepgen.01.velocity-cmd
net y-pos-fb     <= hm2_5i25.0.stepgen.01.position-fb => joint.1.motor-pos-fb
net y-enable     <= joint.1.amp-enable-out  => hm2_5i25.0.stepgen.01.enable 
pid_y.enable
net y-index-enable  <=> pid_y.index-enable

This is afaik, a copy/paste of x with the x's changed to y's,
and the stepgen incremented to 01.
 
And it all worked prior to the 2.8 merge 2 or 3 weeks back.

Thanks Andy.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to