Vehicle Control Unit
0.01
This is the c library for controlling the car.
Loading...
Searching...
No Matches
Core
Inc
Utils
Common.h
Go to the documentation of this file.
1
#ifndef RENSSELAERMOTORSPORT_COMMON_H
2
#define RENSSELAERMOTORSPORT_COMMON_H
3
4
// Definition of common constants and macros used throughout the project
5
#define SUCCESS 0
6
#define FAILURE 1
7
8
#define ESC "\x1b["
9
#define ESC_AQUA ESC "36m"
10
#define ESC_GREEN ESC "32m"
11
#define ESC_RED ESC "31m"
12
#define ESC_RESET ESC "0m"
13
14
#define TEST_DELIM "\t"
15
#define TEST_START ESC_AQUA "START"
ESC_RESET TEST_DELIM
16
#define TEST_PASS ESC_GREEN "PASS"
ESC_RESET TEST_DELIM
17
#define TEST_OK ESC_GREEN "OK"
ESC_RESET TEST_DELIM
18
#define TEST_ERR ESC_RED "ERR"
ESC_RESET TEST_DELIM
19
#define TEST_FAIL ESC_RED "FAIL"
ESC_RESET TEST_DELIM
20
21
22
#endif
// RENSSELAERMOTORSPORT_COMMON_H
Generated by
1.9.5