Function rcl_service_request_subscription_get_actual_qos

Function Documentation

const rmw_qos_profile_t *rcl_service_request_subscription_get_actual_qos(const rcl_service_t *service)

Get the actual qos settings of the service’s request subscription.

Used to get the actual qos settings of the service’s request subscription. The actual configuration applied when using RMW_*_SYSTEM_DEFAULT can only be resolved after the creation of the service, and it depends on the underlying rmw implementation. If the underlying setting in use can’t be represented in ROS terms, it will be set to RMW_*_UNKNOWN. The returned struct is only valid as long as the rcl_service_t is valid.

Attribute

Adherence

Allocates Memory

No

Thread-Safe

Yes

Uses Atomics

No

Lock-Free

Yes

Parameters:

service[in] pointer to the rcl service

Returns:

qos struct if successful, otherwise NULL