Thread: Camera Problem
View Single Post
  #1   Spotlight this post!  
Unread 01-02-2011, 19:11
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
Camera Problem

This year my team members wan to be able to use the camera on our robot. So I followed the steps to set up the users accounts and I made a code I'm not sure if that is he problem but when I downloaded the code I got no feedback on the dashboard. I do not know what I did wrong I updated the cRio, FRC tools, the Driverstation, and windriver but still the same problem. The code I have for it is:

Code:
#include "Vision/AxisCamera.h"
#include "Vision/HSLImage.h"

class:
AxisCamera *camera;

public:
ds = DriverStation::GetInstance();


operator control:
        HSLImage image;     //Creates an image
        AxisCamera &camera = AxisCamera::GetInstance();
      camera.WriteResolution(AxisCamera::kResolution_320x240);
      camera.WriteCompression(20);
      camera.WriteBrightness(0);
Reply With Quote