View Single Post
  #6   Spotlight this post!  
Unread 28-03-2014, 19:35
alexander.h's Avatar
alexander.h alexander.h is offline
Lead Programmer, Captain, Driver
FRC #3975 (The Dragons)
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Montreal, Quebec, Canada
Posts: 261
alexander.h has a spectacular aura aboutalexander.h has a spectacular aura aboutalexander.h has a spectacular aura about
Re: Beginner Java Help - Question 1

Quote:
Originally Posted by NotInControl View Post
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!
__________________



2012 - Rebound Rumble - Montreal Robotics Festival - Qualified 15th - Semifinalists thanks to 3379 and 3710 (Record : 8-8-1)
2013 - Ultimate Ascent - Montreal Robotics Festival - Qualified 33rd - Dean's List Finalist : Yazid Djenadi (Record : 4-8-0)
2014 - Aerial Assist - Montreal Robotics Festival - Qualified 9th (Record : 6-4-1)
2015 - Recycle Rush *** I predicted the game ***

Reply With Quote