Go to Post Remember, never underestimate the determination of thousands of FIRST students! - Jay H 237 [more]
Home
Go Back   Chief Delphi > FIRST > Robot Showcase
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 29-01-2011, 12:43
Carter12s's Avatar
Carter12s Carter12s is offline
Team Cap
FRC #3374 (Robo-Broncs)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Jackson Hole
Posts: 92
Carter12s is just really niceCarter12s is just really niceCarter12s is just really niceCarter12s is just really nice
3374 Robot Custom Line Tracking and early teaser...

This is a cute little early season summary:
http://www.youtube.com/watch?v=-dAEv7o-Nhs

, and this is a pretty sweet little line tracking test:
http://www.youtube.com/watch?v=QGbMw..._order&list=UL
__________________
Programing is the real way to build a robot.
  #2   Spotlight this post!  
Unread 29-01-2011, 18:04
wazcodez's Avatar
wazcodez wazcodez is offline
Registered User
AKA: Megh Suthar
FRC #2076 (Blackscots)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2008
Location: Toronto
Posts: 19
wazcodez is infamous around these partswazcodez is infamous around these parts
Send a message via MSN to wazcodez
Re: 3374 Robot Custom Line Tracking and early teaser...

Hey ! Can I get the code for your custom line tracker since i have no idea how to program it ..

thanks
__________________
" When you copy from one source it's called plagiarism when u copy from multiple it's Research .. ! " - Megh Suthar
  #3   Spotlight this post!  
Unread 29-01-2011, 18:14
Cyberphil's Avatar
Cyberphil Cyberphil is offline
That Guy
AKA: Phil
FRC #0103 (Cybersonics)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Kintersville
Posts: 755
Cyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud ofCyberphil has much to be proud of
Send a message via AIM to Cyberphil
Re: 3374 Robot Custom Line Tracking and early teaser...

That line tracking is extremely interesting! I really enjoy how you use the strafing ability of the mecanum to adjust where it is on the line rather than rotating the bot and changing the orientation in respect to the field.

Everything is looking great! Keep up the hard work!
  #4   Spotlight this post!  
Unread 29-01-2011, 23:24
Carter12s's Avatar
Carter12s Carter12s is offline
Team Cap
FRC #3374 (Robo-Broncs)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Jackson Hole
Posts: 92
Carter12s is just really niceCarter12s is just really niceCarter12s is just really niceCarter12s is just really nice
Smile Re: 3374 Robot Custom Line Tracking and early teaser...

I don't have a copy of the code with me right now, but i will post one tomorrow. The general idea is that I took the three boolean inputs from the line sensors and built them into an array. I then convert the array into an integer which feeds into a case structure. The case structure picks what the appropriate horizontal movement should be for the each combination of the sensors. When i can take some screen shots of it I will put them up. Thanks for the interest!

Carter Schultz
__________________
Programing is the real way to build a robot.
  #5   Spotlight this post!  
Unread 29-01-2011, 23:41
wazcodez's Avatar
wazcodez wazcodez is offline
Registered User
AKA: Megh Suthar
FRC #2076 (Blackscots)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2008
Location: Toronto
Posts: 19
wazcodez is infamous around these partswazcodez is infamous around these parts
Send a message via MSN to wazcodez
Re: 3374 Robot Custom Line Tracking and early teaser...

Quote:
Originally Posted by Carter12s View Post
I don't have a copy of the code with me right now, but i will post one tomorrow. The general idea is that I took the three boolean inputs from the line sensors and built them into an array. I then convert the array into an integer which feeds into a case structure. The case structure picks what the appropriate horizontal movement should be for the each combination of the sensors. When i can take some screen shots of it I will put them up. Thanks for the interest!

Carter Schultz
Thanks Carter
__________________
" When you copy from one source it's called plagiarism when u copy from multiple it's Research .. ! " - Megh Suthar
  #6   Spotlight this post!  
Unread 30-01-2011, 00:40
BJT's Avatar
BJT BJT is offline
uh, should that be smoking?
AKA: Ben Thorsgard
FRC #0876 (Thunder Robotics)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Northwood ND
Posts: 250
BJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond reputeBJT has a reputation beyond repute
Re: 3374 Robot Custom Line Tracking and early teaser...

I assume that cim motor on the lift is just for testing, there are only 4 allowed on the robot this year.
__________________


2016 Central Illinois Winner. Curie Division finalist
  #7   Spotlight this post!  
Unread 30-01-2011, 09:16
IceStorm IceStorm is offline
Mentor FRC 5046, FTC 8688
AKA: Chad
FRC #5046 (Jacked Up Jackets)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Michigan
Posts: 136
IceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of lightIceStorm is a glorious beacon of light
Send a message via AIM to IceStorm Send a message via Yahoo to IceStorm
Re: 3374 Robot Custom Line Tracking and early teaser...

I would love to see the code as well if you don't mind sharing. This was exactly what i was thinking of doing(using strafe to follow the line) but are mechanum wheels have not arrived yet so are programmers are kinda dead in the water.
  #8   Spotlight this post!  
Unread 30-01-2011, 18:00
Carter12s's Avatar
Carter12s Carter12s is offline
Team Cap
FRC #3374 (Robo-Broncs)
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Jackson Hole
Posts: 92
Carter12s is just really niceCarter12s is just really niceCarter12s is just really niceCarter12s is just really nice
Smile Re: 3374 Robot Custom Line Tracking and early teaser...



Here is the code i have so far. The only thing that it is missing is instructions for when to stop moving forward and exit autonomous. The important thing to remember when working with this code is that a joystick produces a negative number when pushed forward. So the numbers are reversed from what seems intuitive. The timers at the top are really just to provide a reference for how fast this code can be run.
__________________
Programing is the real way to build a robot.
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


All times are GMT -5. The time now is 20:44.

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