Browse Source

more cleanup

pull/65/head
trivediana 2 years ago
parent
commit
7fb258bac8
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      vz_ros_wrappers/scripts/grab_D435i.py
  2. +2
    -2
      vz_ros_wrappers/scripts/grab_thermal.py

+ 2
- 2
vz_ros_wrappers/scripts/grab_D435i.py View File

@ -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()

+ 2
- 2
vz_ros_wrappers/scripts/grab_thermal.py View File

@ -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')

Loading…
Cancel
Save