mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-12 05:16:30 +03:00
34 lines
1.3 KiB
Nix
34 lines
1.3 KiB
Nix
![]() |
|
||
|
# Copyright 2024 Open Source Robotics Foundation
|
||
|
# Distributed under the terms of the BSD license
|
||
|
|
||
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-python, python3Packages }:
|
||
|
buildRosPackage {
|
||
|
pname = "ros-jazzy-angles";
|
||
|
version = "1.16.0-r5";
|
||
|
|
||
|
src = fetchurl {
|
||
|
url = "https://github.com/ros2-gbp/angles-release/archive/release/jazzy/angles/1.16.0-5.tar.gz";
|
||
|
name = "1.16.0-5.tar.gz";
|
||
|
sha256 = "ceca46e4e5a275e95b9d9ef05c4ccf2e33ab76350ba4c0db4e7805677cc76352";
|
||
|
};
|
||
|
|
||
|
buildType = "ament_cmake";
|
||
|
buildInputs = [ ament-cmake-python python3Packages.setuptools ];
|
||
|
propagatedBuildInputs = [ ament-cmake ];
|
||
|
nativeBuildInputs = [ ament-cmake ament-cmake-python python3Packages.setuptools ];
|
||
|
|
||
|
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 ];
|
||
|
};
|
||
|
}
|