|
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
|