From e0e6c4b1af3671c3e2d8c3f34c3836b3859e0cb7 Mon Sep 17 00:00:00 2001 From: Christophe Bedard Date: Mon, 27 May 2019 11:18:43 +0200 Subject: [PATCH] Change note about message cast --- doc/ros_2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ros_2.md b/doc/ros_2.md index 8f889df..f4c5cfc 100644 --- a/doc/ros_2.md +++ b/doc/ros_2.md @@ -179,8 +179,8 @@ sequenceDiagram Note over rmw: copies available message to msg if there is one opt RCL_RET_OK == ret Executor->>Subscription: handle_message(msg) - Note over Subscription: makes sure it's the right type (intra/inter process), then casts the message to its actual type - Subscription->>AnySubscriptionCallback: dispatch(msg) + Note over Subscription: casts msgs to its actual type + Subscription->>AnySubscriptionCallback: dispatch(typed_msg) AnySubscriptionCallback->>tracetools: TP(rclcpp_subscription_callback_start, this, is_intra_process) Note over AnySubscriptionCallback: std::function::operator(...) AnySubscriptionCallback->>tracetools: TP(rclcpp_subscription_callback_end, this)