ROS 2 rclcpp + rcl - rolling
rolling-a919a6e5
ROS 2 C++ Client Library with ROS Client Library
|
#include <rclcpp/qos.hpp>
Public Member Functions | |
BestAvailableQoS (const QoSInitialization &qos_initialization=(QoSInitialization::from_rmw(rmw_qos_profile_best_available))) | |
![]() | |
QoS (const QoSInitialization &qos_initialization, const rmw_qos_profile_t &initial_profile=rmw_qos_profile_default) | |
Create a QoS by specifying only the history policy and history depth. More... | |
QoS (size_t history_depth) | |
Conversion constructor to ease construction in the common case of just specifying depth. More... | |
rmw_qos_profile_t & | get_rmw_qos_profile () |
Return the rmw qos profile. More... | |
const rmw_qos_profile_t & | get_rmw_qos_profile () const |
Return the rmw qos profile. More... | |
QoS & | history (HistoryPolicy history) |
Set the history policy. | |
QoS & | history (rmw_qos_history_policy_t history) |
Set the history policy. | |
QoS & | keep_last (size_t depth) |
Set the history to keep last. | |
QoS & | keep_all () |
Set the history to keep all. | |
QoS & | reliability (rmw_qos_reliability_policy_t reliability) |
Set the reliability setting. | |
QoS & | reliability (ReliabilityPolicy reliability) |
Set the reliability setting. | |
QoS & | reliable () |
Set the reliability setting to reliable. | |
QoS & | best_effort () |
Set the reliability setting to best effort. | |
QoS & | reliability_best_available () |
Set the reliability setting to best available. | |
QoS & | durability (rmw_qos_durability_policy_t durability) |
Set the durability setting. | |
QoS & | durability (DurabilityPolicy durability) |
Set the durability setting. | |
QoS & | durability_volatile () |
Set the durability setting to volatile. More... | |
QoS & | transient_local () |
Set the durability setting to transient local. | |
QoS & | durability_best_available () |
Set the durability setting to best available. | |
QoS & | deadline (rmw_time_t deadline) |
Set the deadline setting. | |
QoS & | deadline (const rclcpp::Duration &deadline) |
Set the deadline setting, rclcpp::Duration. | |
QoS & | lifespan (rmw_time_t lifespan) |
Set the lifespan setting. | |
QoS & | lifespan (const rclcpp::Duration &lifespan) |
Set the lifespan setting, rclcpp::Duration. | |
QoS & | liveliness (rmw_qos_liveliness_policy_t liveliness) |
Set the liveliness setting. | |
QoS & | liveliness (LivelinessPolicy liveliness) |
Set the liveliness setting. | |
QoS & | liveliness_lease_duration (rmw_time_t liveliness_lease_duration) |
Set the liveliness_lease_duration setting. | |
QoS & | liveliness_lease_duration (const rclcpp::Duration &liveliness_lease_duration) |
Set the liveliness_lease_duration setting, rclcpp::Duration. | |
QoS & | avoid_ros_namespace_conventions (bool avoid_ros_namespace_conventions) |
Set the avoid_ros_namespace_conventions setting. | |
HistoryPolicy | history () const |
Get the history qos policy. | |
size_t | depth () const |
Get the history depth. | |
ReliabilityPolicy | reliability () const |
Get the reliability policy. | |
DurabilityPolicy | durability () const |
Get the durability policy. | |
rclcpp::Duration | deadline () const |
Get the deadline duration setting. | |
rclcpp::Duration | lifespan () const |
Get the lifespan duration setting. | |
LivelinessPolicy | liveliness () const |
Get the liveliness policy. | |
rclcpp::Duration | liveliness_lease_duration () const |
Get the liveliness lease duration setting. | |
bool | avoid_ros_namespace_conventions () const |
Get the avoid ros namespace convention setting. | |
Best available QoS class
Match majority of endpoints currently available while maintaining the highest level of service. Policies are chosen at the time of creating a subscription or publisher. The middleware is not expected to update policies after creating a subscription or publisher, even if one or more policies are incompatible with newly discovered endpoints. Therefore, this profile should be used with care since non-deterministic behavior can occur due to races with discovery.