![]() |
FRC Vision Undeclared Functions
We're having trouble locating the library housing the functions related the camera. We have included nivision.h, but we need nivision.a according to the pdf spec.
|
Re: FRC Vision Undeclared Functions
Quote:
|
Re: FRC Vision Undeclared Functions
Quote:
The AxisCamera.h in WPILib.h doesn't have anything to do with streaming images, so what is the header file that does? |
Re: FRC Vision Undeclared Functions
To start streaming video to the classmate all you have to do is get an instance of the AxisCamera object. If you look at the implementation of AxisCamera::GetInstance() and trace the functions it calls you will see it automatically sets up a pc video server object and starts it up. Assuming you had a class named LogoVision that inherited from SimpleRobot the following code would be enough to start streaming video to your classmate once you entered autonomous mode. The api's you mentioned are at a lower level than you need to be at.
Code:
void LogoVision::Autonomous() |
| All times are GMT -5. The time now is 13:57. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi