Go to Post Scrap it and use the cheesey poof's design - vladtheimpaled [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 14-01-2008, 23:54
Scott Carpman's Avatar
Scott Carpman Scott Carpman is offline
Registered User
FRC #1155 (SciBorgs)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2005
Location: New York City
Posts: 284
Scott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud ofScott Carpman has much to be proud of
Re: Hybrid Challenge-No Robot Left Behind

All NYC Teams should send a student to the programming clinic sessions on Saturday at LIC High School. Randy Schaeffer sent out an email about it, I'll try to dig it up from the ol' inbox.

EDIT:
Follow this link for info
http://nycnjfirst.org/training_programming.html

NRLB!
__________________
RPI '12

Last edited by Scott Carpman : 14-01-2008 at 23:57. Reason: Found the link
Reply With Quote
  #2   Spotlight this post!  
Unread 15-01-2008, 00:01
taggartbg taggartbg is offline
Registered User
FRC #1712 (Dawgma)
Team Role: Electrical
 
Join Date: May 2005
Rookie Year: 2006
Location: Lower Merion, PA
Posts: 38
taggartbg will become famous soon enoughtaggartbg will become famous soon enough
Send a message via AIM to taggartbg Send a message via MSN to taggartbg Send a message via Yahoo to taggartbg
Re: Hybrid Challenge-No Robot Left Behind

I, along with 3 other members of my team, got our IR board and code working today. We plan to soon make a YouTube video to explain our process and offer hints for other teams to do the same.
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2008, 08:23
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Hey... a note... I'm guessing I'm not the only one who's noticed that the IR remote reciever doesn't work at all if there's more than one remote in the general vicinity.

Is anyone else leaving the IR remote control as a last resort and going without?

Or has anyone figured out a way of making it function dependably?

For now, 1024 is improving it's SDAR (which was first debuted at our pit in Atlanta last year) or Sonar Direction and Ranging. Right now we have it to a point where we can take up to 3 simultaneous datastreams with a little over 1 update/sec, scan range 7', angle accuracy +/-2deg at Fast scan speed. Up to 9' range with +/-0.35deg accuracy.

We're going for a PID-based electronically geared path following routine with SDAR-based obstacle avoidance.

Okay, so i digressed a little. Videos to be posted (hopefully) in a couple weeks.

-q
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08
Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2008, 09:30
Travis Hoffman's Avatar Unsung FIRST Hero
Travis Hoffman Travis Hoffman is offline
O-H
FRC #0048 (Delphi E.L.I.T.E.)
Team Role: Engineer
 
Join Date: Sep 2001
Rookie Year: 2001
Location: Warren, Ohio USA
Posts: 4,044
Travis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond reputeTravis Hoffman has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Please see this thread for free and easy software tools that facilitate connections and partnerships between teams over distances via the Internet.

Using these tools in tandem lets any veteran team reach out and provide programming or any other kind of educational assistance to rookie and inexperienced teams without ever leaving the comfort of their shops.

Realtime voice/videoconferencing combined with a powerful remote desktop/file transfer application - I invite you to check these tools out and see what kinds of creative applications you can discover.

Even if you're two veteran teams from the same region who aren't collaborating on a design, using these tools allows you to more easily ping ideas and prototypes off of mentors and students from other local teams - if people can get past the us vs. them competitive mentality and learn to spend more time "talking shop" with other local teams in person and via this software, I believe all the individual robotics programs involved would stand to benefit a great deal.
__________________

Travis Hoffman, Enginerd, FRC Team 48 Delphi E.L.I.T.E.
Encouraging Learning in Technology and Engineering - www.delphielite.com
NEOFRA - Northeast Ohio FIRST Robotics Alliance - www.neofra.com
NEOFRA / Delphi E.L.I.T.E. FLL Regional Partner
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2008, 22:59
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Hybrid Challenge-No Robot Left Behind

1902 team accepts the challenge and will support teams to have a simple hybrid mode.

PLEASE BUILD INTO THE HYBRID MODE TIME DELAYS.

One of my fears this year is not my opinents knocking me out but crashing into my partners coming out of the gate. We have built in switches that allow 0 0.5 1 and 2 second delays so we can give others time to get out of the way.

You don't need switches but you can have jumpers on the robot controller to change the delay time in the software.
__________________
Doug Leppard
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2008, 23:13
lkdjm's Avatar
lkdjm lkdjm is offline
Registered User
AKA: David Mazza
FRC #0564 (Digital Impact)
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Middle Island, NY
Posts: 31
lkdjm will become famous soon enough
Send a message via AIM to lkdjm Send a message via Yahoo to lkdjm
Re: Hybrid Challenge-No Robot Left Behind

As the senior programmer on Longwood's Digital Impact Team 564, I accept the challenge. Gracious professionalism is more important than competition.
One of our main goals at competition this year will be to help teams with their code, as so many helped me when I was learning.
__________________
Longwood's Digital Impact

Reply With Quote
  #7   Spotlight this post!  
Unread 16-01-2008, 23:23
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: Hybrid Challenge-No Robot Left Behind

A goal of mine this year is to gradually make myself redundant, since I am graduating. So, hopefully I will succeed at that and thus have some time at the competitions to go out and help others with their programming. Actually, assuming they all make it to competition and all learn C (some are just starting), we should have six programmers available to help other teams on their hybrid modes.

If anyone is at the VCU regional (or the championship, but since we don't know divisions yet, it is kind of hard to make that offer) and lacks a hybrid mode (or is having any other robot-related issues) come on by the team 587 pit and ask for "Luke." If nobody in the pit is wearing a blue shirt embroidered with the FIRST logo (ie judges) I'll happily come by and help out. A word of warning: I don't know how to use EasyC and neither do most of our other coders, so if your robot code is in EasyC, we probably won't be very helpful.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain
Reply With Quote
  #8   Spotlight this post!  
Unread 28-01-2008, 00:31
TheNotoriousKid's Avatar
TheNotoriousKid TheNotoriousKid is offline
Registered User
AKA: Shane O
FRC #0025 (Raider Robotix)
Team Role: Mechanical
 
Join Date: Jan 2005
Rookie Year: 2004
Location: North Brunswick
Posts: 55
TheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really niceTheNotoriousKid is just really nice
Send a message via AIM to TheNotoriousKid
Re: Hybrid Challenge-No Robot Left Behind

Well, if it hasn't already been shown evident..."Team 25 Graciously Accepts"...the challenge.
Reply With Quote
  #9   Spotlight this post!  
Unread 28-01-2008, 00:46
Jim E Jim E is offline
Registered User
FRC #1523 (M.A.R.S.)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Lantana, FL
Posts: 188
Jim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond reputeJim E has a reputation beyond repute
Talking Re: Hybrid Challenge-No Robot Left Behind

M.A.R.S. Team 1523 Graciously accepts.

I guess will have to nudge our programmer to write some generic short autonomous code to get them across the Finish line if they cannot do it themselves.
__________________
Team MARS = 1.523 AU from the SUN!

Jim E.
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2008, 21:40
ShotgunNinja's Avatar
ShotgunNinja ShotgunNinja is offline
Programming Mentor, FRC 4247
AKA: Nicholas Iannone
FRC #4247 (CougarBOTS)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Kenosha, WI
Posts: 158
ShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the roughShotgunNinja is a jewel in the rough
Re: Hybrid Challenge-No Robot Left Behind

Well, my team has shown that they wanted to go with the IR sensor controller, maybe using a TV/VCR remote. But I am in charge of the programming, and I was wondering...

Would something like this (Using ROBOTC) be usable?
Code:
task Autonomous()  { // Note: Just pseudocode, but whatever
while (bIfiAutonomousMode) /* Just in case... */
{
   switch(GetIRInputState()) /* Get the state of the IR sensor, in a different subroutine */
   {
      case Button1:
         Action1; // Something like "Move forward, stop"...
      case Button2:
         Action2; // Maybe "Turn Left"
      case Button3:
         Action3; // Maybe "Turn Right"
      case Button4:
         Action4; /* Something along the lines of: "Grab ball off overpass, however possible" */
      default:
         TakeNoAction; // Just "Stop Motors" or something
   }
   BetweenActions; // Something like "Stop Motors, Wait XX MS"
}
EndingAction; /* Play a sound or something. Reset motors for Human Control. Etc. */
}
Any comments?
__________________
Team #2970 Alum
Team #1652 Alum
2006: School Mascot for Team 1652
2007-2008: Programmer for Team 1652 (Robot Mafia)
2009: Programmer on Team 1652 (Robot Mafia), Programmer on Team 2970 (eSchool eBots)
2010-2016: Volunteer, Wisconsin Regional
2017: Programming Mentor, FRC 4247 (CougarBOTS, Obama SCTE, Milwaukee, WI)
Reply With Quote
  #11   Spotlight this post!  
Unread 01-02-2008, 11:10
timville's Avatar
timville timville is offline
Registered User
AKA: Timothy Friez
FRC #1185 (X-Bots)
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2003
Location: Pittsburgh
Posts: 18
timville is an unknown quantity at this point
Send a message via AIM to timville
Re: Hybrid Challenge-No Robot Left Behind

The problem with the code above is that the IR sensor does not remain as a "1" state when you hold the button. I believe the IR sensor will pulse the circut open and close every 100ms.

See my reply to your other thread with sample code on how to use the IR sensor with ROBOTC. http://www.chiefdelphi.com/forums/sh...ad.php?t=63004
__________________
2003 - Rookie All-Stars Awards - #1185 (Pittsburgh)
2004-2008 FIRST Volunteer - Ref/Head Ref (Pittsburgh)
2002-2007 FIRST Lego League Volunteer - Head Ref (Pittsburgh)
Reply With Quote
  #12   Spotlight this post!  
Unread 01-02-2008, 11:14
GGCO's Avatar
GGCO GGCO is offline
Registered User
AKA: Grant
FRC #3357
Team Role: Alumni
 
Join Date: Jan 2008
Rookie Year: 2004
Location: Michigan
Posts: 406
GGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to beholdGGCO is a splendid one to behold
Send a message via AIM to GGCO
Re: Hybrid Challenge-No Robot Left Behind

Hmm. The 5 second delay wastes a lot of time. My team wants to get the ball down, along with going around the track at least half-way.
Reply With Quote
  #13   Spotlight this post!  
Unread 01-02-2008, 11:35
Tottanka's Avatar
Tottanka Tottanka is offline
It isnt about bots,its about humans
AKA: Liron Gurvitz
FRC #3211 (The Y Team)
Team Role: Mentor
 
Join Date: Dec 2006
Rookie Year: 2006
Location: Hadera, Israel
Posts: 1,415
Tottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond reputeTottanka has a reputation beyond repute
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by timville View Post
The problem with the code above is that the IR sensor does not remain as a "1" state when you hold the button. I believe the IR sensor will pulse the circut open and close every 100ms.

See my reply to your other thread with sample code on how to use the IR sensor with ROBOTC. http://www.chiefdelphi.com/forums/sh...ad.php?t=63004
yes.
what you need to do looks more like this:
Code:
If (RC_dig_in04)
     c=0;
If (RC_dig_in01)
     c=1;
If (RC_dig_in02)
     c=2;
If (RC_dig_in03)
     c=3;
if (c==1)
   pwm01=254;
if (c==2)
   Pwm02=0;
if (c==3)
   Pwm05=160;
__________________
My FRC record: 10 Years,FTA (2008-9), 3 Teams(1947,2669,3211).3 RCA, 1 Championship EI(2016), 1 Divisional finalist (2016), 1 Regional winner.
Israeli 2016 Volunteer of the year.
Reply With Quote
  #14   Spotlight this post!  
Unread 25-03-2008, 16:07
bcieslak
 
Posts: n/a
Re: Hybrid Challenge-No Robot Left Behind

Quote:
Originally Posted by ShotgunNinja View Post
Well, my team has shown that they wanted to go with the IR sensor controller, maybe using a TV/VCR remote. But I am in charge of the programming, and I was wondering...

Would something like this (Using ROBOTC) be usable?
Code:
task Autonomous()  { // Note: Just pseudocode, but whatever
while (bIfiAutonomousMode) /* Just in case... */
{
   switch(GetIRInputState()) /* Get the state of the IR sensor, in a different subroutine */
   {
      case Button1:
         Action1; // Something like "Move forward, stop"...
      case Button2:
         Action2; // Maybe "Turn Left"
      case Button3:
         Action3; // Maybe "Turn Right"
      case Button4:
         Action4; /* Something along the lines of: "Grab ball off overpass, however possible" */
      default:
         TakeNoAction; // Just "Stop Motors" or something
   }
   BetweenActions; // Something like "Stop Motors, Wait XX MS"
}
EndingAction; /* Play a sound or something. Reset motors for Human Control. Etc. */
}
Any comments?
You should look into using pointers to functions...it makes what your trying to do real simple...When you press a button, change the pointer to a function to the new behavior function..In your autonomous_routine just call the pointer as if it were the function. I

first decalre a couple of simple functions like: (fill in the code)
void drive_fwd(void);
void drive_bwd(void);
void turn_left(void);
void turn_right(void);

then declare a function pointer:
void (*auto_function)(void); the splat in the parens make a function pointer.
Note the format of the prototype and the fucntion pointer is the same, for the pointer replace the function name with the (*pointer_name)

Now use your code to read the IR board
but the action would assign a fucntion to the pointer.
switch(GetIRInputState()) /* Get the state of the IR sensor, in a different subroutine */
{
case Button1:
auto_function = drive_fwd;; // Something like "Move forward, stop"...
case Button2:
auto_function = drive_bwd;; // Maybe "backwards"
case Button3:
auto_function = turn_left; // Maybe "Turn left"
case Button4:
auto_fucntion = turn_right; /* Something along the lines of: "Grab ball off overpass, however possible" */
default:
TakeNoAction; // Just "Stop Motors" or something
}

then by calling auto_function just as if it were a function it will perform the function you assigned to it.

auto_function(); // do what it assigned to the pointer. call this in the autonomous loop.

The function pointer will stay the same until you change it with the IR board.


BC
Reply With Quote
  #15   Spotlight this post!  
Unread 10-02-2008, 09:24
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Hybrid Challenge-No Robot Left Behind

if anyone is at the Waterloo and Greater Toronto Regional, come ask for me at the 1565 pit. i have code available that can help ANY team have a near-perfect autonomous. and no, i'm not bluffing

any questions please PM me and/or i'll see you in the pits!!!
__________________


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Left behind??? A scary story... meaubry Championship Event 4 04-04-2007 21:32
Left or right handed robot? DjAlamose General Forum 13 06-02-2006 15:51
Robot veers left when driving backwards! xxmaddjxx Technical Discussion 3 19-02-2005 04:57
Pa robot challenge Dave_222 Off-Season Events 77 16-01-2004 22:18
PA Robot Challenge VI cbudrecki Off-Season Events 1 29-03-2003 22:19


All times are GMT -5. The time now is 07:39.

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