|
PiImageStreamer
|
#include "PeriodicTask.h"#include "CommandQueue.h"#include <atomic>#include "GPIO.h"#include "PulsedGPIOPin.h"#include "AbstractImageTransmitter.h"

Go to the source code of this file.
Classes | |
| class | SWE4211RPi::CameraController |
This code is developed as part of the MSOE SWE4211 Real Time Systems course, but can be freely used by others.
SWE4211 Real Time Systems is a required course for students studying the discipline of software engineering.
This Software is provided under the License on an "AS IS" basis and without warranties of any kind concerning the Software, including without limitation merchantability, fitness for a particular purpose, absence of defects or errors, accuracy, and non-infringement of intellectual property rights other than copyright. This disclaimer of warranty is an essential part of the License and a condition for the grant of any rights to this Software.
This class is a periodic task that controls the camera. It processes the messages sent to it: setting the image transmitter's destination when a client connects or disconnects, answering heartbeat pings, and moving the camera's azimuth (rotation) and elevation servos. The servos are moved toward their desired positions a few degrees each period.