|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Camera working in C++ and default dashboard
We finally go the camera working in near real time without have to modify the dashboard.
Reload your dashboard code as described below from the forum.... Re: 2010 Camera and vision problems. ------------------------------------------------------------------------- I finally got camera output + target data on the dashboard. The problem was indeed the drivers station update. Here's how to fix it: Download the drivers station update: http://joule.ni.com/nidu/cds/view/p/lang/en/id/1535 Run the drivers station update and install. Run the drivers station update and select remove for both components. Run the drivers station update and install. This fixes it. NI needs to fix the installer. That fixed the video issue. Now you see the video but it causes the robot to react very slowly to the controls. We want to slow the bit rate coming out of the cRio. 1) Copy the WPI source code for the Axis Camera 2010.cpp to your project. 2) Copy the WPI source code for the PCVideoServer.cpp to your project. 3) In the PCVideoServer.cpp look for the Wait( .01) This says to way 1/100 th of a second before you try to send a new frame. Change that to .1. 4) Compile and you should be good. This will force the video server to send a frame out every 1/10 th of a second instead of 30 frames per second. The video is choppy but works well. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default Labview Dashboard and Windriver Example Help | sircedric4 | Programming | 7 | 25-02-2009 01:58 |
| Help with connecting default dashboard project | mminutto | NI LabVIEW | 2 | 30-01-2009 15:26 |
| Dashboard and Robot main with Axis camera | Team2883 | General Forum | 9 | 10-01-2009 07:35 |
| NI Dashboard only partially working? | Tim Skloss | Programming | 4 | 05-01-2009 10:37 |
| Getting the Camera and Default Code to Work | nukem | Programming | 5 | 18-01-2006 11:48 |