2019-03-21 00:14:59 -04:00
|
|
|
|
2021-01-22 13:37:51 +00:00
|
|
|
# Copyright 2021 Open Source Robotics Foundation
|
2019-03-21 00:14:59 -04:00
|
|
|
# Distributed under the terms of the BSD license
|
|
|
|
|
2020-12-11 13:16:21 +00:00
|
|
|
{ lib, buildRosPackage, fetchurl, camera-info-manager, catkin, cv-bridge, dynamic-reconfigure, image-transport, nodelet, roscpp, rospy, rostest, rostopic, sensor-msgs }:
|
2019-03-21 00:14:59 -04:00
|
|
|
buildRosPackage {
|
|
|
|
pname = "ros-melodic-video-stream-opencv";
|
2020-12-11 13:16:21 +00:00
|
|
|
version = "1.1.6-r1";
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
src = fetchurl {
|
2020-12-11 13:16:21 +00:00
|
|
|
url = "https://github.com/ros-drivers/video_stream_opencv-release/archive/release/melodic/video_stream_opencv/1.1.6-1.tar.gz";
|
|
|
|
name = "1.1.6-1.tar.gz";
|
|
|
|
sha256 = "a2fbecdf05b636214d3559aeffcee22617506d2924fde4b1d7ad3d9e527d1321";
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
|
2019-09-06 12:26:32 -04:00
|
|
|
buildType = "catkin";
|
2020-12-11 13:16:21 +00:00
|
|
|
checkInputs = [ rostest rostopic ];
|
|
|
|
propagatedBuildInputs = [ camera-info-manager cv-bridge dynamic-reconfigure image-transport nodelet roscpp rospy sensor-msgs ];
|
2019-04-06 22:15:06 -04:00
|
|
|
nativeBuildInputs = [ catkin ];
|
2019-03-21 00:14:59 -04:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = ''The video_stream_opencv package contains a node to publish a video stream (the protocols that
|
|
|
|
opencv supports are supported, including rtsp, webcams on /dev/video and video files) in ROS image topics, it supports camera info and basic image flipping (horizontal, vertical or both) capabilities, also adjusting publishing rate.'';
|
2019-05-05 02:02:52 -04:00
|
|
|
license = with lib.licenses; [ bsdOriginal ];
|
2019-03-21 00:14:59 -04:00
|
|
|
};
|
|
|
|
}
|