mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-06-13 03:04:49 +03:00
30 lines
1.1 KiB
Nix
30 lines
1.1 KiB
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, catkin, rosunit }:
|
|
buildRosPackage {
|
|
pname = "ros-melodic-angles";
|
|
version = "1.9.11";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/melodic/angles/1.9.11-0.tar.gz;
|
|
sha256 = "e234fbb316d2e74febab2c47710ecb9c1c7231c439d68a2f8540b416245b2b9a";
|
|
};
|
|
|
|
checkInputs = [ rosunit ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
meta = {
|
|
description = ''This package provides a set of simple math utilities to work
|
|
with angles. The utilities cover simple things like
|
|
normalizing an angle and conversion between degrees and
|
|
radians. But even if you're trying to calculate things like
|
|
the shortest angular distance between two joinst space
|
|
positions of your robot, but the joint motion is constrained
|
|
by joint limits, this package is what you need. The code in
|
|
this packge is stable and well tested. There are no plans for
|
|
major changes in the near future.'';
|
|
#license = lib.licenses.BSD;
|
|
};
|
|
}
|