start new ramp
This commit is contained in:
		| @@ -85,9 +85,28 @@ typedef struct { | ||||
|     uint32_t center;    //  | ||||
|     uint32_t position;  //  | ||||
|     uint8_t speed;      // 100m/h | ||||
|     bool brake; | ||||
|     uint8_t powerMode; // 0: eco - 1: normal - 2: race | ||||
|     /* | ||||
|      * 0 - ECO MODE | ||||
|      * Eco mod limit to 1/2 of the maximal current.  | ||||
|      * Position is 1/2 of the maximal angle | ||||
|      *  | ||||
|      * 1 - NORMAL MODE | ||||
|      * Standard ramp for normal mode | ||||
|      * Position is limited to 3/4 of the maximal  | ||||
|      *  | ||||
|      * 2 - RACE MODE | ||||
|      *  | ||||
|      *  | ||||
|      */ | ||||
| } KART_VAR_TYPE; | ||||
| KART_VAR_TYPE eKart; | ||||
|  | ||||
| uint8_t exp[100]; | ||||
| uint8_t log[100]; | ||||
|  | ||||
|  | ||||
|  | ||||
| #endif	/* CAR_H */ | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user