2024-12-28 00:38:42 +08:00
|
|
|
#ifndef MODE_H
|
|
|
|
#define MODE_H
|
|
|
|
|
|
|
|
#include "Arduino.h"
|
|
|
|
#include "tracking.h"
|
|
|
|
enum ModeType
|
|
|
|
{
|
|
|
|
MODE_MANUAL_CONTROL,
|
|
|
|
MODE_TRACK,
|
|
|
|
};
|
|
|
|
|
|
|
|
class Mode
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static ModeType mode;
|
2025-01-01 17:53:59 +08:00
|
|
|
static ModeType lastMode;
|
2024-12-28 00:38:42 +08:00
|
|
|
static void processDeviceMode();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|