This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "detection.h" | |
// constructors | |
//=================================== | |
Detection::Detection() { | |
// mprocessing | |
plot = true; // Turn on plotting if true; | |
// sitrec | |
tol_filter = 2; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=================================== | |
// include guard (safety measure) | |
#ifndef DETECTION_H // if not defined | |
#define DETECTION_H // define | |
//=================================== | |
// forward declared dependencies | |
//=================================== | |
// included dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "strategy.h" | |
// forward declared dependencies | |
//=================================== | |
#include "movement.h" | |
#include "detection.h" | |
// constructors | |
//=================================== | |
Strategy::Strategy() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=================================== | |
// include guard (safety measure) | |
#ifndef STRATEGY_H // if not defined | |
#define STRATEGY_H // define | |
//=================================== | |
// forward declared dependencies | |
class Detection; | |
class Movement; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "movement.h" | |
// forward declared dependencies | |
//=================================== | |
#include "strategy.h" | |
#include "detection.h" | |
// constructors | |
//=================================== | |
Movement::Movement() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//=================================== | |
// include guard (safety measure) | |
#ifndef MOVEMENT_H // if not defined | |
#define MOVEMENT_H // define | |
//=================================== | |
// forward declared dependencies | |
class Strategy; | |
class Detection; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// emc-framework | |
#include <emc/io.h> | |
#include <emc/rate.h> | |
#include <iostream> | |
#include <stdio.h> | |
#include <time.h> | |
// subsystems | |
#include "movement.h" | |
#include "detection.h" |