1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-13 21:50:38 +03:00
nix-ros-overlay/melodic/imu-filter-madgwick/default.nix
2019-03-21 00:14:59 -04:00

23 lines
1.2 KiB
Nix

# Copyright 2019 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, pluginlib, tf2-geometry-msgs, sensor-msgs, catkin, message-filters, tf2-ros, tf2, nodelet, dynamic-reconfigure, roscpp, rosunit, geometry-msgs }:
buildRosPackage {
pname = "ros-melodic-imu-filter-madgwick";
version = "1.2.0";
src = fetchurl {
url = https://github.com/uos-gbp/imu_tools-release/archive/release/melodic/imu_filter_madgwick/1.2.0-0.tar.gz;
sha256 = "3b80b8a778fb209b3b42dd515e4f0a02d0018b205bbf35cbe94c1486c79db0be";
};
checkInputs = [ rosunit ];
propagatedBuildInputs = [ pluginlib tf2-geometry-msgs sensor-msgs message-filters roscpp tf2-ros tf2 dynamic-reconfigure nodelet geometry-msgs ];
nativeBuildInputs = [ pluginlib tf2-geometry-msgs sensor-msgs catkin message-filters roscpp tf2-ros tf2 dynamic-reconfigure nodelet geometry-msgs ];
meta = {
description = ''Filter which fuses angular velocities, accelerations, and (optionally) magnetic readings from a generic IMU device into an orientation. Based on code by Sebastian Madgwick, http://www.x-io.co.uk/node/8#open_source_ahrs_and_imu_algorithms.'';
#license = lib.licenses.GPL;
};
}