GithubHelp home page GithubHelp logo

kitti-odometry-eval's Introduction

Hi 👋, I'm Cristian Rubio

A passionate frontend and backend developer, electronics, AI, Data Science from Colombia

Talking about Personal Stuffs:

  • 🛠 I’m currently working on ubidots
  • 🗂 I’m looking to collaborate on LOaM-comparison
  • 🚀 I’m currently learning Data Science, AI, ROS
  • 💬 Ask me about here! I am happy to help.

Languages and Tools:

linux bash cplusplus python git matlab arduino

Snake animation

kitti-odometry-eval's People

Contributors

cristianrubioa avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

kitti-odometry-eval's Issues

compile error

I tried to compile the code using

g++ -O3 -DNDEBUG -o evaluate_odometry evaluate_odometry.cpp matrix.cpp
it returns these errors

evaluate_odometry.cpp: In function ‘void plotPathPlot(std::string, std::vector&, int32_t)’:
evaluate_odometry.cpp:237:16: warning: unknown escape sequence: '\040'
237 | fprintf(fp,"\ '' using 2:3:1 with labels offset -2,0,");
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:245:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
245 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:250:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
250 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:252:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
252 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:254:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
254 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp: In function ‘void plotErrorPlots(std::string, char*)’:
evaluate_odometry.cpp:387:13: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
387 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:392:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
392 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:394:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
394 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp:396:11: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
396 | system(command);
| ~~~~~~^~~~~~~~~
evaluate_odometry.cpp: In function ‘bool eval(std::string, std::string, Mail*)’:
evaluate_odometry.cpp:436:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
436 | system(("mkdir " + error_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:437:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
437 | system(("mkdir " + plot_path_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:438:9: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
438 | system(("mkdir " + plot_error_dir).c_str());
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp: In function ‘void plotErrorPlots(std::string, char*)’:
evaluate_odometry.cpp:343:29: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
343 | sprintf(full_name,"%s/%s",dir.c_str(),file_name);
| ^
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/c++/9/ext/string_conversions.h:43,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from evaluate_odometry.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 2 or more bytes (assuming 1025) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
evaluate_odometry.cpp:386:39: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1011 [-Wformat-overflow=]
386 | sprintf(command,"cd %s; gnuplot %s",dir.c_str(),file_name);
| ^~ ~~~~~~~~~
In file included from /usr/include/stdio.h:867,
from /usr/include/c++/9/cstdio:42,
from /usr/include/c++/9/ext/string_conversions.h:43,
from /usr/include/c++/9/bits/basic_string.h:6493,
from /usr/include/c++/9/string:55,
from /usr/include/c++/9/bits/locale_classes.h:40,
from /usr/include/c++/9/bits/ios_base.h:41,
from /usr/include/c++/9/ios:42,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from evaluate_odometry.cpp:1:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:36:34: note: ‘__builtin___sprintf_chk’ output 14 or more bytes (assuming 1037) into a destination of size 1024
36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 | __bos (__s), __fmt, __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
matrix.cpp: In member function ‘FLOAT Matrix::det()’:
matrix.cpp:404:17: warning: control reaches end of non-void function [-Wreturn-type]
404 | Matrix A(*this);
| ^

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.