Go to Post Yes ONE blue banner would be nice one of these days, but I've never lost focus of why we as mentors do what we do. It's about preparing the students for "defense" in life, and laugh when your robot gets scored into a goal. - Chris_Elston [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
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
  #3   Spotlight this post!  
Unread 18-03-2011, 14:04
SoulSaber1's Avatar
SoulSaber1 SoulSaber1 is offline
Registered User
AKA: Drew Parker
FRC #3011 (RoboWarriors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Wiesbaden
Posts: 8
SoulSaber1 is an unknown quantity at this point
Re: Bit of coding help

For some reason this isn't working either. did you mean like this?

Code:
case 7: //ALL SENSORS ON *OR* MAYBE AT CROSS
                        if (time > stopTime)
                        {
                            atCross = true;
                            speed = 0;
                            gripper.set(false);         //Closes gripper
                            gripper2.set(true);         // "     "
                            drive.arcadeDrive(-.5 , 0);
                            Timer.delay(1.0);
                            drive.arcadeDrive(0 , 0);
                                                                }
__________________
"I don't care about what anything was DESIGNED to do, I care about what it CAN do." -Gene Kranz

"This lifestyle is DIY or GTFO" - lucid
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


All times are GMT -5. The time now is 13:31.

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