kmot_pantilt.c File Reference

Provide a basic test program to control a K-Team pantilt camera with a KoreMotor using the KoreBot library. More...

Include dependency graph for kmot_pantilt.c:

Go to the source code of this file.

Defines

#define MARGIN   20
#define TGT_MARGIN   100

Functions

void InitMotor (knet_dev_t *mot)
knet_dev_tPantiltOpen (int motor)
int main (int argc, char *argv[])


Detailed Description

Provide a basic test program to control a K-Team pantilt camera with a KoreMotor using the KoreBot library.

K-Team pan-tilt test program

Author:
Pierre Bureau (K-Team SA)
Note:
Copyright (C) 2004 K-TEAM SA

Definition in file kmot_pantilt.c.


Define Documentation

#define MARGIN   20

Definition at line 26 of file kmot_pantilt.c.

Referenced by main().

#define TGT_MARGIN   100

Definition at line 27 of file kmot_pantilt.c.

Referenced by main().


Function Documentation

void InitMotor ( knet_dev_t mot  ) 

int main ( int  argc,
char *  argv[] 
)

knet_dev_t* PantiltOpen ( int  motor  ) 

Definition at line 46 of file kmot_pantilt.c.

References KNET_BUS_ANY, and knet_open().

Referenced by main().

Here is the call graph for this function:


Generated on Wed Dec 15 11:49:29 2010 for KoreBot Library by  doxygen 1.5.5