-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
needs more workSomeone has worked on this but more work is neededSomeone has worked on this but more work is neededros2PR tackling a ROS2 branchPR tackling a ROS2 branch
Description
I believe this should probably be supported:
diagnostic_updater::FunctionDiagnosticTask helm_diag(
"Helm", [&helm_report](diagnostic_updater::DiagnosticStatusWrapper & stat) {
stat.add("Modes", helm_report.getModeSummary());
stat.add("Halted", helm_report.getHalted());
});
diag_updater->add(std::move(helm_diag));Unfortunately, this doesn't work and segfaults when helm_diag goes out of scope.
Metadata
Metadata
Assignees
Labels
needs more workSomeone has worked on this but more work is neededSomeone has worked on this but more work is neededros2PR tackling a ROS2 branchPR tackling a ROS2 branch