Calibration load gone, now constructor takes path

release/4.3a0
Frank Dellaert 2009-09-01 15:09:41 +00:00
parent f7bcb8dad7
commit 5d41f5bdfa
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ namespace gtsam {
using namespace std; using namespace std;
/* ************************************************************************* */ /* ************************************************************************* */
void Cal3_S2::load(const std::string &path) { Cal3_S2::Cal3_S2(const std::string &path) {
char buffer[200]; char buffer[200];
buffer[0] = 0; buffer[0] = 0;
sprintf(buffer, "%s/calibration_info.txt", path.c_str()); sprintf(buffer, "%s/calibration_info.txt", path.c_str());

View File

@ -41,7 +41,7 @@ namespace gtsam {
/** /**
* load calibration from location (default name is calibration_info.txt) * load calibration from location (default name is calibration_info.txt)
*/ */
void load(const std::string &path); Cal3_S2(const std::string &path);
/** /**
* Given 5-dim tangent vector, create new calibration * Given 5-dim tangent vector, create new calibration