Function rcl_publisher_can_loan_messages

Function Documentation

bool rcl_publisher_can_loan_messages(const rcl_publisher_t *publisher)

Check if publisher instance can loan messages.

Depending on the middleware and the message type, this will return true if the middleware can allocate a ROS message instance.