mirror of
https://github.com/lopsided98/nix-ros-overlay.git
synced 2025-07-14 14:10:37 +03:00
24 lines
1.1 KiB
Nix
24 lines
1.1 KiB
Nix
|
|
# Copyright 2019 Open Source Robotics Foundation
|
|
# Distributed under the terms of the BSD license
|
|
|
|
{ lib, buildRosPackage, fetchurl, camera-info-manager, image-transport, sensor-msgs, catkin, cv-bridge, rospy, roscpp }:
|
|
buildRosPackage {
|
|
pname = "ros-kinetic-video-stream-opencv";
|
|
version = "1.1.5";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/ros-drivers/video_stream_opencv-release/archive/release/kinetic/video_stream_opencv/1.1.5-0.tar.gz;
|
|
sha256 = "76b02cb8f5e67c4a53ce1f55bface4333292e0a2d84e710305c32d632bca7415";
|
|
};
|
|
|
|
buildInputs = [ rospy camera-info-manager image-transport sensor-msgs cv-bridge roscpp ];
|
|
propagatedBuildInputs = [ rospy camera-info-manager image-transport sensor-msgs cv-bridge roscpp ];
|
|
nativeBuildInputs = [ catkin ];
|
|
|
|
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.'';
|
|
#license = lib.licenses.BSD;
|
|
};
|
|
}
|