On Thu, Jun 11, 2009 at 08:18:33AM -0500, Jeff Epler wrote:
> You could use an additional output pin on a second I/O connector for
> direction; in HAL you would use 'abs' and 'comp' to split the PID output
> into an always-positive magnitude and a direction.

SWP points out on irc that 'abs' also has a sign output, so this is a
bit simpler than I stated above.

Jeff

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to