|
Video on the classmate
Still working on getting the camera video to show up on the dashboard. Its connected to the CRIO port 2 with a crossover cable. We reset the camera to its default configuration, connected directly to a laptop with a crossover cable and added the FRC, FRC (user, pw) account. Next we added the code to get the camera instance to our code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_320 x240);
This should startup a process in the cRIO right? I think I saw one called NiVision, or something like. What port does it listen on? I want to see if the process is running and if its listening.
Also, I see how the camera can be connected directly to the DLINK bridge, with its address set to say 10.x.x.11. If its at that address, how do you tell the dashboard to get images from that IP instead of from the video server process in the CRIO? (10.x.x.2) Is that a parameter in the DriverStation.config ? Of cource the CRIO can't process images in this case, but I might hook it up that way just to see if it works.
Thanks,
Brian
__________________
Brian K
Team 1225 Robotics Mentor
|