Top DevX Stories
Creating Custom Export Filters for StarOffice with XSLT
WPF Wonders: Using DataTemplates
Crystal Reports Family Offers Options for Developers
Avaya Aura Session Manager video
Avaya Aura Overview video
Search the forums:

Go Back   DevX.com Forums > DevX Developer Forums > C++

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 10-20-2009, 01:47 AM
yol yol is offline
Registered User
 
Join Date: Oct 2009
Posts: 2
Using c++ to make a real time application?

Hi ppl.. I need help regarding to using visual C++ to come out with an real time application to track object using a stereo vision camera? Can anyone help??
Reply With Quote
  #2  
Old 10-20-2009, 09:56 AM
jonnin jonnin is offline
Senior Member
 
Join Date: Dec 2003
Posts: 3,008
Once you have written and debugged your application, you can go back and make it faster for real time processing. Keep in mind as you write the software that it WILL be a real time application, so you are constantly asking yourself "is this an efficient way to do this? did I need that self-validating, memory managing, heavy handed container or would an array do it?" and similar questions.

Part of real time programming is buying hardware that can do the job in time; if you have the best algorithm in the world and drop it onto a 80386, it will only go so fast. For the problem you are solving, you need some decent power, probably at least a solid quad core with a cleaned OS (get rid of the background windows junk), lots of ram, good video capture cards, etc.
Reply With Quote
  #3  
Old 10-20-2009, 10:27 AM
hendrixj hendrixj is offline
Registered User
 
Join Date: Oct 2007
Posts: 240
There's an old saying that real-time has only two speeds: fast enough, not fast enough. The only way to guarantee fast enough is to carefully control what is competing for computer resources. A general purpose operating system (gpos) like Windows, Mac OS, and vanilla Linux are designed to maximize throughput (where speed is a spectrum from slow to fast). At any critical moment, though you have the most optimized algorithm in the world, a gpos will decide to run a virus checker or service the ethernet device.
If you have no choice but to use windows, Jonnin's advice is the best anyone can give you. If you can use a real-time operating system (there are free Linux RTOS's out there),you'll have more luck.
Sometimes a "federated" approach is best: use a micro-controller for the real-time tracking and control for the cameras and have it send data over ethernet (use UDP) to your Windows machine to display for humans to see.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grid view sorting based on the date time column in c# windows application Aazaad .NET 3 04-08-2009 12:45 PM
SYSTEMS PROGRAMMER - Job Opening with the City of Los Angeles City of LA Careers 0 10-14-2008 03:46 PM
Looking for a Real time Stock (product) counter itsartdammit Java 0 10-05-2006 04:57 AM
How to make application installer on vb.net? robertsky_02 .NET 2 05-31-2006 04:38 AM
REAL Software Announces Linux Strategy - Enables Migration of VB Apps to Linux Gwen Smith vb.announcements 0 07-21-2003 03:17 PM


All times are GMT -4. The time now is 12:23 AM.


Sponsored Links



Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.