edd87148创建于 2022年11月29日历史提交

rosconsole

Description

rosconsole is a C++ package that supports console output and logging in roscpp. It provides a macro-based interface which allows both printf- and stream-style output. It also wraps log4cxx, which supports hierarchical loggers, verbosity levels and configuration-files.rosconsole provides most of this through log4cxx, and implements a few of them through the macro wrappers.rosconsole also provides an assertion/breakpoint library.

Software Architecture

Software architecture description rosconsole provides eight different types of logging statements, at 5 different verbosity levels, with both printf- and stream-style formatting.

input:

rosconsole
├── CHANGELOG.rst
├── cmake
│   └── rosconsole-extras.cmake.in
├── CMakeLists.txt
├── config
│   └── rosconsole.config
├── env-hooks
│   ├── 10.rosconsole.bat.develspace.em
│   └── 10.rosconsole.sh.develspace.em
├── examples
│   └── example.cpp
├── include
│   ├── ros
│   └── rosconsole
├── mainpage.dox
├── package.xml
├── scripts
│   ├── generate_macros.py
│   └── generate_speed_test.py
├── src
│   └── rosconsole
└── test
    ├── assertion_test.cpp
    ├── thread_test.cpp
    └── utest.cpp

Installation

  1. Download RPM

aarch64:

wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/standard_aarch64/aarch64/ros-noetic-ros-rosconsole/ros-noetic-ros-rosconsole-1.14.3-1.oe2203.aarch64.rpm

x86_64:

wget https://117.78.1.88/build/home:davidhan:branches:openEuler:22.03:LTS/standard_x86_64/x86_64/ros-noetic-ros-rosconsole/ros-noetic-ros-rosconsole-1.14.3-1.oe2203.x86_64.rpm

  1. Install RPM

aarch64:

sudo rpm -ivh ros-noetic-ros-rosconsole-1.14.3-1.oe2203.aarch64.rpm --nodeps --force

x86_64:

sudo rpm -ivh ros-noetic-ros-rosconsole-1.14.3-1.oe2203.x86_64.rpm --nodeps --force

Instructions

Dependence installation

sh /opt/ros/noetic/install_dependence.sh

Exit the following output file under the /opt/ros/noetic/ directory , Prove that the software installation is successful

rosconsole
├── cmake.lock
├── env.sh
├── etc
│   └── catkin
├── lib
│   ├── librosconsole_backend_interface.so
│   ├── librosconsole_log4cxx.so
│   ├── librosconsole.so
│   └── pkgconfig
├── local_setup.bash
├── local_setup.sh
├── local_setup.zsh
├── setup.bash
├── setup.sh
├── _setup_util.py
├── setup.zsh
└── share
    └── rosconsole

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/