talon/User/mode_openloop.h

18 lines
388 B
C
Raw Permalink Normal View History

2024-01-13 12:57:51 -05:00
#ifndef USER_MODE_OPENLOOP_H_
#define USER_MODE_OPENLOOP_H_
#include "mode_openloop.h"
#include "app.h"
typedef struct {
int time;
double velocity;
int prev_mc;
u8 is_continuous;
} mode_openloop_state_t;
void mode_openloop_init(app_state_t *app, mode_openloop_state_t *state);
void mode_openloop(app_state_t *app, mode_openloop_state_t *state);
#endif /* USER_MODE_OPENLOOP_H_ */