2022-12-09 19:20:15 -05:00
|
|
|
|
2024-01-19 13:36:49 +00:00
|
|
|
# Copyright 2024 Open Source Robotics Foundation
|
2022-12-09 19:20:15 -05:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-cmake-ros, opencv, sensor-msgs }:
|
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-rolling-image-geometry";
|
2024-03-08 13:41:18 +00:00
|
|
|
version = "3.4.0-r3";
|
2022-12-09 19:20:15 -05:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-03-08 13:41:18 +00:00
|
|
|
url = "https://github.com/ros2-gbp/vision_opencv-release/archive/release/rolling/image_geometry/3.4.0-3.tar.gz";
|
|
|
|
name = "3.4.0-3.tar.gz";
|
|
|
|
sha256 = "ba92834b577852c51308b41de85733dfc3b8e1507f4ccde83b93ebb07e69a37a";
|
2022-12-09 19:20:15 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
|
|
|
buildInputs = [ ament-cmake-python ament-cmake-ros ];
|
|
|
|
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ];
|
2023-12-22 13:30:27 +00:00
|
|
|
propagatedBuildInputs = [ opencv opencv.cxxdev sensor-msgs ];
|
2022-12-09 19:20:15 -05:00
|
|
|
nativeBuildInputs = [ ament-cmake-python ament-cmake-ros ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''`image_geometry` contains C++ and Python libraries for interpreting images
|
|
|
|
geometrically. It interfaces the calibration parameters in sensor_msgs/CameraInfo
|
|
|
|
messages with OpenCV functions such as image rectification, much as cv_bridge
|
|
|
|
interfaces ROS sensor_msgs/Image with OpenCV data types.'';
|
|
|
|
license = with lib.licenses; [ asl20 bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|