class documentation
class QoSProfile:
The matching policies of one endpoint, and nothing else.
The defaults are the middleware's usual values, so a profile written with one keyword is the middleware's own profile with that one change.
| Method | __post |
Refuse a duration that is not a duration. |
| Method | __str__ |
Return the profile as one line for event texts and logs. |
| Instance Variable | deadline |
The longest gap, in seconds, between samples that this endpoint promises (offered) or tolerates (requested). FOREVER means no deadline. |
| Instance Variable | durability |
Whether a publisher keeps its samples for late joiners. |
| Instance Variable | lease |
Seconds an assertion of liveliness stays good for. FOREVER means no lease. |
| Instance Variable | liveliness |
How a publisher asserts that it is still alive. |
| Instance Variable | reliability |
Whether samples are retried until acknowledged. |
Refuse a duration that is not a duration.
| Raises | |
ValueError | When the deadline or the lease is not a positive number of seconds.
Zero is refused because rclpy uses it for "middleware default"; write
FOREVER instead. |