|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
First Touch I/O Module
We have an idea to use analog outputs from 3 different sources for the drivers station, however we do not know how to program the First Touch I/O Module. Some basic code, or where to get some would be very much appreciated.
-Team 2460 |
|
#2
|
|||||
|
|||||
|
Re: First Touch I/O Module
How To Configure Your I/O Module
Source Code - WPI That should get you started. I am not in the programming section of the robot but I believe that most of the info can be used from these. Check the pages on here as well. They should provide you with some answers. ![]() Last edited by rcmolloy : 12-01-2011 at 18:22. |
|
#3
|
|||
|
|||
|
Re: First Touch I/O Module
The most direct way to do this is to configure the I/O board as normal, then simply read the analogs you want on the robot. You don't mention a language, but all have access to the FT values via the DriverStation object or library.
On the robot, do the math to combine them into the appropriate control values e.g. speed= (x+y+z)/3, or whatever you need. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|