2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 05:16:46 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, sensor-msgs, geometry-msgs, yocs-math-toolkit, tf, catkin, rospy-message-converter, visualization-msgs, roscpp, yocs-msgs, rospy }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-yocs-virtual-sensor";
|
|
|
|
version = "0.8.2";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2019-09-06 12:26:32 -04:00
|
|
|
url = "https://github.com/yujinrobot-release/yujin_ocs-release/archive/release/melodic/yocs_virtual_sensor/0.8.2-0.tar.gz";
|
|
|
|
name = "0.8.2-0.tar.gz";
|
2019-03-21 00:14:59 -04:00
|
|
|
sha256 = "4505ba05080e444b2000591f1628a4e204e1efb9e9e45be6a8ccb19506193631";
|
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2019-12-09 05:16:46 +00:00
|
|
|
buildInputs = [ sensor-msgs geometry-msgs yocs-math-toolkit tf roscpp yocs-msgs ];
|
|
|
|
propagatedBuildInputs = [ sensor-msgs geometry-msgs yocs-math-toolkit tf rospy-message-converter visualization-msgs roscpp yocs-msgs rospy ];
|
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.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|