2024-11-29 13:44:25 +00:00
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
# Copyright 2025 Open Source Robotics Foundation
|
2024-11-29 13:44:25 +00:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2025-01-03 13:42:37 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake, ament-cmake-clang-format, ament-cmake-cppcheck, ament-cmake-flake8, ament-cmake-lint-cmake, ament-cmake-mypy, ament-cmake-pep257, ament-cmake-pyflakes, ament-cmake-xmllint, ament-index-python, ament-lint-auto, camera-info-manager, clang, cv-bridge, image-view, libcamera, rclcpp, rclcpp-components, ros2launch, sensor-msgs }:
|
2024-11-29 13:44:25 +00:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-jazzy-camera-ros";
|
2025-04-25 13:38:11 +00:00
|
|
|
version = "0.4.0-r1";
|
2024-11-29 13:44:25 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2025-04-25 13:38:11 +00:00
|
|
|
url = "https://github.com/ros2-gbp/camera_ros-release/archive/release/jazzy/camera_ros/0.4.0-1.tar.gz";
|
|
|
|
name = "0.4.0-1.tar.gz";
|
|
|
|
sha256 = "67c55d5ef32c4e2fc6a074ccd4f8cdd88ec9654d81762104692ed17d7461350d";
|
2024-11-29 13:44:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake ];
|
2025-01-03 13:42:37 +00:00
|
|
|
checkInputs = [ ament-cmake-clang-format ament-cmake-cppcheck ament-cmake-flake8 ament-cmake-lint-cmake ament-cmake-mypy ament-cmake-pep257 ament-cmake-pyflakes ament-cmake-xmllint ament-lint-auto clang ];
|
2024-12-27 13:14:54 +00:00
|
|
|
propagatedBuildInputs = [ ament-index-python camera-info-manager cv-bridge image-view libcamera rclcpp rclcpp-components ros2launch sensor-msgs ];
|
2024-11-29 13:44:25 +00:00
|
|
|
nativeBuildInputs = [ ament-cmake ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "node for libcamera supported cameras (V4L2, Raspberry Pi Camera Modules)";
|
|
|
|
license = with lib.licenses; [ mit ];
|
|
|
|
};
|
|
|
|
}
|