Reteives data and commands feedback to the Phantom Omni. More...
#include <phantom_control/omni.h>
#include <phantom_control/conio.h>
#include <sys/types.h>
#include <unistd.h>
#include <stdlib.h>
#include <haptic_force/Force.h>
#include <phantom_control/State.h>
Go to the source code of this file.
Functions | |
void | ee_convert (void) |
void | ForceCallBk (const haptic_force::Force &force) |
hduVector3Dd | g_home_pos (HOME_XX, HOME_YY, HOME_ZZ) |
void | HHD_Auto_Calibration (void) |
int | main (int argc, char **argv) |
HDCallbackCode HDCALLBACK | MonitorCallback (void *pUserData) |
void | SetHomePos (void) |
Variables | |
bool | g_new = 0 |
phantom_control::State | g_SS |
HDSchedulerHandle | gCallbackHandle = 0 |
OmniState | state |
Reteives data and commands feedback to the Phantom Omni.
Definition in file phantom_control.cpp.
void ee_convert | ( | void | ) |
Function to get/convert the HHD lib vars to ROS vars
void |
Definition at line 177 of file phantom_control.cpp.
void ForceCallBk | ( | const haptic_force::Force & | force | ) |
Definition at line 224 of file phantom_control.cpp.
hduVector3Dd g_home_pos | ( | HOME_XX | , | |
HOME_YY | , | |||
HOME_ZZ | ||||
) |
void HHD_Auto_Calibration | ( | void | ) |
Automatic Calibration of Phantom Device - No character inputs
void |
Definition at line 237 of file phantom_control.cpp.
int main | ( | int | argc, | |
char ** | argv | |||
) |
Main
Definition at line 64 of file phantom_control.cpp.
HDCallbackCode HDCALLBACK MonitorCallback | ( | void * | pUserData | ) |
Gets Phantom current state of device and sets the force feedback
pUserData | : var to access program data |
Definition at line 280 of file phantom_control.cpp.
void SetHomePos | ( | void | ) |
Function to send tip of device to HOME_POSITION
void |
Definition at line 343 of file phantom_control.cpp.
bool g_new = 0 |
Definition at line 46 of file phantom_control.cpp.
phantom_control::State g_SS |
Definition at line 47 of file phantom_control.cpp.
HDSchedulerHandle gCallbackHandle = 0 |
Definition at line 44 of file phantom_control.cpp.
Definition at line 45 of file phantom_control.cpp.