make simulation2D work

release/4.3a0
Kai Ni 2009-09-15 22:32:34 +00:00
parent 53b4f8906b
commit 7fb691183d
1 changed files with 2 additions and 0 deletions

View File

@ -14,10 +14,12 @@ using namespace std;
/* ************************************************************************* */
Cal3_S2::Cal3_S2(const std::string &path) {
char buffer[200];
buffer[0] = 0;
sprintf(buffer, "%s/calibration_info.txt", path.c_str());
std::ifstream infile(buffer, std::ios::in);
if (infile)
infile >> fx_ >> fy_ >> s_ >> u0_ >> v0_;
else {