Quote:
Originally Posted by mnwcsult
Billbo could you post a screen shot of the labview "code"?
I like your solution over mine however I don't quite have feel of coding in Labview to get this done quickly.
TIA
|
TIA,
WELCOME TO Chiefdelphi!
I would love nothing more than to help you out with this, but I have a problem.
This year I made a commitment to allow my team to do
ALL of their own coding, without actually creating any myself. I help, advise, instruct but I don't actually code, no matter how tempted I may get. As part of this commitment, I have decided to not install LabView on any PC I have access to. It would be too much of a temptation for me.
So, without access to Labview, I can't show you how I would do it.
Hopefully someone else here on CD can help you out with your request. It really is quite simple and "should" only take a few minutes to create. Tuning the gain for straight driving might take 10 to 15 minutes, with lots of laughter as you see your robot swing wildly in odd directions until the gain is low enough. I would suggest a starting value of approximately .002. (Remember, with even a error of 1 bit difference, you would be giving a full range X value, therefore, the gain must be very low to get you close.)