Functions | Variables
main.cpp File Reference

Main source code, for the humanoid haptics. More...

#include <phua_haptic/main.h>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Main program function. More...
 
void ROS_CalculatePHANToMPenFrame (tf::TransformBroadcaster *broadcaster, tf::TransformListener *listener, void *pUserData)
 Function to output ROS messages with PHANToM frames and calculate the pen tip position. More...
 
void ROS_UpdateMarkers (vector< visualization_msgs::Marker > &marker_vector, void *pUserData)
 

Variables

DeviceData RawDeviceData
 global variable needed for rapid data collection in the sevo loop thread More...
 

Detailed Description

Main source code, for the humanoid haptics.

Definition in file main.cpp.

Function Documentation

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

Main program function.

This function starts execution of the application. In here the threads are defined and structures are initialized. Program call arguments are also checked.

Parameters
argccounter of call arguments.
argvarray with call arguments.
Returns
0 at normal execution, -1 at error.

Definition at line 55 of file main.cpp.

void ROS_CalculatePHANToMPenFrame ( tf::TransformBroadcaster *  br,
tf::TransformListener *  listener,
void *  pUserData 
)

Function to output ROS messages with PHANToM frames and calculate the pen tip position.

Parameters
[in]brthe ROS transform broadcaster.
[in]listenerthe ROS transform listener.
[in]pUserDatapointer to shared structure.
Returns
none.

Definition at line 719 of file main.cpp.

void ROS_UpdateMarkers ( vector< visualization_msgs::Marker > &  marker_vector,
void *  pUserData 
)

Definition at line 798 of file main.cpp.

Variable Documentation

DeviceData RawDeviceData

global variable needed for rapid data collection in the sevo loop thread

Definition at line 40 of file main.cpp.



phua_haptic
Author(s): Pedro Cruz
autogenerated on Mon Mar 2 2015 01:32:36