Closed peci1 closed 1 year ago
this PR fixes the typo in overlay_camera_display.cpp
.
$ cd jsk_rviz_plugins/src
$ grep -Ei '\"[a-Z]+Object' * -r
linear_gauge_display.cpp: ss << "LinearGaugeDisplayObject" << count++;
overlay_camera_display.cpp: ss << "OverlayCameraDisplayObject" << count++;
overlay_camera_display.cpp: ss << "OverlayImageDisplayObject" << count++;
overlay_diagnostic_display.cpp: ss << "OverlayDiagnosticDisplayObject" << count++;
overlay_image_display.cpp: ss << "OverlayImageDisplayObject" << count++;
overlay_menu_display.cpp: ss << "OverlayMenuDisplayObject" << count++;
overlay_text_display.cpp: ss << "OverlayTextDisplayObject" << count++;
pie_chart_display.cpp: ss << "PieChartDisplayObject" << count++;
string_display.cpp: ss << "StringDisplayObject" << count++;
Without this change, adding both OverlayCamera and OverlayImage to one rviz window crashes with:
I'm not really sure whether it is correct that I made this string different from the similar one used in the OverlayCamera (
OverlayCameraDisplayObject
). If these two should be the same, I can update the PR.