diff --git a/1.0.0.tar.gz b/1.0.0.tar.gz new file mode 100644 index 0000000..e9d2df7 Binary files /dev/null and b/1.0.0.tar.gz differ diff --git a/README.en.md b/README.en.md index 3a0f0cb..9f04f32 100644 --- a/README.en.md +++ b/README.en.md @@ -1,22 +1,31 @@ # console_bridge #### Description -console_bridge is a ROS-independent. +console_bridge is a ROS-independent, pure CMake (i.e. non-catkin and non-rosbuild package) that provides logging calls that mirror those found in rosconsole, but for applications that are not necessarily using ROS. #### Software Architecture Software architecture description +This library allows to log messages in the standard output and the standard output error based on the log level: +CONSOLE_BRIDGE_LOG_DEBUG +CONSOLE_BRIDGE_LOG_INFO +CONSOLE_BRIDGE_LOG_WARN +CONSOLE_BRIDGE_LOG_ERROR +CONSOLE_BRIDGE_LOG_NONE + #### Installation -1. xxxx -2. xxxx -3. xxxx +1. Dowload RPM + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/console_bridge-2.5.6-1.oe1.aarch64.rpm + +2. Install RPM + +sudo rpm -ivh console_bridge-2.5.6-1.oe1.aarch64.rpm #### Instructions -1. xxxx -2. xxxx -3. xxxx +Exit the console_bridge directory under the /usr/local/ directory , Prove that the software installation is successful #### Contribution diff --git a/README.md b/README.md index 3ab9fa2..c9bdfc4 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,34 @@ -# console_bridge +### console_bridge + #### 介绍 -console_bridge is a ROS-independent. +console_bridge 是独立于ROS的纯CMake(即:非catkin和非rosbuild程序包),它提供的记录调用与rosconsole中发现的记录相同,但适用于不一定使用ROS的应用程序 #### 软件架构 软件架构说明 +该库允许将消息记录在标准输出和基于日志级别的标准输出错误中: +CONSOLE_BRIDGE_LOG_DEBUG +CONSOLE_BRIDGE_LOG_INFO +CONSOLE_BRIDGE_LOG_WARN +CONSOLE_BRIDGE_LOG_ERROR +CONSOLE_BRIDGE_LOG_NONE + #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 下载rpm包 + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/Mainline/standard_aarch64/aarch64/rospack-2.5.6-1.oe1.aarch64.rpm + +2. 安装rpm包 + +sudo rpm -ivh rospack-2.5.6-1.oe1.aarch64.rpm + #### 使用说明 -1. xxxx -2. xxxx -3. xxxx +安装完成以后,在/usr/local 目录下有console_bridge/文件夹证明安装成功 #### 参与贡献 @@ -27,11 +38,11 @@ console_bridge is a ROS-independent. 4. 新建 Pull Request -#### 特技 +#### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) +2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) +3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 +4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 +5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) +6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/console_bridge.spec b/console_bridge.spec new file mode 100644 index 0000000..31ed406 --- /dev/null +++ b/console_bridge.spec @@ -0,0 +1,39 @@ +Name: console_bridge +Version: 1.0.0 +Release: 1 +Summary: This is ROS melodic ros_comm's 3rdparty console_bridge +License: GPL +URL: https://github.com/ros/console_bridge/releases/tag/1.0.0 +Source0: https://github.com/ros/console_bridge/archive/1.0.0.tar.gz +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: boost-devel + +%description +This is ROS melodic ros_comm's 3rdparty console_bridge. + +%prep +%setup + +%install +mkdir build/ +cd build/ +cmake .. +make +make install +cd .. + +#install +mkdir -p %{buildroot}/usr/local/ +cp -r install/* %{buildroot}/usr/local/ + +%files +%defattr(-,root,root) +/usr/local/* + + +%changelog +* Thu December 31 2020 openEuler Buildteam +- Package init + +