We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7752350 commit 88c1e72Copy full SHA for 88c1e72
planning/behavior_path_planner/src/scene_module/start_planner/start_planner_module.cpp
@@ -1366,7 +1366,8 @@ void StartPlannerModule::logPullOutStatus(rclcpp::Logger::Level log_level) const
1366
logFunc("[Module State]");
1367
logFunc(" isActivated: %s", isActivated() ? "true" : "false");
1368
logFunc(" isWaitingForApproval: %s", isWaitingApproval() ? "true" : "false");
1369
- logFunc(" ModuleStatus: %s", magic_enum::enum_name(getCurrentStatus()));
+ const std::string current_status = magic_enum::enum_name(getCurrentStatus()).data();
1370
+ logFunc(" ModuleStatus: %s", current_status.c_str());
1371
1372
logFunc("=======================================");
1373
}
0 commit comments