Hi Alex,

BINGO! You win the prize ;-)

A newbie mistake on my part - I had read just before write. Putting read 
at the beginning fixed the problem. Now I realize what is happening, the 
I problem makes sense as it is effectively 1 cycle behind where it 
thinks it is.

Thanks to all for your suggestions and help.

Les

Alex Joni wrote:
> What's your SERVO_THREAD rate?
> Are you sure that the functions are in the correct order added to the servo 
> thread?
> (e.g. first read inputs, encoders, perform motion stuff, pid, output)?
> We can check if you can pastebin a "halcmd show all" while emc2 is running.
>
> Regards,
> Alex
>   


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to