vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
arm.h File Reference
#include "classes.h"
#include "hci.h"

Go to the source code of this file.

Classes

struct  length_3D
 
struct  angle_3D
 
class  Arm
 

Macros

#define NUM_DOF   6
 
#define QUICK_3DOF_POINTS   4
 
#define STD_3DOF_POINTS   4
 
#define NUM_TABLE_POS   4
 
#define PARAM_BLOCK_SIZE   40
 
#define EXT_PARAM_BLOCK_SIZE   10
 
#define PI   3.1415926535898
 
#define RIGHT_PEDAL   1
 
#define LEFT_PEDAL   2
 
#define BOTH_PEDALS   3
 
#define BASE   0
 
#define SHOULDER   1
 
#define ELBOW   2
 
#define FOREARM   3
 
#define WRIST   4
 
#define STYLUS   5
 

Typedefs

typedef float length
 
typedef float angle
 
typedef float ratio
 
typedef float matrix_4 [4][4]
 
typedef char * length_units
 
typedef char * angle_units
 
typedef char * angle_format
 

Functions

arm_result simple_NO_HCI (arm_result condition)
 
arm_result simple_CANT_BEGIN (arm_result condition)
 
arm_result simple_CANT_OPEN_PORT (arm_result condition)
 
arm_result simple_TIMED_OUT (arm_result condition)
 
arm_result simple_BAD_PORT (arm_result condition)
 
arm_result simple_BAD_PACKET (arm_result condition)
 

Variables

char INCHES []
 
char MM []
 
char DEGREES []
 
char RADIANS []
 
char XYZ_FIXED []
 
char ZYX_FIXED []
 
char YXZ_FIXED []
 
char ZYX_EULER []
 
char XYZ_EULER []
 
char ZXY_EULER []
 

Macro Definition Documentation

#define BASE   0
#define BOTH_PEDALS   3
#define ELBOW   2
#define EXT_PARAM_BLOCK_SIZE   10
#define FOREARM   3
#define LEFT_PEDAL   2
#define NUM_DOF   6
#define NUM_TABLE_POS   4
#define PARAM_BLOCK_SIZE   40
#define PI   3.1415926535898
#define QUICK_3DOF_POINTS   4
#define RIGHT_PEDAL   1
#define SHOULDER   1
#define STD_3DOF_POINTS   4
#define STYLUS   5
#define WRIST   4

Typedef Documentation

typedef float angle
typedef char* angle_format
typedef char* angle_units
typedef float length
typedef char* length_units
typedef float matrix_4[4][4]
typedef float ratio

Function Documentation

arm_result simple_BAD_PACKET ( arm_result  condition)
arm_result simple_BAD_PORT ( arm_result  condition)
arm_result simple_CANT_BEGIN ( arm_result  condition)
arm_result simple_CANT_OPEN_PORT ( arm_result  condition)
arm_result simple_NO_HCI ( arm_result  condition)
arm_result simple_TIMED_OUT ( arm_result  condition)

Variable Documentation

char DEGREES[]
char INCHES[]
char MM[]
char RADIANS[]
char XYZ_EULER[]
char XYZ_FIXED[]
char YXZ_FIXED[]
char ZXY_EULER[]
char ZYX_EULER[]
char ZYX_FIXED[]