Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tello_vision
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
robotikaGyak
tello_vision
Commits
5e7e0bf8
Commit
5e7e0bf8
authored
Nov 25, 2019
by
Your Name
Browse files
Options
Downloads
Patches
Plain Diff
Added base code
parent
f4e4b993
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/tello_control.py
+27
-0
27 additions, 0 deletions
scripts/tello_control.py
with
27 additions
and
0 deletions
scripts/tello_control.py
0 → 100755
+
27
−
0
View file @
5e7e0bf8
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment