Go to Post but you can rest assured: I have restored the balance by letting the GDC know that I know that they know that you know they have a pattern. -Leav - Leav [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 30-01-2011, 19:42
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
Line Tracking VI. drives in half a circle...?

it pretty much really reflects it self... how to fix this please i need help
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2011, 20: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...?

Can you post your code? I can't really help without seeing what you have.

Ethan
__________________
www.team3637.com FIRST team 3637's Website: The Daleks
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2011, 21:36
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,751
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 VI. drives in half a circle...?

The default code will drive in a half circle if it is placed on the wrong side of the line and then auto is run. In general, I believe it is best to have one of the sensors on the line, and even better, a known starting condition.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2011, 22:01
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 Greg McKaskle View Post
The default code will drive in a half circle if it is placed on the wrong side of the line and then auto is run. In general, I believe it is best to have one of the sensors on the line, and even better, a known starting condition.

Greg McKaskle
can you explain wrong side of line?
Reply With Quote
  #5   Spotlight this post!  
Unread 30-01-2011, 22:09
j.cole j.cole is offline
Registered User
FRC #0379
 
Join Date: Jan 2010
Location: Girard
Posts: 159
j.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud ofj.cole has much to be proud of
Re: Line Tracking VI. drives in half a circle...?

I'd say check your IR sensor placement and make sure that its not a hardware problem before you blame the code
__________________

It's not normally a good idea to give a programmer a drill but rules are made to be broken.
Reply With Quote
  #6   Spotlight this post!  
Unread 30-01-2011, 22:50
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 VI. drives in half a circle...?

Quote:
Originally Posted by Must Be Drama View Post
can you explain wrong side of line?
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.
Reply With Quote
  #7   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
  #8   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
  #9   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
  #10   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
  #11   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
  #12   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
  #13   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
  #14   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
  #15   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
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 10:05.

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