From a5b33fbb7bf798b1113108539173376b6ce58747 Mon Sep 17 00:00:00 2001 From: Hongyu Li Date: Mon, 4 Apr 2022 13:56:25 -0400 Subject: [PATCH] Working ORVS Thermal node --- vz_ros_wrappers/scripts/orvs_ros_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vz_ros_wrappers/scripts/orvs_ros_interface.py b/vz_ros_wrappers/scripts/orvs_ros_interface.py index 52b3f55..9e8d9c4 100755 --- a/vz_ros_wrappers/scripts/orvs_ros_interface.py +++ b/vz_ros_wrappers/scripts/orvs_ros_interface.py @@ -49,9 +49,9 @@ class FLIR_LEPTON: if self.index < 300: print(self.index) self.frame_arr[self.index] = cv_image - self.index += 1 deltat = t.to_sec() - self.t_zero self.time_arr[self.index] = deltat + self.index += 1 else: # when list is full self.index = 0 # reset index vid_arr = np.asarray(self.frame_arr) # make into np array