From 5166eb3cc6db1d785be1445a0ab439fdb53f5a61 Mon Sep 17 00:00:00 2001 From: Roelof Oomen Date: Tue, 10 Oct 2023 16:04:20 +0200 Subject: [PATCH] Fix missing ifopt_ initializer and task_name --- tesseract_examples/src/pick_and_place_example.cpp | 2 +- tesseract_examples/src/puzzle_piece_example.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tesseract_examples/src/pick_and_place_example.cpp b/tesseract_examples/src/pick_and_place_example.cpp index 605e494614..20f6ee2ff5 100644 --- a/tesseract_examples/src/pick_and_place_example.cpp +++ b/tesseract_examples/src/pick_and_place_example.cpp @@ -381,7 +381,7 @@ bool PickAndPlaceExample::run() place_program.print("Program: "); // Create task - TaskComposerNode::UPtr place_task = factory.createTaskComposerNode("TrajOptPipeline"); + TaskComposerNode::UPtr place_task = factory.createTaskComposerNode(task_name); const std::string place_output_key = pick_task->getOutputKeys().front(); // Create Task Composer Problem diff --git a/tesseract_examples/src/puzzle_piece_example.cpp b/tesseract_examples/src/puzzle_piece_example.cpp index 69e754f590..a267133d30 100644 --- a/tesseract_examples/src/puzzle_piece_example.cpp +++ b/tesseract_examples/src/puzzle_piece_example.cpp @@ -128,7 +128,7 @@ PuzzlePieceExample::makePuzzleToolPoses(const tesseract_common::ResourceLocator: PuzzlePieceExample::PuzzlePieceExample(tesseract_environment::Environment::Ptr env, tesseract_visualization::Visualization::Ptr plotter, bool ifopt) - : Example(std::move(env), std::move(plotter)) + : Example(std::move(env), std::move(plotter)), ifopt_(ifopt) { }