Skip to content

Commit

Permalink
Missed python module definition and setup.py script (ros-industrial#364)
Browse files Browse the repository at this point in the history
Merged commits:

* missed python module definition and setup.py script
* clean the __init__ file
  • Loading branch information
ipa-nhg authored and gavanderhoorn committed Jul 29, 2018
1 parent dcecd41 commit f15aa40
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ur_kinematics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ find_package(catkin REQUIRED COMPONENTS roscpp geometry_msgs moveit_core moveit_

find_package(Boost REQUIRED COMPONENTS system)

catkin_python_setup()

catkin_package(
INCLUDE_DIRS include
LIBRARIES ur3_kin ur5_kin ur10_kin ur3_moveit_plugin ur5_moveit_plugin ur10_moveit_plugin
Expand Down
1 change: 1 addition & 0 deletions ur_kinematics/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<build_depend>tf_conversions</build_depend>
<build_depend>boost</build_depend>

<run_depend>rospy</run_depend>
<run_depend>moveit_core</run_depend>
<run_depend>moveit_kinematics</run_depend>
<run_depend>moveit_ros_planning</run_depend>
Expand Down
13 changes: 13 additions & 0 deletions ur_kinematics/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

from distutils.core import setup
from catkin_pkg.python_setup import generate_distutils_setup

d = generate_distutils_setup(
## don't do this unless you want a globally visible script
# scripts=['bin/myscript'],
packages=['ur_kinematics'],
package_dir={'': 'src'}
)

setup(**d)
Empty file.

0 comments on commit f15aa40

Please sign in to comment.