Browse Source

Displaying data when using grab.py files for data collect purposes. should uncomment on the robot i think

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

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

@ -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:

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

@ -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:

Loading…
Cancel
Save