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
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
How To Configure Your I/O Module
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.
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