nix-ros-overlay/distros/humble/microstrain-inertial-examples/default.nix

26 lines
957 B
Nix
Raw Normal View History

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, microstrain-inertial-driver, rviz-imu-plugin, rviz2, sensor-msgs, tf2-ros }:
buildRosPackage {
pname = "ros-humble-microstrain-inertial-examples";
version = "4.6.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/microstrain_inertial-release/archive/release/humble/microstrain_inertial_examples/4.6.1-1.tar.gz";
name = "4.6.1-1.tar.gz";
sha256 = "269b334ef670f621e5eb7b19fda364b8983db68756be8b578c2272233f969323";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
propagatedBuildInputs = [ microstrain-inertial-driver rviz-imu-plugin rviz2 sensor-msgs tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Simple examples using the microstrain_inertial_driver for MicroStrain sensors.";
license = with lib.licenses; [ mit ];
};
}