-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Worked on improving clarity via naming & small updates
- Loading branch information
1 parent
d19c039
commit 3fe46ab
Showing
13 changed files
with
223 additions
and
278 deletions.
There are no files selected for viewing
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
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
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/** | ||
* @file TelemetryManager.hpp | ||
* @brief What does this file do? | ||
* | ||
* @note Anything future maintainers should know about this file? | ||
* | ||
* @version 1.0 | ||
* @date 2023-08-24 | ||
* @author Yarema Dzulynsky: initial structure & Implementation | ||
* | ||
* @warning Any issues you think are important/foresee in the future? | ||
*/ | ||
|
||
#ifndef TELEMETRYMANAGER_H | ||
#define TELEMETRYMANAGER_H | ||
|
||
#include "GroundStationCommunication.hpp" | ||
#include "MavlinkTranslator.hpp" | ||
#include "TelemetryTask.hpp" | ||
|
||
class TelemetryManager { | ||
|
||
public: | ||
/** | ||
* @brief Construct a new Telemetry Manager object. Does not initialize the tasks. | ||
* To do so call the init() method. | ||
*/ | ||
TelemetryManager(); | ||
~TelemetryManager(); | ||
|
||
GroundStationCommunication GSC; | ||
MavlinkTranslator MT; | ||
|
||
/** | ||
* @brief Initialize TM. | ||
* | ||
*/ | ||
void init(); | ||
|
||
/** | ||
* @brief This method is responsible for | ||
* sending non routine data to the ground station. Such as arm disarmed message status, | ||
* fulfilling data requests from the ground station etc. This is the lowest priority data | ||
* in the GSC.lowPriorityTransmitBuffer. | ||
*/ | ||
void transmitNonRoutineData(); | ||
|
||
/** | ||
* @brief Create and configure FreeRTOS tasks. | ||
* | ||
*/ | ||
void spinUpTasks(); | ||
|
||
/** | ||
* @brief Destroy FreeRTOS tasks and free up memory. | ||
* | ||
*/ | ||
void teardownTasks(); | ||
}; | ||
|
||
#endif |
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
Oops, something went wrong.