Go to Post Being professional means doing things right. Being gracious means doing the right thing. They complement each other perfectly. But I think we should remember to use GP as a guide for our own behavior, not as a yardstick to measure others' shortcomings. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-10-2006, 22:09
Insomniacsloth's Avatar
Insomniacsloth Insomniacsloth is offline
Team Captain/Manager
AKA: Zak Rogoff
FTC #3283 (Lord Wellington's Beef Trapeze)
Team Role: Engineer
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Washington, DC
Posts: 6
Insomniacsloth is an unknown quantity at this point
Send a message via AIM to Insomniacsloth
Tracking Lines In Hangin' Around

Can I use the line sensor kit to track the white lines on a grey background that are on the floor of the Hangin' Around field. If so, how much programming is necessary?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-10-2006, 22:15
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,508
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Tracking Lines In Hangin' Around

Quote:
Originally Posted by Insomniacsloth
Can I use the line sensor kit to track the white lines on a grey background that are on the floor of the Hangin' Around field. If so, how much programming is necessary?
Those sensors return a value of 0-255 depending on the reflection it is getting. With those sensors one end will be full reflection (that'll be the end the white tape is near) and the other will be no reflection (the end the grey will be close to there). From these values you can tell whether the sensor is over the white part, or the grey part. I can't tell you the specific values for these, you have to plug it in and test it.

From there you tell it to drive the motors the way you want based on where you are. (I won't spoil this part for you).

If you know C, this shouldn't be difficuly in MpLab.

If you don't, It would be best to use EasyC.
Reply With Quote
  #3   Spotlight this post!  
Unread 11-10-2006, 14:47
christinedevrie christinedevrie is offline
Registered User
FRC #1302
 
Join Date: Oct 2006
Location: Sparta
Posts: 1
christinedevrie is an unknown quantity at this point
Smile Re: Tracking Lines

What is the best way to teach my students to write a line tracking program? Are there any tutorials for them to use? Thanks, Chris de Vries
Reply With Quote
  #4   Spotlight this post!  
Unread 11-10-2006, 15:25
Billfred's Avatar
Billfred Billfred is offline
...and you can't! teach! that!
FRC #5402 (Iron Kings); no team (AndyMark)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: The Land of the Kokomese, IN
Posts: 8,547
Billfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond reputeBillfred has a reputation beyond repute
Re: Tracking Lines

Quote:
Originally Posted by christinedevrie
What is the best way to teach my students to write a line tracking program? Are there any tutorials for them to use? Thanks, Chris de Vries
As someone who's had a hand in programming a few line followers of the Mindstorms nature, the best advice I can offer here is to act like you're the robot. You've got three readings, one from each sensor in the line follower kit. What do you do if your left sensor is reading what is most likely a white line? (How long do you do that for?) The right sensor? What if none of the sensors are seeing the line?

Be the robot (no, not like that), and it should be pretty easy to figure out.

Naturally, I'm assuming that you know how to program your robot to move autonomously at all. If not, you'll want a lesson in EasyC or MPLAB first.
__________________
William "Billfred" Leverette - Gamecock/Jessica Boucher victim/Marketing & Sales Specialist at AndyMark

2004-2006: FRC 1293 (D5 Robotics) - Student, Mentor, Coach
2007-2009: FRC 1618 (Capital Robotics) - Mentor, Coach
2009-2013: FRC 2815 (Los Pollos Locos) - Mentor, Coach - Palmetto '09, Peachtree '11, Palmetto '11, Palmetto '12
2010: FRC 1398 (Keenan Robo-Raiders) - Mentor - Palmetto '10
2014-2016: FRC 4901 (Garnet Squadron) - Co-Founder and Head Bot Coach - Orlando '14, SCRIW '16
2017-: FRC 5402 (Iron Kings) - Mentor

94 events (more than will fit in a ChiefDelphi signature), 14 seasons, over 61,000 miles, and still on a mission from Bob.

Rule #1: Do not die. Rule #2: Be respectful. Rule #3: Be safe. Rule #4: Follow the handbook.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-10-2006, 15:25
ManicMechanic ManicMechanic is offline
Registered User
AKA: Yolande
VRC #0438 (Metal Gear)
Team Role: Mentor
 
Join Date: Dec 2005
Rookie Year: 2003
Location: CA
Posts: 213
ManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond reputeManicMechanic has a reputation beyond repute
Re: Tracking Lines In Hangin' Around

There's a simple line-tracking example program in this rookie's guide:

http://www.chiefdelphi.com/media/papers/1871

It uses one sensor, which is not the most efficient means of line-tracking, but it's a way to get started.
Reply With Quote
  #6   Spotlight this post!  
Unread 15-10-2006, 13:28
Insomniacsloth's Avatar
Insomniacsloth Insomniacsloth is offline
Team Captain/Manager
AKA: Zak Rogoff
FTC #3283 (Lord Wellington's Beef Trapeze)
Team Role: Engineer
 
Join Date: Oct 2006
Rookie Year: 2005
Location: Washington, DC
Posts: 6
Insomniacsloth is an unknown quantity at this point
Send a message via AIM to Insomniacsloth
Re: Tracking Lines In Hangin' Around

Quote:
Originally Posted by ManicMechanic
There's a simple line-tracking example program in this rookie's guide:

http://www.chiefdelphi.com/media/papers/1871

It uses one sensor, which is not the most efficient means of line-tracking, but it's a way to get started.
Thank you. I give to my programmers.
__________________
Nitmoogle built it better than me!
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
Hangin'-A-Round -- Official Game Discussion Chuck Glick FIRST Tech Challenge 61 18-10-2006 08:34
Hangin'-A-Round Animation Kevin Thorp FIRST Tech Challenge 21 18-09-2006 23:34
pic: 11 Hangin with 1319 CD47-Bot Extra Discussion 3 20-04-2004 18:08
pic: MAK Team 211 Hangin' CD47-Bot Robot Showcase 9 26-02-2004 20:38
pic: SPIKE's Hangin' Out CD47-Bot Robot Showcase 4 18-02-2004 23:03


All times are GMT -5. The time now is 23:34.

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