Go to Post There are two types of competitors in this world, those who aim to rise above their opponents and those who seek to drag them down. Which group do you want to belong to? Which group is more beneficial to our society? Think about it. - Karthik [more]
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 02-03-2010, 10:06 PM
pafwl pafwl is offline
AKA: Frank Larkin
FRC #0272 (Cyber Crusaders)
Team Role: Mentor
Join Date: Jan 2005
Rookie Year: 1998
Location: Lansdale, Pennsylvania
Posts: 108
pafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud ofpafwl has much to be proud of
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.
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Labview Dashboard and Windriver Example Help sircedric4 Programming 7 02-25-2009 01:58 AM
Help with connecting default dashboard project mminutto NI LabVIEW 2 01-30-2009 03:26 PM
Dashboard and Robot main with Axis camera Team2883 General Forum 9 01-10-2009 07:35 AM
NI Dashboard only partially working? Tim Skloss Programming 4 01-05-2009 10:37 AM
Getting the Camera and Default Code to Work nukem Programming 5 01-18-2006 11:48 AM

All times are GMT -5. The time now is 08:20 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi