2019-09-04 17:11:04 -04:00
|
|
|
|
2020-01-10 12:36:13 +00:00
|
|
|
# Copyright 2020 Open Source Robotics Foundation
|
2019-09-04 17:11:04 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2019-12-09 23:36:28 -05:00
|
|
|
{ lib, buildRosPackage, fetchurl, ament-cmake-gtest, ament-cmake-pytest, ament-cmake-python, ament-cmake-ros, opencv3, sensor-msgs }:
|
2019-09-06 12:16:22 -04:00
|
|
|
buildRosPackage {
|
2019-09-04 17:11:04 -04:00
|
|
|
pname = "ros-dashing-image-geometry";
|
2019-12-09 05:16:46 +00:00
|
|
|
version = "2.1.3-r1";
|
2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-12-09 05:16:46 +00:00
|
|
|
url = "https://github.com/ros2-gbp/vision_opencv-release/archive/release/dashing/image_geometry/2.1.3-1.tar.gz";
|
|
|
|
name = "2.1.3-1.tar.gz";
|
|
|
|
sha256 = "7d8caaf5318b9290ac0649b968fc0c3052d399a05534a481805eed9d95e9ef58";
|
2019-09-04 17:11:04 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
buildType = "ament_cmake";
|
2019-12-09 05:16:46 +00:00
|
|
|
checkInputs = [ ament-cmake-gtest ament-cmake-pytest ];
|
2019-12-09 23:36:28 -05:00
|
|
|
propagatedBuildInputs = [ opencv3 sensor-msgs ];
|
|
|
|
nativeBuildInputs = [ ament-cmake-python ament-cmake-ros ];
|
2019-09-04 17:11:04 -04:00
|
|
|
|
|
|
|
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; [ bsdOriginal ];
|
|
|
|
};
|
|
|
|
}
|