1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-19 16:40:36 +03:00
nix-ros-overlay/distros/foxy/turtle-tf2-cpp/default.nix

26 lines
1.1 KiB
Nix
Raw Normal View History

# 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-foxy-turtle-tf2-cpp";
version = "0.3.4-r1";
src = fetchurl {
url = "https://github.com/ros-gbp/geometry_tutorials-release/archive/release/foxy/turtle_tf2_cpp/0.3.4-1.tar.gz";
name = "0.3.4-1.tar.gz";
sha256 = "02ee422d0cbe4096072a5d33a32132e614e88f2643dd871d616ab43c7071dc58";
};
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 ];
};
}