View Single Post
  #20   Spotlight this post!  
Unread 30-01-2015, 12:50
Dinnesy Dinnesy is offline
Registered User
FRC #4968 (Robo Hawks)
Team Role: Teacher
 
Join Date: Dec 2013
Rookie Year: 2014
Location: Lively
Posts: 19
Dinnesy is an unknown quantity at this point
Re: Code changes not deploying to robot?

Quote:
Originally Posted by notmattlythgoe View Post
Try this:

Code:
myRobot.arcadeDrive(stick.getY(), stick.getX());
If that doesn't work try:

Code:
myRobot.arcadeDrive(stick.getY(), -stick.getX());
That fixed the problem! thank you so much for all the help

IF you wouldn't mind me picker your brain a little longer however, I notice that when We Drive the robot forward, the right motor turns starts sooner and goes faster, and when we drive it backwards the left one starts sooner and goes faster.

Could this be because we have all the motors motors hooked up with the same polarity, thus when one side of the motors are going forward, the other side's motors are technically going backwards causing a slight delay?
Reply With Quote