Quote:
Originally Posted by Tottanka
Code:
// Tracking_State values
#define STATE_SEARCHING 0
#define STATE_TARGET_IN_VIEW 1
#define STATE_PAN_ON_TARGET 2
#define STATE_TILT_ON_TARGET 4
.
|
As I said I'm a c noob. Are these variables predefined in the code, or should I define it in User_routines.c? Could I do something like:
if(STATE_TARGET_IN_VIEW == 1) {
// code...
}
thanks again