mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
32 lines
1.2 KiB
Nix
32 lines
1.2 KiB
Nix
![]() |
|
||
|
# Copyright 2020 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-foxy-angles";
|
||
|
version = "1.12.3-r1";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/angles-release/archive/release/foxy/angles/1.12.3-1.tar.gz";
|
||
|
name = "1.12.3-1.tar.gz";
|
||
|
sha256 = "2ece091460ffc83df530336e95aaf361e1d760d236a3a0a04e3df2768d8ab94d";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
nativeBuildInputs = [ ament-cmake ];
|
||
|
|
||
|
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
|
||
|
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
|
||
|
major changes in the near future.'';
|
||
|
license = with lib.licenses; [ bsdOriginal ];
|
||
|
};
|
||
|
}
|