View Single Post
  #1   Spotlight this post!  
Unread 20-02-2016, 16:51
jessss jessss is offline
Educating leads to change
AKA: Jessica
no team
Team Role: Alumni
 
Join Date: Apr 2012
Rookie Year: 2010
Location: Minnesota
Posts: 68
jessss is a splendid one to beholdjessss is a splendid one to beholdjessss is a splendid one to beholdjessss is a splendid one to beholdjessss is a splendid one to beholdjessss is a splendid one to beholdjessss is a splendid one to behold
Driving Issues Need Help

We are just starting to practice driving our robot but it isn't driving straight like it should. The robot usually makes it about 5 feet and then it will stop and jerk to the left or right, then after another pause it starts driving forward again. We are sure its a programming issue because we checked the motors and chains pulling the wheels and they are fine.

As far as code goes for driving, we just have the basic (in Java)
Code:
public void operatorControl(){
	      myDrive.setSafetyEnabled(true);
	      while (isOperatorControl() && isEnabled()){
                 myDrive.arcadeDrive(stick);
		 Timer.delay(0.01);
We are currently testing to make sure it isn't the controller we're using but it hasn't been having any other issues with it.
__________________
Lead Mentor: Team 2705 WE ROBOT 2015-2016
Team 3182 Athena's Warriors 2013-2014
Student: Team 2705 WE ROBOT 2009-2013
Reply With Quote