Go to Post Dave Lavery, Lou Rosanio and Karthik are all Woodie Flowers winners this year. So mentors it seems like if ya want the WFA it might be a good idea to put on a kilt :) - Kyle [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 31-01-2011, 18:28
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Alan Anderson View Post
If you have told the robot to track the left edge of a line but you've placed it so the sensors are to the right of the line, it will turn right looking for the line and not find it.
okay il say our set up... we have last years robot we attached the sensers to the front. our previous robot has mech wheels.. i watched the frcmastery video but it doesnt help us any thing else could i say so some one could help us?
Reply With Quote
  #2   Spotlight this post!  
Unread 31-01-2011, 18:30
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

well if you don't think its related to sensor trimming or hardware then I highly suggest rewriting your coding.
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #3   Spotlight this post!  
Unread 31-01-2011, 18:40
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
well if you don't think its related to sensor trimming or hardware then I highly suggest rewriting your coding.
but this is the default code... i dont understand why is it not attempting..
Reply With Quote
  #4   Spotlight this post!  
Unread 31-01-2011, 18:43
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Must Be Drama View Post
but this is the default code... i dont understand why is it not attempting..
Did you open up your sensors as IR1 IR2 and IR3? in begin.vi?
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2011, 18:46
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
Did you open up your sensors as IR1 IR2 and IR3? in begin.vi?
yes sir
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2011, 18:47
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Must Be Drama View Post
yes sir
Are the sensors plugged into the correct DIO ports? And correct order or LO and DO?
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2011, 18:51
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
Are the sensors plugged into the correct DIO ports? And correct order or LO and DO?
1=left 2=middle 3=right
all using the white wire..

the power from each goes into the power distribution board and i have 20 amp breakers on each
Reply With Quote
  #8   Spotlight this post!  
Unread 31-01-2011, 18:54
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Hmmm. Try writing code to see if you man say make a wheel speed up when you cover the sensor or it sees the line etc.

Also the sensor should change from green to and orange red light when its on the line. Does yours do that?
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #9   Spotlight this post!  
Unread 31-01-2011, 18:58
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
Hmmm. Try writing code to see if you man say make a wheel speed up when you cover the sensor or it sees the line etc.

Also the sensor should change from green to and orange red light when its on the line. Does yours do that?
il try the make a motor spin if reflected.

and yes it does change colors and it does show up in the drivers station under gpio state..
Reply With Quote
  #10   Spotlight this post!  
Unread 31-01-2011, 19:02
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Ok, let me know what happens there. IF it doesn't work, I would recheck the wiring. And calibration cause that would rule out the programming problem.
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #11   Spotlight this post!  
Unread 31-01-2011, 19:20
Must Be Drama Must Be Drama is offline
Registered User
no team
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Brooklyn
Posts: 62
Must Be Drama is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
Ok, let me know what happens there. IF it doesn't work, I would recheck the wiring. And calibration cause that would rule out the programming problem.
it works; whats the problem with the default code?
Reply With Quote
  #12   Spotlight this post!  
Unread 31-01-2011, 19:24
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Thats a good question . We just erased it and wrote our own code from scratch. I would suggest that since the default code isn't working.

Ethan
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #13   Spotlight this post!  
Unread 01-02-2011, 12:54
ShockWaveBlue's Avatar
ShockWaveBlue ShockWaveBlue is offline
Registered Nerd
AKA: Jason Rausch
FRC #1742 (Shockwave)
Team Role: Teacher
 
Join Date: Dec 2009
Rookie Year: 2006
Location: Norman, OK
Posts: 3
ShockWaveBlue is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

The default code wants you yo use the black wire, not the white. You can just invert the signal in the tele op code and I bet it works.
__________________
Design it, Build it, Break it, Fix it. Repeat Process.
Shock What ?!?
Reply With Quote
  #14   Spotlight this post!  
Unread 05-02-2011, 12:59
The Trooper The Trooper is offline
Registered User
FRC #2559 (nOrMaLiTy zErO)
Team Role: Coach
 
Join Date: Dec 2010
Rookie Year: 2008
Location: Harrisburg PA
Posts: 23
The Trooper is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

Quote:
Originally Posted by Ethan Spitz View Post
Hmmm. Try writing code to see if you man say make a wheel speed up when you cover the sensor or it sees the line etc.

Also the sensor should change from green to and orange red light when its on the line. Does yours do that?
Could you please provide a screen shot of your code as to how you would recommend programming the wheels to turn?
Reply With Quote
  #15   Spotlight this post!  
Unread 06-02-2011, 19:54
Ethan Spitz Ethan Spitz is offline
President
FRC #3637 (The Daleks)
Team Role: Leadership
 
Join Date: Feb 2009
Rookie Year: 2011
Location: New Jersey
Posts: 133
Ethan Spitz is an unknown quantity at this point
Re: Line Tracking VI. drives in half a circle...?

It has case statements heavily nested in it so it won't be to much help. Basically we said if both sensors are off the line go straight, if left sensor is on the line make the right wheel spin a little faster till its off. If right is on the line, make the left wheel spin a little faster.

The middle sensor stays on at all times and if all of them end off the line, it knows which sensor saw the line last and turns that way.

Ethan
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
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 21:13.

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