02-11-2009 11:23 PM
We are trying to figure out how to use this VI to make the robot turn in autonmous. We have tried several values of x, both pos and negative but the results appear to be fairly random. Sometimes a positive X turns right, some times left. Can you provide a couple sentences that expand upon how we should set Y and X to make the robot turn left or right and the degree to which the two variables affect how much the robot might turn (I understand the specific design will vary the results but we just want to know how to make a sharp turn vs. a gradual turn.) I've search this site and the Chief Delphi site but found nothing. Thanks for your help!
Jeff Austin
02-12-2009 05:47 PM
You can use the VIs posted here to visualize the different algorithms. I could not figure out how the ratio worked either, though.
02-12-2009 10:59 PM
It appears that this feature does not even exist in the newer (update 3) of the FRC LabVIEW application. Chapter 34 of the new programming manual (get it on the NI FIRST community home page) covers an "advanced" drive VI that allows you to independantly control the speed of the motors on each side of the robot. So you can set one slightly faster than the other to get the turn you would like. The update was news to me, not sure how we are supposed be "tied into" these updates.