Revision 6d4ba740 configurations/HelloWorld/modules/HelloWorld_urtwareconf.h
configurations/HelloWorld/modules/HelloWorld_urtwareconf.h | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
AMiRo-Apps is a collection of applications for the Autonomous Mini Robot (AMiRo) platform. |
3 |
Copyright (C) 2018..2019 Thomas Schöpping et al.
|
|
3 |
Copyright (C) 2018..2020 Thomas Schöpping et al.
|
|
4 | 4 |
|
5 | 5 |
This program is free software: you can redistribute it and/or modify |
6 | 6 |
it under the terms of the GNU General Public License as published by |
... | ... | |
16 | 16 |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 |
*/ |
18 | 18 |
|
19 |
#ifndef _HELLOWORLD_URTWARECONF_H_
|
|
20 |
#define _HELLOWORLD_URTWARECONF_H_
|
|
19 |
#ifndef HELLOWORLD_URTWARECONF_H
|
|
20 |
#define HELLOWORLD_URTWARECONF_H
|
|
21 | 21 |
|
22 | 22 |
/* |
23 | 23 |
* compatibility guards |
24 | 24 |
*/ |
25 | 25 |
#define _URTWARE_CFG_ |
26 |
#define URTWARE_CFG_VERSION_MAJOR 0 |
|
27 |
#define URTWARE_CFG_VERSION_MINOR 1 |
|
26 |
#define URTWARE_CFG_VERSION_MAJOR 0 |
|
27 |
#define URTWARE_CFG_VERSION_MINOR 1 |
|
28 |
|
|
29 |
#include <stdbool.h> |
|
28 | 30 |
|
29 | 31 |
/** |
30 | 32 |
* @brief Width of the urt_delay_t data type. |
... | ... | |
32 | 34 |
* @details Possible values are 32 and 64 bits. |
33 | 35 |
* By definition time is represented in microseconds. |
34 | 36 |
*/ |
35 |
#define URT_CFG_DELAY_WIDTH 32 |
|
37 |
#define URT_CFG_DELAY_WIDTH 32 |
|
38 |
|
|
39 |
/** |
|
40 |
* @brief Width of the urt_nodestage_t data type. |
|
41 |
* |
|
42 |
* @details Possible values are 8, 16, 32, and 64 bits. |
|
43 |
*/ |
|
44 |
#define URT_CFG_NODESTAGE_WIDTH 16 |
|
45 |
|
|
46 |
/** |
|
47 |
* @brief Debug enable flag. |
|
48 |
*/ |
|
49 |
#define URT_CFG_DEBUG_ENABLED true |
|
50 |
|
|
51 |
/** |
|
52 |
* @brief Enable flag for the publish-subscribe system. |
|
53 |
*/ |
|
54 |
#define URT_CFG_PUBSUB_ENABLED true |
|
36 | 55 |
|
37 | 56 |
/** |
38 | 57 |
* @brief Width of the urt_topicid_t data type. |
39 | 58 |
* |
40 | 59 |
* @details Possible values are 8, 16, 32, and 64 bits. |
41 | 60 |
*/ |
42 |
#define URT_CFG_TOPICID_WIDTH 16
|
|
61 |
#define URT_CFG_PUBSUB_TOPICID_WIDTH 16
|
|
43 | 62 |
|
44 | 63 |
/** |
45 |
* @brief Width of the urt_nodestage_t data type. |
|
64 |
* @brief Flag to enable profiling of the publish-subscribe system. |
|
65 |
*/ |
|
66 |
#define URT_CFG_PUBSUB_PROFILING true |
|
67 |
|
|
68 |
/** |
|
69 |
* @brief Flag to enable deadline QoS for the publish-subscribe system. |
|
70 |
*/ |
|
71 |
#define URT_CFG_PUBSUB_QOS_DEADLINECHECKS true |
|
72 |
|
|
73 |
/** |
|
74 |
* @brief Flag to enable rate QoS for the publish-subscribe system. |
|
75 |
*/ |
|
76 |
#define URT_CFG_PUBSUB_QOS_RATECHECKS true |
|
77 |
|
|
78 |
/** |
|
79 |
* @brief Flag to enable jitter QoS for the publish-subscribe system |
|
80 |
*/ |
|
81 |
#define URT_CFG_PUBSUB_QOS_JITTERCHECKS true |
|
82 |
|
|
83 |
/** |
|
84 |
* @brief Enable flag for remote procedure calls. |
|
85 |
*/ |
|
86 |
#define URT_CFG_RPC_ENABLED true |
|
87 |
|
|
88 |
/** |
|
89 |
* @brief Width of the urt_serviceid_t data type. |
|
46 | 90 |
* |
47 | 91 |
* @details Possible values are 8, 16, 32, and 64 bits. |
48 | 92 |
*/ |
49 |
#define URT_CFG_NODESTAGE_WIDTH 16
|
|
93 |
#define URT_CFG_RPC_SERVICEID_WIDTH 16
|
|
50 | 94 |
|
51 | 95 |
/** |
52 |
* @brief Debug enable flag. |
|
96 |
* @brief Flag to enable profiling of remote procedure calls. |
|
97 |
*/ |
|
98 |
#define URT_CFG_RPC_PROFILING true |
|
99 |
|
|
100 |
/** |
|
101 |
* @brief Flag to enable deadline QoS for remote procedure calls. |
|
102 |
*/ |
|
103 |
#define URT_CFG_RPC_QOS_DEADLINECHECKS true |
|
104 |
|
|
105 |
/** |
|
106 |
* @brief Flag to enable jitter QoS for remote procedure calls. |
|
53 | 107 |
*/ |
54 |
#define URT_CFG_DEBUG true
|
|
108 |
#define URT_CFG_RPC_QOS_JITTERCHECKS true
|
|
55 | 109 |
|
56 |
#endif /* _HELLOWORLD_URTWARECONF_H_ */ |
|
110 |
#endif /* HELLOWORLD_URTWARECONF_H */ |
Also available in: Unified diff