mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-13 21:50:38 +03:00
23 lines
893 B
Nix
23 lines
893 B
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, sensor-msgs, catkin, pythonPackages, std-msgs, tf, geometry-msgs }:
|
|
buildRosPackage {
|
|
pname = "ros-kinetic-imu-compass";
|
|
version = "0.0.5";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/clearpath-gbp/imu_compass-release/archive/release/kinetic/imu_compass/0.0.5-0.tar.gz;
|
|
sha256 = "6cc348641406c6549ccc7e1311e7f53f1dd7e91790f588c081ef43eb199e915a";
|
|
};
|
|
|
|
buildInputs = [ std-msgs sensor-msgs tf geometry-msgs ];
|
|
propagatedBuildInputs = [ std-msgs sensor-msgs pythonPackages.scipy geometry-msgs tf ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''Node to combine IMU data (accelerometers and gyroscopes) with Compass data (magnetometers) for a cleaner reading of a Vehicles Heading'';
|
|
#license = lib.licenses.BSD;
|
|
};
|
|
}
|