2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-crystal-angles";
|
|
|
|
version = "1.12.1-r1";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = https://github.com/ros2-gbp/angles-release/archive/release/crystal/angles/1.12.1-1.tar.gz;
|
|
|
|
sha256 = "e3c90023c90d9597d863351a77b147dc86aabf26c6ea2d44cbd5e8bf2c69ebb0";
|
|
|
|
};
|
|
|
|
|
2019-09-05 22:48:11 -04:00
|
|
|
buildType = "ament_cmake";
|
2019-09-04 17:11:04 -04:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|