Single point of entry for writing tests which involve Nodes in ROS 2.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 3 年前 | ||
| 4 年前 |
以下内容由 AI 翻译,如有问题请 点此提交 issue 反馈
ros_testing
介绍
ros_testing节点
编写涉及 ROS 2 中节点的测试的单点入口。
软件架构
软件架构说明
https://github.com/ros2/ros_testing.git
文件内容:
./
├── LICENSE
├── README.md
├── ros2test
│ ├── CHANGELOG.rst
│ ├── package.xml
│ ├── resource
│ ├── ros2test
│ ├── setup.py
│ └── test
└── ros_testing
├── CHANGELOG.rst
├── cmake
├── CMakeLists.txt
├── package.xml
└── ros_testing-extras.cmake
安装教程
- 下载rpm包
aarch64:
wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/ros_testing/ros2-foxy-ros2-ros_testing-0.2.1-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/ros_testing/ros2-foxy-ros2-ros_testing-0.2.1-2.oe2203.x86_64.rpm
- 安装rpm包
aarch64:
sudo rpm -ivh --nodeps --force ros2-foxy-ros2-ros_testing-0.2.1-2.oe2203.aarch64.rpm
x86_64:
sudo rpm -ivh --nodeps --force ros2-foxy-ros2-ros_testing-0.2.1-2.oe2203.x86_64.rpm
使用说明
依赖环境安装:
sh /opt/ros/foxy/install_dependence.sh
安装完成以后,在/opt/ros/foxy/目录下如下输出,则表示安装成功。
输出:
./
├── LICENSE
├── README.md
├── ros2test
│ ├── CHANGELOG.rst
│ ├── package.xml
│ ├── resource
│ ├── ros2test
│ ├── setup.py
│ └── test
└── ros_testing
├── CHANGELOG.rst
├── cmake
├── CMakeLists.txt
├── package.xml
└── ros_testing-extras.cmake
安装
- 下载 RPM 包
wget http://121.36.3.168:82/home:/Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/ros_testing-0.2.1-1.oe2203.aarch64.rpm
- 安装 RPM 包
sudo rpm -ivh --nodeps -force ros_testing-0.2.1-1.oe2203.aarch64.rpm
说明
在 /opt/ros/foxy/ 目录下导出以下输出文件,以证明软件安装成功
输出:
./
├── bin
│ ├── ament_clang_format
│ ├── ament_clang_tidy
│ ├── ament_copyright
│ ├── ament_cppcheck
│ ├── ament_cpplint
│ ├── ament_flake8
│ ├── ament_index
│ ├── ament_lint_cmake
│ ├── ament_mypy
│ ├── ament_pclint
│ ├── ament_pep257
│ ├── ament_pycodestyle
│ ├── ament_pyflakes
│ ├── ament_uncrustify
│ ├── ament_xmllint
│ └── uncrustify
├── COLCON_IGNORE
├── include
│ ├── ament_index_cpp
│ ├── benchmark
│ ├── osrf_testing_tools_cpp
│ ├── performance_test_fixture
│ ├── tinystr.h
│ └── tinyxml.h
├── lib
│ ├── libament_index_cpp.so
│ ├── libmemory_tools_interpose.so
│ ├── libmemory_tools.so
│ ├── libperformance_test_fixture.so
│ ├── libtinyxml.so
│ ├── osrf_testing_tools_cpp
│ └── python3.9
├── lib64
│ ├── cmake
│ ├── libbenchmark_main.so -> libbenchmark_main.so.1
│ ├── libbenchmark_main.so.1 -> libbenchmark_main.so.1.5.2
│ ├── libbenchmark_main.so.1.5.2
│ ├── libbenchmark.so -> libbenchmark.so.1
│ ├── libbenchmark.so.1 -> libbenchmark.so.1.5.2
│ ├── libbenchmark.so.1.5.2
│ └── pkgconfig
├── local_setup.bash
├── local_setup.ps1
├── local_setup.sh
├── _local_setup_util_ps1.py
├── _local_setup_util_sh.py
├── local_setup.zsh
├── setup.bash
├── setup.ps1
├── setup.sh
├── setup.zsh
├── share
│ ├── ament_clang_format
│ ├── ament_clang_tidy
│ ├── ament_cmake
│ ├── ament_cmake_auto
│ ├── ament_cmake_clang_format
│ ├── ament_cmake_clang_tidy
│ ├── ament_cmake_copyright
│ ├── ament_cmake_core
│ ├── ament_cmake_cppcheck
│ ├── ament_cmake_cpplint
│ ├── ament_cmake_export_definitions
│ ├── ament_cmake_export_dependencies
│ ├── ament_cmake_export_include_directories
│ ├── ament_cmake_export_interfaces
│ ├── ament_cmake_export_libraries
│ ├── ament_cmake_export_link_flags
│ ├── ament_cmake_export_targets
│ ├── ament_cmake_flake8
│ ├── ament_cmake_gmock
│ ├── ament_cmake_google_benchmark
│ ├── ament_cmake_gtest
│ ├── ament_cmake_include_directories
│ ├── ament_cmake_libraries
│ ├── ament_cmake_lint_cmake
│ ├── ament_cmake_mypy
│ ├── ament_cmake_nose
│ ├── ament_cmake_pclint
│ ├── ament_cmake_pep257
│ ├── ament_cmake_pycodestyle
│ ├── ament_cmake_pyflakes
│ ├── ament_cmake_pytest
│ ├── ament_cmake_python
│ ├── ament_cmake_ros
│ ├── ament_cmake_target_dependencies
│ ├── ament_cmake_test
│ ├── ament_cmake_uncrustify
│ ├── ament_cmake_version
│ ├── ament_cmake_xmllint
│ ├── ament_copyright
│ ├── ament_cppcheck
│ ├── ament_cpplint
│ ├── ament_flake8
│ ├── ament_index
│ ├── ament_index_cpp
│ ├── ament_index_python
│ ├── ament_lint
│ ├── ament_lint_auto
│ ├── ament_lint_cmake
│ ├── ament_lint_common
│ ├── ament_mypy
│ ├── ament_package
│ ├── ament_pclint
│ ├── ament_pep257
│ ├── ament_pycodestyle
│ ├── ament_pyflakes
│ ├── ament_uncrustify
│ ├── ament_xmllint
│ ├── colcon-core
│ ├── domain_coordinator
│ ├── gmock_vendor
│ ├── google_benchmark_vendor
│ ├── gtest_vendor
│ ├── osrf_pycommon
│ ├── osrf_testing_tools_cpp
│ ├── performance_test_fixture
│ ├── ros2test
│ ├── ros_testing
│ ├── test_osrf_testing_tools_cpp
│ ├── tinyxml_vendor
│ └── uncrustify_vendor
└── src
├── gmock_vendor
└── gtest_vendor
参与贡献
- Fork 本仓库
- 新建 Feat_xxx 分支
- 提交代码
- 新建 Pull Request
特技
- 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md
- Gitee 官方博客 blog.gitee.com
- 你可以通过 https://gitee.com/explore 这个地址来了解 Gitee 上的优秀开源项目
- GVP 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
- Gitee 官方提供的使用手册 https://gitee.com/help
- Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 https://gitee.com/gitee-stars/