1
0
Fork 0
mirror of https://github.com/lopsided98/nix-ros-overlay.git synced 2025-07-14 14:10:37 +03:00
nix-ros-overlay/distros/melodic/angles/default.nix

33 lines
1.2 KiB
Nix
Raw Normal View History

2019-03-21 00:14:59 -04:00
# Copyright 2021 Open Source Robotics Foundation
2019-03-21 00:14:59 -04:00
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, catkin, rosunit }:
buildRosPackage {
pname = "ros-melodic-angles";
version = "1.9.12-r1";
2019-03-21 00:14:59 -04:00
src = fetchurl {
url = "https://github.com/ros-gbp/geometry_angles_utils-release/archive/release/melodic/angles/1.9.12-1.tar.gz";
name = "1.9.12-1.tar.gz";
sha256 = "db7a41b9e761db8f81c749170e1b949366a0a125b50d37617a7bac34058a1a58";
2019-03-21 00:14:59 -04:00
};
buildType = "catkin";
2019-03-21 00:14:59 -04:00
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 joint space
2019-03-21 00:14:59 -04:00
positions of your robot, but the joint motion is constrained
by joint limits, this package is what you need. The code in
this package is stable and well tested. There are no plans for
2019-03-21 00:14:59 -04:00
major changes in the near future.'';
license = with lib.licenses; [ bsdOriginal ];
2019-03-21 00:14:59 -04:00
};
}