# rcpputils **Repository Path**: src-openeuler/rcpputils ## Basic Information - **Project Name**: rcpputils - **Description**: Package containing utility code for C++. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2022-01-13 - **Last Updated**: 2025-10-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: sig-ROS ## README # rcpputils #### 介绍 rcpputils节点是一个由用于在ROS 2代码库中使用的宏、函数和数据结构组成的C++ API。 #### 软件架构 软件架构说明 https://github.com/ros2/rcpputils.git 文件内容: ``` . ├── CHANGELOG.rst ├── CMakeLists.txt ├── CODEOWNERS ├── CONTRIBUTING.md ├── docs │   └── FEATURES.md ├── Doxyfile ├── include │   ├── rcppmath │   └── rcpputils ├── LICENSE ├── package.xml ├── QUALITY_DECLARATION.md ├── README.md ├── src │   ├── asserts.cpp │   ├── find_library.cpp │   └── shared_library.cpp └── test ├── dummy_shared_library ├── test_asserts.cpp ├── test_clamp.cpp ├── test_endian.cpp ├── test_filesystem_helper.cpp ├── test_find_and_replace.cpp ├── test_find_library.cpp ├── test_get_env.cpp ├── test_join.cpp ├── test_library.cpp ├── test_pointer_traits.cpp ├── test_process.cpp ├── test_scope_exit.cpp ├── test_shared_library.cpp ├── test_split.cpp └── test_thread_safety_annotations.cpp ``` #### 安装教程 1. 下载rpm包 aarch64: ``` wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/rcpputils/ros-foxy-ros-rcpputils-1.3.2-2.oe2203.aarch64.rpm ``` x86_64: ``` wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_x86_64/x86_64/rcpputils/ros-foxy-ros-rcpputils-1.3.2-2.oe2203.x86_64.rpm ``` 2. 安装rpm包 aarch64: ``` sudo rpm -ivh --nodeps --force ros-foxy-ros-rcpputils-1.3.2-2.oe2203.aarch64.rpm ``` x86_64: ``` sudo rpm -ivh --nodeps --force ros-foxy-ros-rcpputils-1.3.2-2.oe2203.x86_64.rpm ``` #### 使用说明 依赖环境安装: ``` sh /opt/ros/foxy/install_dependence.sh ``` 安装完成以后,在/opt/ros/foxy/目录下如下输出,则表示安装成功。 输出: ``` ├── include │   ├── rcppmath │   │   └── clamp.hpp │   └── rcpputils │   ├── asserts.hpp │   ├── endian.hpp │   ├── filesystem_helper.hpp │   ├── find_and_replace.hpp │   ├── find_library.hpp │   ├── get_env.hpp │   ├── join.hpp │   ├── pointer_traits.hpp │   ├── process.hpp │   ├── scope_exit.hpp │   ├── shared_library.hpp │   ├── split.hpp │   ├── thread_safety_annotations.hpp │   └── visibility_control.hpp ├── lib │   └── librcpputils.so └── share ├── ament_index │   └── resource_index ├── colcon-core │   └── packages └── rcpputils ├── cmake ├── environment ├── hook ├── local_setup.bash ├── local_setup.dsv ├── local_setup.sh ├── local_setup.zsh ├── package.bash ├── package.dsv ├── package.ps1 ├── package.sh ├── package.xml └── package.zsh ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 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/)