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, geometry-msgs, dynamic-reconfigure, pluginlib, catkin, libyamlcpp, nodelet, roscpp }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-yocs-cmd-vel-mux";
|
|
|
|
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_cmd_vel_mux/0.8.2-0.tar.gz";
|
|
|
|
name = "0.8.2-0.tar.gz";
|
2019-03-21 00:14:59 -04:00
|
|
|
sha256 = "fb7a0444d33e684e14c5c1b78fa3c2cda433abbd202401316232daff02af5791";
|
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2019-12-09 05:16:46 +00:00
|
|
|
buildInputs = [ geometry-msgs dynamic-reconfigure pluginlib libyamlcpp nodelet roscpp ];
|
|
|
|
propagatedBuildInputs = [ geometry-msgs dynamic-reconfigure pluginlib libyamlcpp nodelet roscpp ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A multiplexer for command velocity inputs. Arbitrates incoming cmd_vel messages from several topics,
|
|
|
|
allowing one topic at a time to command the robot, based on priorities. It also deallocates current
|
|
|
|
allowed topic if no messages are received after a configured timeout. All topics, together with their
|
|
|
|
priority and timeout are configured through a YAML file, that can be reload at runtime.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|