Quote:
Originally Posted by tux
2 Questions.
1) My team just wants video feed from the camera back to the driver station.
Can I do this without the default RobotPy or do I have to apply all of the fixes discussed in this thread and build from source?
2) I'm not sure which camera we have. I recognize it from the picture in the KoP list, but the description says:
"Camera, Axis M1011
206 color camera..."
So, is it the M1011 or the 206?
|
2) The picture in the KOP list is of the M1011.
1) If you just want video back to the driver station, there is a new option this year of plugging the camera directly into the network bridge on the robot (bypassing the cRIO). I understand this requires Dashboard changes, and the camera config is a little different. There are threads here on CD about that, though I can't help more than that, since we are not pursuing that solution.
If you follow the 'traditional' solution, plugging the camera in the cRIO, and doing the vision.AxisCamera.GetInstance() to start the video feed to the Dashboard, I will tell you that we had problems doing even that much with the M1011 in either C++ or any version of RobotPy. Quite a few times the feed would work, many times it would not, and we could never change the camera parameters through the software. But the patch fixed all that.
You can apply the proposed patch mentioned in this thread to either RobotPy 2011.2 or the latest RobotPy from the git repository, and though you will have to 'build it yourself', I believe the result will be a more reliable and configurable video feed.