|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Camera Declaration/Initialization
I know there are lots of threads on the camera, but i havn't seen any on this topic specifically.
I'm just wondering how to declare/initalize the camera in an Iterative Robot based program. Because (correct me if im wrong) you have to use AxisCamera &camera = AxisCamera::GetInstance(), the &camera is a reference, and MUST be initialized when it is declared. If i put this line of code in the constructor, or TeleopInit, the reference can't be accessed in any other function. If i put it in TeleopPeriodic, I will be able to access the camera reference where i need it, but it will be inneficiently called every loop What is the best, or atleast a working way to get a working variable/reference of the camera that i can access in TeleopPeriodic for tracking? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Code Declaration Window - Check Team in Code | DtD | C/C++ | 3 | 01-20-2009 07:09 AM |
| ???Abnormal Camera Initialization???????????? | cdennisxlx2 | Programming | 4 | 11-07-2006 12:45 AM |
| Routine declaration syntax error (Or: Where's wlado?) | Astronouth7303 | Programming | 15 | 03-24-2004 05:51 AM |
| Reciever Initialization problem | PuiChi | Programming | 1 | 01-26-2004 11:54 PM |
| Master uP Initialization Routine | Ulibrium | Technical Discussion | 5 | 01-24-2002 04:43 PM |