Go to Post Checklist: Robot on, thinkamajig set, autonomous set, safety bar pulled. - DonRotolo [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Spotlight this post!  
Unread 02-14-2013, 07:56 PM
aziobro aziobro is offline
Registered User
FRC #4475 (Terrier Byte Bots)
Team Role: Leadership
 
Join Date: Nov 2008
Rookie Year: 2009
Location: Newark,NJ
Posts: 7
aziobro will become famous soon enough
Re: Camera image crashing code???

We are seeing the same problem with our code.
There seems to be a problem with the image from the axis camera.
If we check the height and with of the image we get 0.
Even when the GetImage returns true (1) the height and width still say they are 0.


We are using the vision sample code and add the following to check the height and width.

ColorImage *image;

int cameraimagegood = camera.Getimage(image)
int width = image->GetWidth();
int height = image->GetHeight();

We checked the camera setup and it looks correct. (User FRC Password FRC)
The Camera Image is getting to the DashBoard.

We are able to run in debug mode and set breakpoints to check values.

We are stuck.... Any suggestions?
Reply With Quote
 


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


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

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