USB camera and AXIS camera for vision

We are using an AXIS 206 camera for vision and a HD Microsoft lifecam 3000 so the drivers can see the climber. We are using GRIP for vision processing and we would like to use the AXIS camera as our input, every way we’ve tried to access the AXIS camera, we only get the USB camera. We need to get a

cv::Mat

type for our image, We are currently attempting a solution with

CameraServer

. I noticed it has a function

CameraServer::GetInstance()->AddAxisCamera(ip)

, but we’re confused about the types and most of what we’ve tried gets the same result. We only need to process one picture during autonomous, so it’s not worth our time for any fancy off-board/multi-threaded processing.

Here’s our code: https://github.com/robobibb/main-bot-2017