auto_bus/include/controller.h

34 lines
590 B
C
Raw Normal View History

2022-05-06 11:55:30 +08:00
//
// Created by ricardo on 2022/5/6.
//
#ifndef AUTO_PILOT_BUS_CONTROLLER_H
#define AUTO_PILOT_BUS_CONTROLLER_H
2022-05-17 20:22:29 +08:00
#include "stdlib.h"
2022-05-06 11:55:30 +08:00
#include "rail.h"
#include "query.h"
2022-05-17 20:22:29 +08:00
#include "bus.h"
/**
*
*/
extern bus_query_t *target_query;
/**
*
*/
extern int chosen_strategy;
2022-05-17 20:22:29 +08:00
2022-05-06 11:55:30 +08:00
/**
2022-05-17 20:22:29 +08:00
*
* @return
2022-05-06 11:55:30 +08:00
*/
int FCFSDirection();
2022-05-06 11:55:30 +08:00
/**
2022-05-17 20:22:29 +08:00
*
* @return
*/
bus_query_t *FCFSQuery();
2022-05-06 11:55:30 +08:00
#endif //AUTO_PILOT_BUS_CONTROLLER_H