Go to Post I just... I can't even comprehend it. Like, my brain is soup. Commas are everywhere. Sentences. Shrinking. zzzzzzzzzzzz... - PayneTrain [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

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-02-2003, 01:12
Icebreakers Icebreakers is offline
Registered User
#0374 (The Icebreakers)
 
Join Date: Feb 2002
Location: Anchorage, AK
Posts: 4
Icebreakers is an unknown quantity at this point
Cool RCU has bad Analog ports - what now?

We've been trying to rectify a situation that we thought was bad potentiometers. When looking more carefully & using our controller from last year, we discovered that analog port inputs # 6 and 7 do not work. Since we had not previously plugged anything into them, we think they came to us defective.
Our question, then is, can we use last year's controller to work with until we get to regionals. During that time we could return the controller to FIRST or to Innovation FIRST for a replacement.
We're posting this question here since it is unlikely the FIRST board will be moderated this weekend.
Thanks.
Team 374
The Icebreakers in Anchorage
__________________
GO TEAMS!
  #2   Spotlight this post!  
Unread 16-02-2003, 11:52
JJG13's Avatar
JJG13 JJG13 is offline
Yoda
AKA: Joshua Graffman
None #0180 (SPAM)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Martin County, Florida
Posts: 105
JJG13 has a spectacular aura aboutJJG13 has a spectacular aura aboutJJG13 has a spectacular aura about
It will not work, because the controller from last year is not compatable with autonomous mode. Sorry
__________________
Behold the power of SPAM.
  #3   Spotlight this post!  
Unread 16-02-2003, 15:52
Icebreakers Icebreakers is offline
Registered User
#0374 (The Icebreakers)
 
Join Date: Feb 2002
Location: Anchorage, AK
Posts: 4
Icebreakers is an unknown quantity at this point
Unhappy

Thanks for the post. How do you think we go about handling the situation at this point? This weekend there is no one at FIRST or at Innovation to contact, and shipping happens in 2 days. We posted on the FIRST site, but no replies there, either. Should we just take the defective unit to regionals & hope to get a replacement there? Or mail it to Innovation & hope to get the replacement to take to regionals & replace there? I really hate crunches like this at this point.
Thanks for any advice.
__________________
GO TEAMS!
  #4   Spotlight this post!  
Unread 18-03-2003, 13:56
Dan's Avatar
Dan Dan is offline
Registered User
#0267 (Demolition Squad)
 
Join Date: Feb 2002
Location: Boca Raton, Fl
Posts: 7
Dan is an unknown quantity at this point
Send a message via Yahoo to Dan
Our analog 6 & 7 ports are also bad. They report (via dashboard) 0 for values when the RF link is used, but are correct when tethered. This makes no sense at all. Any ideas?
  #5   Spotlight this post!  
Unread 18-03-2003, 16:10
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
did you try debug?

Did you try using the debug command in the program, just to rule out a problem with the dashboard?

Code:
debug "in6 = ", dec sensor6, "in7 = ", dec sensor7, CR
  #6   Spotlight this post!  
Unread 18-03-2003, 17:15
ahecht's Avatar
ahecht ahecht is offline
'Luzer'
AKA: Zan
no team
Team Role: Alumni
 
Join Date: Dec 2001
Rookie Year: 2002
Location: Billerica, MA
Posts: 978
ahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond reputeahecht has a reputation beyond repute
Send a message via ICQ to ahecht Send a message via AIM to ahecht Send a message via Yahoo to ahecht
Actually, last year's controller should work just fine with autonomous mode. IIRC, all autonomous mode does is change one bit and set all OI inputs to 127. You would have to use this year's OI, however, and you probably couldn't test autonomous by selecting Team 0000 (although I am not sure about that).
__________________
Zan Hecht

Scorekeeper: '05 Championship DaVinci Field/'10 WPI Regional
Co-Founder: WPI-EBOT Educational Robotics Program
Alumnus: WPI/Mass Academy Team #190
Alumnus (and founder): Oakwood Robotics Team #992


"Life is an odd numbered problem the answer isn't in the back of the book." — Anonymous WPI Student
  #7   Spotlight this post!  
Unread 18-03-2003, 18:02
dhendrix's Avatar
dhendrix dhendrix is offline
Registered User
#0538 (Dragon Slayers)
 
Join Date: Feb 2003
Location: Arab Alabama
Posts: 28
dhendrix is an unknown quantity at this point
last years controller

Acually, last years controller will work. We used last years during practice in St. Louis. First has spares that they will loan for the weekend.
  #8   Spotlight this post!  
Unread 25-03-2003, 09:23
seanwitte seanwitte is offline
Registered User
None #0116
Team Role: Engineer
 
Join Date: Nov 2002
Location: Herndon, VA
Posts: 378
seanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant futureseanwitte has a brilliant future
Send a message via AIM to seanwitte
dashboard port changed

There is a new document on IFI's web site, the analog 6 and 7 bytes in the data stream contain system feedback data when the robot is not tethered. Thats probably why they seemed like they weren't working with the dashboard. When the robot is tethered they're supposed to have to correct values.

Dan - Your controller is fine, but its sending the wrong information for analog inputs 6 and 7 when you're using the RF link. Thats why it works under the tether.

Last edited by seanwitte : 25-03-2003 at 16:12.
  #9   Spotlight this post!  
Unread 25-03-2003, 12:48
Jeff_Rice's Avatar
Jeff_Rice Jeff_Rice is offline
ElementisRegamusProelium
#1359
Team Role: Programmer
 
Join Date: Dec 2002
Location: Linn County
Posts: 283
Jeff_Rice will become famous soon enoughJeff_Rice will become famous soon enough
You don't have to use this year's OI.
Make a switch, label it autonomous, connect to a ground and a digital input on say, port 4.

Put this next to your light code, and it should always get executed. Now you have an autonomous switch.
Code:

if (put switch name here) = 0 then dontsetauto
auton_mode = 1
goto endautoset
dontsetauto:
autonmode = 0
endautoset:
__________________
"He said my name is Private Andrew Malone
If you're reading this then I didn't make it home
But for every dream that's shattered another one comes true
This car was once a dream of mine now it belongs to you
And though you may take her and make her your own
You'll always be riding with Private Malone" David Ball, "Private Malone"
  #10   Spotlight this post!  
Unread 25-03-2003, 13:15
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by Jeff_Rice
if (put switch name here) = 0 then dontsetauto
auton_mode = 1
goto endautoset
dontsetauto:
autonmode = 0
endautoset:
Ouch! Why not
Code:
auton_mode = yourSwitchName
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #11   Spotlight this post!  
Unread 25-03-2003, 13:46
Jeff_Rice's Avatar
Jeff_Rice Jeff_Rice is offline
ElementisRegamusProelium
#1359
Team Role: Programmer
 
Join Date: Dec 2002
Location: Linn County
Posts: 283
Jeff_Rice will become famous soon enoughJeff_Rice will become famous soon enough
Because I like to do things in overly complicated ways.

Actually, it's because I like that format. I've used it so much that it makes more sense to me.
__________________
"He said my name is Private Andrew Malone
If you're reading this then I didn't make it home
But for every dream that's shattered another one comes true
This car was once a dream of mine now it belongs to you
And though you may take her and make her your own
You'll always be riding with Private Malone" David Ball, "Private Malone"
  #12   Spotlight this post!  
Unread 25-03-2003, 16:02
rust710's Avatar
rust710 rust710 is offline
Registered User
#0862 (Lightning Robotics)
 
Join Date: Dec 2002
Location: Canton, MI
Posts: 103
rust710 is an unknown quantity at this point
Send a message via AIM to rust710
Both the old OI and RC will work and support autonomous mode except for the flashing disabled light on the OI. As they will work, it specificly says in the rules that old control systems may not be used, except for radios.
__________________
Andrew Radamis
Programmer on 862
info@lightingrobotics.com
  #13   Spotlight this post!  
Unread 25-03-2003, 18:42
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by rust710
Both the old OI and RC will work and support autonomous mode except for the flashing disabled light on the OI. As they will work, it specificly says in the rules that old control systems may not be used, except for radios.
Are you sure about that? I believe the new OIs are key to "real" autonomous mode. It's possible that the state of pin 5 on the competition port may show up in the auton_mode variable on the RC -- in which case, your autonomous program might work correctly. But I think the new OIs actively set all the OI inputs before sending the data to the RC.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #14   Spotlight this post!  
Unread 26-03-2003, 07:27
rust710's Avatar
rust710 rust710 is offline
Registered User
#0862 (Lightning Robotics)
 
Join Date: Dec 2002
Location: Canton, MI
Posts: 103
rust710 is an unknown quantity at this point
Send a message via AIM to rust710
Quote:
Originally posted by gwross
Are you sure about that? I believe the new OIs are key to "real" autonomous mode. It's possible that the state of pin 5 on the competition port may show up in the auton_mode variable on the RC -- in which case, your autonomous program might work correctly. But I think the new OIs actively set all the OI inputs before sending the data to the RC.
You might be right, but I code my projects specificly to reject any input if the auton_mode bit is high.
__________________
Andrew Radamis
Programmer on 862
info@lightingrobotics.com
Closed Thread


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
RCU seeks new leadership MissAbi General Forum 1 23-06-2003 23:27
To the chicks of RCU archiver 2000 1 24-06-2002 00:29
Bad, bad, bad!!! archiver 2000 13 23-06-2002 22:29
RCU Unveils One Year Anniversary Site! Lora Knepper General Forum 2 10-07-2001 11:23
RCU Illuminaries for the week of the 24th Lora Knepper General Forum 5 28-06-2001 17:52


All times are GMT -5. The time now is 11:46.

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