Main source code, for the humanoid haptics.
More...
Go to the source code of this file.
|
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) |
|
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.
- 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 |
|
) |
| |
global variable needed for rapid data collection in the sevo loop thread
Definition at line 40 of file main.cpp.