TraveSim Adapters
0.1
Protobuf adapters for TraveSim project
data_common.hpp
Go to the documentation of this file.
1
/**
2
* @file data_common.hpp
3
*
4
* @brief Common constants and types for the data structures
5
*
6
* @author Lucas Haug <lucas.haug@thunderatz.org>
7
*
8
* @date 06/2021
9
*/
10
11
#ifndef __DATA_COMMON_H__
12
#define __DATA_COMMON_H__
13
14
/*****************************************
15
* Public Constants
16
*****************************************/
17
18
/**
19
* @brief Printing output configuration constants
20
*/
21
#define PRINTING_MIN_WIDTH 6U
22
#define PRINTING_DECIMAL_PRECISION 3U
23
24
/**
25
* @brief Field and goal constants
26
*/
27
#define FIELD_WIDTH_M 1.3F
28
#define FIELD_LENGTH_M 1.5F
29
#define GOAL_WIDTH_M 0.4F
30
#define GOAL_DEPTH_M 0.1F
31
32
/*****************************************
33
* Public Types
34
*****************************************/
35
36
namespace
travesim
{
37
/**
38
* @brief Formation of the teams
39
*/
40
enum
TeamsFormation
{
41
THREE_ROBOTS_PER_TEAM
= 3,
42
FIVE_ROBOTS_PER_TEAM
= 5,
43
};
44
}
45
46
#endif // __DATA_COMMON_H__
travesim
Definition:
adapter_configurer.hpp:29
travesim::TeamsFormation
TeamsFormation
Formation of the teams.
Definition:
data_common.hpp:40
travesim::FIVE_ROBOTS_PER_TEAM
Definition:
data_common.hpp:42
travesim::THREE_ROBOTS_PER_TEAM
Definition:
data_common.hpp:41
include
travesim_adapters
data
data_common.hpp
Generated on Tue Jul 20 2021 14:16:27 for TraveSim Adapters by
1.8.15