From f1d2b7c2053bf8f1f61c143d1cd2e98cb3bb94fc Mon Sep 17 00:00:00 2001 From: trivediana Date: Tue, 8 Mar 2022 13:00:40 -0500 Subject: [PATCH] Displaying data when using grab.py files for data collect purposes. should uncomment on the robot i think --- vz_ros_wrappers/scripts/grab_D435i.py | 2 +- vz_ros_wrappers/scripts/grab_thermal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/vz_ros_wrappers/scripts/grab_D435i.py b/vz_ros_wrappers/scripts/grab_D435i.py index cc385e9..fec0c37 100755 --- a/vz_ros_wrappers/scripts/grab_D435i.py +++ b/vz_ros_wrappers/scripts/grab_D435i.py @@ -42,7 +42,7 @@ class D435i: self.bridge = CvBridge() self.D435i_pub = rospy.Publisher('/D435i_raw', Image, queue_size=100) self.timer = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.publish_image) - # self.timer_display = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.display_images) + self.timer_display = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.display_images) def publish_image(self, timer): try: diff --git a/vz_ros_wrappers/scripts/grab_thermal.py b/vz_ros_wrappers/scripts/grab_thermal.py index cf357d3..4b9aa36 100755 --- a/vz_ros_wrappers/scripts/grab_thermal.py +++ b/vz_ros_wrappers/scripts/grab_thermal.py @@ -50,7 +50,7 @@ class FLIR_LEPTON: self.bridge = CvBridge() self.thermal_pub = rospy.Publisher('/flir_3_5_near_realsense_raw', Image, queue_size=100) self.timer = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.publish_image) - # self.timer_display = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.display_images) + self.timer_display = rospy.Timer(rospy.Duration(0, UPDATE_RATE), self.display_images) def publish_image(self, timer): try: