mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 06:00:38 +03:00
25 lines
1.1 KiB
Nix
25 lines
1.1 KiB
Nix
![]() |
|
||
|
# Copyright 2022 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-copyright, ament-flake8, ament-pep257, geometry-msgs, launch, launch-ros, pythonPackages, rclpy, tf-transformations, tf2-ros, turtlesim }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-humble-turtle-tf2-py";
|
||
|
version = "0.3.4-r3";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/geometry_tutorials-release/archive/release/humble/turtle_tf2_py/0.3.4-3.tar.gz";
|
||
|
name = "0.3.4-3.tar.gz";
|
||
|
sha256 = "07ee49b757037cf0782e3cca6a2b5bf8113f62b4af17025762a3180196e9af68";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_python";
|
||
|
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
||
|
propagatedBuildInputs = [ geometry-msgs launch launch-ros rclpy tf-transformations tf2-ros turtlesim ];
|
||
|
|
||
|
meta = {
|
||
|
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.'';
|
||
|
license = with lib.licenses; [ asl20 ];
|
||
|
};
|
||
|
}
|