Skip to content

Commit

Permalink
Update CARET_trace/src/ros_trace_points.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: ymski <[email protected]>
  • Loading branch information
xygyo77 and ymski committed Apr 16, 2024
1 parent 762946f commit a211485
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CARET_trace/src/ros_trace_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a211485

Please sign in to comment.