Update olr-lib.h
This commit is contained in:
parent
24669c922e
commit
f826d28c96
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,8 @@ extern "C"{
|
||||||
#include "olr-param.h"
|
#include "olr-param.h"
|
||||||
|
|
||||||
#define SPD_MIN_TRACK_AUX 0.8
|
#define SPD_MIN_TRACK_AUX 0.8
|
||||||
|
#define BATTERY_DELTA 0.03
|
||||||
|
#define BATTERY_MIN 0.5
|
||||||
|
|
||||||
enum stcoin{
|
enum stcoin{
|
||||||
COIN_RESET = -2,
|
COIN_RESET = -2,
|
||||||
|
@ -51,6 +53,7 @@ typedef struct{
|
||||||
int trackID;
|
int trackID;
|
||||||
enum status st;
|
enum status st;
|
||||||
bool leaving;
|
bool leaving;
|
||||||
|
float battery;
|
||||||
}car_t;
|
}car_t;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue