Skip to content

Commit

Permalink
Fix missing ifopt_ initializer and task_name
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen committed Oct 13, 2023
1 parent d849c9a commit 5166eb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tesseract_examples/src/pick_and_place_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tesseract_examples/src/puzzle_piece_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
}

Expand Down

0 comments on commit 5166eb3

Please sign in to comment.