Go to Post Sometimes "awesome" is inadequate. - kramarczyk [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

 
Reply
Thread Tools Rate Thread Display Modes
  #16   Spotlight this post!  
Unread 31-03-2011, 14:14
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Last minute autonomous help

Quote:
Originally Posted by Dacilndak View Post
Our team is using 3 front-mounted light sensors with great success. No encoders, no ultrasonic, no timers.

We're using C++. Our autonomous program manages a state machine that gets input from the light sensors and decides what to do based on them. Our algorithm is as follows:

[snip]
111-------------------------------------------------placeTube()

After executing placeTube(), the program quits the state machine and retreats back several feet, then turns on the spot (~180 degrees, but it's not perfect since we don't have encoders or a gyro). Generally, getting the tube on the rack takes about ten seconds, and we're only driving the motors at 40% for drive and 60% for turn.
Is there a horizontal line at the end of the tape to let the robot know it needs to stop? We have it just going and going until there's nothing left, then it goes back a little bit to give room for the tube placement.

Just asking, because we're having our first (and only) regional next week, and we still haven't been able to test our autonomous.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
  #17   Spotlight this post!  
Unread 31-03-2011, 15:18
JosephC's Avatar
JosephC JosephC is offline
FF: Breakfast Company
AKA: Joseph Cupchack
no team (FiM Volunteer Extraordinaire)
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Waterford, Michigan
Posts: 1,752
JosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond reputeJosephC has a reputation beyond repute
Re: Last minute autonomous help

Theres a strip at the end of each line thats about say... 3 inches wide.

So the line ends at a T
__________________
Referee: 2015 - ?
Field Reset/Supervisor: 2013 - ?
68 Team Member: 2011 - 2013
Reply With Quote
  #18   Spotlight this post!  
Unread 31-03-2011, 15:43
Robby Unruh's Avatar
Robby Unruh Robby Unruh is offline
*insert random dial-up tone here*
FRC #3266 (Robots R Us)
Team Role: Coach
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Eaton, OH
Posts: 338
Robby Unruh will become famous soon enough
Re: Last minute autonomous help

OK, thanks! I guess I'll have to change my code once I get back home.

Thanks for all your help.
__________________
[Robots R Us #3266]
2015: Georgia Southern Classic (Winners / Thanks 1319 & 1648!), Queen City
2014: Crossroads, Queen City
2013: Buckeye, Queen City, Crossroads
2012: Buckeye, Queen City

2011: Buckeye
2010: Buckeye
Reply With Quote
Reply


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 11: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