2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
# Copyright 2022 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, geometry-msgs, launch, launch-ros, message-filters, rclcpp, tf2, tf2-geometry-msgs, tf2-ros, turtlesim }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-turtle-tf2-cpp";
|
2022-09-19 17:14:06 -04:00
|
|
|
version = "0.3.6-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2022-09-19 17:14:06 -04:00
|
|
|
url = "https://github.com/ros2-gbp/geometry_tutorials-release/archive/release/humble/turtle_tf2_cpp/0.3.6-1.tar.gz";
|
|
|
|
name = "0.3.6-1.tar.gz";
|
|
|
|
sha256 = "7e6780b17f099f7fdc2169506b4474df31949054e73fc8bc3f70604e81452969";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
|
|
|
propagatedBuildInputs = [ geometry-msgs launch launch-ros message-filters rclcpp tf2 tf2-geometry-msgs tf2-ros turtlesim ];
|
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''turtle_tf2_cpp demonstrates how to write a ROS2 C++ tf2 broadcaster and listener with the turtlesim. The turtle_tf2_listener commands turtle2 to follow turtle1 around as you drive turtle1 using the keyboard.'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|