auto_bus/include/rail.h

42 lines
779 B
C
Raw Normal View History

#ifndef AUTO_PILOT_BUS_RAIL_H
#define AUTO_PILOT_BUS_RAIL_H
struct {
/**
*
*/
int id;
/**
*
*/
int last_node_distance;
/**
*
*/
int next_node_distance;
/**
*
*/
struct rail_node* last_node;
/**
*
*/
struct rail_node* next_node;
} rail_node;
/**
*
*/
typedef struct rail_node rail_node_t;
2022-05-06 11:55:30 +08:00
extern rail_node_t* rails;
/**
*
* @param id
* @return
*/
rail_node_t *FindNode(int id);
#endif //AUTO_PILOT_BUS_RAIL_H