User Tools

Site Tools


algorithms:create

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
algorithms:create [2024/06/17 07:18] – created liuxzh12023algorithms:create [2025/03/30 13:32] (current) liuxzh12023
Line 7: Line 7:
 We provide some SLAM algorithms Dockerfile and running scripts, here is an example to build an image: We provide some SLAM algorithms Dockerfile and running scripts, here is an example to build an image:
 <code bash> <code bash>
-mkdir -p SLAM_Hive/slam_hive_configurations 
 cd SLAM_Hive cd SLAM_Hive
-git clone https://github.com/SLAM-Hive/slam_hive_web.git  
-git clone https://github.com/SLAM-Hive/slam_hive_datasets.git  
-git clone https://github.com/SLAM-Hive/slam_hive_results.git 
 mkdir slam_hive_algos mkdir slam_hive_algos
 cd slam_hive_algos cd slam_hive_algos
Line 19: Line 15:
 ./install.sh ./install.sh
 </code> </code>
 +
  
 You can check whether the image is successfully built as follows: You can check whether the image is successfully built as follows:
Line 51: Line 48:
  
 You can firstly create Docker images following other provided algorithms and name them as: "slam-hive-algorithm:new-slam-mono" and "slam-hive-algorithm:new-slam-stereo". You can firstly create Docker images following other provided algorithms and name them as: "slam-hive-algorithm:new-slam-mono" and "slam-hive-algorithm:new-slam-stereo".
 +
 +https://github.com/SLAM-Hive/slam_hive_web?tab=readme-ov-file#631-create-your-own-algorithm lists the components of a algorithm, and the explanation of each file can be found. Here is a tree structure of a algorithm folder:
 +
 +<code bash>
 +/SLAM-Hive/slam_hive_algos/orb-slam2-ros-mono$ tree -L 1
 +.
 +├── Dockerfile
 +├── install.sh
 +├── ORB_SLAM2
 +└── **slamhive**
 +
 +
 +/SLAM-Hive/slam_hive_algos/orb-slam2-ros-mono/slamhive$ tree -L 1
 +.
 +├── mapping.py
 +├── mappingtask.yaml
 +├── mono.launch
 +└── template.yaml
 +
 +
 +</code>
 +
  
 Then you input: Then you input:
Line 56: Line 75:
  
 <file yaml> <file yaml>
-Image tag: new-slam-mono+Image tag:                                  new-slam-mono
 Dockerfile and mapping script address link: Docker build link # If you provide Dockerfile and mapping script address link: Docker build link # If you provide
-Algorithm Class Name: new-slam +Algorithm Class Name:                       new-slam 
-Description: # Some description of algorithm +Description:                                # Some description of algorithm 
-Attribute: # Some special attributes of algorithm+Attribute:                                  # Some special attributes of algorithm
 </file> </file>
    
 After all, you can click //save// button to add the algorithm to the database. After all, you can click //save// button to add the algorithm to the database.
 +
 +
 +Here we give a novel SLAM algorithm example of complete building tutorial.
 +**TODO**
  
  
algorithms/create.1718608718.txt.gz · Last modified: 2024/06/17 07:18 by liuxzh12023