Skip to content

Commit

Permalink
Bugfixed default settings for yaml generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peguen committed Jul 29, 2024
1 parent 7e0fcf8 commit 3158c18
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ecal/core/src/config/default_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ namespace eCAL
ss << R"( port: )" << TRANSPORT_LAYER_UDP_PORT << "\n";
ss << R"( # v1: Mask maximum number of dynamic multicast group (range 0.0.0.1-0.0.0.255))" << "\n";
ss << R"( # v2: Masks are now considered like routes masking (range 255.0.0.0-255.255.255.255))" << "\n";
ss << R"( mask: )" << TRANSPORT_LAYER_UDP_MASK << "\n";
ss << R"( mask: )" << quoteString(TRANSPORT_LAYER_UDP_MASK) << "\n";
ss << R"( # Send buffer in bytes)" << "\n";
ss << R"( send_buffer: )" << TRANSPORT_LAYER_UDP_SEND_BUFFER << "\n";
ss << R"( # Receive buffer in bytes)" << "\n";
Expand Down
8 changes: 4 additions & 4 deletions ecal/core/src/ecal_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ constexpr bool REGISTRATION_LOOPBACK
constexpr const char* REGISTRATION_HOST_GROUP_NAME = "";
constexpr bool REGISTRATION_NETWORK_ENABLED = false;
constexpr bool REGISTRATION_LAYER_SHM_ENABLE = false;
constexpr const char* REGISTRATION_LAYER_SHM_DOMAIN = "ecal_monitoring";
constexpr const char* REGISTRATION_LAYER_SHM_DOMAIN = "ecal_mon";
constexpr unsigned int REGISTRATION_LAYER_SHM_QUEUE_SIZE = 1024U;
constexpr bool REGISTRATION_LAYER_UDP_ENABLE = false;
constexpr bool REGISTRATION_LAYER_UDP_ENABLE = true;
constexpr unsigned int REGISTRATION_LAYER_UDP_PORT = 14000U;

/**********************************************************************************************/
Expand Down Expand Up @@ -77,7 +77,7 @@ constexpr unsigned int TRANSPORT_LAYER_SHM_MEMFILE_RESERVE_PERC
/* publisher settings */
/**********************************************************************************************/
constexpr bool PUBLISHER_LAYER_SHM_ENABLE = true;
constexpr bool PUBLISHER_LAYER_SHM_ZERO_COPY_MODE = true;
constexpr bool PUBLISHER_LAYER_SHM_ZERO_COPY_MODE = false;
constexpr unsigned int PUBLISHER_LAYER_SHM_ACKNOWLEDGE_TIMEOUT_MS = 0U;
constexpr unsigned int PUBLISHER_LAYER_SHM_MEMFILE_BUFFER_COUNT = 1U;

Expand Down Expand Up @@ -110,7 +110,7 @@ constexpr const char* TIME_REPLAY
/* service settings */
/**********************************************************************************************/
constexpr bool SERVICE_PROTOCOL_V0 = true;
constexpr bool SERVICE_PROTOCOL_V1 = true;
constexpr bool SERVICE_PROTOCOL_V1 = false;

/**********************************************************************************************/
/* application settings */
Expand Down

0 comments on commit 3158c18

Please sign in to comment.