Go to Post Magic Smoke. One whiff and you never forget. - JohnBoucher [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-02-2010, 19:26
ellisk ellisk is offline
Registered User
FRC #1540
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 41
ellisk is on a distinguished road
Camera leads to kernel exception?

We're trying to get image streaming working with our camera to the dashboard (we're using C++). The code we're using for setting up the image streaming is this:
Code:
	AxisCamera& camera = AxisCamera::GetInstance();
	camera.WriteResolution(AxisCamera::kResolution_320x240);
	camera.WriteCompression(20);
	camera.WriteBrightness(0);
which runs exactly once in our project, and runs only after the robot has been powered on for 10 seconds (to allow the camera to boot). However, this code makes my program crash with a kernel fault; it crashes within some vxworks network calls (recv). The actual robot program dies, but I do get a picture on the dashboard from the camera.

Does anyone have any idea why this might be happening?

Thanks,
Kevin
 


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
VxWorks Kernel Cadyyan C/C++ 6 04-04-2009 19:37
Target Exception - Exception in Kernal Task Thxe C/C++ 3 10-02-2009 07:24
Run Kernel Task w/o reboot byteit101 Programming 4 12-01-2009 12:08
FP Motor Leads Bill Beatty Technical Discussion 7 07-04-2003 23:46
Wiper Motor Wire Leads Todd Lawless OCCRA 5 29-10-2002 21:37


All times are GMT -5. The time now is 03:22.

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