nix-ros-overlay/distros/humble/mocap-optitrack/default.nix
Superflore 2435baa8ac
Some checks failed
Build / build (humble, aarch64-linux) (push) Has been cancelled
Build / build (humble, x86_64-linux) (push) Has been cancelled
Build / build (jazzy, aarch64-linux) (push) Has been cancelled
Build / build (jazzy, x86_64-linux) (push) Has been cancelled
Build / build (noetic, aarch64-linux) (push) Has been cancelled
Build / build (noetic, x86_64-linux) (push) Has been cancelled
Build / build (rolling, aarch64-linux) (push) Has been cancelled
Build / build (rolling, x86_64-linux) (push) Has been cancelled
regenerate all distros, Fri May 16 13:35:43 2025
2025-05-31 15:39:42 -04:00

41 lines
1.5 KiB
Nix

# Copyright 2025 Open Source Robotics Foundation
# Distributed under the terms of the BSD license
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-lint-auto, ament-lint-common, geometry-msgs, nav-msgs, rclcpp, tf2-ros }:
buildRosPackage {
pname = "ros-humble-mocap-optitrack";
version = "1.0.1-r1";
src = fetchurl {
url = "https://github.com/ros2-gbp/mocap_optitrack-release/archive/release/humble/mocap_optitrack/1.0.1-1.tar.gz";
name = "1.0.1-1.tar.gz";
sha256 = "af05b9be9033aae524fb33ac5dd5cdc661170e350ac06a4fee0b9a168ba1e404";
};
buildType = "ament_cmake";
buildInputs = [ ament-cmake ];
checkInputs = [ ament-lint-auto ament-lint-common ];
propagatedBuildInputs = [ geometry-msgs nav-msgs rclcpp tf2-ros ];
nativeBuildInputs = [ ament-cmake ];
meta = {
description = "Streaming of OptiTrack mocap data to tf
<p>
This package contains a node that translates motion capture data from an
OptiTrack rig to tf transforms, poses and 2D poses. The node receives
packets that are streamed by a NatNet compliant source, decodes them and
broadcasts the poses of configured rigid bodies as tf transforms, poses,
and/or 2D poses.
</p>
<p>
Currently, this node supports the NatNet streaming protocol v3.0
</p>
<p>
Copyright (c) 2013, Clearpath Robotics<br/>
Copyright (c) 2010, University of Bonn, Computer Science Institute VI<br/>
All rights reserved.
</p>";
license = with lib.licenses; [ bsdOriginal ];
};
}