Compare commits
12 Commits
fee1cf44d0
...
14bafd3b64
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14bafd3b64 | ||
|
|
0247d56aab | ||
|
|
20a095cc46 | ||
|
|
e3df82f68e | ||
|
|
91a70a1438 | ||
|
|
3a0198f67a | ||
|
|
7d3a970c63 | ||
|
|
361d84d99f | ||
|
|
556880487a | ||
|
|
807486b1d2 | ||
|
|
2416d671f0 | ||
|
|
05fbb65e3a |
BIN
0.9.2-1.tar.gz
Normal file
BIN
0.9.2-1.tar.gz
Normal file
Binary file not shown.
130
README.en.md
130
README.en.md
@ -6,18 +6,136 @@ The basic software package of ros2.
|
||||
#### Software Architecture
|
||||
Software architecture description
|
||||
|
||||
https://github.com/ros2-gbp/variants-release.git
|
||||
|
||||
input:
|
||||
```
|
||||
./
|
||||
├── ament_cmake_ros
|
||||
├── common_interfaces
|
||||
├── console_bridge_vendor
|
||||
├── eigen3_cmake_module
|
||||
├── example_interfaces
|
||||
├── geometry2
|
||||
├── launch
|
||||
├── launch_ros
|
||||
├── libyaml_vendor
|
||||
├── message_filters
|
||||
├── mimick_vendor
|
||||
├── orocos_kinematics_dynamics
|
||||
├── performance_test_fixture
|
||||
├── python_cmake_module
|
||||
├── rcl
|
||||
├── rclcpp
|
||||
├── rcl_interfaces
|
||||
├── rcl_logging
|
||||
├── rclpy
|
||||
├── rcpputils
|
||||
├── rcutils
|
||||
├── realtime_support
|
||||
├── rmw
|
||||
├── rmw_connext
|
||||
├── rmw_cyclonedds
|
||||
├── rmw_dds_common
|
||||
├── rmw_fastrtps
|
||||
├── rmw_implementation
|
||||
├── ros1_bridge
|
||||
├── ros2cli
|
||||
├── ros2cli_common_extensions
|
||||
├── rosbag2
|
||||
├── rosidl
|
||||
├── rosidl_dds
|
||||
├── rosidl_defaults
|
||||
├── rosidl_python
|
||||
├── rosidl_runtime_py
|
||||
├── rosidl_typesupport
|
||||
├── rosidl_typesupport_connext
|
||||
├── rosidl_typesupport_fastrtps
|
||||
├── ros_testing
|
||||
├── rpyutils
|
||||
├── spdlog_vendor
|
||||
├── sros2
|
||||
├── system_tests
|
||||
├── test_interface_files
|
||||
├── tinyxml2_vendor
|
||||
├── tinyxml_vendor
|
||||
├── tlsf
|
||||
├── unique_identifier_msgs
|
||||
├── urdf
|
||||
├── variants
|
||||
└── yaml_cpp_vendor
|
||||
```
|
||||
|
||||
#### Installation
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
1. Download RPM
|
||||
|
||||
aarch64:
|
||||
|
||||
```
|
||||
wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/rosbase/ros-foxy-ros-base-0.9.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/rosbase/ros-foxy-ros-base-0.9.2-2.oe2203.x86_64.rpm
|
||||
```
|
||||
|
||||
2. Install RPM
|
||||
|
||||
aarch64:
|
||||
|
||||
```
|
||||
sudo rpm -ivh --nodeps --force ros-foxy-ros-base-0.9.2-2.oe2203.aarch64.rpm
|
||||
```
|
||||
|
||||
x86_64:
|
||||
|
||||
```
|
||||
sudo rpm -ivh --nodeps --force ros-foxy-ros-base-0.9.2-2.oe2203.x86_64.rpm
|
||||
```
|
||||
|
||||
#### Instructions
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
Dependence installation:
|
||||
|
||||
```
|
||||
sh /opt/ros/foxy/install_dependence.sh
|
||||
```
|
||||
|
||||
Exit the following output file under the /opt/ros/foxy/ directory,Prove that the software installation is successful.
|
||||
|
||||
output:
|
||||
|
||||
```
|
||||
./
|
||||
├── bin
|
||||
├── cmake
|
||||
├── COLCON_IGNORE
|
||||
├── include
|
||||
├── install_dependence.sh
|
||||
├── lib
|
||||
├── lib64
|
||||
├── local_setup.bash
|
||||
├── local_setup.ps1
|
||||
├── local_setup.sh
|
||||
├── _local_setup_util_ps1.py
|
||||
├── _local_setup_util_sh.py
|
||||
├── local_setup.zsh
|
||||
├── opt
|
||||
│ └── yaml_cpp_vendor
|
||||
├── setup.bash
|
||||
├── setup.ps1
|
||||
├── setup.sh
|
||||
├── setup.zsh
|
||||
├── share
|
||||
├── src
|
||||
│ ├── gmock_vendor
|
||||
│ └── gtest_vendor
|
||||
└── tools
|
||||
└── fastdds
|
||||
```
|
||||
#### Contribution
|
||||
|
||||
1. Fork the repository
|
||||
|
||||
129
README.md
129
README.md
@ -6,19 +6,136 @@ The basic software package of ros2.
|
||||
#### 软件架构
|
||||
软件架构说明
|
||||
|
||||
https://github.com/ros2-gbp/variants-release.git
|
||||
|
||||
文件内容:
|
||||
```
|
||||
./
|
||||
├── ament_cmake_ros
|
||||
├── common_interfaces
|
||||
├── console_bridge_vendor
|
||||
├── eigen3_cmake_module
|
||||
├── example_interfaces
|
||||
├── geometry2
|
||||
├── launch
|
||||
├── launch_ros
|
||||
├── libyaml_vendor
|
||||
├── message_filters
|
||||
├── mimick_vendor
|
||||
├── orocos_kinematics_dynamics
|
||||
├── performance_test_fixture
|
||||
├── python_cmake_module
|
||||
├── rcl
|
||||
├── rclcpp
|
||||
├── rcl_interfaces
|
||||
├── rcl_logging
|
||||
├── rclpy
|
||||
├── rcpputils
|
||||
├── rcutils
|
||||
├── realtime_support
|
||||
├── rmw
|
||||
├── rmw_connext
|
||||
├── rmw_cyclonedds
|
||||
├── rmw_dds_common
|
||||
├── rmw_fastrtps
|
||||
├── rmw_implementation
|
||||
├── ros1_bridge
|
||||
├── ros2cli
|
||||
├── ros2cli_common_extensions
|
||||
├── rosbag2
|
||||
├── rosidl
|
||||
├── rosidl_dds
|
||||
├── rosidl_defaults
|
||||
├── rosidl_python
|
||||
├── rosidl_runtime_py
|
||||
├── rosidl_typesupport
|
||||
├── rosidl_typesupport_connext
|
||||
├── rosidl_typesupport_fastrtps
|
||||
├── ros_testing
|
||||
├── rpyutils
|
||||
├── spdlog_vendor
|
||||
├── sros2
|
||||
├── system_tests
|
||||
├── test_interface_files
|
||||
├── tinyxml2_vendor
|
||||
├── tinyxml_vendor
|
||||
├── tlsf
|
||||
├── unique_identifier_msgs
|
||||
├── urdf
|
||||
├── variants
|
||||
└── yaml_cpp_vendor
|
||||
```
|
||||
|
||||
#### 安装教程
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
1. 下载rpm包
|
||||
|
||||
aarch64:
|
||||
|
||||
```
|
||||
wget https://117.78.1.88/build/home:Chenjy3_22.03/openEuler_22.03_LTS_standard_aarch64/aarch64/rosbase/ros-foxy-ros-base-0.9.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/rosbase/ros-foxy-ros-base-0.9.2-2.oe2203.x86_64.rpm
|
||||
```
|
||||
|
||||
2. 安装rpm包
|
||||
|
||||
aarch64:
|
||||
|
||||
```
|
||||
sudo rpm -ivh --nodeps --force ros-foxy-ros-base-0.9.2-2.oe2203.aarch64.rpm
|
||||
```
|
||||
|
||||
x86_64:
|
||||
|
||||
```
|
||||
sudo rpm -ivh --nodeps --force ros-foxy-ros-base-0.9.2-2.oe2203.x86_64.rpm
|
||||
```
|
||||
|
||||
#### 使用说明
|
||||
|
||||
1. xxxx
|
||||
2. xxxx
|
||||
3. xxxx
|
||||
依赖环境安装:
|
||||
|
||||
```
|
||||
sh /opt/ros/foxy/install_dependence.sh
|
||||
```
|
||||
|
||||
安装完成以后,在/opt/ros/foxy/目录下如下输出,则表示安装成功。
|
||||
|
||||
输出:
|
||||
|
||||
```
|
||||
./
|
||||
├── bin
|
||||
├── cmake
|
||||
├── COLCON_IGNORE
|
||||
├── include
|
||||
├── install_dependence.sh
|
||||
├── lib
|
||||
├── lib64
|
||||
├── local_setup.bash
|
||||
├── local_setup.ps1
|
||||
├── local_setup.sh
|
||||
├── _local_setup_util_ps1.py
|
||||
├── _local_setup_util_sh.py
|
||||
├── local_setup.zsh
|
||||
├── opt
|
||||
│ └── yaml_cpp_vendor
|
||||
├── setup.bash
|
||||
├── setup.ps1
|
||||
├── setup.sh
|
||||
├── setup.zsh
|
||||
├── share
|
||||
├── src
|
||||
│ ├── gmock_vendor
|
||||
│ └── gtest_vendor
|
||||
└── tools
|
||||
└── fastdds
|
||||
```
|
||||
#### 参与贡献
|
||||
|
||||
1. Fork 本仓库
|
||||
|
||||
214
ros2_base.spec
Normal file
214
ros2_base.spec
Normal file
@ -0,0 +1,214 @@
|
||||
Name: ros-foxy-ros-base
|
||||
Version: 0.9.2
|
||||
Release: 2
|
||||
Summary: This is ROS2 foxy %{name} Package
|
||||
License: Public Domain and Apache-2.0 and BSD and MIT and BSL-1.0 and LGPL-2.1-only and MPL-2.0 and GPL-3.0-only and GPL-2.0-or-later and MPL-1.1 and IJG and Zlib and OFL-1.1
|
||||
URL: https://github.com/ros2-gbp/variants-release.git
|
||||
Source0: https://github.com/ros2-gbp/variants-release/archive/release/foxy/ros_base/0.9.2-1.tar.gz
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: asio-devel
|
||||
BuildRequires: tinyxml2-devel
|
||||
BuildRequires: git
|
||||
BuildRequires: qt5-devel
|
||||
BuildRequires: bullet-devel
|
||||
BuildRequires: zstd-devel
|
||||
BuildRequires: libzstd-devel
|
||||
BuildRequires: openblas-devel
|
||||
|
||||
%description
|
||||
This is ROS2 foxy %{name} Package.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
|
||||
%install
|
||||
cd 3rdparty/
|
||||
|
||||
cd empy-3.3.4/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd six-1.15.0/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd setuptools_scm-4.1.2/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd python-dateutil-2.8.1/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pyparsing-2.4.7/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd docutils-0.16/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd catkin_pkg-0.4.22/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
#ros2
|
||||
|
||||
cd distlib-0.3.3/
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd attrs-21.2.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd more-itertools-5.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd zipp-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd wheel-0.33.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd toml-0.10.2
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd importlib_metadata-3.8.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd py-1.11.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd packaging-21.3
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd iniconfig-1.1.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pluggy-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd typing_extensions-3.7.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-6.2.5
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd coverage-5.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-cov-3.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-repeat-0.9.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-rerunfailures-10.2
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd pytest-runner-5.3.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd PyYAML-5.4
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
#cd setuptools-50.0.0
|
||||
#python3 setup.py install --user
|
||||
#cd ..
|
||||
|
||||
cd argcomplete-1.11.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd notify2-0.3.1
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd lark-1.0.0
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd Cython-0.29.24
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd numpy-1.21.2
|
||||
python3 setup.py install --user
|
||||
cd ..
|
||||
|
||||
cd ..
|
||||
|
||||
# for colcon build tools
|
||||
cd build_tools
|
||||
export BUILD_WORSPCE=$PWD
|
||||
./colcon/colcon-core/bin/colcon build --paths colcon/* --merge-install
|
||||
source install/local_setup.sh
|
||||
cd ..
|
||||
|
||||
# for workspace
|
||||
cd workspace
|
||||
colcon build --merge-install
|
||||
cp ../install_dependence.sh install/
|
||||
cp -r ../build_tools/install/bin install/
|
||||
cp -r ../build_tools/install/lib install/
|
||||
cp -r ../build_tools/install/share install/
|
||||
|
||||
####
|
||||
# for unit test 循环拷贝所有的东西
|
||||
#
|
||||
####
|
||||
|
||||
####
|
||||
# 对install内部的变量名称进行替换
|
||||
#
|
||||
####
|
||||
SRC_PATH=$PWD/install
|
||||
DST_PATH=/opt/ros/foxy
|
||||
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
|
||||
|
||||
SRC_PATH=$BUILD_WORSPCE/install
|
||||
DST_PATH=/opt/ros/foxy
|
||||
sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install/*`
|
||||
|
||||
####
|
||||
# install
|
||||
#
|
||||
####
|
||||
mkdir -p %{buildroot}/opt/ros/foxy/
|
||||
cp -r install/* %{buildroot}/opt/ros/foxy/
|
||||
|
||||
###for debug
|
||||
#mkdir -p %{buildroot}/opt/ros/foxy/log
|
||||
#cp -r log/ %{buildroot}/opt/ros/foxy/log
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
/opt/ros/foxy/*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 19 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.9.2-2
|
||||
- Fix Package name
|
||||
* Wed Sep 21 2022 openEuler Buildteam <hanhaomin008@126.com> - 0.9.2-1
|
||||
- Update Package to OpenEuler 22.03
|
||||
5
ros2_base.yaml
Normal file
5
ros2_base.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
version_control: git
|
||||
src_repo: https://github.com/ros2-gbp/variants-release.git
|
||||
tag_prefix: 0.9.2-1
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user