1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/distros/foxy/pendulum-control/default.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-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";
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 ];
};
}