# Copyright 2023 Open Source Robotics Foundation # Distributed under the terms of the BSD license { lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-pytest, ament-lint-auto, ament-lint-common, launch, launch-testing, launch-testing-ament-cmake, launch-testing-ros, pendulum-msgs, rclcpp, rmw-implementation-cmake, ros2run, rttest, tlsf-cpp }: buildRosPackage { pname = "ros-foxy-pendulum-control"; version = "0.9.4-r1"; src = fetchurl { url = "https://github.com/ros2-gbp/demos-release/archive/release/foxy/pendulum_control/0.9.4-1.tar.gz"; name = "0.9.4-1.tar.gz"; sha256 = "863ce27f01834250fca91abc76fc448b716fc8c0c8c2882020509ea525e54e5e"; }; buildType = "ament_cmake"; buildInputs = [ ament-cmake ]; checkInputs = [ ament-cmake-pytest ament-lint-auto ament-lint-common launch launch-testing launch-testing-ament-cmake launch-testing-ros rmw-implementation-cmake ros2run ]; propagatedBuildInputs = [ pendulum-msgs rclcpp rttest tlsf-cpp ]; nativeBuildInputs = [ ament-cmake ]; meta = { description = ''Demonstrates ROS 2's realtime capabilities with a simulated inverted pendulum.''; license = with lib.licenses; [ asl20 ]; }; }