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

Added base code

parent f4e4b993
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
import rospy
import cv2
from std_msgs.msg import String, Empty
from sensor_msgs.msg import Image
from cv_bridge import CvBridge, CvBridgeError
import numpy as np
import sys
from tello_driver.msg import TelloStatus
class TelloVision(object):
def __init__(self):
# Start ROS node
rospy.init_node('tello_vision_node')
def spin(self):
rospy.spin()
if __name__ == '__main__':
try:
node = TelloVision()
while not node.is_processed:
node.spin()
except rospy.ROSInterruptException:
pass
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