View Single Post
  #4   Spotlight this post!  
Unread 28-03-2014, 19:20
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 543
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Beginner Java Help - Question 1

Quote:
Originally Posted by alexander.h View Post
So, for one robot, it could be o.6, but for another, it could be 0.8?
It also depends how far you're driving. The smallest amount of rotate will cause the robot to go into a circle. If you want to truly move in a 90 degree line, you have to rotate 90 degrees than move forward.

E/ nvm misread it.

0.75 has nothing to do with the degree of the turn. When the move value is 0, the robot will stay in place.

However, a rotate will cause the motors to run in opposite of each other, essentially turning the robot. 0.75 for 0 seconds (thats what the code says... rotate for 0 seconds) might be + or - depending on the weight of the robot and the condition of the battery.
Reply With Quote