feat: 增加上下位机通信接口 (底盘速度和位置控制)

This commit is contained in:
bmy
2024-04-24 23:22:21 +08:00
parent 7123fb2f25
commit 1c3131e9c7
14 changed files with 560 additions and 294 deletions

View File

@@ -9,4 +9,20 @@ typedef struct motion_speed_type {
float v_w;
} motion_speed_type;
typedef struct motion_time_type {
uint32_t t_x;
uint32_t t_y;
uint32_t t_w;
} motion_time_type;
extern void by_motion_init(void);
extern void by_motion_update_speed(void);
extern void by_motion_loop(void);
extern void by_motion_set_mode(uint8_t mode);
extern void by_motion_timer_handle(void);
extern void by_motion_set_mode(uint8_t mode);
extern motion_speed_type motion_speed_struct;
extern motion_time_type motion_time_struct;
#endif