10 #define MAX_LINE_LENGHT (1000000) 16 int main (
int argc,
const char *
const * argv){
18 cout <<
"usage gfs2log [-err] [-neff] [-part] [-odom] <infilename> <outfilename>" << endl;
19 cout <<
" -odom : dump raw odometry in ODOM message instead of inpolated corrected one" << endl;
28 if (!strcmp(argv[c],
"-err")){
32 if (!strcmp(argv[c],
"-neff")){
36 if (!strcmp(argv[c],
"-part")){
40 if (!strcmp(argv[c],
"-odom")){
46 cout <<
"could read file "<< endl;
53 cout << endl <<
"best index = " << bestidx<< endl;
56 cout <<
"could write file "<< endl;
unsigned int getBestIdx() const
void printPath(ostream &os, unsigned int i, bool err=false, bool rawodom=false) const
istream & read(istream &is)
void printLastParticles(ostream &os) const
int main(int argc, const char *const *argv)