Go to Post Engineers crave and demand facts, and won't reach a conclusion without them. - Richard Wallace [more]
Home
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
  #5   Spotlight this post!  
Unread 01-22-2010, 08:44 AM
Abrakadabra Abrakadabra is offline
Here We Go !!!
AKA: Scott Kukshtel, Mr. K
FRC #3467 (The Windham Windup!)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2002
Location: Windham, New Hampshire
Posts: 157
Abrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant futureAbrakadabra has a brilliant future
Re: Calling multiple programs...

Quote:
Originally Posted by ringo115 View Post
how do i do it? if we have drive code and we wanna use something like pneumatics code, at the same time, how would we code something, if at all possible , that would allow us to call multiple programs at once.
Excuse me if I'm underestimating your experience, but from your question, it sounds like you just want to know how the robot program can do multiple tasks, right? The other answers above have all addressed how to do multiple tasks in parallel; what you want to do is not necessarily that, but rather to just have one program that can handle many tasks.

If you haven't already, I would suggest you start with the "Getting Started" guide:
http://first.wpi.edu/Images/CMS/Firs...artedWithC.pdf
This document explains the basic templates for developing a robot program, and explains how you can use these templates to partition your code into different functional areas and still have them all run under the control of the same program.

Also, look up how to use the various Example programs that are provided with WindRiver in order to see some working examples of these templates.

HTH.
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
[FTC]: Multiple Programs or One Program with Multiple Auto Modes kevin51292 FIRST Tech Challenge 4 01-02-2009 08:37 PM
Hosting multiple sites in multiple VMs EHaskins Website Design/Showcase 6 12-22-2007 01:09 AM
Multiple programs/autonomous routines galewind Programming 12 01-09-2004 10:25 PM
Multiple Programs goegan31 Programming 3 03-17-2003 10:56 PM


All times are GMT -5. The time now is 10:02 AM.

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