resource_retriever
Description
This package retrieves data from url-format files such as http://, ftp://, package:// file://, etc., and loads the data into memory. The package:// url for ros packages is translated into a local file:// url. The resourse retriever was initially designed to load mesh files into memory, but it can be used for any type of data. The resource retriever is based on the the libcurl library.
Software Architecture
Software architecture description
resource_retriever has an extremely simple C++ API, consisting of two classes and one method.The resource_retriever::Retriever class is the gateway into downloading files. Its get() method returns a resource_retriever::MemoryResource which contains the file in memory.
input:
resource_retriever/
├── CHANGELOG.rst
├── CMakeLists.txt
├── include
│ └── resource_retriever
├── mainpage.dox
├── package.xml
├── setup.py
├── src
│ ├── resource_retriever
│ └── retriever.cpp
└── test
├── CMakeLists.txt
├── test.cpp
├── test.py
└── test.txt
Installation
- Download RPM
aarch64:
x86_64:
- Install RPM
aarch64:
sudo rpm -ivh ros-noetic-ros-resource_retriever-1.12.6-0.oe2203.aarch64.rpm --nodeps --force
x86_64:
sudo rpm -ivh ros-noetic-ros-resource_retriever-1.12.6-0.oe2203.x86_64.rpm --nodeps --force
Instructions
Dependence installation
sh /opt/ros/noetic/install_dependence.sh
Exit the following output file under the /opt/ros/noetic/ directory , Prove that the software installation is successful
output:
resource_retriever/
├── cmake.lock
├── env.sh
├── lib
│ ├── libresource_retriever.so
│ ├── pkgconfig
│ ├── python2.7
│ └── resource_retriever
├── local_setup.bash
├── local_setup.sh
├── local_setup.zsh
├── setup.bash
├── setup.sh
├── _setup_util.py
├── setup.zsh
└── share
└── resource_retriever
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Gitee Feature
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- Gitee blog blog.gitee.com
- Explore open source project https://gitee.com/explore
- The most valuable open source project GVP
- The manual of Gitee https://gitee.com/help
- The most popular members https://gitee.com/gitee-stars/