
28-03-2014, 19:35
|
 |
Lead Programmer, Captain, Driver
 FRC #3975 (The Dragons)
Team Role: Programmer
|
|
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
|
|
|
Re: Beginner Java Help - Question 1
Quote:
Originally Posted by NotInControl
Yes that is correct, you will need to play with the paramerts to achieve the turn you want based on your particular robot. The % will be based on the weight or the robot, # of motors on each side of your drive train, type of motors, and a couple of other paramters which describe the dynamics of your particular bot.
The example is open-loop, which means it turns without sensors, once you get the example working, dont worry too much if it the turn is not accurate or repeatable.
The main thing here is to make sure you understand the logic of what the code is doing.
After which, try adding sensors to make the turn more repeatable like encoders on the drivetrain, or gryo or digial compass if you would like to stick with this example and enhance upon it.
Hope this helps,
Kevin
|
I get it know ... thanks!
|