2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, tf, sensor-msgs, catkin, yocs-math-toolkit, yocs-msgs, rospy-message-converter, visualization-msgs, rospy, roscpp, geometry-msgs }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-yocs-virtual-sensor";
|
|
|
|
version = "0.8.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/yujinrobot-release/yujin_ocs-release/archive/release/melodic/yocs_virtual_sensor/0.8.2-0.tar.gz;
|
|
|
|
sha256 = "4505ba05080e444b2000591f1628a4e204e1efb9e9e45be6a8ccb19506193631";
|
|
|
|
};
|
|
|
|
|
2019-04-06 22:15:06 -04:00
|
|
|
buildInputs = [ tf sensor-msgs roscpp yocs-math-toolkit yocs-msgs geometry-msgs ];
|
2019-03-21 00:14:59 -04:00
|
|
|
propagatedBuildInputs = [ tf sensor-msgs yocs-math-toolkit yocs-msgs roscpp rospy-message-converter rospy visualization-msgs geometry-msgs ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Virtual sensor that uses semantic map information to "see" obstacles undetectable by robot sensors.
|
|
|
|
|
|
|
|
Current implementation cannot read obstacles from YAML files. Until this feature gets implemented, we
|
|
|
|
use auxiliary scripts to read and publish files' content. Data directory contains some example files.'';
|
|
|
|
#license = lib.licenses.BSD;
|
|
|
|
};
|
|
|
|
}
|