diff --git a/CMakeLists.txt b/CMakeLists.txt index 181413c8250fe960a2fa9d73770e7561ef05e19a..b381e950f193bda031de557fbf600a5a782561ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,32 +1,29 @@ cmake_minimum_required(VERSION 2.8.3) -project(webots_run) +project(coppeliasim_run) -set(EXECUTABLE_NAME "start_webots") +set(EXECUTABLE_NAME "start_coppeliasim") ## Find catkin macros and libraries ## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz) ## is used, also find other catkin packages find_package(catkin REQUIRED COMPONENTS roscpp - std_msgs ) ## Catkin package catkin_package( INCLUDE_DIRS src LIBRARIES ${PROJECT_NAME} - CATKIN_DEPENDS roscpp std_msgs + CATKIN_DEPENDS roscpp ) -include_directories(include +include_directories(include ${catkin_INCLUDE_DIRS} src ) ## Declare a C++ executable -add_executable("${EXECUTABLE_NAME}" src/start_webots.cpp) +add_executable("${EXECUTABLE_NAME}" src/start_coppeliasim.cpp) ## Specify libraries to link a library or executable target against -target_link_libraries("${EXECUTABLE_NAME}" - ${catkin_LIBRARIES} -) +target_link_libraries("${EXECUTABLE_NAME}" ${catkin_LIBRARIES} ) diff --git a/package.xml b/package.xml index 53bff02e2dc47aceb523c665f2e2aa485d09a036..c8d65612a4cfd349747a4b18fa314fe97a493f76 100644 --- a/package.xml +++ b/package.xml @@ -1,11 +1,9 @@ <?xml version="2.0"?> <package> - <name>webots_run</name> + <name>coppeliasim_run</name> <version>0.0.0</version> <description> - Starts the <a href="http://www.cyberbotics.com">Webots</a> Simulator using a system() call, so Webots can be run directly from a roslaunch file. - The Webots world file is specified as an argument in the launch file. - + Starts coppeliasim Simulator using a system() call, so coppeliasim can be run directly from a roslaunch file. Based on webots_run from kaist_webots package. </description> @@ -18,13 +16,7 @@ <!-- Dependencies --> <buildtool_depend>catkin</buildtool_depend> <build_depend>roscpp</build_depend> - <build_depend>std_msgs</build_depend> <run_depend>roscpp</run_depend> - <run_depend>std_msgs</run_depend> - <!-- The export tag contains other, unspecified, tags --> - <export> - <!-- Other tools can request additional information be placed here --> - </export> </package> diff --git a/src/start_webots.cpp b/src/start_coppeliasim.cpp similarity index 100% rename from src/start_webots.cpp rename to src/start_coppeliasim.cpp