diff --git a/1.7.8-1.tar.gz b/1.7.8-1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..69fe35c0f65fabd1c8a7fb420f6e056b17c43f56 Binary files /dev/null and b/1.7.8-1.tar.gz differ diff --git a/README.en.md b/README.en.md index 12f40a29ea674f6c26ce05c0019392c765e27835..9906685eb7b2f429a2ff1aa1e6eb8b73feb0b404 100644 --- a/README.en.md +++ b/README.en.md @@ -1,22 +1,32 @@ -# laser_assembler +# angles #### Description -Provides nodes to assemble point clouds from either LaserScan or PointCloud messages. + +This package provides a set of simple math utilities to work with angles. The utilities cover simple things like normalizing an angle and conversion between degrees and radians. But even if you're trying to calculate things like the shortest angular distance between two joint space positions of your robot, but the joint motion is constrained by joint limits, this package is what you need. The code in this package is stable and well tested. There are no plans for major changes in the near future. #### Software Architecture Software architecture description +The Angles contains the following methods: + +Angular conversions: angles::from_degrees, angles::to_degrees +Angular manipulations: angles::normalize_angle_positive, angles::normalize_angle +Angular distance: angles::shortest_angular_distance, angles::shortest_angular_distance_with_limits +Angular tools: angles::find_min_max_delta, angles::two_pi_complement + #### Installation -1. xxxx -2. xxxx -3. xxxx +1. Dowload RPM + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03/standard_aarch64/aarch64/laser_assembler-1.7.8-1.oe1.aarch64.rpm + +2. Install RPM + +sudo rpm -ivh laser_assembler-1.7.8-1.oe1.aarch64.rpm #### Instructions -1. xxxx -2. xxxx -3. xxxx +Exit the angles file under the /opt/ros/noetic/devel_isolated/ directory , Prove that the software installation is successful #### Contribution diff --git a/README.md b/README.md index 5174cc23ecceb3d0cf86026e4309b7d8d1065fb0..a9a7226bfe15c52b66d072097eaf6d9865a229b9 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,32 @@ -# laser_assembler +# angles #### 介绍 -Provides nodes to assemble point clouds from either LaserScan or PointCloud messages. +该软件包提供了一组简单的数学实用程序来处理角度。该实用程序涵盖了简单的事情,例如标准化角度以及度和弧度之间的转换。但是,即使您正在尝试计算机器人两个关节空间位置之间的最短角距离之类的东西,但是关节运动受关节限制的限制,您仍然需要此软件包。该软件包中的代码稳定且经过了良好的测试。没有在不久的将来进行重大更改的计划。 #### 软件架构 软件架构说明 +角度包含以下方法: + +角度转换:angles :: from_degrees,angles :: to_degrees +角度操作:angles :: normalize_angle_positive,angles :: normalize_angle +角距:angles :: shortest_angular_distance,angles :: shortest_angular_distance_with_limits +角度工具:angles :: find_min_max_delta,angles :: two_pi_complement + #### 安装教程 -1. xxxx -2. xxxx -3. xxxx +1. 下载rpm包 + +wget http://121.36.3.168:82/home:/davidhan:/branches:/openEuler:/21.03/standard_aarch64/aarch64/laser_assembler-1.7.8-1.oe1.aarch64.rpm +2. 安装rpm包 + +sudo rpm -ivh laser_assembler-1.7.8-1.oe1.aarch64.rpm + #### 使用说明 -1. xxxx -2. xxxx -3. xxxx +安装完成以后,在/opt/ros/noetic/devel_isolated/目录下有laser_assembler/文件夹证明安装成功 #### 参与贡献 @@ -27,11 +36,11 @@ Provides nodes to assemble point clouds from either LaserScan or PointCloud mess 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/laser_assembler.spec b/laser_assembler.spec new file mode 100644 index 0000000000000000000000000000000000000000..90c84bd1a1053690a70db6e945381ab40311c325 --- /dev/null +++ b/laser_assembler.spec @@ -0,0 +1,147 @@ +Name: laser_assembler +Version: 1.7.8 +Release: 1 +Summary: This is ROS noetic navigation 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 +URL: https://github.com/ros-gbp/laser_assembler-release/archive/release/noetic/laser_assembler +Source0: https://github.com/ros-gbp/laser_assembler-release/archive/release/noetic/laser_assembler/1.7.8-1.tar.gz +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: lz4-devel +BuildRequires: bzip2-devel +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: openssl-devel +BuildRequires: boost-devel +BuildRequires: uuid-devel +BuildRequires: uuid +BuildRequires: libuuid-devel +BuildRequires: python3-gpgme +BuildRequires: gpgme-devel +BuildRequires: cpp-gpgme +BuildRequires: python3-crypto +BuildRequires: bullet-devel + +%description +This is ROS noetic laser_assembler 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 .. + +cd PyYAML-5.3.1/ +python3 setup.py install --user +cd .. + +cd distro-1.5.0/ +python3 setup.py install --user +cd .. + +cd rospkg-1.2.8/ +python3 setup.py install --user +cd .. + +cd console_bridge/ +mkdir build/ +cd build/ +cmake .. +make -j8 +make install +cd .. +cd .. + +cd poco/ +mkdir cmake-build/ +mkdir cmake-release/ +cd cmake-build/ +cmake .. +make -j8 +make install +cd .. +cd .. + +cd tinyxml2/ +mkdir build +cd build +cmake .. +make -j8 +make install +cd .. +cd .. + + +cd eigen-3.3.7/ +mkdir build +cd build +cmake .. +make install +cd .. +cd .. + +cd .. + + + +./src/catkin/bin/catkin_make_isolated --install + +#### +# 对install_isoloate内部的变量名称进行替换 +# +#### +SRC_PATH=$PWD/install_isolated +DST_PATH=/opt/ros/noetic +sed -i "s:${SRC_PATH}:${DST_PATH}:g" `grep -rIln "${SRC_PATH}" install_isolated/*` + +#### +# 添加.catkin和.rosinstall文件 +# +#### +mkdir -p %{buildroot}/opt/ros/noetic/ +mkdir -p %{buildroot}/usr/local/ +cp -r install_isolated/* %{buildroot}/opt/ros/noetic/ +cp install_isolated/.rosinstall %{buildroot}/opt/ros/noetic/ +cp install_isolated/.catkin %{buildroot}/opt/ros/noetic/ +cp -r 3rdparty/install/* %{buildroot}/usr/local/ + +%files +%defattr(-,root,root) +/opt/ros/noetic/* +/opt/ros/noetic/.rosinstall +/opt/ros/noetic/.catkin +/usr/local/* + + +%changelog +* Thu 12-15-2020 openEuler Buildteam +- Package init + diff --git a/laser_assembler.yaml b/laser_assembler.yaml new file mode 100644 index 0000000000000000000000000000000000000000..71cdea63d912ce14a55ec08e71e7d593a2433375 --- /dev/null +++ b/laser_assembler.yaml @@ -0,0 +1,5 @@ +--- +version_control: git +src_repo: https://github.com/ros/laser_assembler.git +tag_prefix: 1.7.8-1 +separator: "."