|
Page 1 of 1
|
[ 4 posts ] |
|
RobotC Programming Problems
| Author |
Message |
|
dchs_robotics
Rookie
Joined: Tue Feb 22, 2011 5:49 pm Posts: 4
|
 RobotC Programming Problems
We have been working on a program to make our robot turn a corner,And yesterday we had the program where it was turning the corner successfully,But today we opened up the same program from yesterday and it did not perform correctly.We have changed out the motors and that is not the problem.Our question is why is the same program that we used yesterday not working today as it did yesterday? What could be the problem? And how do we fix it?
|
| Thu Mar 03, 2011 4:25 pm |
|
 |
|
mightor
Moderator
Joined: Wed Mar 05, 2008 8:14 am Posts: 2906 Location: Rotterdam, The Netherlands
|
 Re: RobotC Programming Problems
Could you please provide your code so we can see what your robot is trying? There is no real way for us to help you without some idea of what your code is trying to do. It's not always the same as what *you* want your code to do.
- Xander
_________________| Some people, when confronted with a problem, think, "I know, I'll use threads," | and then two they hav erpoblesms. (@nedbat)| My Blog: I'd Rather Be Building Robots| ROBOTC 3rd Party Driver Suite: [ Project Page]
|
| Thu Mar 03, 2011 4:40 pm |
|
 |
|
jorge_the_awesome
Rookie
Joined: Sun Dec 05, 2010 11:58 am Posts: 28
|
 Re: RobotC Programming Problems
We used to have that kind of problem a lot in FLL. It is usually a result of changed battery power. You probably charged it overnight. If you didn't, the power will be lower than yesterday anyway. Always remember to charge your batteries! But even this can be inaccurate,so try using robotC's PID control and the encoders to reduce the dependency on battery power.
|
| Fri Mar 04, 2011 8:01 am |
|
 |
|
dchs_robotics
Rookie
Joined: Tue Feb 22, 2011 5:49 pm Posts: 4
|
 Re: RobotC Programming Problems
We have found out that it was the battery life that changed the program,Thank you for your assistance! 
|
| Mon Mar 07, 2011 6:03 pm |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 2 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|