View Single Post
  #5   Spotlight this post!  
Unread 05-02-2010, 20:32
adamdb adamdb is offline
Registered User
#1583
 
Join Date: Feb 2005
Location: Parker, CO
Posts: 64
adamdb has a spectacular aura aboutadamdb has a spectacular aura aboutadamdb has a spectacular aura about
Re: Yet another camera issue

Here is the relevant bit of the code from AxisCamera.java:

Code:
    /**
     * Get a reference to the AxisCamera, or initialize the AxisCamera if it
     * has not yet been initialized.
     * @return A reference to the AxisCamera.
     */
    public static synchronized AxisCamera getInstance() {
        if (m_instance == null) {
            m_instance = new AxisCamera();
        }
        return m_instance;
    }
    private static final Function cameraStartFn = NativeLibrary.getDefaultInstance().getFunction("AxisCameraStart");
The error occurs on the "getFunction("AxisCameraStart")" which is a call to some "NativeLibrary". Which again leads me to believe that somehow a necessary library is not on the cRIO or not being included in the project build. But I am creating the project using the normal New Project->FRC->IterativeRobot thing to create the framework. Do I need to modify the project somehow to include some external or extra library for the camera?

Everything that we have tried except for the camera is working fine.

It's a good thing I don't have much hair left, or I might have pulled it out by now.
__________________
Adam Bryant
Programming Mentor
Team 1583
Ridge View Academy Rambotics