changed from rosbridge_GUI_example to rosbridge_GUI_example

This commit is contained in:
Glen Turner
2015-06-18 18:53:54 -04:00
parent 4754c21cf0
commit a132a14d3e
6 changed files with 14 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 2.8.3)
project(rosbridge_GUI_example)
project(rosbridge_gui_example)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
@@ -82,7 +82,7 @@ find_package(catkin REQUIRED COMPONENTS
## DEPENDS: system dependencies of this project that dependent projects also need
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES rosbridge_GUI_example
# LIBRARIES rosbridge_gui_example
# CATKIN_DEPENDS roscpp rospy std_msgs
# DEPENDS system_lib
)
@@ -99,8 +99,8 @@ include_directories(
)
## Declare a cpp library
# add_library(rosbridge_GUI_example
# src/${PROJECT_NAME}/rosbridge_GUI_example.cpp
# add_library(rosbridge_gui_example
# src/${PROJECT_NAME}/rosbridge_gui_example.cpp
# )
## Declare a cpp executable
@@ -108,7 +108,7 @@ include_directories(
## Add cmake target dependencies of the executable/library
## as an example, message headers may need to be generated before nodes
# add_dependencies(rosbridge_GUI_example_node rosbridge_GUI_example_generate_messages_cpp)
# add_dependencies(rosbridge_gui_example_node rosbridge_gui_example_generate_messages_cpp)
## Specify libraries to link a library or executable target against
@@ -127,7 +127,7 @@ include_directories(
# )
## Mark executables and/or libraries for installation
# install(TARGETS rosbridge_GUI_example rosbridge_GUI_example_node
# install(TARGETS rosbridge_gui_example rosbridge_gui_example_node
# ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
# RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
@@ -152,7 +152,7 @@ include_directories(
#############
## Add gtest based cpp test target and link libraries
# catkin_add_gtest(${PROJECT_NAME}-test test/test_rosbridge_GUI_example.cpp)
# catkin_add_gtest(${PROJECT_NAME}-test test/test_rosbridge_gui_example.cpp)
# if(TARGET ${PROJECT_NAME}-test)
# target_link_libraries(${PROJECT_NAME}-test ${PROJECT_NAME})
# endif()

View File

@@ -1,5 +1,5 @@
<launch>
<include file="$(find rosbridge_server)/launch/rosbridge_websocket.launch" />
<include file="$(find rosbridge_GUI_example)/launch/bagger.launch" />
<include file="$(find rosbridge_GUI_example)/launch/talker.launch" />
<include file="$(find rosbridge_gui_example)/launch/bagger.launch" />
<include file="$(find rosbridge_gui_example)/launch/talker.launch" />
</launch>

View File

@@ -1,3 +1,3 @@
<launch>
<node name="bagger" pkg="rosbridge_GUI_example" type="bagger.py" />
<node name="bagger" pkg="rosbridge_gui_example" type="bagger.py" />
</launch>

View File

@@ -1,3 +1,3 @@
<launch>
<node name="talker" pkg="rosbridge_GUI_example" type="talker.py" />
<node name="talker" pkg="rosbridge_gui_example" type="talker.py" />
</launch>

View File

@@ -1,8 +1,8 @@
<?xml version="1.0"?>
<package>
<name>rosbridge_GUI_example</name>
<name>rosbridge_gui_example</name>
<version>0.0.0</version>
<description>The rosbridge_GUI_example package</description>
<description>The rosbridge_gui_example package</description>
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->

View File

@@ -14,7 +14,7 @@ class Bagger(object):
self.pub = rospy.Publisher("bag_notifier", String, queue_size=10)
self.proc = None
rospack = rospkg.RosPack()
self.data_path = os.path.join(rospack.get_path("rosbridge_GUI_example"), "data")
self.data_path = os.path.join(rospack.get_path("rosbridge_gui_example"), "data")
def callback(self, msg):
if msg.data == "STOP" and self.proc is not None: