FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the Speed & Curve feature of ratio arcade drive VI

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

0 Kudos
Message 1 of 3
(5,624 Views)

You can use the VIs posted here to visualize the different algorithms. I could not figure out how the ratio worked either, though.

0 Kudos
Message 2 of 3
(2,745 Views)

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.

0 Kudos
Message 3 of 3
(2,745 Views)