1
0
mirror of https://gitlab.com/obbart/universal_robots_ros_driver.git synced 2026-04-09 17:40:47 +02:00

added custom service to set speed slider value

This commit is contained in:
Tristan Schnell
2019-08-01 13:38:44 +02:00
parent c6a5df9fdc
commit 402f3fb691
3 changed files with 15 additions and 1 deletions

View File

@@ -25,9 +25,18 @@ find_package(catkin REQUIRED
trajectory_msgs
ur_controllers
ur_msgs
message_generation
)
find_package(Boost REQUIRED)
## Generate services in the 'srv' folder
add_service_files(
FILES
SetSpeedSlider.srv
)
generate_messages()
catkin_package(
INCLUDE_DIRS
include
@@ -49,11 +58,11 @@ catkin_package(
ur_controllers
ur_msgs
std_srvs
message_runtime
DEPENDS
Boost
)
# check c++11 / c++0x
include(CheckCXXCompilerFlag)
check_cxx_compiler_flag("-std=c++11" COMPILER_SUPPORTS_CXX11)

View File

@@ -19,6 +19,7 @@
<buildtool_depend>catkin</buildtool_depend>
<build_depend>boost</build_depend>
<build_depend>message_generation</build_depend>
<depend>actionlib</depend>
<depend>control_msgs</depend>
@@ -43,6 +44,7 @@
<exec_depend>socat</exec_depend>
<exec_depend>ur_description</exec_depend>
<exec_depend>velocity_controllers</exec_depend>
<exec_depend>message_runtime</exec_depend>
<export>
<rosdoc config="rosdoc.yaml" />

View File

@@ -0,0 +1,3 @@
float64 data
---
bool success