Go to Post After all, life is what you do outside of FIRST. No wonder it's so short. - Vashts6583 [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
  #6   Spotlight this post!  
Unread 11-08-2009, 21:49
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Multithreaded programs

Quote:
Originally Posted by Dave Flowerday View Post
If I may offer a suggestion:

I think you will find writing a bit-banged serial port driver to run on the cRIO to be incredibly difficult, if not impossible. Serial port timings are very tight - you'd need extensive use of interrupts to make it work, and even then it might not since the digital I/O pins on the sidecar are not directly tied to processor I/O.
the rio wouldn't have to send anything, only receive. so if i have a very fast loop in a separate thread, could i conceivably catch the data?

Quote:
Originally Posted by Dave Flowerday View Post
Instead, my suggestion is that you modify the 6DOF source code to speak the I2C protocol and wire up the 6DOF to the I2C bus that is already available on the sidecar.
thats a great idea except the arduino uses analog pins 5 and 6 for I2C communication, and all 6 pins are used (3 for x y z) (3 for roll pitch yaw)

what about SPI? it was finished for labview but not for windriver
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
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
design programs Dan Zollman College & University Education 3 12-06-2009 23:54
Scouting Programs Suspect_Deezy Technical Discussion 10 30-10-2008 18:11
Programs BillyJ Inventor 1 22-03-2005 09:34
Multiple Programs goegan31 Programming 3 17-03-2003 22:56
Other Programs? BHS First Team 3D Animation and Competition 3 15-01-2002 14:56


All times are GMT -5. The time now is 18:14.

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