|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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! |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|