pantilt_demo.c File Reference

Demo program to remote control 2 pantilt camera from a wireless ethernet link, using a koremotor to control 2 pantilt. More...

Include dependency graph for pantilt_demo.c:

Go to the source code of this file.

Defines

#define RCVBUFSIZE   32

Functions

void * koa_init_task (void *arg)
int koa_net_init (int argc, char *argv[])
int koa_net_camera (int argc, char *argv[])
int koa_net_camera2 (int argc, char *argv[])
int koa_net_bothcam (int argc, char *argv[])
int net_exit (int argc, char *argv[])
void InitMotor (knet_dev_t *mot)
int main (int argc, char *argv[])

Variables

knet_dev_tmotor0
knet_dev_tmotor1
knet_dev_tmotor2
knet_dev_tmotor3
int32_t minpos0
int32_t maxpos0
int32_t minpos1
int32_t maxpos1
int32_t minpos2
int32_t maxpos2
int32_t minpos3
int32_t maxpos3


Detailed Description

Demo program to remote control 2 pantilt camera from a wireless ethernet link, using a koremotor to control 2 pantilt.

pantilt demo program (server side)

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

Definition in file pantilt_demo.c.


Define Documentation

#define RCVBUFSIZE   32

Definition at line 26 of file pantilt_demo.c.


Function Documentation

void InitMotor ( knet_dev_t mot  ) 

void* koa_init_task ( void *  arg  ) 

Koala Camera init task

Definition at line 37 of file pantilt_demo.c.

References kmot_ResetError(), kmot_SearchLimits(), kmot_SetBlockedTime(), maxpos0, maxpos1, maxpos2, maxpos3, minpos0, minpos1, minpos2, and minpos3.

Here is the call graph for this function:

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

Definition at line 129 of file pantilt_demo.c.

References kmot_SetPoint(), kMotRegPos, minpos0, minpos1, minpos2, and minpos3.

Here is the call graph for this function:

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

Definition at line 72 of file pantilt_demo.c.

References kmot_SetPoint(), kMotRegPos, kMotRegPosProfile, minpos0, and minpos1.

Here is the call graph for this function:

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

Definition at line 103 of file pantilt_demo.c.

References kmot_SetPoint(), kMotRegPos, minpos2, and minpos3.

Here is the call graph for this function:

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

Koala Network command callbacks

Definition at line 61 of file pantilt_demo.c.

References KB_ERROR_PTHREAD, KB_FATAL, and koa_init_task().

Here is the call graph for this function:

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

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

Definition at line 155 of file pantilt_demo.c.


Variable Documentation

int32_t maxpos0

Definition at line 30 of file pantilt_demo.c.

int32_t maxpos1

Definition at line 30 of file pantilt_demo.c.

int32_t maxpos2

Definition at line 31 of file pantilt_demo.c.

int32_t maxpos3

Definition at line 31 of file pantilt_demo.c.

int32_t minpos0

Definition at line 30 of file pantilt_demo.c.

int32_t minpos1

Definition at line 30 of file pantilt_demo.c.

int32_t minpos2

Definition at line 31 of file pantilt_demo.c.

int32_t minpos3

Definition at line 31 of file pantilt_demo.c.

Definition at line 29 of file pantilt_demo.c.

Definition at line 29 of file pantilt_demo.c.

Definition at line 29 of file pantilt_demo.c.

Definition at line 29 of file pantilt_demo.c.


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