Go to Post I know I know, resurrecting an old thread, but at least I searched! - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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 23-01-2011, 19:06
computerish computerish is offline
Registered User
FRC #0619
 
Join Date: Nov 2008
Location: va
Posts: 45
computerish is an unknown quantity at this point
Robot mysteriously stopping and backing up

We've been experimenting with the new line sensors and coded up a very simple line following autonomous mode (our own, not the FIRST provided one). It works about as well as you would expect for 5 minutes of development and 20 minutes of testing, except for one thing. At apparently random times, the robot stop briefly and then starts going backwards.

I'd be inclined to blame it on the robot turning and putting too much power to one wheel and having that one wheel pull the whole robot backwards (this practice bot has very high friction wheels and its on carpet), but I want to make sure that there isn't some strange "feature" in WPILibJ that might make our robot back up.

So in short, is there anything in WPILibJ or in the Jaguars that could cause them to run in reverse without being told to?

Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 23-01-2011, 20:37
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Robot mysteriously stopping and backing up

I've never heard of a library bug like that.
Without being able to see your code, the first thing I would check for is to make sure your motor signals aren't over ranged. This will cause the motors to reverse in some cases.
__________________
I don't need a signature.
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2011, 09:22
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Robot mysteriously stopping and backing up

When we were first testing our line tracking, this happened briefly. I attributed it to a low battery (it was about 11.5 when it wasn't moving), so possibly one wheel was moving and the other one wasn't, and since we are using high traction wheels it caused the whole robot to drive backwards. After replacing the battery with a fresh one, this has not happened again.
__________________
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 12:48.

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