Is it possible to get a copy of your HAL component just so I have some code to learn and start from?
Thanks, Gerry Jeff Epler wrote: > For the "software detent" wheel, I wrote a HAL component that takes > the motor's feedback position and outputs the nearest position that was a > multiple of 1/k revolutions. PID takes this value as the commanded > position, and moves the motor towards it, but using a 'pid.N.maxout' that > limited "how hard" it would steer the motor. So ASCII-graphically, the > structure was something like: > feedback -> steer -> pid -> pwmgen -> (motor -> encoder) -> feedback > ^ feedback > > Turning the wheel/knob felt more like turning a stepper with a winding > being weakly driven than it felt like turning a jogwheel with detents. > > Jeff > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
