17 lines
388 B
C
17 lines
388 B
C
#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_ */
|