Go to Post Honestly I'm looking forward to just seeing all my friends again, that's what FIRST is really about to me. - Barry Bonzack [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 20-02-2016, 17:05
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,899
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Driving Issues Need Help

Look to see what all the status lights are doing when this happens.
Look at the Driver log file plots and Event List to see what else occurred at the time the robot stopped.

You may just be browning out.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 20-02-2016 at 22:42.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 23:44.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi