View Single Post
  #1   Spotlight this post!  
Unread 25-08-2010, 22:34
masoug's Avatar
masoug masoug is offline
Food Consumer
FRC #0114
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Planet Earth
Posts: 78
masoug is an unknown quantity at this point
Question How To Implement Axis Camera In Iterative Robot

Hi,
I am trying to implement the AxisCamera class into our Iterative Robot method, but unfortunately, the AixsCamera class has a difficult time initializing properly. We currently have:

Code:
...
AxisCamera* camera;
camera = &AxisCamera::GetInstance();
...
Is this how we can initialize it besides:

Code:
AxisCamera &camera = AxisCamera::GetInstance();
?

I am pretty novice to all this allocation and stuff, so I would love to have any sort of feedback!

Thanks!

-Masoug
__________________

JabbaScript
Reply With Quote