Hello Tello Pilot!
Join our DJI Tello community & remove this banner.
Sign up

Tello AR autopilot (branch ver "icon indicate")

r9kawai

Member
Joined
Feb 27, 2019
Messages
10
Reaction score
11
I made below before.

In this time version, code of AR to indicate icon images.
and write log to "detect_ar.csv".
Which assign AR to images with .xls.

If you will try, down load branch version.

In this branch version, no need, no read barcodes,
Drone has close AR marker in 60cm, then alternate back.
I hope be good looking, as alternate view AR marker position.
It will be upgraded later.
 
  • Like
Reactions: frequency

frequency

Active member
Joined
Apr 18, 2019
Messages
32
Reaction score
11
Hi r9kawai San,

I will try the above program tomorrow due to busy work schedule which I couldn't try it on time

On the mean time some questions:

1) I just print out the AR.0 then indicate "Apple". Stick it on the wall as given in your file!

2) Next just run the Main.py program and it will record into the excel file right??

Thanks

Best Regards,
Frequency
 
Last edited:
  • Like
Reactions: r9kawai

r9kawai

Member
Joined
Feb 27, 2019
Messages
10
Reaction score
11
Hi, I ask below.

1)
Yes, If drone camera capt AR marker, indicate img/***.png as follow ar_assignment.xls.
(AR is pasted on the wall, and the PNG icon is displayed on the screen.)

2)
Yes, It if find AR marker, write log to "detect_ar.csv".

above test function is in a branch of "ar_icon_test1", ok?
1566824517198.png

 

frequency

Active member
Joined
Apr 18, 2019
Messages
32
Reaction score
11
Dear r9kawai San,

For the above issues, I try to install pip install xlrd
Hence I got the below issues:

-----------------------------------------------------------------------------------------------------------------------------------------------

[email protected]:~$ python '/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py'

sent: command
sent: streamon
Traceback (most recent call last):
File "/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py", line 12, in <module>
main()
File "/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py", line 8, in main
ui = DroneUI(drone,"./img/")
File "/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_control_ui.py", line 36, in __init__
self.drone_ar = Drone_AR_Flight()
File "/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_ar_flight.py", line 68, in __init__
self.ar_as = Drone_AR_assignment()
File "/home/frequency/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_ar_assignment.py", line 6, in __init__
self.wb = xlrd.open_workbook('ar_assignment.xls')
File "/home/frequency/.local/lib/python2.7/site-packages/xlrd/__init__.py", line 111, in open_workbook
with open(filename, "rb") as f:
IOError: [Errno 2] No such file or directory: 'ar_assignment.xls'
 
Last edited:

r9kawai

Member
Joined
Feb 27, 2019
Messages
10
Reaction score
11
Hi, Ok, I teach operate below.

Firstly, You need follow instruction of "ENVIRONMENT.TXT".
then,

I post below.



git clone r9kawai/ToyDroneWithAutopilotBarcodeReader
Dear r9kawai San,

For the above issues, I try to install pip install xlrd
Hence I got the below issues:

-----------------------------------------------------------------------------------------------------------------------------------------------

[email protected]:~$ python '/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py'

sent: command
sent: streamon
Traceback (most recent call last):
File "/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py", line 12, in <module>
main()
File "/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/main.py", line 8, in main
ui = DroneUI(drone,"./img/")
File "/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_control_ui.py", line 36, in __init__
self.drone_ar = Drone_AR_Flight()
File "/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_ar_flight.py", line 68, in __init__
self.ar_as = Drone_AR_assignment()
File "/home/sebastian/Downloads/ToyDroneWithAutopilotBarcodeReader-ar_icon_test1/drone_ar_assignment.py", line 6, in __init__
self.wb = xlrd.open_workbook('ar_assignment.xls')
File "/home/sebastian/.local/lib/python2.7/site-packages/xlrd/__init__.py", line 111, in open_workbook
with open(filename, "rb") as f:
IOError: [Errno 2] No such file or directory: 'ar_assignment.xls'
 

New Threads

Members online

Forum statistics

Threads
3,353
Messages
26,111
Members
8,666
Latest member
afrestrepo