mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
28 lines
1.1 KiB
Nix
28 lines
1.1 KiB
Nix
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, ecl-threads, geometry-msgs, nodelet, pluginlib, roscpp, sensor-msgs, std-msgs, yocs-controllers }:
|
|
buildRosPackage {
|
|
pname = "ros-melodic-yocs-safety-controller";
|
|
version = "0.8.2";
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/yujinrobot-release/yujin_ocs-release/archive/release/melodic/yocs_safety_controller/0.8.2-0.tar.gz";
|
|
name = "0.8.2-0.tar.gz";
|
|
sha256 = "83f0799143de08c0f6c8aa93c665fbac01d8a7dc3e8e04752bdc59e042244557";
|
|
};
|
|
|
|
buildType = "catkin";
|
|
propagatedBuildInputs = [ ecl-threads geometry-msgs nodelet pluginlib roscpp sensor-msgs std-msgs yocs-controllers ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''A controller ensuring the safe operation of your robot.
|
|
|
|
The SafetyController listens to ranger readings in order to stop (and move back), if obstacles get to close.
|
|
|
|
This controller can be enabled/disabled.'';
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
};
|
|
}
|