# Copyright 2024 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake-ros, ament-lint-auto, ament-lint-common, orocos-kdl-vendor, rcutils, urdf, urdfdom-headers }: buildRosPackage { pname = "ros-humble-kdl-parser"; version = "2.6.4-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/kdl_parser-release/archive/release/humble/kdl_parser/2.6.4-1.tar.gz"; name = "2.6.4-1.tar.gz"; sha256 = "2a94e5791ec8513fa947950ca8b98203280b9b9f5b1a5bade73683d865684006"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake-ros ]; checkInputs = [ ament-lint-auto ament-lint-common ]; propagatedBuildInputs = [ orocos-kdl-vendor rcutils urdf urdfdom-headers ]; nativeBuildInputs = [ ament-cmake-ros ]; meta = { description = ''The Kinematics and Dynamics Library (KDL) defines a tree structure to represent the kinematic and dynamic parameters of a robot mechanism. kdl_parser provides tools to construct a KDL tree from an XML robot representation in URDF.''; license = with lib.licenses; [ bsdOriginal ]; }; }