Skip to content

Commit

Permalink
small tweaks
Browse files Browse the repository at this point in the history
- we didn't need the double call to cleanobservations()
  • Loading branch information
luke-iqt committed May 3, 2021
1 parent 910ba87 commit d23ec7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ From the ADS-B transmissions, you can get a plane's location and altitude. If yo
## Hardware
The project works with the following hardware. It should be easy to extended to work with other SDRs or cameras... but that is on you.
- Raspberry Pi 4
- [Axis m5525](https://www.axis.com/en-us/products/axis-m5525-e) Axis has a great API for their network cameras, and it should work with any of there PTZ cameras. The m5525 is nice because it supports continuous 360 degree rotation. You can literally have it spin around in circles, giving you complete coverage. It also has 10x optical zoom.
- [Axis m5525](https://www.axis.com/en-us/products/axis-m5525-e) Axis has a great API for their network cameras, and it should work with any of there PTZ cameras. The m5525 is nice because it supports continuous 360 degree rotation. You can literally have it spin around in circles, giving you complete coverage. It also has 10x optical zoom. Any Axis PTZ camera should be supported. The code has also been tested with the [Axis p5655](https://www.axis.com/en-us/products/axis-p5655-e) camera.
- [Pan Tilt Hat](https://shop.pimoroni.com/products/pan-tilt-hat?variant=22408353287) & Raspberry Pi Camera - This is the budget option. It is a small kit that uses servo motors to move the Raspberry Pi Cam around. It only has about 170 degrees of panning and the positioning is not that accurate. Since the Pi Cam is used, it is not zoomed in much. If you are in a spot where planes are flying low overhead, this could be a perfect solution.
- [RTL-SDR](https://www.nooelec.com/store/sdr/nesdr-smart-sdr.html) This is nice and stable RTL-SDR. It is compact and doesn't block all the other ports on a Pi. Since you are just trying to capture local planes, you can get away with using any antenna you have lying around.

Expand Down
2 changes: 1 addition & 1 deletion tracker/flighttracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def run(self):
m = sbs1.parse(data)
if m:
icao24 = m["icao24"]
self.cleanObservations()

if icao24 not in self.__observations:
self.__observations[icao24] = Observation(m)
self.__observations[icao24].update(m)
Expand Down

0 comments on commit d23ec7a

Please sign in to comment.