2019-12-09 05:16:46 +00:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-12-09 05:16:46 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:14:51 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-pytest, ament-lint-auto, ament-lint-common, fmilibrary-vendor, launch, launch-ros, launch-testing, rcl-interfaces, rclcpp, rclcpp-components, rclcpp-lifecycle, rcutils, std-msgs }:
|
2019-12-09 05:16:46 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-eloquent-fmi-adapter";
|
2020-01-31 12:38:34 +00:00
|
|
|
version = "0.1.7-r2";
|
2019-12-09 05:16:46 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-01-31 12:38:34 +00:00
|
|
|
url = "https://github.com/boschresearch/fmi_adapter_ros2-release/archive/release/eloquent/fmi_adapter/0.1.7-2.tar.gz";
|
|
|
|
name = "0.1.7-2.tar.gz";
|
|
|
|
sha256 = "a5107a3807736f1460f26bc6f9f6836fd118e408af1db09d59a49e792026a7aa";
|
2019-12-09 05:16:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2019-12-09 23:14:51 -05:00
|
|
|
buildInputs = [ fmilibrary-vendor ];
|
|
|
|
checkInputs = [ ament-cmake-gmock ament-cmake-gtest ament-cmake-pytest ament-lint-auto ament-lint-common launch-testing rcutils ];
|
|
|
|
propagatedBuildInputs = [ launch launch-ros rcl-interfaces rclcpp rclcpp-components rclcpp-lifecycle std-msgs ];
|
2019-12-09 05:16:46 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''Wraps FMUs for co-simulation'';
|
|
|
|
license = with lib.licenses; [ asl20 ];
|
|
|
|
};
|
|
|
|
}
|