2021-10-08 13:26:21 +00:00
|
|
|
|
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-11-12 13:26:46 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, controller-interface, controller-manager, geometry-msgs, hardware-interface, nav-msgs, pluginlib, rclcpp, rclcpp-lifecycle, realtime-tools, ros2-control-test-assets, tf2, tf2-msgs }:
|
2021-10-08 13:26:21 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-galactic-diff-drive-controller";
|
2021-11-12 13:26:46 +00:00
|
|
|
version = "1.1.0-r1";
|
2021-10-08 13:26:21 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-11-12 13:26:46 +00:00
|
|
|
url = "https://github.com/ros2-gbp/ros2_controllers-release/archive/release/galactic/diff_drive_controller/1.1.0-1.tar.gz";
|
|
|
|
name = "1.1.0-1.tar.gz";
|
|
|
|
sha256 = "667362edaad7780d4f92ddbe767acd226b057d068298420fbb0c43c73f3e3989";
|
2021-10-08 13:26:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ pluginlib ];
|
2021-11-12 13:26:46 +00:00
|
|
|
checkInputs = [ ament-cmake-gmock controller-manager ros2-control-test-assets ];
|
2021-10-08 13:26:21 +00:00
|
|
|
propagatedBuildInputs = [ controller-interface geometry-msgs hardware-interface nav-msgs rclcpp rclcpp-lifecycle realtime-tools tf2 tf2-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Controller for a differential drive mobile base.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|