can i add extra parameters at the header of Moco solution::write?.
i want to add some info on the accuracy and other info parameters before writing
write moco solution extra parameters
- barak ostraich
- Posts: 42
- Joined: Thu Apr 12, 2018 12:17 am
- barak ostraich
- Posts: 42
- Joined: Thu Apr 12, 2018 12:17 am
Re: write moco solution extra parameters
SOLVED:
i modified the and moved the to be public
then i can:
i modified the
Code: Select all
MocoTrajectory.h
Code: Select all
convertToTable
then i can:
Code: Select all
TimeSeriesTable ts=solution.convertToTable();
ts.updTableMetaData().setValueForKey("new key",
std::to_string(newdouble) );