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-05-16 13:35:43 +00:00
|
|
|
version = "4.6.1-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-05-16 13:35:43 +00:00
|
|
|
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";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|