Main source code, for the humanoid haptics. More...
#include <main.h>
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 | |
Main source code, for the humanoid haptics.
Definition in file main.cpp.
| 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.
| argc | counter of call arguments. | |
| argv | array with call arguments. |
| void ROS_CalculatePHANToMPenFrame | ( | tf::TransformBroadcaster * | br, | |
| tf::TransformListener * | listener, | |||
| void * | pUserData | |||
| ) |
| void ROS_UpdateMarkers | ( | vector< visualization_msgs::Marker > & | marker_vector, | |
| void * | pUserData | |||
| ) |