We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebf7b75 commit 9f07cf5Copy full SHA for 9f07cf5
visualization/motion_planning_tasks/src/task_display.cpp
@@ -189,7 +189,12 @@ void TaskDisplay::changedRobotDescription() {
189
}
190
191
inline std::string getUniqueId(const std::string& process_id, const std::string& task_id) {
192
- return process_id + "/" + task_id;
+ std::string id{ process_id };
193
+ if (!task_id.empty()) {
194
+ id += "/";
195
+ id += task_id;
196
+ }
197
+ return id;
198
199
200
void TaskDisplay::taskDescriptionCB(const moveit_task_constructor_msgs::TaskDescriptionConstPtr& msg) {
0 commit comments