Go to Post Your opions and statements DO reflect on your team and its' reputation, regardless of what your disclaimer says. - Chris Fultz [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 06-07-2007, 22:50
bglass bglass is offline
Registered User
AKA: Bryan
#1609 (S.W.A.R.M.)
Team Role: Leadership
 
Join Date: Feb 2005
Rookie Year: 2004
Location: St. Louis
Posts: 8
bglass is an unknown quantity at this point
Send a message via AIM to bglass
Question RS232 (Serial) Communication To OI

Hey Everybody,

I am working on a project that is not FIRST related, but figured I would come here for help as I am using the IFI Control System (that you all seem to be so good with). I scoured the forums to try to find some answers to my questions, but as it's not legal in the FIRST competitions, couldn't find much of anything.

What I would like to do is essentially emulate the joysticks (and other input devices that plug into the OI) through my laptop. It seems impractical to hook 4 joysticks and other switches up so that I have enough buttons to perform tasks. Unfortunately, my background in programming is primarily in Java. After doing some research, I decided that programming in C would probably allow me more flexibility and be a bit more universal. I don't need to send extremely complex things to the OI, just the values that would normally be sent via the OI (0-254 for the axis, 0 or 1 for the buttons). I read through some forums on Serial Communication in C, but they seemed far more complex than what I need to do for this project. If somebody would be willing to give me the commands to do this, I would appreciate it. I also don't know some of the information that I anticipate that I will need (Baud Rate, etc).

I imagine that this would also be able to help with FIRST during the off-season. It seems there is always a shortage of joysticks, and this would allow for some easy debugging. Look forward to your responses.

Bryan
 


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
Need Help With Maplab C programming on serial communication loveheb3 Programming 0 04-06-2007 21:24
Serial Communication Problems with LabVIEW FRC Toolkit Jon236 LabView and Data Acquisition 1 28-12-2006 11:57
Serial Communication in C++ Adam Shapiro Programming 8 21-01-2003 12:49
Serial Port Communication White Paper rbayer Programming 87 14-06-2002 16:10
serial communication using c++ Malakili Programming 31 01-05-2002 15:51


All times are GMT -5. The time now is 00:17.

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