algorithm:create
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
algorithm:create [2024/06/05 13:18] – liuxzh12023 | algorithm:create [2024/06/17 07:18] (current) – removed liuxzh12023 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Algorithm Creation ===== | ||
- | How to create algorithm in SLAM-Hive System. | ||
- | |||
- | ==== Full Version ==== | ||
- | |||
- | === 1. Build SLAM algorithm images === | ||
- | We provide some SLAM algorithms Dockerfile and running scripts, here is an example to build an image: | ||
- | <code bash> | ||
- | mkdir -p SLAM_Hive/ | ||
- | cd SLAM_Hive | ||
- | git clone https:// | ||
- | git clone https:// | ||
- | git clone https:// | ||
- | mkdir slam_hive_algos | ||
- | cd slam_hive_algos | ||
- | git clone https:// | ||
- | cd orb-slam2-ros-mono | ||
- | sudo chmod +x install.sh | ||
- | ./ | ||
- | </ | ||
- | |||
- | You can check whether the image is successfully built as follows: | ||
- | <code bash> | ||
- | $ docker images | ||
- | </ | ||
- | |||
- | You can see: | ||
- | <code bash> | ||
- | slam-hive-algorithm | ||
- | </ | ||
- | |||
- | Go go to other directory in // / | ||
- | |||
- | <code bash> | ||
- | REPOSITORY | ||
- | slam-hive-evaluation | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | slam-hive-algorithm | ||
- | ... | ||
- | </ | ||
- | |||
- | === 2. Add new SLAM algorithm to SLAM-Hive === | ||
- | For example, you want to upload a new SLAM algorithms named " | ||
- | |||
- | You can firstly create Docker images following other provided algorithms and name them as: " | ||
- | |||
- | Then you input: | ||
- | |||
- | |||
- | <file yaml> | ||
- | Image tag: new-slam-mono | ||
- | Dockerfile and mapping script address link: Docker build link # If you provide | ||
- | Algorithm Class Name: new-slam | ||
- | Description: | ||
- | Attribute: # Some special attributes of algorithm | ||
- | </ | ||
- | |||
- | After all, you can click //save// button to add the algorithm to the database. | ||
- | |||
algorithm/create.1717593480.txt.gz · Last modified: 2024/06/05 13:18 by liuxzh12023