Haptic_v1 Class Reference

#include <haptic_v1.h>

Inheritance diagram for Haptic_v1:

Inheritance graph
[legend]
Collaboration diagram for Haptic_v1:

Collaboration graph
[legend]

List of all members.

Public Types

enum  haptic_link_mode_enum { link_position, link_force }

Public Member Functions

 Haptic_v1 (char *machine_name, int port_num=9999, bool forcegridmode=false)
virtual ~Haptic_v1 ()
void Update ()
void SetActive (bool status)
void SetGridMode (bool mode)
bool GetGridMode ()
void HapticLink (Sensor *sensor)

Public Attributes

Point3D force
Point3D grid [2]
float force_scalefactor
bool active_status
bool first_grab
bool grid_mode
enum
Haptic_v1::haptic_link_mode_enum 
haptic_link_mode
Sensorlinked_device
float twist_force
float grip_force

Static Public Attributes

static const char * rcsid = "@(#) $Id: haptic_v1.cpp,v 1.23 2006/05/24 16:52:39 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $"
static int debug = 0


Detailed Description

Definition at line 32 of file haptic_v1.h.


Member Enumeration Documentation

enum Haptic_v1::haptic_link_mode_enum

Enumerator:
link_position 
link_force 

Definition at line 67 of file haptic_v1.h.


Constructor & Destructor Documentation

Haptic_v1::Haptic_v1 ( char *  machine_name,
int  port_num = 9999,
bool  forcegridmode = false 
)

Definition at line 25 of file haptic_v1.cpp.

Haptic_v1::~Haptic_v1 (  )  [virtual]

Definition at line 103 of file haptic_v1.cpp.


Member Function Documentation

void Haptic_v1::Update (  )  [virtual]

Reimplemented from Sensor.

Definition at line 136 of file haptic_v1.cpp.

void Haptic_v1::SetActive ( bool  status  ) 

Definition at line 119 of file haptic_v1.cpp.

void Haptic_v1::SetGridMode ( bool  mode  ) 

Definition at line 124 of file haptic_v1.cpp.

bool Haptic_v1::GetGridMode (  ) 

Definition at line 131 of file haptic_v1.cpp.

void Haptic_v1::HapticLink ( Sensor sensor  ) 

Definition at line 472 of file haptic_v1.cpp.


Member Data Documentation

Point3D Haptic_v1::force

Definition at line 57 of file haptic_v1.h.

Point3D Haptic_v1::grid[2]

Definition at line 60 of file haptic_v1.h.

float Haptic_v1::force_scalefactor

Definition at line 61 of file haptic_v1.h.

bool Haptic_v1::active_status

Definition at line 62 of file haptic_v1.h.

bool Haptic_v1::first_grab

Definition at line 63 of file haptic_v1.h.

bool Haptic_v1::grid_mode

Definition at line 64 of file haptic_v1.h.

enum Haptic_v1::haptic_link_mode_enum Haptic_v1::haptic_link_mode

Sensor* Haptic_v1::linked_device

Definition at line 68 of file haptic_v1.h.

float Haptic_v1::twist_force

Definition at line 70 of file haptic_v1.h.

float Haptic_v1::grip_force

Definition at line 71 of file haptic_v1.h.

const char * Haptic_v1::rcsid = "@(#) $Id: haptic_v1.cpp,v 1.23 2006/05/24 16:52:39 sean Exp $ $Copyright: (c)2001 National Biocomputation Center, Stanford University $" [static]

Reimplemented from Sensor.

Definition at line 77 of file haptic_v1.h.

int Haptic_v1::debug = 0 [static]

Definition at line 78 of file haptic_v1.h.


The documentation for this class was generated from the following files:
Generated on Thu Aug 30 11:04:49 2007 for SPRING Mac by  doxygen 1.5.3