|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: The oddest error
the battery was reading 13 point something volts with the multimeter (if that is what it is called) and it could not have been battery because we switched back the code to the plain 3.0 and it worked fine
|
|
#2
|
||||
|
||||
|
Re: The oddest error
The reason for saying the battery was because the motors might be pulling different numbers of amps with the different code. Some code may be putting a much greater strain on the motors since it is holding an arm in a particular position and this is much more likely to be the encoder code and not the original code.
However, since apparently the battery is fine, I can't see a reason for this problem. We have had very similar things happen to us in the past but it has always been fixed with a simple battery change. One thing you might check is the resistance of the battery with your multimeter cause if the battery has a bad cell then when the battery has no load it looks fully charged but when put in the bot will drop very low very quick. If that isn't it then search me, I haven't done a huge amount of programing and certainly don't know the controller as well as I could. |
|
#3
|
||||
|
||||
|
Re: The oddest error
Quote:
-Kevin |
|
#4
|
||||
|
||||
|
Re: The oddest error
I have also been having odd errors. The 'Program State' light stays lit and the program doesn't run. The voltage is NOT 8.2.
What is odd is that the only apparent difference between a project that works and the project that doesn't is that I am using a new project name (Sensors2008 vs ifi_frc). I have zipped the files and a diff.txt file I generated. There are actually 113 differences, but I can't seem to see any consistency. However, in the ifi_frc project, I am able to get the encoder, gyro, ultrasonic detector and Banner IR switch all playing nicely together! Thank you Kevin. |
|
#5
|
||||
|
||||
|
Re: The oddest error
Quote:
-Kevin |
|
#6
|
||||
|
||||
|
Re: The oddest error
Quote:
The problem is that you didn't add ifi_frc.c to the Sensors2008 project. Edit: I forgot to mention that you also need to build using the large code and data model. -Kevin |
|
#7
|
||||
|
||||
|
Re: The oddest error
Thank you! It worked! Also, should we use multi-bank stacks?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Error in code light on, trouble finding error | Bryan Herbst | Programming | 16 | 12-10-2007 21:59 |
| 180:Error: syntax error help! | seanl | Programming | 8 | 04-02-2007 11:31 |
| stupid Array error: Error [1300] stack frame too l | Validius | Programming | 7 | 27-01-2006 10:53 |
| Php error on the portal | Adam Y. | CD Forum Support | 1 | 06-07-2004 11:32 |