Data Gator
Hardware and software documentation for the Data Gator project.
Loading...
Searching...
No Matches
planner Struct Reference

Data structure for task scheduling stored in NVS. More...

#include <scheduler.hpp>

Public Attributes

int analog_t0 = -1
 
int ht_t0 = -1
 
int ota_t0 = -1
 
int tlm_t0 = -1
 

Detailed Description

Data structure for task scheduling stored in NVS.

Counters for when the last time the task was executed, the last reset counter value when reading was taken. Members are named by task name and the _t0 denotes physics-esque mathematical notation, ie this is the starting point of our calculation.

Tasks are similarly named functions which are run when the current reset count value minus the previous reset count recorded in <task_name>_t0 equals the time between task executions specified in the config header.

Member Data Documentation

◆ analog_t0

int planner::analog_t0 = -1

time since analog reading

◆ ht_t0

int planner::ht_t0 = -1

time since temperature and humidity sensor reading

◆ ota_t0

int planner::ota_t0 = -1

time since over the air update check was made

◆ tlm_t0

int planner::tlm_t0 = -1

time since the last telemetry message was sent


The documentation for this struct was generated from the following file: