View Single Post
  #2   Spotlight this post!  
Unread 22-01-2010, 14:22
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: CircleTrackerDemo: Servos and Gyros

There should soon be a white paper on the NI and FIRST web site that will document more of the background behind the sample code. To answer your direct questions, the sample code assumes that the motors are speed controllers for left and right sides of a skid steel robot. I can't tell you as much about the Java code, but the sample code should also be reading from a gyro and sending some of the camera results and gyro results back to the dashboard.

If you connect the gyro to analog channel one, module one, it should begin working.

Greg McKaskle