Skip to content

Commit

Permalink
WIP: fixing bounded to smp
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshmi committed Jun 6, 2020
1 parent a36aa96 commit cba149a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions old/nasoq_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ int QP_demo01(int argc, char **argv){
d.application_=application;
if(application == "Model Predictive Control")
d.category_ = "robotics";
qfc4->smp_->set_description(d.get_desc());
qfc4->smp_->write(smp_path);
auto *qfc5 = new format::QPFormatConverter(qfc4->smp_);
qfc5->smp_to_ie();
Expand Down Expand Up @@ -232,6 +233,7 @@ int QP_demo01(int argc, char **argv){
if(application == "Maros-Meszaros")
d.category_ = "Maros-Meszaros";
std::string smp_path = base + group + "/" + stripped_name +".yml";
qfc6->smp_->set_description(d.get_desc());
qfc6->smp_->write(smp_path);

delete qfc6;
Expand Down

0 comments on commit cba149a

Please sign in to comment.