/home/laradmin/lar/bases/phua_haptic/src/main.cpp File Reference

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

#include <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.
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.
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

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:
argc counter of call arguments.
argv array 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] br the ROS transform broadcaster.
[in] listener the ROS transform listener.
[in] pUserData pointer 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

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

Definition at line 40 of file main.cpp.

 All Classes Files Functions Variables Defines


phua_haptic
Author(s): Pedro Cruz
autogenerated on Wed Jul 23 04:33:53 2014