Skip to content

Commit

Permalink
keep rcl_qos_profile_rosout_default with deprecation warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
  • Loading branch information
fujitatomoya committed Jan 22, 2025
1 parent b5071ee commit f9ef0ba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions rcl/include/rcl/logging_rosout.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,26 @@
#include "rcl/allocator.h"
#include "rcl/error_handling.h"
#include "rcl/node.h"
#include "rcl/macros.h"
#include "rcl/types.h"
#include "rcl/visibility_control.h"

#include "rmw/qos_profiles.h"

#ifdef __cplusplus
extern "C"
{
#endif

/// The default qos profile setting for topic /rosout
/**
* - depth = 1000
* - durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL
* - lifespan = {10, 0}
*/
RCUTILS_DEPRECATED_WITH_MSG("use rmw_qos_profile_rosout_default instead")
static const rmw_qos_profile_t rcl_qos_profile_rosout_default = rmw_qos_profile_rosout_default;

/// Initializes the rcl_logging_rosout features
/**
* Calling this will initialize the rcl_logging_rosout features. This function must be called
Expand Down

0 comments on commit f9ef0ba

Please sign in to comment.