Go to Post Now if MTV had an episode of "Made" where the school's top jock wanted to drive a FIRST's teams robot to victory...now that would be a good one. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Robotics Education and Curriculum
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
  #12   Spotlight this post!  
Unread 05-12-2003, 15:37
Andy Brockway Andy Brockway is offline
Engineer
FRC #0716 (Who'sCTEKS)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Falls Village, CT
Posts: 459
Andy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond reputeAndy Brockway has a reputation beyond repute
Re: Using an Operator Interface with the 2004 EDU RC wirelessly

Joe,

First are you using the 2003 EduRC with its internal Modem? The cabling goes between the two EduRC's to link them serially through the DB9 ports. The RC modem is not used.

The user_routine.c file is specific about which joystick controls which pwm_out.

================================================== ==========
pwm01 = pwm03 = Limit_Mix(2000 + OIData->p1_x + OIData->p1_y - 127); /* LEFT WHEELS */
pwm02 = pwm04 = Limit_Mix(2000 + OIData->p1_y - OIData->p1_x + 127); /* RIGHT WHEELS */
pwm01 = pwm03 = 255 - pwm01; /* reverse direction of left side */


/* ------ Other PWM OUTPUT Mapping (can be used for two-joystick drive ------*/
pwm05 = OIData->p3_x; /* limited by digital inputs 1 & 2 below */
pwm06 = OIData->p3_y; /* limited by digital inputs 3 & 4 below */
pwm07 = OIData->p4_x;
pwm08 = OIData->p4_y;

================================================== ===

Plugging into pwm03 may be giving you the strange actions. The default program uses it with the mix routine. The syntax is also very picky for OIDATA->___. Also if the modem on the 2003 EduRC is not firmly seated into the motherboard you wil get erratic motion up to and including basic run and init errors.

We have successfully adapted our 2003 code and can run our 2003 robot with this setup and our 2003 OI.

Andy Brockway
Team 716

Last edited by Andy Brockway : 05-12-2003 at 15:40.
 


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
My hints and guess on the Game in 2004! Elgin Clock Rumor Mill 116 09-01-2004 13:30
2004 Championship Eligibility Criteria!!! dez250 General Forum 214 28-12-2003 20:11
2004 will be 2 v 2 Gadget470 Rumor Mill 20 25-10-2003 21:32
2004 Goals Rich Kressly FIRST Interactive Rural SupporT 2 19-10-2003 18:09
2004 OCCRA Competition Gadget470 OCCRA 2 11-06-2003 12:37


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

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