Skip to content

Commit

Permalink
Merge branch 'kinetic-devel' into point-streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
tdl-ua committed May 16, 2018
2 parents 23aef0a + 1a9cef4 commit 5b3326e
Show file tree
Hide file tree
Showing 19 changed files with 239 additions and 216 deletions.
23 changes: 14 additions & 9 deletions motoman/package.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<package>
<?xml version="1.0"?>
<package format="2">
<name>motoman</name>
<version>0.3.5</version>
<description>The motoman stack constains libraries, configuration files, and ROS nodes for controlling a Motoman robot from ROS-Industrial</description>
<maintainer email="[email protected]">Shaun Edwards</maintainer>
<license>BSD</license>
<url type="website">http://ros.org/wiki/motoman</url>
<url type="website">http://wiki.ros.org/motoman</url>
<author email="[email protected]">Shaun Edwards</author>

<buildtool_depend>catkin</buildtool_depend>

<run_depend>motoman_driver</run_depend>
<run_depend>motoman_mh5_support</run_depend>
<run_depend>motoman_sia10d_support</run_depend>
<run_depend>motoman_sia20d_moveit_config</run_depend>
<run_depend>motoman_sia20d_support</run_depend>
<run_depend>motoman_sia5d_support</run_depend>

<exec_depend>motoman_driver</exec_depend>
<exec_depend>motoman_mh5_support</exec_depend>
<exec_depend>motoman_msgs</exec_depend>
<exec_depend>motoman_sda10f_moveit_config</exec_depend>
<exec_depend>motoman_sda10f_support</exec_depend>
<exec_depend>motoman_sia10d_support</exec_depend>
<exec_depend>motoman_sia10f_support</exec_depend>
<exec_depend>motoman_sia20d_moveit_config</exec_depend>
<exec_depend>motoman_sia20d_support</exec_depend>
<exec_depend>motoman_sia5d_support</exec_depend>

<export>
<metapackage/>
Expand Down
87 changes: 50 additions & 37 deletions motoman_driver/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# http://ros.org/doc/groovy/api/catkin/html/user_guide/supposed.html
cmake_minimum_required(VERSION 2.8.3)
project(motoman_driver)

# Load catkin and all dependencies required for this package
find_package(
catkin REQUIRED
COMPONENTS
catkin
REQUIRED COMPONENTS
actionlib
actionlib_msgs
control_msgs
Expand All @@ -13,21 +13,24 @@ find_package(
industrial_utils
motoman_msgs
roscpp
roslint
sensor_msgs
simple_message
std_msgs
std_srvs
trajectory_msgs
urdf
)

find_package(Boost REQUIRED COMPONENTS system thread)

roslint_cpp()
#######################################
## Adding directories and definitions #
#######################################
include_directories(include MotoPlus inform ${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})
include_directories(
include
${Boost_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS})

add_definitions(-DLINUXSOCKETS=1) #use linux sockets for communication
add_definitions(-DROS=1)

Expand All @@ -47,46 +50,45 @@ catkin_package(
std_srvs
trajectory_msgs
urdf
DEPENDS
INCLUDE_DIRS
include
LIBRARIES
)


set(MSG_SRC_FILES
src/simple_message/motoman_motion_ctrl.cpp
src/simple_message/motoman_motion_ctrl_message.cpp
src/simple_message/motoman_motion_reply.cpp
src/simple_message/motoman_motion_reply_message.cpp
src/simple_message/messages/motoman_read_single_io_message.cpp
src/simple_message/messages/motoman_read_single_io_reply_message.cpp
src/simple_message/messages/motoman_write_single_io_message.cpp
src/simple_message/messages/motoman_write_single_io_reply_message.cpp
src/simple_message/motoman_motion_ctrl.cpp
src/simple_message/motoman_motion_ctrl_message.cpp
src/simple_message/motoman_motion_reply.cpp
src/simple_message/motoman_motion_reply_message.cpp
src/simple_message/motoman_read_single_io.cpp
src/simple_message/motoman_read_single_io_reply.cpp
src/simple_message/motoman_write_single_io.cpp
src/simple_message/motoman_write_single_io_reply.cpp
)

set(CLIENT_SRC_FILES
src/industrial_robot_client/joint_relay_handler.cpp
src/industrial_robot_client/joint_feedback_relay_handler.cpp
src/industrial_robot_client/joint_feedback_ex_relay_handler.cpp
src/industrial_robot_client/robot_state_interface.cpp
src/industrial_robot_client/joint_feedback_relay_handler.cpp
src/industrial_robot_client/joint_relay_handler.cpp
src/industrial_robot_client/joint_trajectory_interface.cpp
src/industrial_robot_client/joint_trajectory_streamer.cpp
src/industrial_robot_client/motoman_utils.cpp
src/industrial_robot_client/robot_state_interface.cpp
src/simple_message/joint_feedback_ex.cpp
src/simple_message/joint_traj_pt_full_ex.cpp
src/simple_message/messages/joint_feedback_ex_message.cpp
src/simple_message/messages/joint_traj_pt_full_ex_message.cpp)
src/simple_message/messages/joint_traj_pt_full_ex_message.cpp
)


###########
## Build ##
###########


#-------------------------------------------------------------
# dx100 uses same byte-ordering as most i386-based PCs

Expand Down Expand Up @@ -137,7 +139,7 @@ target_link_libraries(motoman_simple_message_bswap

# Industrial client library
add_library(motoman_industrial_robot_client_bswap ${CLIENT_SRC_FILES})
set_target_properties(motoman_industrial_robot_client PROPERTIES COMPILE_DEFINITIONS "BYTE_SWAPPING")
set_target_properties(motoman_industrial_robot_client_bswap PROPERTIES COMPILE_DEFINITIONS "BYTE_SWAPPING")
target_link_libraries(motoman_industrial_robot_client_bswap
industrial_robot_client_bswap
industrial_utils)
Expand Down Expand Up @@ -174,43 +176,54 @@ target_link_libraries(${PROJECT_NAME}_joint_trajectory_action
industrial_robot_client
motoman_industrial_robot_client
${catkin_LIBRARIES})
add_dependencies(${PROJECT_NAME}_joint_trajectory_action ${catkin_EXPORTED_TARGETS})


#############
## Install ##
#############

# binaries
install(TARGETS
motoman_robot_state
motoman_motion_streaming_interface
motoman_robot_state_bswap
motoman_motion_streaming_interface_bswap
${PROJECT_NAME}_joint_trajectory_action
${PROJECT_NAME}_joint_trajectory_action
motoman_motion_streaming_interface
motoman_motion_streaming_interface_bswap
motoman_robot_state
motoman_robot_state_bswap

DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)

# libraries
install(TARGETS
motoman_simple_message
motoman_industrial_robot_client
motoman_simple_message_bswap
motoman_industrial_robot_client_bswap
motoman_industrial_robot_client
motoman_industrial_robot_client_bswap
motoman_simple_message
motoman_simple_message_bswap

DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
)

# headers
install(DIRECTORY include/${PROJECT_NAME}/
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
)

# other files
foreach(dir Inform launch MotoPlus)
install(DIRECTORY ${dir}/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
endforeach(dir)
install(DIRECTORY
Inform
launch
MotoPlus
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})

install(PROGRAMS src/move_to_joint.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})


#############
## Testing ##
#############

if(CATKIN_ENABLE_TESTING)
find_package(roslint REQUIRED)
roslint_cpp()
endif()
64 changes: 27 additions & 37 deletions motoman_driver/package.xml
Original file line number Diff line number Diff line change
@@ -1,46 +1,36 @@
<package>
<?xml version="1.0"?>
<package format="2">
<name>motoman_driver</name>
<version>0.3.5</version>
<description>The motoman driver package includes nodes for interfacing with a motoman
industrial robot controllers.</description>
<description>
This package provides nodes for interfacing with Motoman industrial robot controllers.
</description>
<author>Jeremy Zoss (Southwest Research Institute)</author>
<author>Ted Miller (MotoROS) (Yaskawa Motoman)</author>
<author>Eric Marcil (MotoROS) (Yaskawa Motoman)</author>
<maintainer email="[email protected]">Jeremy Zoss (Southwest Research Institute)</maintainer>
<license>BSD</license>
<url type="website">http://ros.org/wiki/motoman_driver</url>
<author email="[email protected]">Jeremy Zoss (Southwest Research Institute)</author>

<buildtool_depend>catkin</buildtool_depend>
<url type="website">http://wiki.ros.org/motoman_driver</url>
<url type="bugtracker">https://github.com/ros-industrial/motoman/issues</url>
<url type="repository">https://github.com/ros-industrial/motoman</url>

<build_depend>actionlib</build_depend>
<build_depend>actionlib_msgs</build_depend>
<build_depend>control_msgs</build_depend>
<build_depend>industrial_msgs</build_depend>
<build_depend>industrial_robot_client</build_depend>
<build_depend>industrial_utils</build_depend>
<build_depend>motoman_msgs</build_depend>
<build_depend>roscpp</build_depend>
<build_depend>roslint</build_depend>
<build_depend>sensor_msgs</build_depend>
<build_depend>simple_message</build_depend>
<build_depend>std_msgs</build_depend>
<build_depend>std_srvs</build_depend>
<build_depend>trajectory_msgs</build_depend>
<build_depend>urdf</build_depend>
<buildtool_depend>catkin</buildtool_depend>

<run_depend>actionlib</run_depend>
<run_depend>actionlib_msgs</run_depend>
<run_depend>control_msgs</run_depend>
<run_depend>industrial_msgs</run_depend>
<run_depend>industrial_robot_client</run_depend>
<run_depend>industrial_utils</run_depend>
<run_depend>motoman_msgs</run_depend>
<run_depend>roscpp</run_depend>
<run_depend>sensor_msgs</run_depend>
<run_depend>simple_message</run_depend>
<run_depend>std_msgs</run_depend>
<run_depend>std_srvs</run_depend>
<run_depend>trajectory_msgs</run_depend>
<run_depend>urdf</run_depend>
<test_depend>roslint</test_depend>

<export>
</export>
<depend>actionlib</depend>
<depend>actionlib_msgs</depend>
<depend>control_msgs</depend>
<depend>industrial_msgs</depend>
<depend>industrial_robot_client</depend>
<depend>industrial_utils</depend>
<depend>motoman_msgs</depend>
<depend>roscpp</depend>
<depend>sensor_msgs</depend>
<depend>simple_message</depend>
<depend>std_msgs</depend>
<depend>std_srvs</depend>
<depend>trajectory_msgs</depend>
<depend>urdf</depend>
</package>
12 changes: 6 additions & 6 deletions motoman_mh5_support/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ find_package(catkin REQUIRED)

catkin_package()

find_package(roslaunch)
roslaunch_add_file_check(test/launch_test.xml)
if (CATKIN_ENABLE_TESTING)
find_package(roslaunch REQUIRED)
roslaunch_add_file_check(test/launch_test.xml)
endif()

foreach(dir config launch meshes urdf)
install(DIRECTORY ${dir}/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
endforeach(dir)
install(DIRECTORY config launch meshes urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
18 changes: 9 additions & 9 deletions motoman_mh5_support/package.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<package>
<?xml version="1.0"?>
<package format="2">
<name>motoman_mh5_support</name>
<version>0.3.5</version>
<description>
Expand Down Expand Up @@ -32,16 +32,16 @@
<author>Shaun Edwards</author>
<maintainer email="[email protected]"/>
<license>BSD</license>
<url type="website">http://ros.org/wiki/motoman_mh5_support</url>
<url type="website">http://wiki.ros.org/motoman_mh5_support</url>
<url type="bugtracker">https://github.com/ros-industrial/motoman/issues</url>
<url type="repository">https://github.com/ros-industrial/motoman</url>
<buildtool_depend>catkin</buildtool_depend>
<build_depend>roslaunch</build_depend>
<run_depend>motoman_driver</run_depend>
<run_depend>robot_state_publisher</run_depend>
<run_depend>rviz</run_depend>
<run_depend>joint_state_publisher</run_depend>
<run_depend>xacro</run_depend>
<test_depend>roslaunch</test_depend>
<exec_depend>joint_state_publisher</exec_depend>
<exec_depend>motoman_driver</exec_depend>
<exec_depend>robot_state_publisher</exec_depend>
<exec_depend>rviz</exec_depend>
<exec_depend>xacro</exec_depend>
<export>
<architecture_independent/>
</export>
Expand Down
39 changes: 28 additions & 11 deletions motoman_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,43 @@
cmake_minimum_required(VERSION 2.8.3)
project(motoman_msgs)

find_package(catkin REQUIRED COMPONENTS std_msgs trajectory_msgs industrial_msgs genmsg message_generation)
find_package(catkin
REQUIRED COMPONENTS
industrial_msgs
message_generation
std_msgs
trajectory_msgs
)

add_message_files(
DIRECTORY
msg
FILES
DynamicJointsGroup.msg
DynamicJointPoint.msg
DynamicJointTrajectory.msg
DynamicJointState.msg
DynamicJointTrajectoryFeedback.msg
)
DynamicJointPoint.msg
DynamicJointsGroup.msg
DynamicJointState.msg
DynamicJointTrajectory.msg
DynamicJointTrajectoryFeedback.msg
)

add_service_files(
DIRECTORY
srv
FILES
CmdJointTrajectoryEx.srv
)
CmdJointTrajectoryEx.srv
)

generate_messages(
DEPENDENCIES trajectory_msgs std_msgs industrial_msgs
DEPENDENCIES
industrial_msgs
std_msgs
trajectory_msgs
)

catkin_package(
CATKIN_DEPENDS message_runtime std_msgs trajectory_msgs industrial_msgs genmsg
CATKIN_DEPENDS
industrial_msgs
message_runtime
std_msgs
trajectory_msgs
)
Loading

0 comments on commit 5b3326e

Please sign in to comment.