I still have my giant configuration file from the good ol' days. It sets up the RC channels and such but I have a large amount of variables for my camera tracking in the ArdupilotMega.pde. A few longs, a couple of floats and a structure is all it is but can I place all the camera specific variables and defines into a single .h?
Would an <include Cam_stuff.h> with everything just shoved in work?
Example of all things:
struct Location GPS_mark;
float cur_pitch;
long cam_yaw;
#define TILT_REV 1
#define PAN_RANGE 18000
Replies