Class to do optimization. More...
#include <optimizer.h>
Public Member Functions | |
boost::shared_ptr < CalibrationOffsetParser > | getOffsets () |
int | optimize (OptimizationParams ¶ms, std::vector< robot_calibration_msgs::CalibrationData > data, bool progress_to_stdout=false) |
Run optimization. | |
Optimizer (const std::string &robot_description) | |
Standard constructor. | |
boost::shared_ptr < ceres::Solver::Summary > | summary () |
Returns the summary of the optimization last run. | |
virtual | ~Optimizer () |
Private Attributes | |
std::string | led_frame_ |
urdf::Model | model_ |
std::map< std::string, ChainModel * > | models_ |
boost::shared_ptr < CalibrationOffsetParser > | offsets_ |
std::string | root_frame_ |
boost::shared_ptr < ceres::Solver::Summary > | summary_ |
KDL::Tree | tree_ |
Class to do optimization.
Definition at line 46 of file optimizer.h.
robot_calibration::Optimizer::Optimizer | ( | const std::string & | robot_description | ) |
Standard constructor.
Definition at line 42 of file optimizer.cpp.
robot_calibration::Optimizer::~Optimizer | ( | ) | [virtual] |
Definition at line 48 of file optimizer.cpp.
boost::shared_ptr<CalibrationOffsetParser> robot_calibration::Optimizer::getOffsets | ( | ) | [inline] |
Definition at line 70 of file optimizer.h.
int robot_calibration::Optimizer::optimize | ( | OptimizationParams & | params, |
std::vector< robot_calibration_msgs::CalibrationData > | data, | ||
bool | progress_to_stdout = false |
||
) |
Run optimization.
data | The data to be used for the optimization. Typically parsed from bag file, or loaded over some topic subscriber. |
progress_to_stdout | If true, Ceres optimizer will output info to stdout. |
Definition at line 66 of file optimizer.cpp.
boost::shared_ptr<ceres::Solver::Summary> robot_calibration::Optimizer::summary | ( | ) | [inline] |
Returns the summary of the optimization last run.
Definition at line 65 of file optimizer.h.
std::string robot_calibration::Optimizer::led_frame_ [private] |
Definition at line 78 of file optimizer.h.
Definition at line 76 of file optimizer.h.
std::map<std::string, ChainModel*> robot_calibration::Optimizer::models_ [private] |
Definition at line 81 of file optimizer.h.
boost::shared_ptr<CalibrationOffsetParser> robot_calibration::Optimizer::offsets_ [private] |
Definition at line 83 of file optimizer.h.
std::string robot_calibration::Optimizer::root_frame_ [private] |
Definition at line 77 of file optimizer.h.
boost::shared_ptr<ceres::Solver::Summary> robot_calibration::Optimizer::summary_ [private] |
Definition at line 84 of file optimizer.h.
KDL::Tree robot_calibration::Optimizer::tree_ [private] |
Definition at line 79 of file optimizer.h.