Skip to content

Commit 08e709c

Browse files
Add the ability to store sco::Optimizer::Callbacks in ProblemConstructionInfo class
1 parent f79981f commit 08e709c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trajopt/include/trajopt/problem_description.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ struct ProblemConstructionInfo
215215
tesseract_environment::Environment::ConstPtr env;
216216
tesseract_kinematics::JointGroup::ConstPtr kin;
217217

218+
std::vector<sco::Optimizer::Callback> callbacks;
219+
218220
ProblemConstructionInfo(tesseract_environment::Environment::ConstPtr env) : env(std::move(env)) {}
219221

220222
void fromJson(const Json::Value& v);

0 commit comments

Comments
 (0)