x72y5e / radar Goto Github PK
View Code? Open in Web Editor NEWDisplay flight data on the UnicornHatHD module for Raspberry Pi
License: MIT License
Display flight data on the UnicornHatHD module for Raspberry Pi
License: MIT License
Hi,
i test the script, with parameter:
python tracker.py 52.44 9.73
its generate:
File "tracker.py", line 19
def plot(grid: np.ndarray):
^
SyntaxError: invalid syntax
Greetings
Thomas
Hi,
i have this error:
~/radar $ python3 ./tracker.py
No unicorn hat found. Printing to console only.
getting data...
52.185 -0.45799999999999996 19.0
From: Traceback (most recent call last):
File "./tracker.py", line 162, in
track(fixed, x_low, x_high, y_low, y_high, r)
File "./tracker.py", line 124, in track
display_to_console(current_ac)
File "./tracker.py", line 68, in display_to_console
print("From:", p.From)
File "/usr/lib/python3.5/encodings/iso8859_15.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\xbc' in position 6: character maps to
The aircraft colours could be improved (plane.py)
Hello,
Please describe the necessary parameters of config.json in detail in the readme.
Many Thanks
Hi,
i update to python3 and install numpy-1.15.4-cp35-cp35m-linux_armv6l.whl on my headless Raspberry Pi (without X-Server) and install unicornhathd.
Thist is the error:
python3 ./tracker.py 52 9
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/numpy/core/init.py", line 16, in
from . import multiarray
ImportError: libf77blas.so.3: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tracker.py", line 5, in
import numpy as np
File "/usr/local/lib/python3.5/dist-packages/numpy/init.py", line 142, in
from . import add_newdocs
File "/usr/local/lib/python3.5/dist-packages/numpy/add_newdocs.py", line 13, in
from numpy.lib import add_newdoc
File "/usr/local/lib/python3.5/dist-packages/numpy/lib/init.py", line 8, in
from .type_check import *
File "/usr/local/lib/python3.5/dist-packages/numpy/lib/type_check.py", line 11, in
import numpy.core.numeric as _nx
File "/usr/local/lib/python3.5/dist-packages/numpy/core/init.py", line 26, in
raise ImportError(msg)
ImportError:
Importing the multiarray numpy extension module failed. Most
likely you are trying to import a failed build of numpy.
If you're working with a numpy git repo, try git clean -xdf
(removes all
files not under version control). Otherwise reinstall numpy.
Original error was: libf77blas.so.3: cannot open shared object file: No such file or directory
I'm using the latest version with the config.json file, and it works with the default values.
For simplicity's sake, I'd like to enter one, fixed, middle coordinate, and a range around it. It seems I need the info for the top and bottom corners to draw the grid. If that's the case, whats the point of the range? Or am I missing something?
Thanks!
Hi,
i have Successfully uninstalled unicornhathd-0.0.4 then:
python3 ./tracker.py
Traceback (most recent call last):
File "./tracker.py", line 12, in
import unicornhathd as u
ImportError: No module named 'unicornhathd'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./tracker.py", line 14, in
except ModuleNotFoundError:
NameError: name 'ModuleNotFoundError' is not defined
Hi,
Traceback (most recent call last):
File "./tracker.py", line 163, in
track(fixed, x_low, x_high, y_low, y_high, 18.)
File "./tracker.py", line 128, in track
grid = make_grid(current_ac, lat_min, lat_max, long_min, long_max)
File "./tracker.py", line 43, in make_grid
grid[x, y] = (h, s, .1)
IndexError: index -17 is out of bounds for axis 1 with size 16
Param:
python3 ./tracker.py
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
enter coordinate (in format lat, long) for bottom-left of the map: (or press enter for default) 51.074079, 6.980566
enter coordinate (in format lat, long) for top-right of the map: (or press enter for default)53.296305, 13.854978
enter coordinates (in format lat, long) for any fixed point, or press enter to continue:
getting data...
From: LFBO Toulouse-Blagnac, Toulouse/Blagnac, France
To: EGLL London Heathrow, United Kingdom
Type: Airbus A319 131
Operator: British Airways
Altitude: 37000
Last Info: 0.01 seconds ago
...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.