|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Code suddenly fails to initialize
[quote=miketwalker]Suddenly my code will not initialize, after downloading the code (which successfully compiles without any problems) the LEDs all stay the same (blinking orange ligh ton program state, solid orange on rc mode, and red solid on OI code error)
We had the same problem...going through our code..(starting with the default code and building back up), we found that commenting out the "Serial_Driver_Initialize();" in user_initialization() worked. Don't know why. but it worked! /* Add any other initialization code here. */ Initialize_Serial_Comms(); Initialize_Encoders(); Initialize_Gyro(); robot_init(); Putdata(&txdata); /* DO NOT CHANGE! */ // Serial_Driver_Initialize(); printf("%s\n", strptr); /* Optional - Print initialization message. */ User_Proc_Is_Ready(); /* DO NOT CHANGE! - last line of User_Initialization */ } Jon Team236 |
|
#2
|
||||
|
||||
|
Re: Code suddenly fails to initialize
are you using modified camera code with the encoder stuff from the nav code or jsut the plain nav code? I had an issue when i copied over the encoder interrupt stuff into the camera code, and it was because you couldnt overwrite/comment out the last part
|
|
#3
|
||||
|
||||
|
Re: Code suddenly fails to initialize
We are using the modified camera code. We went to a scrimmage today and got some help there... I am not sure what anymore. My programmer is working now. I am going to see what is going on. (33 is a little old for a all nighter. - I am the team leader) Thanks everybody. I will ask more questions later.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| Updated: Serial Port Driver Code | Kevin Watson | Programming | 4 | 05-02-2005 18:39 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| Sourceforge for Code Repository and other stuff | SilverStar | Programming | 9 | 15-01-2005 21:16 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |