Skip to content
Snippets Groups Projects
Commit 4d97668f authored by Your Name's avatar Your Name
Browse files

Minor correction.

parent 189f1ad5
No related branches found
No related tags found
No related merge requests found
...@@ -16,8 +16,6 @@ class TelloVision(object): ...@@ -16,8 +16,6 @@ class TelloVision(object):
self.pub_land = rospy.Publisher('/tello/land', Empty, queue_size=1, latch=False) self.pub_land = rospy.Publisher('/tello/land', Empty, queue_size=1, latch=False)
self.sub_status = rospy.Subscriber('/tello/status',TelloStatus,self.refresh_status_cb,queue_size=1) self.sub_status = rospy.Subscriber('/tello/status',TelloStatus,self.refresh_status_cb,queue_size=1)
self.status = TelloStatus() self.status = TelloStatus()
self.bridge = CvBridge()
self.image_sub = rospy.Subscriber("/tello/camera/image_raw",Image,self.callback)
def spin(self): def spin(self):
# Function not let the node shutdown until an interrupt comes in (Keyboard interrupt or shutdown signal). # Function not let the node shutdown until an interrupt comes in (Keyboard interrupt or shutdown signal).
...@@ -87,4 +85,3 @@ if __name__ == '__main__': ...@@ -87,4 +85,3 @@ if __name__ == '__main__':
except KeyboardInterrupt: except KeyboardInterrupt:
pass pass
rospy.signal_shutdown('Great Flying!') rospy.signal_shutdown('Great Flying!')
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment