dVRK endoscope setup - gkgkgk1215/else GitHub Wiki

https://github.com/jhu-dvrk/dvrk-ros/blob/master/dvrk_robot/video.md

  1. Blackmagic DeckLink Duo
  • PCI board for receiving video data using SDI comm. (4-ch)
  • Download "Desktop Video SDK" and install (should read instructions included in the SDK) https://www.blackmagicdesign.com/developer/product/capture-and-playback
  • Plugin install sudo apt install gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad
  • Test if the drivers are working gst-launch-1.0 decklinkvideosrc device-number=0 ! videoconvert ! autovideosink gst-launch-1.0 decklinkvideosrc device-number=1 ! videoconvert ! autovideosink
  1. Install the dependencies (see the attached photo)

  2. gscam

  • ROS library
  • download the attached gscam SW
  • catkin build
  1. Launch
  • modify resolution (fix_resolution.sh)
  • roslaunch gscam endoscope.launch