# Copyright 2018 Open Source Robotics Foundation
# Distributed under the terms of the BSD license

EAPI=6
PYTHON_COMPAT=( python{2_7,3_5,3_6} )

inherit ros-cmake

DESCRIPTION="The main purpose of the cob_twist_controller is to convert target twists in[...]"
HOMEPAGE="https://wiki.ros.org"
SRC_URI="https://github.com/ipa320/cob_control-release/archive/release/indigo/${PN}/0.6.17-0.tar.gz -> ${PN}-indigo-release-${PV}.tar.gz"

LICENSE="Apache-2.0"

KEYWORDS="~x86 ~amd64 ~arm ~arm64"
RDEPEND="
	ros-indigo/cmake_modules
	ros-indigo/cob_control_msgs
	ros-indigo/cob_frame_tracker
	ros-indigo/cob_srvs
	ros-indigo/dynamic_reconfigure
	ros-indigo/eigen_conversions
	ros-indigo/geometry_msgs
	ros-indigo/kdl_conversions
	ros-indigo/kdl_parser
	ros-indigo/nav_msgs
	ros-indigo/orocos_kdl
	ros-indigo/pluginlib
	ros-indigo/robot_state_publisher
	ros-indigo/roscpp
	ros-indigo/rospy
	ros-indigo/rviz
	ros-indigo/sensor_msgs
	ros-indigo/std_msgs
	ros-indigo/tf
	ros-indigo/tf_conversions
	ros-indigo/topic_tools
	ros-indigo/trajectory_msgs
	ros-indigo/urdf
	ros-indigo/visualization_msgs
	ros-indigo/xacro
	dev-libs/boost
	dev-cpp/eigen
"
DEPEND="${RDEPEND}
	ros-indigo/catkin
	ros-indigo/roslint
"

SLOT="0"
ROS_DISTRO="indigo"
ROS_PREFIX="opt/ros/${ROS_DISTRO}"