Whenever we turn on the robot, the vision code from GRIP doesn't work. we were wondering if it has something to do with the RoboRIO or the camera (Microsoft Lifecam HD 3000). The USB camera does feed into the Dashboard though, so we can see the image, it just doesn't recognize anything from GRIP, like contours.
http://compass.microsoft.com/assets/...cc_2_large.jpg
Here's the code we used to put the GRIP info on the dashboard, but everything is 0.
Code:
SmartDashboard.putNumber("Contour1 CenterX", auto.vision.GetContour1CenterX());
SmartDashboard.putNumber("Contour1 CenterY", auto.vision.GetContour1CenterY());
SmartDashboard.putNumber("Contour1 Height", auto.vision.GetContour1Height());
SmartDashboard.putNumber("Contour2 CenterX", auto.vision.GetContour2CenterX());
SmartDashboard.putNumber("Contour2 CenterY", auto.vision.GetContour2CenterY());
SmartDashboard.putNumber("Contour2 Height", auto.vision.GetContour2Height());