amiro-apps / configurations / HelloWorld / modules / HelloWorld_urtwareconf.h @ 2ca65a55
History | View | Annotate | Download (3.609 KB)
| 1 | b74d5ee3 | Thomas Schöpping | /*
|
|---|---|---|---|
| 2 | AMiRo-Apps is a collection of applications for the Autonomous Mini Robot (AMiRo) platform.
|
||
| 3 | 6d4ba740 | Thomas Schöpping | Copyright (C) 2018..2020 Thomas Schöpping et al.
|
| 4 | b74d5ee3 | Thomas Schöpping | |
| 5 | This program is free software: you can redistribute it and/or modify
|
||
| 6 | it under the terms of the GNU General Public License as published by
|
||
| 7 | the Free Software Foundation, either version 3 of the License, or
|
||
| 8 | (at your option) any later version.
|
||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful,
|
||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
| 13 | GNU General Public License for more details.
|
||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License
|
||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
| 17 | */
|
||
| 18 | |||
| 19 | 6d4ba740 | Thomas Schöpping | #ifndef HELLOWORLD_URTWARECONF_H
|
| 20 | #define HELLOWORLD_URTWARECONF_H
|
||
| 21 | b74d5ee3 | Thomas Schöpping | |
| 22 | 9316d292 | Thomas Schöpping | /*
|
| 23 | * compatibility guards
|
||
| 24 | */
|
||
| 25 | #define _URTWARE_CFG_
|
||
| 26 | 6d4ba740 | Thomas Schöpping | #define URTWARE_CFG_VERSION_MAJOR 0 |
| 27 | #define URTWARE_CFG_VERSION_MINOR 1 |
||
| 28 | |||
| 29 | #include <stdbool.h> |
||
| 30 | 9316d292 | Thomas Schöpping | |
| 31 | /**
|
||
| 32 | * @brief Width of the urt_delay_t data type.
|
||
| 33 | *
|
||
| 34 | * @details Possible values are 32 and 64 bits.
|
||
| 35 | * By definition time is represented in microseconds.
|
||
| 36 | */
|
||
| 37 | 6d4ba740 | Thomas Schöpping | #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 | deb9d7ea | skenneweg | |
| 51 | /**
|
||
| 52 | 6d4ba740 | Thomas Schöpping | * @brief Enable flag for the publish-subscribe system.
|
| 53 | */
|
||
| 54 | a574377b | skenneweg | #define URT_CFG_PUBSUB_ENABLED true |
| 55 | //#define URT_CFG_PUBSUB_ENABLED false
|
||
| 56 | 9316d292 | Thomas Schöpping | |
| 57 | /**
|
||
| 58 | * @brief Width of the urt_topicid_t data type.
|
||
| 59 | *
|
||
| 60 | * @details Possible values are 8, 16, 32, and 64 bits.
|
||
| 61 | */
|
||
| 62 | 6d4ba740 | Thomas Schöpping | #define URT_CFG_PUBSUB_TOPICID_WIDTH 16 |
| 63 | 9316d292 | Thomas Schöpping | |
| 64 | /**
|
||
| 65 | 6d4ba740 | Thomas Schöpping | * @brief Flag to enable profiling of the publish-subscribe system.
|
| 66 | */
|
||
| 67 | 2ca65a55 | Svenja | // #define URT_CFG_PUBSUB_PROFILING true
|
| 68 | #define URT_CFG_PUBSUB_PROFILING false |
||
| 69 | 6d4ba740 | Thomas Schöpping | |
| 70 | /**
|
||
| 71 | * @brief Flag to enable deadline QoS for the publish-subscribe system.
|
||
| 72 | */
|
||
| 73 | 2ca65a55 | Svenja | //#define URT_CFG_PUBSUB_QOS_DEADLINECHECKS true
|
| 74 | #define URT_CFG_PUBSUB_QOS_DEADLINECHECKS false |
||
| 75 | 6d4ba740 | Thomas Schöpping | |
| 76 | /**
|
||
| 77 | * @brief Flag to enable rate QoS for the publish-subscribe system.
|
||
| 78 | */
|
||
| 79 | 2ca65a55 | Svenja | #define URT_CFG_PUBSUB_QOS_RATECHECKS false |
| 80 | //#define URT_CFG_PUBSUB_QOS_RATECHECKS true
|
||
| 81 | 6d4ba740 | Thomas Schöpping | |
| 82 | /**
|
||
| 83 | * @brief Flag to enable jitter QoS for the publish-subscribe system
|
||
| 84 | */
|
||
| 85 | #define URT_CFG_PUBSUB_QOS_JITTERCHECKS true |
||
| 86 | |||
| 87 | /**
|
||
| 88 | * @brief Enable flag for remote procedure calls.
|
||
| 89 | */
|
||
| 90 | 7f26dc6b | skenneweg | //#define URT_CFG_RPC_ENABLED true
|
| 91 | #define URT_CFG_RPC_ENABLED false |
||
| 92 | 6d4ba740 | Thomas Schöpping | |
| 93 | /**
|
||
| 94 | * @brief Width of the urt_serviceid_t data type.
|
||
| 95 | 9316d292 | Thomas Schöpping | *
|
| 96 | * @details Possible values are 8, 16, 32, and 64 bits.
|
||
| 97 | */
|
||
| 98 | 6d4ba740 | Thomas Schöpping | #define URT_CFG_RPC_SERVICEID_WIDTH 16 |
| 99 | 9316d292 | Thomas Schöpping | |
| 100 | /**
|
||
| 101 | 6d4ba740 | Thomas Schöpping | * @brief Flag to enable profiling of remote procedure calls.
|
| 102 | */
|
||
| 103 | #define URT_CFG_RPC_PROFILING true |
||
| 104 | |||
| 105 | /**
|
||
| 106 | * @brief Flag to enable deadline QoS for remote procedure calls.
|
||
| 107 | */
|
||
| 108 | #define URT_CFG_RPC_QOS_DEADLINECHECKS true |
||
| 109 | |||
| 110 | /**
|
||
| 111 | * @brief Flag to enable jitter QoS for remote procedure calls.
|
||
| 112 | 9316d292 | Thomas Schöpping | */
|
| 113 | 6d4ba740 | Thomas Schöpping | #define URT_CFG_RPC_QOS_JITTERCHECKS true |
| 114 | 9316d292 | Thomas Schöpping | |
| 115 | 9203d4bc | Thomas Schöpping | /*
|
| 116 | * URT_CFG_OSAL_HEADER is defined globally in middleware.mk file.
|
||
| 117 | */
|
||
| 118 | |||
| 119 | 880a8dde | Thomas Schöpping | /**
|
| 120 | * @brief Flag to enable timeout functionality for condition variables.
|
||
| 121 | * @details If the OS supports this feature, urtPublisherPublish() can be called
|
||
| 122 | with a timeout. Otherwise it will block indefinitely under certain
|
||
| 123 | conditions.
|
||
| 124 | */
|
||
| 125 | #define URT_CFG_OSAL_CONDVAR_TIMEOUT false |
||
| 126 | |||
| 127 | 6d4ba740 | Thomas Schöpping | #endif /* HELLOWORLD_URTWARECONF_H */ |