mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-12 02:34:50 +03:00
parent
122541494b
commit
d31e04aef7
1131 changed files with 31292 additions and 0 deletions
24
distros/foxy/turtle-tf2-py/default.nix
Normal file
24
distros/foxy/turtle-tf2-py/default.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
|
||||
# Copyright 2023 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, python3Packages, pythonPackages, rclpy, tf2-ros, turtlesim }:
|
||||
buildRosPackage {
|
||||
pname = "ros-foxy-turtle-tf2-py";
|
||||
version = "0.3.6-r1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/ros2-gbp/geometry_tutorials-release/archive/release/foxy/turtle_tf2_py/0.3.6-1.tar.gz";
|
||||
name = "0.3.6-1.tar.gz";
|
||||
sha256 = "608fb979c9338f246059aefaa6dd5582c1071e4f90044fa5d5f362ffe46ee600";
|
||||
};
|
||||
|
||||
buildType = "ament_python";
|
||||
checkInputs = [ ament-copyright ament-flake8 ament-pep257 pythonPackages.pytest ];
|
||||
propagatedBuildInputs = [ geometry-msgs launch launch-ros python3Packages.numpy rclpy 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 bsdOriginal ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue