Jon Elson wrote: >I have tried a number of more rational settings, with one clear result. >The ini file has MAX VEL set to 1.25, >and pid.0.output will only take the values of zero, or + or - 1.25, it >is no longer an analog output! I can kind of get the servo to run if I >set the jog velocity about equal to what velocity that gives out of the >servo. But, it is not able to close the loop any more. > >I have several indications the problem is NOT in the hal_ppmc.c driver, >but in pid. > > If that's the case, you should be able to run sim/servo_sim (I think - check for proper naming), and get the same result.
I did a quick scan looking for floats and doubles in both PID and the ppmc driver, and didn't see anything that threw up a red flag. I didn't look very hard though. - Steve ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
