Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added center_of_gravity to SetPayload service #470

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions ur_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(ur_msgs)
## 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 message_generation std_msgs)
find_package(catkin REQUIRED COMPONENTS message_generation std_msgs geometry_msgs)


## Generate messages in the 'msg' folder
Expand Down Expand Up @@ -32,6 +32,7 @@ add_service_files(
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
)

###################################
Expand All @@ -40,7 +41,7 @@ generate_messages(
catkin_package(
# INCLUDE_DIRS include
# LIBRARIES ur_msgs
CATKIN_DEPENDS message_runtime std_msgs
CATKIN_DEPENDS message_runtime std_msgs geometry_msgs
# DEPENDS system_lib
)

Expand Down
1 change: 1 addition & 0 deletions ur_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<buildtool_depend>catkin</buildtool_depend>
<build_depend>message_generation</build_depend>
<depend>geometry_msgs</depend>
<depend>std_msgs</depend>
<exec_depend>message_runtime</exec_depend>

Expand Down
1 change: 1 addition & 0 deletions ur_msgs/srv/SetPayload.srv
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
float32 payload
geometry_msgs/Vector3 center_of_gravity
-----------------------
bool success