Go to Post Dean may have asked that every high school in America be involved with FIRST, but he never said [teams] all had to have separate high schools. - Amanda Morrison [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 19-02-2005, 09:28
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
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   Spotlight this post!  
Unread 19-02-2005, 12:31
whakojacko's Avatar
whakojacko whakojacko is offline
Registered User
FRC #1072 (hrt)
Team Role: College Student
 
Join Date: Feb 2003
Rookie Year: 2003
Location: San Jose, California
Posts: 137
whakojacko is on a distinguished road
Send a message via AIM to whakojacko Send a message via MSN to whakojacko
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
__________________
Harker Robotics:1072
http://www.harker-robotics.org
  #3   Spotlight this post!  
Unread 19-02-2005, 15:23
mandyo's Avatar
mandyo mandyo is offline
I love 845!
#0845 (Cutting Edge)
Team Role: Coach
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Pendleton, SC
Posts: 8
mandyo is an unknown quantity at this point
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.
Closed Thread


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

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


All times are GMT -5. The time now is 05:20.

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