Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   First Touch I/O Module (http://www.chiefdelphi.com/forums/showthread.php?t=88935)

Kohala2460 12-01-2011 18:17

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

rcmolloy 12-01-2011 18:19

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. :)

Greg McKaskle 13-01-2011 02:12

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


All times are GMT -5. The time now is 21:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi