Go to Post :D NASCAR is way harder than we thought. - SL8 [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 01-24-2011, 08:35 PM
jaster67 jaster67 is offline
Jose Sanchez
FTC #2978 (Cavaliers)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2007
Location: St. Louis
Posts: 12
jaster67 is an unknown quantity at this point
Line tracking

Can anyone direct me to some sample line tracking VI's for Labview? My team is trying it out this year and we don't know where to start.
__________________
I will give you a million dollars if you don't read this sig.
  #2   Spotlight this post!  
Unread 01-24-2011, 08:53 PM
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Line tracking

The Getting Started window for LabVIEW lets you choose the robot project that has game code. The game code is the autonomous code that includes line following code.

Greg McKaskle
  #3   Spotlight this post!  
Unread 01-24-2011, 10:00 PM
Cow Bell Solo's Avatar
Cow Bell Solo Cow Bell Solo is offline
No Stolte No
AKA: Chris
FRC #2194 (Fondy Fire)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Minnesota
Posts: 381
Cow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the roughCow Bell Solo is a jewel in the rough
Send a message via AIM to Cow Bell Solo Send a message via MSN to Cow Bell Solo Send a message via Yahoo to Cow Bell Solo
Re: Line tracking

I know its not quite what your looking for but from a concept perspective try and find a local FLL team. They do line tracking all the time and from working with them and seeing many teams they are always so excited to share and talk about what they did and everything. Also I this is where the GDC was trying to get FLL involved with the game. I know I've seen so many people mention about working with and FTC team but don't forget about the FLL teams as well and their knowledge.
__________________
Who let the Blue Smoke Out
Team 2194 Mentor - 2012-Present - http://fondyfire.com
Team 2207 Alumni - http://whitebearlakerobotics.com
Iowa FIRST LEGO League Planning Team Member - 2010-Present - http://www.isek.iastate.edu/fll
FIRST LEGO League volunteer - 2008-Present

2008: MN Regional Quarterfinalists, Website Excellence
2009: MN North Star Quarterfinalists, recognized for safety, Website Excellence
  #4   Spotlight this post!  
Unread 01-28-2011, 03:10 PM
bbsoccergamer's Avatar
bbsoccergamer bbsoccergamer is offline
Registered User
AKA: Lee Knepper
FRC #0703 (Phoenix)
Team Role: Coach
 
Join Date: Jan 2011
Rookie Year: 2001
Location: Saginaw, MI
Posts: 9
bbsoccergamer is an unknown quantity at this point
Send a message via AIM to bbsoccergamer
Re: Line tracking

The Inital autonomousVI with the Team code has line tracking code included. just need to make sure the drive motors and DIO for the sensors are referenced and hooked up properly.
  #5   Spotlight this post!  
Unread 01-30-2011, 09:36 PM
BOSS BOSS is offline
Registered User
FRC #2883
 
Join Date: Jan 2010
Location: MN
Posts: 40
BOSS is on a distinguished road
Re: Line tracking

I found this but we are having trouble setting it up can we just deploy this VI to the bot.
  #6   Spotlight this post!  
Unread 01-30-2011, 09:48 PM
ebarker's Avatar
ebarker ebarker is offline
Registered User
AKA: Ed Barker
FRC #1311 (Kell Robotics)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Kennesaw GA
Posts: 1,437
ebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond reputeebarker has a reputation beyond repute
Re: Line tracking

If you create a "default FRC project with game code" in Labview it has line tracking already included.

However, there is a bug in the program. You will need to edit the Begin vi and add the open functions and name the device reference IR1, IR2, and IR3.

And there is information here: http://decibel.ni.com/content/docs/DOC-14730
__________________
Ed Barker
  #7   Spotlight this post!  
Unread 02-09-2011, 09:07 PM
WireFreaks2156's Avatar
WireFreaks2156 WireFreaks2156 is offline
.Keep it simple.
AKA: Jessica Hageman
FRC #2156 (WireFreaks)
Team Role: Team Spirit / Cheering
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Sacramento, California
Posts: 30
WireFreaks2156 is a jewel in the roughWireFreaks2156 is a jewel in the roughWireFreaks2156 is a jewel in the rough
Re: Line tracking

How are the sensors wired to the CRIO?
  #8   Spotlight this post!  
Unread 02-09-2011, 09:43 PM
~Cory~'s Avatar
~Cory~ ~Cory~ is offline
Student
AKA: Cory Rypkema
FRC #0706
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Worcester MA
Posts: 216
~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold~Cory~ is a splendid one to behold
Re: Line tracking

Use the digital side car. Blue goes to ground, Brown is to power, and the other two can be switched whether you would like a normally high or a normally low return, for the signal.
__________________
corin.rypkema.org
WPI Class of '17
'12 Dean's List Finalist, Mentor of 706 - Cyberhawks
  #9   Spotlight this post!  
Unread 02-09-2011, 09:47 PM
Bot190's Avatar
Bot190 Bot190 is offline
Registered User
FRC #0166 (ChopShop)
Team Role: Programmer
 
Join Date: Sep 2009
Rookie Year: 2009
Location: Merrimack NH
Posts: 105
Bot190 will become famous soon enough
Re: Line tracking

Note that Blue and Brown need to be connected to the Power Distribution board. The line sensors take a minimum of 10.3 volts, and the Digital Side car only supplies 5.
__________________

  #10   Spotlight this post!  
Unread 02-10-2011, 12:08 AM
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Line tracking

Quote:
Originally Posted by Bot190 View Post
Note that Blue and Brown need to be connected to the Power Distribution board. The line sensors take a minimum of 10.3 volts, and the Digital Side car only supplies 5.
It's much easier to plug them into the solenoid breakout, so you don't have to soldier larger wires on them.

However, if you do that you have to run code to turn on all the solenoids, and that only works when the robot is enabled, so calibration is hard.
  #11   Spotlight this post!  
Unread 02-10-2011, 07:55 PM
WireFreaks2156's Avatar
WireFreaks2156 WireFreaks2156 is offline
.Keep it simple.
AKA: Jessica Hageman
FRC #2156 (WireFreaks)
Team Role: Team Spirit / Cheering
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Sacramento, California
Posts: 30
WireFreaks2156 is a jewel in the roughWireFreaks2156 is a jewel in the roughWireFreaks2156 is a jewel in the rough
Re: Line tracking

OK, so the blue and black will go to the power board, and the others go to the sidecar. I can't find the actual instructions anywhere. So I am thinking then we will connect the other two leads to the sidecar on 3 of the digital i/o connectors. We use labview, so we will define 3 little green VI's to represent the connectors. Is there anything else we need to know?
  #12   Spotlight this post!  
Unread 02-10-2011, 10:51 PM
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Line tracking

Quote:
Originally Posted by WireFreaks2156 View Post
OK, so the blue and black will go to the power board, and the others go to the sidecar. I can't find the actual instructions anywhere.
Brown goes to power (a red connector) on the power distribution. Blue goes to ground (a black one).

Quote:
So I am thinking then we will connect the other two leads to the sidecar on 3 of the digital i/o connectors.
You only need one of the black or white wires from each sensor. The LabVIEW line-tracking code expects white. Don't connect anything to the ground or power pins of the Digital I/O connectors.
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 02:56 AM.

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