2022-06-09 18:50:37 -04:00
|
|
|
|
2023-01-06 13:57:00 +00:00
|
|
|
# Copyright 2023 Open Source Robotics Foundation
|
2022-06-09 18:50:37 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2023-05-02 16:50:22 -04:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, camera-info-manager, cv-bridge, depth-image-proc, depthai, depthai-bridge, depthai-descriptions, depthai-ros-msgs, foxglove-msgs, image-transport, opencv, rclcpp, robot-state-publisher, ros-environment, rviz-imu-plugin, sensor-msgs, std-msgs, stereo-msgs, vision-msgs, xacro }:
|
2022-06-09 18:50:37 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-humble-depthai-examples";
|
2023-11-03 13:39:15 +00:00
|
|
|
version = "2.8.2-r1";
|
2022-06-09 18:50:37 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-11-03 13:39:15 +00:00
|
|
|
url = "https://github.com/luxonis/depthai-ros-release/archive/release/humble/depthai_examples/2.8.2-1.tar.gz";
|
|
|
|
name = "2.8.2-1.tar.gz";
|
|
|
|
sha256 = "b656e1f1f01cee2985f9d626e33e4519fd5fe77ebfbc3ffe7683f3ae30e7c5f1";
|
2022-06-09 18:50:37 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2022-11-04 19:29:56 -04:00
|
|
|
buildInputs = [ ament-cmake ];
|
2023-12-22 13:30:27 +00:00
|
|
|
propagatedBuildInputs = [ camera-info-manager cv-bridge depth-image-proc depthai depthai-bridge depthai-descriptions depthai-ros-msgs foxglove-msgs image-transport opencv opencv.cxxdev rclcpp robot-state-publisher ros-environment rviz-imu-plugin sensor-msgs std-msgs stereo-msgs vision-msgs xacro ];
|
2022-06-09 18:50:37 -04:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The depthai_examples package'';
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|