2020-06-12 18:02:43 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2020-06-12 18:02:43 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2021-04-30 12:50:24 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-cppcheck, ament-cmake-cpplint, ament-cmake-flake8, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-pep257, ament-cmake-uncrustify, ament-index-python, ament-lint-auto, builtin-interfaces, launch-ros, launch-testing-ament-cmake, launch-testing-ros, rclcpp, rclcpp-lifecycle, ros2run, system-modes-msgs }:
|
2020-06-12 18:02:43 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-system-modes";
|
2021-07-23 13:01:27 +00:00
|
|
|
version = "0.9.0-r1";
|
2020-06-12 18:02:43 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-07-23 13:01:27 +00:00
|
|
|
url = "https://github.com/microROS/system_modes-release/archive/release/foxy/system_modes/0.9.0-1.tar.gz";
|
|
|
|
name = "0.9.0-1.tar.gz";
|
|
|
|
sha256 = "50250aec9316d66a8e53e429cea7f4988f4005a23c60e28a60637201b6bda8ac";
|
2020-06-12 18:02:43 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2021-03-19 13:19:05 +00:00
|
|
|
checkInputs = [ ament-cmake-cppcheck ament-cmake-cpplint ament-cmake-flake8 ament-cmake-gmock ament-cmake-gtest ament-cmake-pep257 ament-cmake-uncrustify ament-index-python ament-lint-auto launch-testing-ament-cmake launch-testing-ros ros2run ];
|
2021-04-30 12:50:24 +00:00
|
|
|
propagatedBuildInputs = [ builtin-interfaces launch-ros rclcpp rclcpp-lifecycle system-modes-msgs ];
|
2020-06-12 18:02:43 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2020-10-23 13:30:31 +00:00
|
|
|
description = ''The system modes concept assumes that a robotics system is built
|
|
|
|
from components with a lifecycle. It adds a notion of (sub-)systems,
|
|
|
|
hiararchically grouping these nodes, as well as a notion of modes
|
|
|
|
that determine the configuration of these nodes and (sub-)systems in
|
|
|
|
terms of their parameter values.'';
|
2020-06-12 18:02:43 -04:00
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|