Giter VIP home page Giter VIP logo

xbotlogger's Introduction

XBotLogger

Package providing a simple, RT safe, logging utility. It supports both console logging and logging of data to a .mat file.

Installation

  1. sudo apt-get install libmatio-dev
  2. standard cmake build flow

Using XBotLogger in external CMake project

  1. find_package(XBotLogger REQUIRED)
  2. include_directories(${XBotLogger_INCLUDE_DIRS})
  3. target_link_libraries(TargetName ${XBotLogger_LIBRARIES})

More information...

Check the wiki page!

xbotlogger's People

Contributors

alaurenzi avatar liesrock avatar pepperig avatar

Stargazers

flyonbots avatar Silvio Traversaro avatar

Watchers

James Cloos avatar Silvio Traversaro avatar  avatar  avatar

xbotlogger's Issues

compile error when I use XBotLogger inside my ROS project

I open this issue since I occur the following compile error

==> add_subdirectory(iit_heri_hand_model_calibration)
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
CMake Error at iit_heri_hand_model_calibration/CMakeLists.txt:20 (find_package):
  By not providing "FindXBotLogger.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "XBotLogger", but CMake did not find one.

  Could not find a package configuration file provided by "XBotLogger" with
  any of the following names:

    XBotLoggerConfig.cmake
    xbotlogger-config.cmake

  Add the installation prefix of "XBotLogger" to CMAKE_PREFIX_PATH or set
  "XBotLogger_DIR" to a directory containing one of the above files.  If
  "XBotLogger" provides a separate development package or SDK, be sure it has
  been installed.


-- Configuring incomplete, errors occurred!
See also "/home/liana/ROSEndEffectorPackageManager/build/CMakeFiles/CMakeOutput.log".
See also "/home/liana/ROSEndEffectorPackageManager/build/CMakeFiles/CMakeError.log".
Makefile:3860: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
liana@liana-MS-7820 ~/ROSEndEffectorPackageManager (devel)$ 

while I use XBotLogger inside my ROS project.

In particular, I am developiing the probject iit_heri_hand_model_calibration and I want to compile it with inside the ROSEndEffector workspace with the following command

catkin_make

and at that time I occur the error reported above.

I am using ubuntu 16.04 as Operative System, and in order to use XBotLogger inside my project, I follow the instructions listed here where the code lines to be added at my CMakeLists are reported. If you want to see how I write it down on my CMakeLists, here the link.

In addition, I did not download the package presents in the repo here since I have the binaries that I used for opensot (maybe do I have to download the repo? I supposed that XBotLogger was already there).
The version of the binaries that I am using is the following

since this (the previous one) had some problems too.

TO REPLICATE

Then, the error occurred after these performed steps

if you need it, download the package iit_heri_hand_model_calibration inside the src of the ROSEndEfffector project cloning the project as here

$ git clone https://github.com/ADVRHumanoids/iit_heri_hand_model_calibration.git

and then run the command

$ catkin_make

inside the ROSEndEffector workspace

Crash when printing large matrices

If a large matrix (e.g. 48x12) is supposed to be printed (Logger::info), it crashes.
As compared to std::cout, I can see the standard library prints only two digits after decimal point (e.g. 0.45) while XBot Logger tends to print with crazy accuracy :D
@alaurenzi @liesrock

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.