View Single Post
  #7   Spotlight this post!  
Unread 18-01-2011, 08:21
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: More line tracking videos

Are the LEDs toggling as expected when passing over the line? I found it useful to leave the robot disabled, and simply push it to pivot over the lines. Turn the trim knobs on the sensors if necessary using the LEDs to identify the value of the sensor.

The tutorial at http://decibel.ni.com/content/commun...#/?tagSet=1001 in the lower left will lead you through some things to think about.

The stop after four seconds is happening because the code interprets three sensors true differently before four seconds and after. After four seconds, it assumes the robot has reached the T and it halts. Before four seconds, it assumes it is the Y or a sharp angle and keeps going.

Also, if your robot has only driven two feet in four seconds, it sounds like the gearing is far different from the kitbot. You may need to adjust the forward speed, the Y value to make better progress.

Greg McKaskle
Reply With Quote