Go to Post This game is absolutely *NOT* too difficult, but many teams will make it too difficult by biting off more than they can chew. - pfreivald [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 20-02-2005, 15:01
anty anty is offline
Registered User
no team
 
Join Date: Feb 2005
Location: USA
Posts: 2
anty is an unknown quantity at this point
Question camera_track_update() locks up

When I call the function camera_track_update() in a while loop (just call the function and print out the values of the cam structure), the function locks up the program after about 30 calls. What's the problem here? By "locks up the program", I mean that the function is not returning. Thanks.
  #2   Spotlight this post!  
Unread 20-02-2005, 17:15
jgannon's Avatar
jgannon jgannon is offline
I ᐸ3 Robots
AKA: Joey Gannon
no team
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Pittsburgh, PA
Posts: 1,467
jgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond reputejgannon has a reputation beyond repute
Re: camera_track_update() locks up

You should only need to call camera_track_update() once, and the struct will continually update itself automatically.
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed

Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star

_
  #3   Spotlight this post!  
Unread 21-02-2005, 19:08
anty anty is offline
Registered User
no team
 
Join Date: Feb 2005
Location: USA
Posts: 2
anty is an unknown quantity at this point
Re: camera_track_update() locks up

Thanks. The camera_track_update() function is called to check if the new data is ready.
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
Security at regionals. nick reynolds General Forum 45 20-02-2002 23:06


All times are GMT -5. The time now is 10:55.

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