gimbal/User/module/remote_cmd.h
2026-01-03 02:30:09 +08:00

30 lines
529 B
C

/*
* cmd模组
*/
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ----------------------------------------------------------------- */
#include "component\user_math.h"
#include "gimbal.h"
#include "remote_control.h"
#include "shoot.h"
typedef struct {
bool on_line;
Shoot_Mode_t S_Mode;
}Remote_Mode;
int8_t remote_ParseHost(Gimbal_CMD_t *g_cmd,RC_ctrl_t *rc_ctrl,Gimbal_IMU_t *imu);
int8_t shoot_remote_cmd(Shoot_CMD_t *s_cmd,RC_ctrl_t *rc_ctrl,Remote_Mode *mode);
#ifdef __cplusplus
}
#endif