2022-11-04 13:38:03 +00:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-11-04 13:38:03 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-01-27 13:23:44 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-gmock, ament-cmake-gtest, ament-cmake-xmllint, ament-lint-auto, ament-lint-common, boost, box2d, cmake, cppzmq, mrpt2, nav-msgs, protobuf, python3, python3Packages, pythonPackages, ros-environment, ros2launch, sensor-msgs, tf2, tf2-geometry-msgs, unzip, visualization-msgs, wget }:
|
2022-11-04 13:38:03 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-foxy-mvsim";
|
2023-02-10 13:32:23 +00:00
|
|
|
version = "0.5.1-r2";
|
2022-11-04 13:38:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-02-10 13:32:23 +00:00
|
|
|
url = "https://github.com/ros2-gbp/mvsim-release/archive/release/foxy/mvsim/0.5.1-2.tar.gz";
|
|
|
|
name = "0.5.1-2.tar.gz";
|
|
|
|
sha256 = "0efc35cba6f5b3ce4b1ec14be3f3fe2b83cea7e2e71ee64da2dd499a2c7a8ea1";
|
2022-11-04 13:38:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake ament-cmake-gmock ament-cmake-gtest ament-cmake-xmllint cmake ros-environment ];
|
2022-11-04 13:38:03 +00:00
|
|
|
checkInputs = [ ament-lint-auto ament-lint-common ];
|
2023-01-27 13:23:44 +00:00
|
|
|
propagatedBuildInputs = [ boost box2d cppzmq mrpt2 nav-msgs protobuf python3 python3Packages.protobuf pythonPackages.pybind11 ros2launch sensor-msgs tf2 tf2-geometry-msgs unzip visualization-msgs wget ];
|
2022-11-04 13:38:03 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ament-cmake-gmock ament-cmake-gtest cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''A lightweight multivehicle simulation framework.'';
|
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|