View Single Post
  #24   Spotlight this post!  
Unread 03-02-2011, 06:37 PM
krudeboy51's Avatar
krudeboy51 krudeboy51 is offline
Only Programmer
AKA: kory
FRC #0369 (369)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: brooklyn
Posts: 151
krudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of lightkrudeboy51 is a glorious beacon of light
Send a message via AIM to krudeboy51
Re: Anyone successful with camera in RobotPy?

Quote:
Originally Posted by taichichuan View Post
The error you're seeing is a bus error on the cRIO. The 0x6D... is the address that's being accessed caused the buss error. The problem happened in the FRC_paramtask application. So, this is a pointer related problem. Recheck your camera configuration in the cRIO code and make suer that you've updated to the latest WPILib release. There are a couple of threads that talk about a problem with WPILib that was fixed.
I have updated to the latest WPIlib. over three times now, and still the same problem. and also in the description in the lateset update, it doesnt state anyhing on fixing this error
this is the code that I have for it right now:

Code:
                              Class
                              AxisCamera *camera;

                              Operator control(void)
		    HSLImage image;     //Creates an image
		    AxisCamera &camera = AxisCamera::GetInstance();
		    camera.WriteResolution(AxisCamera::kResolution_640x480);
		    camera.WriteCompression(20);
		    camera.WriteBrightness(0);
would I have to add something in Public in order to fix it other than ds = driverstation::GetInstance();?

Last edited by krudeboy51 : 03-02-2011 at 06:42 PM.
Reply With Quote