Skip to content

Commit

Permalink
Initial changes for roslaunch check. Industrial robot simulator curre…
Browse files Browse the repository at this point in the history
…ntly fails due to roslaunch test issue
  • Loading branch information
shaun-edwards committed Jan 5, 2014
1 parent 2d193d3 commit 313ea84
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
11 changes: 11 additions & 0 deletions industrial_robot_client/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,23 @@ target_link_libraries(joint_trajectory_action
industrial_robot_client ${catkin_LIBRARIES})
add_dependencies(joint_trajectory_action industrial_robot_client_gencpp)

##########
## Test ##
##########
# Testing - Only performed on normal (non byte swapped library)
catkin_add_gtest(utest_robot_client test/utest.cpp)
target_link_libraries(utest_robot_client
industrial_robot_client
${catkin_LIBRARIES})

# ROS launch testing
## ROS launch test should be enabled when launch parameters are supported,
## see details below:
## robot_interface_streaming.launch: 'robot_ip'
## robot_state_visualize.launch]: 'urdf_path'
## robot_interface_download.launch]: 'robot_ip'
##find_package(roslaunch)
##roslaunch_add_file_check(launch)

#############
## Install ##
Expand Down
8 changes: 8 additions & 0 deletions industrial_robot_simulator/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ catkin_package(
CATKIN_DEPENDS roscpp std_msgs sensor_msgs control_msgs trajectory_msgs industrial_robot_client
)

##########
## Test ##
##########

# ROS launch testing
find_package(roslaunch)
roslaunch_add_file_check(launch)

#############
## Install ##
#############
Expand Down

0 comments on commit 313ea84

Please sign in to comment.