Car/Service/Inc/path_plan.h

19 lines
306 B
C
Raw Permalink Normal View History

2024-07-17 21:19:00 +08:00
#ifndef __PATH_PLAN_H
#define __PATH_PLAN_H
// 定义方向枚举
typedef enum
{
STRAIGHT,
LEFT,
2024-07-20 10:44:59 +08:00
RIGHT
2024-07-17 21:19:00 +08:00
} Direction;
void PathPlanner_Init();
Direction GetCurrentDirection();
Direction GetNextDirection();
void AddPathStep(Direction step);
2024-07-20 10:44:59 +08:00
void ReplacePathStep(Direction* step, int n);
2024-07-17 21:19:00 +08:00
#endif