Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.38 KB

ASTRA

Active Sattelite Radio Tracking Antenna(ASTRA) is a software for automatic control of a rotator.

Table of Contents

Installation Instructions

  1. Install Raspberry Pi OS Legacy (bullseye). Make sure to download the bullseye verison because python2 won't work correcty on the other versions.

  2. Remove python3 with the following commands.

    sudo apt-get remove python3
    
    sudo apt-get remove autoremove
    
    sudo apt-get remove autoclean
    
  3. Follow the installation instructions of the gasctld driver.

  4. Download ASTRA with the command git clone -b Socket-Interface https://github.com/cwayl/ASTRA.git

  5. Run gcc -o ASTRA_Program ASTRA/main.c -lm to compile the code.

Setup

Modify the Station.txt file by entering the lattitude, longitude, and altitude of the Ground Station. By default the file is setup for the USU GAS Ground Station in Logan, UT.

Running the Code

  1. Turn on the rotator driver by running ./gasctld/greenctld --az-device /dev/ttyUSB0 --el-device /dev/ttyUSB1 Remember that the USB adresses may be different in some cases.
  2. Turn on ASTRA by running ./ASTRA_Program in a seperate terminal.