Skip to content

Commit

Permalink
remove results from TaskComposerNodeInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Armstrong committed Nov 5, 2023
1 parent d2b11de commit b7b7177
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
8 changes: 4 additions & 4 deletions tesseract_motion_planners/core/src/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,8 @@ bool contactCheckProgram(std::vector<tesseract_collision::ContactResultMap>& con
{
// Grab the first waypoint to get the joint names
const auto& joint_names = getJointNames(mi.front().get().as<MoveInstructionPoly>().getWaypoint());
traj_contacts = std::make_unique<tesseract_collision::ContactTrajectoryResults>(joint_names,
static_cast<int>(program.size()));
traj_contacts =
std::make_unique<tesseract_collision::ContactTrajectoryResults>(joint_names, static_cast<int>(program.size()));
}

contacts.clear();
Expand Down Expand Up @@ -624,8 +624,8 @@ bool contactCheckProgram(std::vector<tesseract_collision::ContactResultMap>& con
{
// Grab the first waypoint to get the joint names
const auto& joint_names = getJointNames(mi.front().get().as<MoveInstructionPoly>().getWaypoint());
traj_contacts = std::make_unique<tesseract_collision::ContactTrajectoryResults>(joint_names,
static_cast<int>(program.size()));
traj_contacts =
std::make_unique<tesseract_collision::ContactTrajectoryResults>(joint_names, static_cast<int>(program.size()));
}

contacts.clear();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ class TaskComposerNodeInfo
/** @brief The output keys */
std::vector<std::string> output_keys;

/** @brief Store the results of the task */
tesseract_common::AnyPoly results;

/** @brief Value returned from the Task on completion */
int return_value{ -1 };

Expand Down
2 changes: 0 additions & 2 deletions tesseract_task_composer/core/src/task_composer_node_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ bool TaskComposerNodeInfo::operator==(const TaskComposerNodeInfo& rhs) const
equal &= name == rhs.name;
equal &= uuid == rhs.uuid;
equal &= parent_uuid == rhs.parent_uuid;
equal &= results == rhs.results;
equal &= return_value == rhs.return_value;
equal &= message == rhs.message;
equal &= tesseract_common::almostEqualRelativeAndAbs(elapsed_time, rhs.elapsed_time, max_diff);
Expand All @@ -84,7 +83,6 @@ void TaskComposerNodeInfo::serialize(Archive& ar, const unsigned int /*version*/
ar& boost::serialization::make_nvp("name", name);
ar& boost::serialization::make_nvp("uuid", uuid);
ar& boost::serialization::make_nvp("parent_uuid", parent_uuid);
ar& boost::serialization::make_nvp("results", results);
ar& boost::serialization::make_nvp("return_value", return_value);
ar& boost::serialization::make_nvp("message", message);
ar& boost::serialization::make_nvp("elapsed_time", elapsed_time);
Expand Down

0 comments on commit b7b7177

Please sign in to comment.