main.h
Go to the documentation of this file.
1 /**************************************************************************************************
2  Software License Agreement (BSD License)
3 
4  Copyright (c) 2011-2013, LAR toolkit developers - University of Aveiro - http://lars.mec.ua.pt
5  All rights reserved.
6 
7  Redistribution and use in source and binary forms, with or without modification, are permitted
8  provided that the following conditions are met:
9 
10  *Redistributions of source code must retain the above copyright notice, this list of
11  conditions and the following disclaimer.
12  *Redistributions in binary form must reproduce the above copyright notice, this list of
13  conditions and the following disclaimer in the documentation and/or other materials provided
14  with the distribution.
15  *Neither the name of the University of Aveiro nor the names of its contributors may be used to
16  endorse or promote products derived from this software without specific prior written permission.
17 
18  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
19  IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
20  FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
21  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22  DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
24  IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 ***************************************************************************************************/
34 #ifndef __MAIN_H_
35 #define __MAIN_H_
36 
37 /*~~~~~~~~~~~~~~~~~
38 || base includes ||
39 ~~~~~~~~~~~~~~~~~~*/
40 #include <iostream>
41 #include <pthread.h>
42 #include <string.h>
43 #include <ctime>
44 #include <math.h>
45 #include <stdio.h>
46 #include <vector>
47 
48 #include <ros/ros.h>
49 #include <visualization_msgs/Marker.h>
50 #include <visualization_msgs/MarkerArray.h>
51 #include <tf/transform_broadcaster.h>
52 #include <tf/transform_listener.h>
53 #include <tf/transform_datatypes.h>
54 
55 /*~~~~~~~~~~~~~~~~~
56 || my includes ||
57 ~~~~~~~~~~~~~~~~~~*/
58 
61 #include <phua_haptic/types.h>
64 
65 /*~~~~~~~~~~~~~~~~~
66 || OpenHaptics 3 ||
67 ~~~~~~~~~~~~~~~~~~*/
68 #include <HD/hd.h>
69 #include <HDU/hduVector.h>
70 #include <HDU/hduMatrix.h>
71 #include <HDU/hduError.h>
72 #include <HL/hl.h>
73 
81 void ROS_CalculatePHANToMPenFrame(tf::TransformBroadcaster *br, tf::TransformListener *listener, void *pUserData);
82 
89 void ROS_UpdateMarkers(std::vector<visualization_msgs::Marker>& marker_vector, void *pUserData);
90 
91 #endif
92 
types.h file for this module. Contains types and structures used by the application.
hd_hl_apis_callbacks.h file for this module. Contains includes, prototypes and global vars...
void ROS_UpdateMarkers(std::vector< visualization_msgs::Marker > &marker_vector, void *pUserData)
Function to output ROS marker vector with the demonstration's constructions.
gtk_interface.h file for this module. Contains includes, prototypes and defines.
miscellaneous.h file for this module. Contains prototypes, includes and defines.
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.
Definition: main.cpp:719
humanoid_control_functions.h file for this module. Contains includes and prototypes.


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