feat: 增加上下位机通信接口 (底盘速度和位置控制)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user