From a211485a0df3c308e92e67724f7022b73f9e21e0 Mon Sep 17 00:00:00 2001 From: ISP akm Date: Tue, 16 Apr 2024 13:35:21 +0900 Subject: [PATCH] Update CARET_trace/src/ros_trace_points.cpp Co-authored-by: ymski --- CARET_trace/src/ros_trace_points.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CARET_trace/src/ros_trace_points.cpp b/CARET_trace/src/ros_trace_points.cpp index 5018aa02..cccce118 100644 --- a/CARET_trace/src/ros_trace_points.cpp +++ b/CARET_trace/src/ros_trace_points.cpp @@ -1070,8 +1070,7 @@ void ros_trace_rcl_lifecycle_state_machine_init( const void * node_handle, const void * state_machine, int64_t init_time) { - if (context.get_controller().is_allowed_state_machine(state_machine) && - context.is_recording_allowed()) { + if (context.get_controller().is_allowed_state_machine(state_machine)) { tracepoint(TRACEPOINT_PROVIDER, rcl_lifecycle_state_machine_init, node_handle, state_machine, init_time); #ifdef DEBUG_OUTPUT