Quote:
Originally Posted by keehun
May I ask, what are you using the matrices for? How is it being used?
|
Of course you may ask, that's why i posted it =). They are being used in our autonomous system. The system was developed by a teammate to take the autonomous time (the unbundled variable at the top of autonomous enabled) and compare it to the first column numbers. Each of those numbers is a point where we want the drive direction/speed to change. The second and third columns are, respectively, the X and Y values that we want to change to.
The time values are in seconds, between 0 and 15.
X and Y are values between -1 and 1 which simulates the joystick input to the Arcade drive VI
In order to switch between the 12 matrices, there are 6 switches on the driver station that are added as can be seen in Autonomous Disabled to derive which matrix is to be used. The matrices on the front panel are labeled for each position they will be used in. The programming team debated over what to do with an unwanted combination and decided that it would do exactly what we did at Buckeye: Go forward.
if you would like to know anything else or if i missed something, please don't hesitate to ask.