2022-12-09 19:20:15 -05:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, geometry-msgs, launch, launch-ros, python3Packages, rclpy, tf2-ros, turtlesim-msgs }:
|
2022-12-09 19:20:15 -05:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-turtle-tf2-py";
|
2025-01-03 13:42:37 +00:00
|
|
|
version = "0.6.3-r1";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-01-03 13:42:37 +00:00
|
|
|
url = "https://github.com/ros2-gbp/geometry_tutorials-release/archive/release/rolling/turtle_tf2_py/0.6.3-1.tar.gz";
|
|
|
|
name = "0.6.3-1.tar.gz";
|
|
|
|
sha256 = "56918bdbd506ae722f6302374792e64ea533932b114d0b1b97a008f90f4d3397";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_python";
|
2025-01-03 13:42:37 +00:00
|
|
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 python3Packages.pytest ];
|
2024-07-26 13:34:25 +00:00
|
|
|
propagatedBuildInputs = [ geometry-msgs launch launch-ros python3Packages.numpy rclpy tf2-ros turtlesim-msgs ];
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
meta = {
|
2024-03-23 14:09:26 +00:00
|
|
|
description = "turtle_tf2_py demonstrates how to write a ROS2 Python tf2 broadcaster and listener with the turtlesim. The turtle_tf2_listener commands turtle2 to follow turtle1 around as you drive turtle1 using the keyboard.";
|
2022-12-09 19:20:15 -05:00
|
|
|
license = with lib.licenses; [ asl20 bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|