Car/Service/Inc/path_plan.h
2024-07-20 10:48:10 +08:00

19 lines
306 B
C

#ifndef __PATH_PLAN_H
#define __PATH_PLAN_H
// 定义方向枚举
typedef enum
{
STRAIGHT,
LEFT,
RIGHT
} Direction;
void PathPlanner_Init();
Direction GetCurrentDirection();
Direction GetNextDirection();
void AddPathStep(Direction step);
void ReplacePathStep(Direction* step, int n);
#endif