Skip to content
Snippets Groups Projects

finished switching from tf2 to tf

Merged Laia Freixas Mateu requested to merge switch_to_tf_from_tf2 into master
8 files
+ 74
73
Compare changes
  • Side-by-side
  • Inline
Files
8
+ 0
4
@@ -28,10 +28,8 @@ bool IsNumber (char c){
return false;
}
void AddValueToField (std::string & num, std::string & field, CalibrationInfo c){
std::cout<<"adding "<<num<<" to "<< field<<std::endl;
if (field == "x"){
c.t.x = std::stod(num);
std::cout<<c.t.x<<std::endl;
} else if (field == "y"){
c.t.y = std::stod(num);
} else if (field == "z"){
@@ -65,9 +63,7 @@ CalibrationInfo ReadCalibrationFromJSONFile (const char * file_path){
current_field = current_field + c;
}
// std::cout<<c<<std::endl;
}
std::cout<<calibration_info.t.x<<std::endl;
}
int main (){
Loading