diff --git a/training/supplements/src/industrial_core/.gitignore b/training/supplements/src/industrial_core/.gitignore
deleted file mode 100644
index 07f6c40d..00000000
--- a/training/supplements/src/industrial_core/.gitignore
+++ /dev/null
@@ -1,27 +0,0 @@
-# Compiled Object files
-*.slo
-*.lo
-*.o
-
-# Compiled Dynamic libraries
-*.so
-*.dylib
-
-# Compiled Static libraries
-*.lai
-*.la
-*.a
-
-# Left over subversion files
-*.svn
-
-# Temp files
-*~
-
-# Other ROS stuff
-CATKIN_IGNORE*
-
-# Eclipse stuff
-.pydevproject
-.project
-.cproject
diff --git a/training/supplements/src/industrial_core/README.md b/training/supplements/src/industrial_core/README.md
deleted file mode 100644
index 4b628df0..00000000
--- a/training/supplements/src/industrial_core/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Industrial Core
-[![Build Status](http://jenkins.ros.org/job/devel-hydro-industrial_core/badge/icon)](http://jenkins.ros.org/job/devel-hydro-industrial_core/)
-[ROS-Industrial][] core meta-package. See the [ROS wiki][] page for more information.
-
-## Contents
-
-This repo holds source code for all versions > groovy. For those versions <= groovy see: [SVN repo][]
-
-[ROS-Industrial]: http://www.ros.org/wiki/Industrial
-[ROS wiki]: http://ros.org/wiki/industrial_core
-[SVN repo]: https://code.google.com/p/swri-ros-pkg/source/browse
diff --git a/training/supplements/src/industrial_core/industrial_core/CHANGELOG.rst b/training/supplements/src/industrial_core/industrial_core/CHANGELOG.rst
deleted file mode 100644
index 57abb298..00000000
--- a/training/supplements/src/industrial_core/industrial_core/CHANGELOG.rst
+++ /dev/null
@@ -1,15 +0,0 @@
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Changelog for package industrial_core
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-0.3.3 (2014-01-13)
-------------------
-* Fixed build issue due simple message library linking
-0.3.2 (2014-01-10)
-------------------
-* Removed header from industrial_utils/utils.h (not required)
-0.3.1 (2014-01-09)
-------------------
-* Added industrial trajectory filters to core meta-package
-* Converted to catkin
-* Contributors: Shaun Edwards, gavanderhoorn
diff --git a/training/supplements/src/industrial_core/industrial_core/CMakeLists.txt b/training/supplements/src/industrial_core/industrial_core/CMakeLists.txt
deleted file mode 100644
index 7c8b2ed9..00000000
--- a/training/supplements/src/industrial_core/industrial_core/CMakeLists.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-cmake_minimum_required(VERSION 2.8.3)
-project(industrial_core)
-find_package(catkin REQUIRED)
-catkin_metapackage()
diff --git a/training/supplements/src/industrial_core/industrial_core/package.xml b/training/supplements/src/industrial_core/industrial_core/package.xml
deleted file mode 100644
index 07bfb9e1..00000000
--- a/training/supplements/src/industrial_core/industrial_core/package.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-
- industrial_core
- 0.3.3
- ROS-Industrial core stack contains packages and libraries for supporing industrial systems
-
- Shaun Edwards
- BSD
- http://ros.org/wiki/industrial_core
- Shaun Edwards
-
- catkin
- simple_message
- industrial_msgs
- industrial_robot_client
- industrial_robot_simulator
- industrial_deprecated
- industrial_utils
- industrial_trajectory_filters
-
-
-
-
-
diff --git a/training/supplements/src/industrial_core/industrial_deprecated/CHANGELOG.rst b/training/supplements/src/industrial_core/industrial_deprecated/CHANGELOG.rst
deleted file mode 100644
index f9c6b2a4..00000000
--- a/training/supplements/src/industrial_core/industrial_deprecated/CHANGELOG.rst
+++ /dev/null
@@ -1,18 +0,0 @@
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Changelog for package industrial_deprecated
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-0.3.3 (2014-01-13)
-------------------
-* No change
-0.3.2 (2014-01-10)
-------------------
-* No change
-
-0.3.1 (2014-01-09)
-------------------
-* Purged deprecated packages
-* Remove obsolete export tags. Fix `#43 `_.
-* Corrected spelling of industrial_deprecated package (oops). Updated package dependencies.
-* Converted to catkin
-* Contributors: Shaun Edwards, gavanderhoorn, jrgnicho
diff --git a/training/supplements/src/industrial_core/industrial_deprecated/CMakeLists.txt b/training/supplements/src/industrial_core/industrial_deprecated/CMakeLists.txt
deleted file mode 100644
index 1804e2d6..00000000
--- a/training/supplements/src/industrial_core/industrial_deprecated/CMakeLists.txt
+++ /dev/null
@@ -1,10 +0,0 @@
-cmake_minimum_required(VERSION 2.8.3)
-
-project(industrial_deprecated)
-
-find_package(catkin REQUIRED COMPONENTS)
-
-catkin_package(
- CATKIN_DEPENDS
-)
-
diff --git a/training/supplements/src/industrial_core/industrial_deprecated/mainpage.dox b/training/supplements/src/industrial_core/industrial_deprecated/mainpage.dox
deleted file mode 100644
index dc3ec8ff..00000000
--- a/training/supplements/src/industrial_core/industrial_deprecated/mainpage.dox
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
-\mainpage
-\htmlinclude manifest.html
-
-\b industrial_deprecated
-
-
-
--->
-
-
-*/
diff --git a/training/supplements/src/industrial_core/industrial_deprecated/package.xml b/training/supplements/src/industrial_core/industrial_deprecated/package.xml
deleted file mode 100644
index a892801a..00000000
--- a/training/supplements/src/industrial_core/industrial_deprecated/package.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
- industrial_deprecated
- 0.3.3
-
- The Industrial deprecated package contains nodes, launch files, etc... that are slated for
- deprecation. This package is the last place something will end up before being deleted.
- If you are missing a package/node and find it's contents here, then you should consider
- a replacement.
-
- Shaun Edwards
- BSD
- http://ros.org/wiki/industrial_deprecated
- Shaun M. Edwards
-
- catkin
-
diff --git a/training/supplements/src/industrial_core/industrial_msgs/CHANGELOG.rst b/training/supplements/src/industrial_core/industrial_msgs/CHANGELOG.rst
deleted file mode 100644
index 813e142b..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/CHANGELOG.rst
+++ /dev/null
@@ -1,17 +0,0 @@
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Changelog for package industrial_msgs
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-0.3.3 (2014-01-13)
-------------------
-* No change
-0.3.2 (2014-01-10)
-------------------
-* No change
-
-0.3.1 (2014-01-09)
-------------------
-* Remove obsolete export tags. Fix `#43 `_.
-* add joint_path_command service to Industrial Robot Client
-* Converted to catkin
-* Contributors: JeremyZoss, Shaun Edwards, gavanderhoorn, shaun-edwards
diff --git a/training/supplements/src/industrial_core/industrial_msgs/CMakeLists.txt b/training/supplements/src/industrial_core/industrial_msgs/CMakeLists.txt
deleted file mode 100644
index 9c6523ee..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/CMakeLists.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-cmake_minimum_required(VERSION 2.8.3)
-
-project(industrial_msgs)
-
-find_package(catkin REQUIRED COMPONENTS std_msgs trajectory_msgs genmsg message_generation)
-
-add_message_files(
- FILES
- DebugLevel.msg
- DeviceInfo.msg
- RobotMode.msg
- RobotStatus.msg
- ServiceReturnCode.msg
- TriState.msg)
-
-add_service_files(
- FILES
- CmdJointTrajectory.srv
- GetRobotInfo.srv
- SetDrivePower.srv
- SetRemoteLoggerLevel.srv
- StartMotion.srv
- StopMotion.srv)
-
-generate_messages(
- DEPENDENCIES trajectory_msgs std_msgs
-)
-
-catkin_package(
- CATKIN_DEPENDS message_runtime std_msgs trajectory_msgs genmsg
-)
\ No newline at end of file
diff --git a/training/supplements/src/industrial_core/industrial_msgs/mainpage.dox b/training/supplements/src/industrial_core/industrial_msgs/mainpage.dox
deleted file mode 100644
index ee13539c..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/mainpage.dox
+++ /dev/null
@@ -1,14 +0,0 @@
-/**
-\mainpage
-\htmlinclude manifest.html
-
-\b The industrial message package containes industrial specific messages definitions. This package is part of the ROS-Industrial program.
-
-
-
--->
-
-
-*/
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/DebugLevel.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/DebugLevel.msg
deleted file mode 100644
index 346bd7f5..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/DebugLevel.msg
+++ /dev/null
@@ -1,11 +0,0 @@
-# Debug level message enumeration. This may replicate some functionality that
-# alreay exists in the ROS logger.
-# TODO: Get more information on the ROS Logger.
-uint8 val
-
-uint8 DEBUG = 5
-uint8 INFO = 4
-uint8 WARN = 3
-uint8 ERROR = 2
-uint8 FATAL = 1
-uint8 NONE = 0
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/DeviceInfo.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/DeviceInfo.msg
deleted file mode 100644
index 2da2025d..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/DeviceInfo.msg
+++ /dev/null
@@ -1,11 +0,0 @@
-# Device info captures device agnostic information about a piece of hardware.
-# This message is meant as a generic as possible. Items that don't apply should
-# be left blank. This message is not meant to replace diagnostic messages, but
-# rather provide a standard service message that can be used to populate standard
-# components (like a GUI for example)
-
-string model
-string serial_number
-string hw_version
-string sw_version
-string address
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/RobotMode.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/RobotMode.msg
deleted file mode 100644
index fdcb79f6..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/RobotMode.msg
+++ /dev/null
@@ -1,10 +0,0 @@
-# The Robot mode message encapsulates the mode/teach state of the robot
-# Typically this is controlled by the pendant key switch, but not always
-
-int8 val
-
-# enumerated values
-int8 UNKNOWN=-1 # Unknown or unavailable
-int8 MANUAL=1 # Teach OR manual mode
-int8 AUTO=2 # Automatic mode
-
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/RobotStatus.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/RobotStatus.msg
deleted file mode 100644
index b26a31b5..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/RobotStatus.msg
+++ /dev/null
@@ -1,32 +0,0 @@
-# The RobotStatus message contains low level status information
-# that is specific to an industrial robot controller
-
-# The header frame ID is not used
-Header header
-
-# The robot mode captures the operating mode of the robot. When in
-# manual, remote motion is not possible.
-industrial_msgs/RobotMode mode
-
-# Estop status: True if robot is e-stopped. The drives are disabled
-# and motion is not possible. The e-stop condition must be acknowledged
-# and cleared before any motion can begin.
-industrial_msgs/TriState e_stopped
-
-# Drive power status: True if drives are powered. Motion commands will
-# automatically enable the drives if required. Drive power is not requred
-# for possible motion
-industrial_msgs/TriState drives_powered
-
-# Motion enabled: Ture if robot motion is possible.
-industrial_msgs/TriState motion_possible
-
-# Motion status: True if robot is in motion, otherwise false
-industrial_msgs/TriState in_motion
-
-# Error status: True if there is an error condition on the robot. Motion may
-# or may not be affected (see motion_possible)
-industrial_msgs/TriState in_error
-
-# Error code: Vendor specific error code (non zero indicates error)
-int32 error_code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/ServiceReturnCode.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/ServiceReturnCode.msg
deleted file mode 100644
index 25782658..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/ServiceReturnCode.msg
+++ /dev/null
@@ -1,8 +0,0 @@
-# Service return codes for simple requests. All ROS-Industrial service
-# replies are required to have a return code indicating success or failure
-# Specific return codes for different failure should be negative.
-int8 val
-
-int8 SUCCESS = 1
-int8 FAILURE = -1
-
diff --git a/training/supplements/src/industrial_core/industrial_msgs/msg/TriState.msg b/training/supplements/src/industrial_core/industrial_msgs/msg/TriState.msg
deleted file mode 100644
index c5766265..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/msg/TriState.msg
+++ /dev/null
@@ -1,23 +0,0 @@
-# The tri-state captures boolean values with the additional state of unknown
-
-int8 val
-
-# enumerated values
-
-# Unknown or unavailable
-int8 UNKNOWN=-1
-
-# High state
-int8 TRUE=1
-int8 ON=1
-int8 ENABLED=1
-int8 HIGH=1
-int8 CLOSED=1
-
-# Low state
-int8 FALSE=0
-int8 OFF=0
-int8 DISABLED=0
-int8 LOW=0
-int8 OPEN=0
-
diff --git a/training/supplements/src/industrial_core/industrial_msgs/package.xml b/training/supplements/src/industrial_core/industrial_msgs/package.xml
deleted file mode 100644
index ade54cbf..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/package.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-
- industrial_msgs
- 0.3.3
-
- The industrial message package containes industrial specific messages
- definitions. This package is part of the ROS-Industrial program.
-
- Shaun Edwards
- BSD
- http://ros.org/wiki/industrial_msg
- Shaun M. Edwards
-
- catkin
- std_msgs
- trajectory_msgs
- genmsg
- message_generation
- std_msgs
- trajectory_msgs
- genmsg
- message_runtime
-
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/CmdJointTrajectory.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/CmdJointTrajectory.srv
deleted file mode 100644
index 2fbab979..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/CmdJointTrajectory.srv
+++ /dev/null
@@ -1,9 +0,0 @@
-# Send a JointTrajectory command to the robot.
-# - duplicates functionality of the joint_path_command topic
-# - provides a response-code to verify command was received
-# - returns when trajectory is sent to robot, not when motion completed
-# - return code may NOT indicate successful transfer to robot
-
-trajectory_msgs/JointTrajectory trajectory
----
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/GetRobotInfo.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/GetRobotInfo.srv
deleted file mode 100644
index 748e1ec6..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/GetRobotInfo.srv
+++ /dev/null
@@ -1,7 +0,0 @@
-# The Get Robot Info service returns vendor specific information about
-# the robot(s) connected by the driver
-
----
-industrial_msgs/DeviceInfo controller
-industrial_msgs/DeviceInfo[] robots
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/SetDrivePower.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/SetDrivePower.srv
deleted file mode 100644
index 79b2088c..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/SetDrivePower.srv
+++ /dev/null
@@ -1,7 +0,0 @@
-# Direct method of turning drive power on and off
-# NOTE: Motion commands will automatically to this if
-# drive power is not on and a motion command is received.
-
-bool drive_power
----
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/SetRemoteLoggerLevel.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/SetRemoteLoggerLevel.srv
deleted file mode 100644
index 9515e21f..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/SetRemoteLoggerLevel.srv
+++ /dev/null
@@ -1,8 +0,0 @@
-# Sets logging level for a remote device that is attached to
-# ROS via some communications link. This service is meant to
-# set the log level on the device directly so that the comms
-# link is not overloaded with messages.
-
-industrial_msgs/DebugLevel level
----
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/StartMotion.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/StartMotion.srv
deleted file mode 100644
index 8c5b4d45..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/StartMotion.srv
+++ /dev/null
@@ -1,3 +0,0 @@
-# Resume current robot motion (e.g. after stop_motion or robot fault)
----
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_msgs/srv/StopMotion.srv b/training/supplements/src/industrial_core/industrial_msgs/srv/StopMotion.srv
deleted file mode 100644
index f7546ed3..00000000
--- a/training/supplements/src/industrial_core/industrial_msgs/srv/StopMotion.srv
+++ /dev/null
@@ -1,5 +0,0 @@
-# Stops current robot motion. Motion resumed by using start_motion service
-# or by sending a new motion command
-
----
-industrial_msgs/ServiceReturnCode code
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/CHANGELOG.rst b/training/supplements/src/industrial_core/industrial_robot_client/CHANGELOG.rst
deleted file mode 100644
index 5a4c1cbd..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/CHANGELOG.rst
+++ /dev/null
@@ -1,19 +0,0 @@
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-Changelog for package industrial_robot_client
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-0.3.3 (2014-01-13)
-------------------
-* Fixed build issue due simple message library linking
-* Contributors: gavanderhoorn
-
-0.3.2 (2014-01-10)
-------------------
-* Removed header from industrial_utils/utils.h (not required)
-
-0.3.1 (2014-01-09)
-------------------
-* Remove obsolete export tags. Fix `#43 `_.
-* Removed library export from catkin macro. Packages that depend on these must declare library dependencies explicitly (by name)
-* Converted to catkin
-* Contributors: JeremyZoss, Shaun Edwards, gavanderhoorn
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/CMakeLists.txt b/training/supplements/src/industrial_core/industrial_robot_client/CMakeLists.txt
deleted file mode 100644
index 95f6298d..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/CMakeLists.txt
+++ /dev/null
@@ -1,178 +0,0 @@
-cmake_minimum_required(VERSION 2.8.3)
-
-project(industrial_robot_client)
-
-find_package(catkin REQUIRED COMPONENTS roscpp std_msgs sensor_msgs
- control_msgs trajectory_msgs simple_message actionlib_msgs actionlib
- urdf industrial_msgs industrial_utils)
-
-find_package(Boost REQUIRED COMPONENTS system thread)
-
-# The definition is copied from the CMakeList for the simple_message package.
-add_definitions(-DROS=1) #build using ROS libraries
-add_definitions(-DLINUXSOCKETS=1) #build using LINUX SOCKETS libraries
-
-set(SRC_FILES src/joint_relay_handler.cpp
- src/robot_status_relay_handler.cpp
- src/joint_trajectory_downloader.cpp
- src/joint_trajectory_streamer.cpp
- src/joint_trajectory_interface.cpp
- src/robot_state_interface.cpp
- src/utils.cpp)
-
-# NOTE: The libraries generated this package are not included in the catkin_package
-# macro because libraries must be explicitly linked in projects that depend on this
-# package. If this is not done (and these libraries were exported), then multiple
-# library definitions (normal - industrial_robot_client and byteswapped.
-# industrial_robot_client_bswap) are both included (this is bad).
-catkin_package(
- CATKIN_DEPENDS roscpp std_msgs sensor_msgs control_msgs trajectory_msgs
- simple_message actionlib_msgs actionlib urdf industrial_msgs
- industrial_utils
- INCLUDE_DIRS include
- LIBRARIES ${PROJECT_NAME}_dummy
- CFG_EXTRAS issue46_workaround.cmake
-)
-
-
-
-include_directories(include
- ${catkin_INCLUDE_DIRS}
-)
-
-
-# generate dummy library (we export it in catkin_package(..)), to force catkin
-# to set up LIBRARY_DIRS properly.
-# TODO: find out if LIBRARY_DIRS can be exported without dummy library target
-add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_dummy.cpp
- COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_dummy.cpp)
-add_library(${PROJECT_NAME}_dummy ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}_dummy.cpp)
-# unfortunately this will have to be installed, but the linker will remove it
-# from the library dependencies of dependent targets, as it contains no symbols
-# that can be imported from it.
-install(TARGETS ${PROJECT_NAME}_dummy DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
-
-
-# This library depends on the simple_message library, which is available
-# in two formats to support endian differences between robot & PC.
-#
-# As in simple_message, two libraries are created: one that does direct
-# passthrough of binary numeric data to the robot controller, and one that
-# uses byte-swapping to account for endian mis-matches.
-#
-# Due to catkin dependency limitations, higher-level code must
-# explicitly link to the desired industrial_robot_client library:
-# target_link_libraries(my_node industrial_robot_client)
-# or
-# target_link_libraries(my_node industrial_robot_client_bswap)
-#
-
-add_library(industrial_robot_client ${SRC_FILES})
-target_link_libraries(industrial_robot_client simple_message)
-
-add_library(industrial_robot_client_bswap ${SRC_FILES})
-target_link_libraries(industrial_robot_client_bswap simple_message_bswap)
-
-# The following executables(nodes) are for applications where the robot
-# controller and pc have the same byte order (i.e. byte swapping NOT
-# required)
-
-add_executable(robot_state
- src/generic_robot_state_node.cpp)
-target_link_libraries(robot_state
- industrial_robot_client
- simple_message
- ${catkin_LIBRARIES})
-
-add_executable(motion_streaming_interface
- src/generic_joint_streamer_node.cpp)
-target_link_libraries(motion_streaming_interface
- industrial_robot_client
- simple_message
- ${catkin_LIBRARIES})
-
-add_executable(motion_download_interface
- src/generic_joint_downloader_node.cpp)
-target_link_libraries(motion_download_interface
- industrial_robot_client
- simple_message
- ${catkin_LIBRARIES})
-
-# The following executables(nodes) are for applications where the robot
-# controller and pc have different same byte order (i.e. byte swapping IS
-# required)
-
-add_executable(robot_state_bswap
- src/generic_robot_state_node.cpp)
-target_link_libraries(robot_state_bswap
- industrial_robot_client_bswap
- simple_message_bswap
- ${catkin_LIBRARIES})
-
-add_executable(motion_streaming_interface_bswap
- src/generic_joint_streamer_node.cpp)
-target_link_libraries(motion_streaming_interface_bswap
- industrial_robot_client_bswap
- simple_message_bswap
- ${catkin_LIBRARIES})
-
-add_executable(motion_download_interface_bswap
- src/generic_joint_downloader_node.cpp)
-target_link_libraries(motion_download_interface_bswap
- industrial_robot_client_bswap
- simple_message_bswap
- ${catkin_LIBRARIES})
-
-# The following executables(nodes) interface with the robot controller
-# at a higher level so there is no need to create two versions (one with
-# byte swapping, one without)
-
-add_executable(joint_trajectory_action
- src/generic_joint_trajectory_action_node.cpp
- src/joint_trajectory_action.cpp)
-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(
- TARGETS industrial_robot_client industrial_robot_client_bswap
- LIBRARY DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION})
-
-install(TARGETS
- robot_state
- robot_state_bswap
- motion_streaming_interface
- motion_download_interface
- motion_streaming_interface_bswap
- motion_download_interface_bswap
- joint_trajectory_action
- RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
-
-install(
- DIRECTORY include/${PROJECT_NAME}/
- DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION})
-
-foreach(dir config launch)
- install(DIRECTORY ${dir}/
- DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/${dir})
-endforeach(dir)
-
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/cmake/issue46_workaround.cmake b/training/supplements/src/industrial_core/industrial_robot_client/cmake/issue46_workaround.cmake
deleted file mode 100644
index cab929e4..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/cmake/issue46_workaround.cmake
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Temporary workaround for issue ros-industrial/industrial_core#46.
-#
-message(STATUS "industrial_robot_client: work around for #46")
-if (DEFINED industrial_robot_client_LIBRARY_DIRS)
-else()
- message(FATAL_ERROR "industrial_robot_client_LIBRARY_DIRS not set, "
- "have you find_package()-ed it?")
-endif()
-link_directories(${industrial_robot_client_LIBRARY_DIRS})
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.rviz b/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.rviz
deleted file mode 100644
index eca0bdce..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.rviz
+++ /dev/null
@@ -1,184 +0,0 @@
-Panels:
- - Class: rviz/Displays
- Help Height: 78
- Name: Displays
- Property Tree Widget:
- Expanded:
- - /Global Options1
- - /Status1
- - /RobotModel1
- - /TF1
- Splitter Ratio: 0.5
- Tree Height: 787
- - Class: rviz/Selection
- Name: Selection
- - Class: rviz/Tool Properties
- Expanded:
- - /2D Pose Estimate1
- - /2D Nav Goal1
- Name: Tool Properties
- Splitter Ratio: 0.588679
- - Class: rviz/Views
- Expanded:
- - /Current View1
- Name: Views
- Splitter Ratio: 0.5
- - Class: rviz/Time
- Experimental: false
- Name: Time
- SyncMode: 0
- SyncSource: ""
-Visualization Manager:
- Class: ""
- Displays:
- - Alpha: 0.5
- Cell Size: 1
- Class: rviz/Grid
- Color: 160; 160; 164
- Enabled: true
- Line Style:
- Line Width: 0.03
- Value: Lines
- Name: Grid
- Normal Cell Count: 0
- Offset:
- X: 0
- Y: 0
- Z: 0
- Plane: XY
- Plane Cell Count: 10
- Reference Frame:
- Value: true
- - Alpha: 1
- Class: rviz/RobotModel
- Collision Enabled: false
- Enabled: true
- Links:
- base_link:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_1:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_2:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_3:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_4:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_5:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- link_6:
- Alpha: 1
- Show Axes: false
- Show Trail: false
- Value: true
- Name: RobotModel
- Robot Description: robot_description
- TF Prefix: ""
- Update Interval: 0
- Value: true
- Visual Enabled: true
- - Class: rviz/TF
- Enabled: true
- Frame Timeout: 15
- Frames:
- /base_link:
- Value: true
- /link_1:
- Value: true
- /link_2:
- Value: true
- /link_3:
- Value: true
- /link_4:
- Value: true
- /link_5:
- Value: true
- /link_6:
- Value: true
- /tool0:
- Value: true
- All Enabled: true
- Marker Scale: 1
- Name: TF
- Show Arrows: true
- Show Axes: true
- Show Names: true
- Tree:
- /base_link:
- /link_1:
- /link_2:
- /link_3:
- /link_4:
- /link_5:
- /link_6:
- /tool0:
- {}
- Update Interval: 0
- Value: true
- Enabled: true
- Global Options:
- Background Color: 48; 48; 48
- Fixed Frame: /base_link
- Name: root
- Tools:
- - Class: rviz/Interact
- Hide Inactive Objects: true
- - Class: rviz/MoveCamera
- - Class: rviz/Select
- - Class: rviz/Measure
- - Class: rviz/SetInitialPose
- Topic: /initialpose
- - Class: rviz/SetGoal
- Topic: /move_base_simple/goal
- Value: true
- Views:
- Current:
- Class: rviz/Orbit
- Distance: 10
- Focal Point:
- X: 0
- Y: 0
- Z: 0
- Name: Current View
- Near Clip Distance: 0.01
- Pitch: 0.115398
- Target Frame:
- Value: Orbit (rviz)
- Yaw: 0.930399
- Saved: ~
-Window Geometry:
- Displays:
- collapsed: false
- Height: 1000
- Hide Left Dock: false
- Hide Right Dock: false
- QMainWindow State: 000000ff00000000fd00000004000000000000013c000003a2fc0200000005fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006400fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c0061007900730100000028000003a2000000dd00ffffff000000010000010f000003a2fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a005600690065007700730100000028000003a2000000b000fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e10000019700000003000004a00000003efc0100000002fb0000000800540069006d00650000000000000004a0000002f700fffffffb0000000800540069006d00650100000000000004500000000000000000000002a9000003a200000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
- Selection:
- collapsed: false
- Time:
- collapsed: false
- Tool Properties:
- collapsed: false
- Views:
- collapsed: false
- Width: 1280
- X: 60
- Y: 60
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.vcg b/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.vcg
deleted file mode 100644
index abf87f64..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/config/robot_state_visualize.vcg
+++ /dev/null
@@ -1,93 +0,0 @@
-Background\ ColorB=0.466667
-Background\ ColorG=0
-Background\ ColorR=0.0941176
-Camera\ Config=0.459797 4.57899 4.58262 0 0 0
-Camera\ Type=rviz::OrbitViewController
-Fixed\ Frame=/base_link
-Grid.Alpha=0.5
-Grid.Cell\ Size=0.5
-Grid.ColorB=0.898039
-Grid.ColorG=0.898039
-Grid.ColorR=0.898039
-Grid.Enabled=1
-Grid.Line\ Style=0
-Grid.Line\ Width=0.03
-Grid.Normal\ Cell\ Count=0
-Grid.OffsetX=0
-Grid.OffsetY=0
-Grid.OffsetZ=0
-Grid.Plane=0
-Grid.Plane\ Cell\ Count=10
-Grid.Reference\ Frame=
-Property\ Grid\ Splitter=743,78
-Property\ Grid\ State=expanded=.Global Options,Grid.Enabled,Robot Model.Enabled,TF.Enabled;splitterratio=0.5
-QMainWindow=000000ff00000000fd00000003000000000000011d00000387fc0200000001fb000000100044006900730070006c006100790073010000001d00000387000000ee00ffffff000000010000013000000195fc0200000003fb0000001e0054006f006f006c002000500072006f0070006500720074006900650073000000001d000000670000006700fffffffb0000000a00560069006500770073000000001d00000101000000bb00fffffffb0000001200530065006c0065006300740069006f006e000000001d000001950000006700ffffff00000003000005000000003efc0100000001fb0000000800540069006d0065010000000000000500000002bf00ffffff000003dd0000038700000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
-Robot\ Model.Alpha=1
-Robot\ Model.Collision\ Enabled=0
-Robot\ Model.Enabled=1
-Robot\ Model.Robot\ Description=robot_description
-Robot\ Model.TF\ Prefix=
-Robot\ Model.Update\ Interval=0
-Robot\ Model.Visual\ Enabled=1
-Robot\:\ Robot\ Model\ Link\ base_linkAlpha=1
-Robot\:\ Robot\ Model\ Link\ base_linkEnabled=1
-Robot\:\ Robot\ Model\ Link\ base_linkShow\ Axes=0
-Robot\:\ Robot\ Model\ Link\ base_linkShow\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_1Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_1Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_1Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_1Show\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_2Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_2Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_2Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_2Show\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_3Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_3Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_3Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_3Show\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_4Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_4Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_4Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_4Show\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_5Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_5Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_5Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_5Show\ Trail=0
-Robot\:\ Robot\ Model\ Link\ link_6Alpha=1
-Robot\:\ Robot\ Model\ Link\ link_6Enabled=1
-Robot\:\ Robot\ Model\ Link\ link_6Show\ Axes=0
-Robot\:\ Robot\ Model\ Link\ link_6Show\ Trail=0
-TF.All\ Enabled=1
-TF.Enabled=1
-TF.Frame\ Timeout=15
-TF.Marker\ Scale=1
-TF.Show\ Arrows=1
-TF.Show\ Axes=1
-TF.Show\ Names=1
-TF.Update\ Interval=0
-Target\ Frame=
-Tool\ 2D\ Nav\ GoalTopic=goal
-Tool\ 2D\ Pose\ EstimateTopic=initialpose
-[Display0]
-ClassName=rviz::GridDisplay
-Name=Grid
-[Display1]
-ClassName=rviz::RobotModelDisplay
-Name=Robot Model
-[Display2]
-ClassName=rviz::TFDisplay
-Name=TF
-[TF.Frames.]
-base_link.Enabled=1
-link_1.Enabled=1
-link_2.Enabled=1
-link_3.Enabled=1
-link_4.Enabled=1
-link_5.Enabled=1
-link_6.Enabled=1
-tool0.Enabled=1
-[Window]
-Height=1000
-Width=1280
-X=-1
-Y=-29
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_relay_handler.h b/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_relay_handler.h
deleted file mode 100644
index f15616b0..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_relay_handler.h
+++ /dev/null
@@ -1,159 +0,0 @@
-/*
- * Software License Agreement (BSD License)
- *
- * Copyright (c) 2011, Southwest Research Institute
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the Southwest Research Institute, nor the names
- * of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-
-#ifndef JOINT_HANDLER_H
-#define JOINT_HANDLER_H
-
-#include
-#include
-
-#include "ros/ros.h"
-#include "control_msgs/FollowJointTrajectoryFeedback.h"
-#include "sensor_msgs/JointState.h"
-#include "simple_message/message_handler.h"
-#include "simple_message/messages/joint_message.h"
-
-
-namespace industrial_robot_client
-{
-namespace joint_relay_handler
-{
-
-using industrial::joint_message::JointMessage;
-using industrial::simple_message::SimpleMessage;
-
-/**
- * \brief Message handler that relays joint positions (converts simple message
- * types to ROS message types and publishes them)
- *
- * THIS CLASS IS NOT THREAD-SAFE
- *
- */
-class JointRelayHandler : public industrial::message_handler::MessageHandler
-{
- // since this class defines a different init(), this helps find the base-class init()
- using industrial::message_handler::MessageHandler::init;
-
-public:
-
- /**
-* \brief Constructor
-*/
- JointRelayHandler() {};
-
-
- /**
- * \brief Class initializer
- *
- * \param connection simple message connection that will be used to send replies.
- * \param joint_names list of joint-names for msg-publishing.
- * - Count and order should match data from robot connection.
- * - Use blank-name to exclude a joint from publishing.
- *
- * \return true on success, false otherwise (an invalid message type)
- */
- bool init(industrial::smpl_msg_connection::SmplMsgConnection* connection, std::vector &joint_names);
-
-protected:
-
- std::vector all_joint_names_;
-
- ros::Publisher pub_joint_control_state_;
- ros::Publisher pub_joint_sensor_state_;
- ros::NodeHandle node_;
-
- /**
- * \brief Convert joint message into publish message-types
- *
- * \param[in] msg_in Joint message from robot connection
- * \param[out] control_state FollowJointTrajectoryFeedback message for ROS publishing
- * \param[out] sensor_state JointState message for ROS publishing
- *
- * \return true on success, false otherwise
- */
- virtual bool create_messages(JointMessage& msg_in,
- control_msgs::FollowJointTrajectoryFeedback* control_state,
- sensor_msgs::JointState* sensor_state);
-
- /**
- * \brief Transform joint positions before publishing.
- * Can be overridden to implement, e.g. robot-specific joint coupling.
- *
- * \param[in] pos_in joint positions, exactly as passed from robot connection.
- * \param[out] pos_out transformed joint positions (in same order/count as input positions)
- *
- * \return true on success, false otherwise
- */
- virtual bool transform(const std::vector& pos_in, std::vector* pos_out)
- {
- *pos_out = pos_in; // by default, no transform is applied
- return true;
- }
-
- /**
- * \brief Select specific joints for publishing
- *
- * \param[in] all_joint_pos joint positions, in count/order matching robot connection
- * \param[in] all_joint_names joint names, matching all_joint_pos
- * \param[out] pub_joint_pos joint positions selected for publishing
- * \param[out] pub_joint_names joint names selected for publishing
- *
- * \return true on success, false otherwise
- */
- virtual bool select(const std::vector& all_joint_pos, const std::vector& all_joint_names,
- std::vector* pub_joint_pos, std::vector* pub_joint_names);
-
- /**
- * \brief Callback executed upon receiving a joint message
- *
- * \param in incoming message
- *
- * \return true on success, false otherwise
- */
- bool internalCB(JointMessage& in);
-
-private:
- /**
- * \brief Callback executed upon receiving a message
- *
- * \param in incoming message
- *
- * \return true on success, false otherwise
- */
- bool internalCB(SimpleMessage& in);
-};//class JointRelayHandler
-
-}//joint_relay_handler
-}//industrial_robot_cliet
-
-
-#endif /* JOINT_HANDLER_H */
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_action.h b/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_action.h
deleted file mode 100644
index c1718698..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_action.h
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
- * Software License Agreement (BSD License)
- *
- * Copyright (c) 2012, Southwest Research Institute
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the Southwest Research Institute, nor the names
- * of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef JOINT_TRAJTORY_ACTION_H
-#define JOINT_TRAJTORY_ACTION_H
-
-#include
-#include
-
-#include
-#include
-#include
-#include
-
-namespace industrial_robot_client
-{
-namespace joint_trajectory_action
-{
-
-class JointTrajectoryAction
-{
-
-public:
- /**
- * \brief Constructor
- *
- */
- JointTrajectoryAction();
-
- /**
- * \brief Destructor
- *
- */
- ~JointTrajectoryAction();
-
- /**
- * \brief Begin processing messages and publishing topics.
- */
- void run() { ros::spin(); }
-
-private:
-
- typedef actionlib::ActionServer JointTractoryActionServer;
-
- /**
- * \brief Internal ROS node handle
- */
- ros::NodeHandle node_;
-
- /**
- * \brief Internal action server
- */
- JointTractoryActionServer action_server_;
-
- /**
- * \brief Publishes desired trajectory (typically to the robot driver)
- */
- ros::Publisher pub_trajectory_command_;
-
- /**
- * \brief Subscribes to trajectory feedback (typically published by the
- * robot driver).
- */
- ros::Subscriber sub_trajectory_state_;
-
- /**
- * \brief Subscribes to the robot status (typically published by the
- * robot driver).
- */
- ros::Subscriber sub_robot_status_;
-
- /**
- * \brief Watchdog time used to fail the action request if the robot
- * driver is not responding.
- */
- ros::Timer watchdog_timer_;
-
- /**
- * \brief Indicates action has an active goal
- */
- bool has_active_goal_;
-
- /**
- * \brief Cache of the current active goal
- */
- JointTractoryActionServer::GoalHandle active_goal_;
- /**
- * \brief Cache of the current active trajectory
- */
- trajectory_msgs::JointTrajectory current_traj_;
-
- /**
- * \brief The default goal joint threshold see(goal_threshold). Unit
- * are joint specific (i.e. radians or meters).
- */
- static const double DEFAULT_GOAL_THRESHOLD_;// = 0.01;
-
- /**
- * \brief The goal joint threshold used for determining if a robot
- * is near it final destination. A single value is used for all joints
- *
- * NOTE: This value is used in conjunction with the robot inMotion
- * status (see industrial_msgs::RobotStatus) if it exists.
- */
- double goal_threshold_;
-
- /**
- * \brief The joint names associated with the robot the action is
- * interfacing with. The joint names must be the same as expected
- * by the robot driver.
- */
- std::vector joint_names_;
-
- /**
- * \brief Cache of the last subscribed feedback message
- */
- control_msgs::FollowJointTrajectoryFeedbackConstPtr last_trajectory_state_;
-
- /**
- * \brief Indicates trajectory state has been received. Used by
- * watchdog to determine if the robot driver is responding.
- */
- bool trajectory_state_recvd_;
-
- /**
- * \brief Cache of the last subscribed status message
- */
- industrial_msgs::RobotStatusConstPtr last_robot_status_;
-
- /**
- * \brief The watchdog period (seconds)
- */
- static const double WATCHD0G_PERIOD_;// = 1.0;
-
- /**
- * \brief Watch dog callback, used to detect robot driver failures
- *
- * \param e time event information
- *
- */
- void watchdog(const ros::TimerEvent &e);
-
- /**
- * \brief Action server goal callback method
- *
- * \param gh goal handle
- *
- */
- void goalCB(JointTractoryActionServer::GoalHandle & gh);
-
- /**
- * \brief Action server cancel callback method
- *
- * \param gh goal handle
- *
- */
-
- void cancelCB(JointTractoryActionServer::GoalHandle & gh);
- /**
- * \brief Controller state callback (executed when feedback message
- * received)
- *
- * \param msg joint trajectory feedback message
- *
- */
- void controllerStateCB(const control_msgs::FollowJointTrajectoryFeedbackConstPtr &msg);
-
- /**
- * \brief Controller status callback (executed when robot status
- * message received)
- *
- * \param msg robot status message
- *
- */
- void robotStatusCB(const industrial_msgs::RobotStatusConstPtr &msg);
-
- /**
- * \brief Aborts the current action goal and sends a stop command
- * (empty message) to the robot driver.
- *
- *
- */
- void abortGoal();
-
- /**
- * \brief Controller status callback (executed when robot status
- * message received)
- *
- * \param msg trajectory feedback message
- * \param traj trajectory to test against feedback
- *
- * \return true if all joints are within goal contraints
- *
- */
- bool withinGoalConstraints(const control_msgs::FollowJointTrajectoryFeedbackConstPtr &msg,
- const trajectory_msgs::JointTrajectory & traj);
-};
-
-} //joint_trajectory_action
-} //industrial_robot_client
-
-#endif /* JOINT_TRAJTORY_ACTION_H */
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_downloader.h b/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_downloader.h
deleted file mode 100644
index 0c8af507..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_downloader.h
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- * Software License Agreement (BSD License)
- *
- * Copyright (c) 2011, Southwest Research Institute
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the Southwest Research Institute, nor the names
- * of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef JOINT_TRAJECTORY_DOWNLOADER_H
-#define JOINT_TRAJECTORY_DOWNLOADER_H
-
-#include "industrial_robot_client/joint_trajectory_interface.h"
-
-namespace industrial_robot_client
-{
-namespace joint_trajectory_downloader
-{
-
-using industrial_robot_client::joint_trajectory_interface::JointTrajectoryInterface;
-using industrial::joint_traj_pt_message::JointTrajPtMessage;
-
-/**
- * \brief Message handler that downloads joint trajectories to
- * a robot controller that supports the trajectory downloading interface
- */
-class JointTrajectoryDownloader : public JointTrajectoryInterface
-{
-
-public:
-
- bool send_to_robot(const std::vector& messages);
-
-};
-
-} //joint_trajectory_downloader
-} //industrial_robot_client
-
-#endif /* JOINT_TRAJECTORY_DOWNLOADER_H */
diff --git a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_interface.h b/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_interface.h
deleted file mode 100644
index f135cbda..00000000
--- a/training/supplements/src/industrial_core/industrial_robot_client/include/industrial_robot_client/joint_trajectory_interface.h
+++ /dev/null
@@ -1,277 +0,0 @@
-/*
- * Software License Agreement (BSD License)
- *
- * Copyright (c) 2011, Southwest Research Institute
- * All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * * Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * * Neither the name of the Southwest Research Institute, nor the names
- * of its contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- * POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef JOINT_TRAJECTORY_INTERFACE_H
-#define JOINT_TRAJECTORY_INTERFACE_H
-
-#include