Skip to content

Commit eb098ea

Browse files
author
Yuxiang Gao
committed
first commit
0 parents  commit eb098ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+14708
-0
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.pyc
2+
/.vscode
3+
*.swp

ropi_msgs/CMakeLists.txt

+202
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(ropi_msgs)
3+
4+
## Compile as C++11, supported in ROS Kinetic and newer
5+
# add_compile_options(-std=c++11)
6+
7+
## Find catkin macros and libraries
8+
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
9+
## is used, also find other catkin packages
10+
find_package(catkin REQUIRED COMPONENTS
11+
catkin_simple
12+
geometry_msgs
13+
navigation_msgs
14+
roscpp
15+
rospy
16+
sensor_msgs
17+
)
18+
19+
## System dependencies are found with CMake's conventions
20+
# find_package(Boost REQUIRED COMPONENTS system)
21+
22+
23+
## Uncomment this if the package has a setup.py. This macro ensures
24+
## modules and global scripts declared therein get installed
25+
## See http://ros.org/doc/api/catkin/html/user_guide/setup_dot_py.html
26+
# catkin_python_setup()
27+
28+
################################################
29+
## Declare ROS messages, services and actions ##
30+
################################################
31+
32+
## To declare and build messages, services or actions from within this
33+
## package, follow these steps:
34+
## * Let MSG_DEP_SET be the set of packages whose message types you use in
35+
## your messages/services/actions (e.g. std_msgs, actionlib_msgs, ...).
36+
## * In the file package.xml:
37+
## * add a build_depend tag for "message_generation"
38+
## * add a build_depend and a exec_depend tag for each package in MSG_DEP_SET
39+
## * If MSG_DEP_SET isn't empty the following dependency has been pulled in
40+
## but can be declared for certainty nonetheless:
41+
## * add a exec_depend tag for "message_runtime"
42+
## * In this file (CMakeLists.txt):
43+
## * add "message_generation" and every package in MSG_DEP_SET to
44+
## find_package(catkin REQUIRED COMPONENTS ...)
45+
## * add "message_runtime" and every package in MSG_DEP_SET to
46+
## catkin_package(CATKIN_DEPENDS ...)
47+
## * uncomment the add_*_files sections below as needed
48+
## and list every .msg/.srv/.action file to be processed
49+
## * uncomment the generate_messages entry below
50+
## * add every package in MSG_DEP_SET to generate_messages(DEPENDENCIES ...)
51+
52+
## Generate messages in the 'msg' folder
53+
# add_message_files(
54+
# FILES
55+
# Message1.msg
56+
# Message2.msg
57+
# )
58+
59+
## Generate services in the 'srv' folder
60+
# add_service_files(
61+
# FILES
62+
# Service1.srv
63+
# Service2.srv
64+
# )
65+
66+
## Generate actions in the 'action' folder
67+
# add_action_files(
68+
# FILES
69+
# Action1.action
70+
# Action2.action
71+
# )
72+
73+
## Generate added messages and services with any dependencies listed here
74+
# generate_messages(
75+
# DEPENDENCIES
76+
# geometry_msgs# navigation_msgs# sensor_msgs
77+
# )
78+
79+
################################################
80+
## Declare ROS dynamic reconfigure parameters ##
81+
################################################
82+
83+
## To declare and build dynamic reconfigure parameters within this
84+
## package, follow these steps:
85+
## * In the file package.xml:
86+
## * add a build_depend and a exec_depend tag for "dynamic_reconfigure"
87+
## * In this file (CMakeLists.txt):
88+
## * add "dynamic_reconfigure" to
89+
## find_package(catkin REQUIRED COMPONENTS ...)
90+
## * uncomment the "generate_dynamic_reconfigure_options" section below
91+
## and list every .cfg file to be processed
92+
93+
## Generate dynamic reconfigure parameters in the 'cfg' folder
94+
# generate_dynamic_reconfigure_options(
95+
# cfg/DynReconf1.cfg
96+
# cfg/DynReconf2.cfg
97+
# )
98+
99+
###################################
100+
## catkin specific configuration ##
101+
###################################
102+
## The catkin_package macro generates cmake config files for your package
103+
## Declare things to be passed to dependent projects
104+
## INCLUDE_DIRS: uncomment this if your package contains header files
105+
## LIBRARIES: libraries you create in this project that dependent projects also need
106+
## CATKIN_DEPENDS: catkin_packages dependent projects also need
107+
## DEPENDS: system dependencies of this project that dependent projects also need
108+
catkin_package(
109+
# INCLUDE_DIRS include
110+
# LIBRARIES ropi_msgs
111+
# CATKIN_DEPENDS catkin_simple geometry_msgs navigation_msgs roscpp rospy sensor_msgs
112+
# DEPENDS system_lib
113+
)
114+
115+
###########
116+
## Build ##
117+
###########
118+
119+
## Specify additional locations of header files
120+
## Your package locations should be listed before other locations
121+
include_directories(
122+
# include
123+
${catkin_INCLUDE_DIRS}
124+
)
125+
126+
## Declare a C++ library
127+
# add_library(${PROJECT_NAME}
128+
# src/${PROJECT_NAME}/ropi_msgs.cpp
129+
# )
130+
131+
## Add cmake target dependencies of the library
132+
## as an example, code may need to be generated before libraries
133+
## either from message generation or dynamic reconfigure
134+
# add_dependencies(${PROJECT_NAME} ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
135+
136+
## Declare a C++ executable
137+
## With catkin_make all packages are built within a single CMake context
138+
## The recommended prefix ensures that target names across packages don't collide
139+
# add_executable(${PROJECT_NAME}_node src/ropi_msgs_node.cpp)
140+
141+
## Rename C++ executable without prefix
142+
## The above recommended prefix causes long target names, the following renames the
143+
## target back to the shorter version for ease of user use
144+
## e.g. "rosrun someones_pkg node" instead of "rosrun someones_pkg someones_pkg_node"
145+
# set_target_properties(${PROJECT_NAME}_node PROPERTIES OUTPUT_NAME node PREFIX "")
146+
147+
## Add cmake target dependencies of the executable
148+
## same as for the library above
149+
# add_dependencies(${PROJECT_NAME}_node ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
150+
151+
## Specify libraries to link a library or executable target against
152+
# target_link_libraries(${PROJECT_NAME}_node
153+
# ${catkin_LIBRARIES}
154+
# )
155+
156+
#############
157+
## Install ##
158+
#############
159+
160+
# all install targets should use catkin DESTINATION variables
161+
# See http://ros.org/doc/api/catkin/html/adv_user_guide/variables.html
162+
163+
## Mark executable scripts (Python etc.) for installation
164+
## in contrast to setup.py, you can choose the destination
165+
# install(PROGRAMS
166+
# scripts/my_python_script
167+
# DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
168+
# )
169+
170+
## Mark executables and/or libraries for installation
171+
# install(TARGETS ${PROJECT_NAME} ${PROJECT_NAME}_node
172+
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
173+
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
174+
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
175+
# )
176+
177+
## Mark cpp header files for installation
178+
# install(DIRECTORY include/${PROJECT_NAME}/
179+
# DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
180+
# FILES_MATCHING PATTERN "*.h"
181+
# PATTERN ".svn" EXCLUDE
182+
# )
183+
184+
## Mark other files for installation (e.g. launch and bag files, etc.)
185+
# install(FILES
186+
# # myfile1
187+
# # myfile2
188+
# DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
189+
# )
190+
191+
#############
192+
## Testing ##
193+
#############
194+
195+
## Add gtest based cpp test target and link libraries
196+
# catkin_add_gtest(${PROJECT_NAME}-test test/test_ropi_msgs.cpp)
197+
# if(TARGET ${PROJECT_NAME}-test)
198+
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
199+
# endif()
200+
201+
## Add folders to be run by python nosetests
202+
# catkin_add_nosetests(test)

ropi_msgs/msg/MultiTouch.msg

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Header header
2+
tabletop_proc/SingleTouch[] cursors

ropi_msgs/msg/SingleTouch.msg

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# State enum
2+
uint8 CURSOR_PRESSED=0
3+
uint8 CURSOR_DRAGGED=1
4+
uint8 CURSOR_RELEASED=2
5+
6+
uint8 id
7+
uint8 state
8+
geometry_msgs/Point cursor
9+
geometry_msgs/Point cursor_prev

ropi_msgs/package.xml

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<?xml version="1.0"?>
2+
<package format="2">
3+
<name>ropi_msgs</name>
4+
<version>0.0.0</version>
5+
<description>The ropi_msgs package</description>
6+
7+
<!-- One maintainer tag required, multiple allowed, one person per tag -->
8+
<!-- Example: -->
9+
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
10+
<maintainer email="[email protected]">intuitive_computing</maintainer>
11+
12+
13+
<!-- One license tag required, multiple allowed, one license per tag -->
14+
<!-- Commonly used license strings: -->
15+
<!-- BSD, MIT, Boost Software License, GPLv2, GPLv3, LGPLv2.1, LGPLv3 -->
16+
<license>TODO</license>
17+
18+
19+
<!-- Url tags are optional, but multiple are allowed, one per tag -->
20+
<!-- Optional attribute type can be: website, bugtracker, or repository -->
21+
<!-- Example: -->
22+
<!-- <url type="website">http://wiki.ros.org/ropi_msgs</url> -->
23+
24+
25+
<!-- Author tags are optional, multiple are allowed, one per tag -->
26+
<!-- Authors do not have to be maintainers, but could be -->
27+
<!-- Example: -->
28+
<!-- <author email="[email protected]">Jane Doe</author> -->
29+
30+
31+
<!-- The *depend tags are used to specify dependencies -->
32+
<!-- Dependencies can be catkin packages or system dependencies -->
33+
<!-- Examples: -->
34+
<!-- Use depend as a shortcut for packages that are both build and exec dependencies -->
35+
<!-- <depend>roscpp</depend> -->
36+
<!-- Note that this is equivalent to the following: -->
37+
<!-- <build_depend>roscpp</build_depend> -->
38+
<!-- <exec_depend>roscpp</exec_depend> -->
39+
<!-- Use build_depend for packages you need at compile time: -->
40+
<!-- <build_depend>message_generation</build_depend> -->
41+
<!-- Use build_export_depend for packages you need in order to build against this package: -->
42+
<!-- <build_export_depend>message_generation</build_export_depend> -->
43+
<!-- Use buildtool_depend for build tool packages: -->
44+
<!-- <buildtool_depend>catkin</buildtool_depend> -->
45+
<!-- Use exec_depend for packages you need at runtime: -->
46+
<!-- <exec_depend>message_runtime</exec_depend> -->
47+
<!-- Use test_depend for packages you need only for testing: -->
48+
<!-- <test_depend>gtest</test_depend> -->
49+
<!-- Use doc_depend for packages you need only for building documentation: -->
50+
<!-- <doc_depend>doxygen</doc_depend> -->
51+
<buildtool_depend>catkin</buildtool_depend>
52+
<build_depend>catkin_simple</build_depend>
53+
<build_depend>geometry_msgs</build_depend>
54+
<build_depend>roscpp</build_depend>
55+
<build_depend>rospy</build_depend>
56+
<build_depend>sensor_msgs</build_depend>
57+
<build_export_depend>catkin_simple</build_export_depend>
58+
<build_export_depend>geometry_msgs</build_export_depend>
59+
<build_export_depend>roscpp</build_export_depend>
60+
<build_export_depend>rospy</build_export_depend>
61+
<build_export_depend>sensor_msgs</build_export_depend>
62+
<exec_depend>catkin_simple</exec_depend>
63+
<exec_depend>geometry_msgs</exec_depend>
64+
<exec_depend>roscpp</exec_depend>
65+
<exec_depend>rospy</exec_depend>
66+
<exec_depend>sensor_msgs</exec_depend>
67+
68+
69+
<!-- The export tag contains other, unspecified, tags -->
70+
<export>
71+
<!-- Other tools can request additional information be placed here -->
72+
73+
</export>
74+
</package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Doxyfile 1.5.6
2+
# Project related configuration options
3+
DOXYFILE_ENCODING = UTF-8
4+
PROJECT_NAME = "TUIO C++ Developer API"
5+
# Build related configuration options
6+
EXTRACT_ALL = NO
7+
EXTRACT_PRIVATE = NO
8+
EXTRACT_STATIC = NO
9+
EXTRACT_LOCAL_CLASSES = YES
10+
# configuration options related to the HTML output
11+
GENERATE_HTML = YES
12+
HTML_OUTPUT = ../doc
13+
HTML_FILE_EXTENSION = .html
14+
GENERATE_TREEVIEW = YES
15+
GENERATE_LATEX = NO

0 commit comments

Comments
 (0)