View unanswered posts | View active topics It is currently Mon Sep 15, 2014 11:53 pm

Reply to topic  [ 2 posts ] 
Motor and Sensor Setup 
Author Message

Joined: Tue Oct 15, 2013 9:44 pm
Posts: 8
Post Motor and Sensor Setup
Our team uses MANY different autonomous programs and teleop programs. And every time we add something (i.e. a servo) we have to open every single program, change the motor and sensor setup, then re-compile and download every program. Is there a way to create our own, separate program (a header file?), where we have our motor and sensor setup? Then each program would reference (#include?) that file.

Does anyone know if this, or some variation of this, would be possible? We are not very familiar with header files, so more information about those would be great too!

Mon Feb 10, 2014 1:57 pm
User avatar

Joined: Sat Aug 31, 2013 9:15 am
Posts: 104
Post Re: Motor and Sensor Setup
Unfortunately, the answer right now is no. The best thing I can suggest is to copy your #pragmas into a text file, then copy-and-paste them from there into every code file. :?

Burning Lights Programming
FTC Team 6100 Chariots of Fire - Programmer (2012-2013)
FTC Team 7468 Blue Chariots of Fire - Programmer (2013-2014)
Check out our team website at

Tue Feb 11, 2014 10:40 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.