News How to Build an Airplane Tracker with Raspberry Pi

Mar 13, 2021
3
0
10
0
Amazing!

I live very close to a fairly large airport and was able to see several planes landing and taking off in addition to the ones just going overhead.

It was even more fun to enter the flight number into a flight tracker program and see the origin and destination info.

Even my wife thought it was interesting.
 
Last edited:
Mar 13, 2021
3
0
10
0
Hello guys,
if I type in bash entrypoint.sh, a window starts to open for a second. Then I get a message like "FileNotFoundError: [Errno 2] No such file or directory : '/home/pi/raspberry_pi_flight_tracker/src/../data'
The same thing happened to me the first time I tried it so I just manually created the missing 'data' directory and now everything works.
 
Mar 13, 2021
3
0
10
0
Where did you place the folder and with what permissions?
The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.
 
Mar 20, 2021
2
0
10
0
Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

Can you point me in the correct location(s)?
 
Mar 22, 2021
1
0
10
0
The error message I received had the path '/home/pi/raspberry_pi_flight_tracker/src/../data' . The data directory should be in the main project directory '/home/pi/raspberry_pi_flight_tracker'

Since this is apparently for simple data files I didn't worry about permissions and just took the defaults. Once the directory is created, the programs will be able to create all the data files they need to run.
Im also getting a similar message when I try to run the program. Here is the dump from it. Any help is appreciated. Im a total newb to anything non widows based


pi@raspberrypi:~/raspberry_pi_flight_tracker $ bash entrypoint.sh
Starting Server...
Starting Map...
pygame 2.0.1 (SDL 2.0.9, Python 3.7.3)
Hello from the pygame community. https://www.pygame.org/contribute.html
Traceback (most recent call last):
File "src/app.py", line 10, in <module>
main()
File "src/app.py", line 6, in main
renderer.run_screen()
File "/home/pi/raspberry_pi_flight_tracker/src/renderer.py", line 43, in run_screen
for aircraft_json in decoder.get_aircraft():
File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 23, in get_aircraft
clean_up_directory()
File "/home/pi/raspberry_pi_flight_tracker/src/decoder.py", line 16, in clean_up_directory
for file_name in os.listdir(get_data_directory_path()):
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/raspberry_pi_flight_tracker/src/../data'
 
Mar 20, 2021
2
0
10
0
Trying to build, but in can't locate the packages for limesuite, liblimesuite-dev, .....

Can you point me in the correct location(s)?
Had to update to Buster and the located all the files. However also needed to update PyGames manually to get the graphics to work properly.
 
Apr 22, 2021
1
0
10
0
Even after creating the data directory, the file aircraft.json cannot be found. Cool project, but this tutorial is not working after following the directions.
 
Oct 3, 2021
1
0
10
0
Hi, trying to run this flight tracker display but it seems github have changed access to the rep.....

trying to clone https://github.com/rydercalmdown/raspberry_pi_flight_tracker_git

returns "cloning into raspberry_pi_flight_tracker_git..."
username for 'https://github.com':
password for 'https://github.com':

so now I go to github.com and obtain a login username and password

entering this new username password fails because github now requires a token
and refers me to a blog announcement 2020-12-15-token authentication.

well this appears to be too difficult, is there any better instructions available to make this flight tracker display run?

thanks all.
 
Jul 21, 2022
1
0
10
0
When I tried this today step 4 ( Build dump1090) no longer works. It throws an error about a missing header file.

I got it working by going to the GitHub source project here (https://github.com/flightaware/dump1090) and following their latest instructions. At the time of writing, they were:

Building under bullseye, buster, or stretch
sudo apt-get install build-essential fakeroot debhelper librtlsdr-dev pkg-config libncurses5-dev libbladerf-dev libhackrf-dev liblimesuite-dev
./prepare-build.sh bullseye # or buster, or stretch
cd package-bullseye # or buster, or stretch
dpkg-buildpackage -b --no-sign

You can then execute as per the next step in the walkthrough. Hope this helps...
 

ASK THE COMMUNITY