Pattern-based verification of buffer sizes and callback latencies of ROS 2 nodes using UPPAAL