ardupilot/ArduCopter/UserVariables.h
Randy Mackay 5b00ce24ed Copter: minor user hooks cleanup
Only define and call functions if the appropriate #define in
APM_Config.h has been added
2013-05-17 12:19:07 +09:00

20 lines
467 B
C

/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
// user defined variables
// example variables used in Wii camera testing - replace with your own
// variables
#ifdef USERHOOK_VARIABLES
#if WII_CAMERA == 1
WiiCamera ircam;
int WiiRange=0;
int WiiRotation=0;
int WiiDisplacementX=0;
int WiiDisplacementY=0;
#endif // WII_CAMERA
#endif // USERHOOK_VARIABLES