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