I can see on the live view on the internet but thats only when the camera is conected straight to the router. how could i get the camera to send video from ethernet port 2 on the robot? and ive seen people programming the camera using java, but how would you do it in C++, cus we’ve been using Windriver Workbench.
Just in case you are looking in the wrong place, you don’t actually program the camera. It is closed and runs a web server that will provide images on request.
You program using the WPI libraries. I’d start by setting up the camera using either the utility, or logging into the camera to verify it has an FRC/FRC account.
Then try to run one of the C++ example programs that uses the camera. Finally, try using the sample code.
Greg McKaskle