2022-06-09 18:50:37 -04:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2024-04-05 13:51:29 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, microstrain-inertial-driver, rviz-imu-plugin, rviz2, sensor-msgs, tf2-ros }:
|
2022-06-09 18:50:37 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-microstrain-inertial-examples";
|
2025-04-25 13:38:11 +00:00
|
|
|
version = "4.6.0-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-04-25 13:38:11 +00:00
|
|
|
url = "https://github.com/ros2-gbp/microstrain_inertial-release/archive/release/humble/microstrain_inertial_examples/4.6.0-1.tar.gz";
|
|
|
|
name = "4.6.0-1.tar.gz";
|
|
|
|
sha256 = "61047c21b0fccbc9d25971d5426d0422f78ad9815b8e836f70686261341cc876";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake ];
|
2024-04-05 13:51:29 +00:00
|
|
|
propagatedBuildInputs = [ microstrain-inertial-driver rviz-imu-plugin rviz2 sensor-msgs tf2-ros ];
|
2022-06-09 18:50:37 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
2024-04-05 13:51:29 +00:00
|
|
|
description = "Simple examples using the microstrain_inertial_driver for MicroStrain sensors.";
|
2022-06-09 18:50:37 -04:00
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|