Main Page   Data Structures   File List   Data Fields   Globals  

motion.h File Reference

#include <sys/conf.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/errno.h>
#include <sys/file.h>
#include <sys/time.h>
#include <sys/uio.h>
#include <sys/map.h>
#include <sys/debug.h>
#include <sys/modctl.h>
#include <sys/kmem.h>
#include <sys/cmn_err.h>
#include <sys/open.h>
#include <sys/stat.h>
#include <sys/ddi.h>
#include <sys/sunddi.h>
#include <fcntl.h>
#include <values.h>
#include <math.h>
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>

Go to the source code of this file.

Data Structures

struct  Motion
struct  Traject
struct  Translation

Typedefs

typedef int coord_t
typedef double velocity_t
typedef double mass_t
typedef Motionpmotion
typedef Translationptranslation
typedef Trajectptraject

Functions

int openstage (ptraject stage, const char *path)
int closestage (ptraject stage)
void disposestage (ptraject stage)
int movestage (ptraject stage, pmotion motn)
ptraject newxystage (void)
int start (int fd, ptranslation state, pthread_attr_t *ptattr)
int stop (ptranslation state)
int moveto (ptranslation state, pmotion goal)
int where (ptranslation state, pmotion here)
void showreg (int fd)


Typedef Documentation

typedef int coord_t
 

Definition at line 25 of file motion.h.

typedef double mass_t
 

Definition at line 27 of file motion.h.

typedef struct Motion* pmotion
 

Definition at line 35 of file motion.h.

typedef struct Traject* ptraject
 

Definition at line 64 of file motion.h.

typedef struct Translation* ptranslation
 

Definition at line 55 of file motion.h.

typedef double velocity_t
 

Definition at line 26 of file motion.h.


Function Documentation

int closestage ptraject    stage
 

Definition at line 84 of file motion.c.

Referenced by StageMotion_Close_Cmd.

void disposestage ptraject    stage
 

Definition at line 106 of file motion.c.

Referenced by StageMotion_Close_Cmd.

int movestage ptraject    stage,
pmotion    motn
 

Definition at line 113 of file motion.c.

Referenced by StageMotion_Move_Cmd.

int moveto ptranslation    state,
pmotion    goal
 

Definition at line 294 of file motion.c.

Referenced by movestage.

ptraject newxystage void   
 

Definition at line 159 of file motion.c.

int openstage ptraject    stage,
const char *    path
 

Definition at line 61 of file motion.c.

References Traject::axis.

Referenced by StageMotion_Open_Cmd.

void showreg int    fd
 

Definition at line 41 of file motion.c.

References Translation::offtrack.

int start int    fd,
ptranslation    state,
pthread_attr_t *    ptattr
 

Definition at line 441 of file motion.c.

Referenced by openstage.

int stop ptranslation    state
 

Definition at line 475 of file motion.c.

Referenced by closestage.

int where ptranslation    state,
pmotion    here
 

Definition at line 335 of file motion.c.

Referenced by findstage.


Generated on Wed Apr 9 08:56:19 2003 for TREES by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002