From 7fb258bac841f130317077e84be87283c58fecc1 Mon Sep 17 00:00:00 2001 From: trivediana Date: Tue, 8 Mar 2022 13:29:13 -0500 Subject: [PATCH] more cleanup --- vz_ros_wrappers/scripts/grab_D435i.py | 4 ++-- vz_ros_wrappers/scripts/grab_thermal.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/vz_ros_wrappers/scripts/grab_D435i.py b/vz_ros_wrappers/scripts/grab_D435i.py index f58775e..c26b4cf 100755 --- a/vz_ros_wrappers/scripts/grab_D435i.py +++ b/vz_ros_wrappers/scripts/grab_D435i.py @@ -35,8 +35,8 @@ class D435i: # initialize ros/cv2 bridge # Note: when testing with your own video, replace with local file - self.D435i_cap = cv2.VideoCapture('/home/ananya/Downloads/2022-02-09-16-20-58(2).mp4') - + # self.D435i_cap = cv2.VideoCapture('/home/ananya/Downloads/2022-02-09-16-20-58(2).mp4') + self.thermal_cap = cv2.VideoCapture('/dev/video6') if not self.D435i_cap.isOpened(): raise(Exception,'Unable to open video stream') self.bridge = CvBridge() diff --git a/vz_ros_wrappers/scripts/grab_thermal.py b/vz_ros_wrappers/scripts/grab_thermal.py index dd4f3f1..2813d77 100755 --- a/vz_ros_wrappers/scripts/grab_thermal.py +++ b/vz_ros_wrappers/scripts/grab_thermal.py @@ -42,8 +42,8 @@ class FLIR_LEPTON: # for the vz project stretch robot, the top aux usb is video6 # Note: when testing with your own video, replace with local file - self.thermal_cap = cv2.VideoCapture('/home/ananya/Downloads/Thermal-3(2).mp4') - # self.thermal_cap = cv2.VideoCapture('/dev/video6') + # self.thermal_cap = cv2.VideoCapture('/home/ananya/Downloads/Thermal-3(2).mp4') + self.thermal_cap = cv2.VideoCapture('/dev/video6') if not self.thermal_cap.isOpened(): raise(Exception,'Unable to open video stream')