diff --git a/tesseract_msgs/msg/PlanningRequest.msg b/tesseract_msgs/msg/PlanningRequest.msg index ea744fc3..1a879f73 100644 --- a/tesseract_msgs/msg/PlanningRequest.msg +++ b/tesseract_msgs/msg/PlanningRequest.msg @@ -3,7 +3,7 @@ tesseract_msgs/EnvironmentCommand[] commands # Additional Commands to be applied string name # The name of the taskflow to use string executor # The executor to leverage, if empty default one is used. -string instructions # This should an xml string of the command language instructions +string input # This should an xml string of tesseract_common::AnyPoly bool dotgraph # Enable if DOT Graph should be generated and returned bool debug # Enable debug content bool save_io # Enable saving of input and output for task infos diff --git a/tesseract_planning_server/src/tesseract_planning_server.cpp b/tesseract_planning_server/src/tesseract_planning_server.cpp index 0647bc3c..8be0aa01 100644 --- a/tesseract_planning_server/src/tesseract_planning_server.cpp +++ b/tesseract_planning_server/src/tesseract_planning_server.cpp @@ -59,7 +59,7 @@ TESSERACT_COMMON_IGNORE_WARNINGS_POP #include #include -#include +#include #include #include @@ -186,8 +186,7 @@ void TesseractPlanningServer::onMotionPlanningCallback(const tesseract_msgs::Get auto problem = std::make_unique(goal->request.name); try { - problem->input_instruction = - Serialization::fromArchiveStringXML(goal->request.instructions); + problem->input = Serialization::fromArchiveStringXML(goal->request.input); } catch (const std::exception& e) {