This repository holds the code for a satellite to ground interaction model. The model simulates a ground station recieving a command from the satellite, then commanding a camera to orient in a certain direction and begin tracking an object.
Program Structure:
- Read the values from the magnetometer and actuate the stepper motors to rotate the camera to face a specified heading.
- Begin looking for an object of a specified color.
- Track the object and actuate the pan/tilt servos in the corresponding directions to keep the object in frame.