Skip to content

Commit

Permalink
Merge branch 'master' of github.com:RuanJY/SLAMesh
Browse files Browse the repository at this point in the history
  • Loading branch information
RuanJY committed Jan 5, 2025
2 parents 5f56fd1 + 8f6aebe commit 50b4356
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,11 @@ sudo make install
```
It may take you some time.

2. Install mesh_tools, (I can not install it from official ROS repos now, so I build it from source)
2. Install mesh_tools, (their ROS2 version is available but this repo uses the ROS1 version. I can not install it from official ROS repos, so I build it from source)

```
cd slamesh_ws/src
git clone https://github.com/naturerobots/mesh_tools.git
git clone https://github.com/naturerobots/mesh_tools.git -b noetic
cd ..
rosdep update
rosdep install --from-paths src --ignore-src -r -y
Expand All @@ -172,7 +172,7 @@ source ~/slamesh_ws/src/devel/setup.bash

If you encounter some troubles when building slamesh, the problem may lay down on the prerequisite; we advise you to use the docker image:

**Option 1**, Build the docker image use Dockerfile:
**Option 1**, Build the docker image using Dockerfile:

```
cd slamesh_ws/src/SLAMesh/docker/
Expand All @@ -191,7 +191,7 @@ docker run -it --rm --gpus=all --runtime=nvidia -e NVIDIA_DRIVER_CAP
```
change the `path_of_dataset_in_your_PC` to the folder path of the dataset in your PC, like `--volume=/home/ruanjy/kitti_odometry/data_odometry_velodyne/dataset/:/home/ruanjy/Dataset/ \`

In this way, SLAMesh are built already, so source the workspace and run the launch file. You can also play rosbag in your host PC.
In this way, SLAMesh is built already, so source the workspace and run the launch file. You can also play rosbag in your host PC.

**Option 2**, otherwise, you can also pull the pre-built docker image with VNC directly:

Expand Down Expand Up @@ -301,6 +301,12 @@ heavy ↓

after finishing the whole process, the global mesh map will be visualized in any mode

### 3.5 About parameter

The influences of different parameters in KITTI. our method is not very sensitive to all three parameters because the accuracy is satisfactory in most cases, which means users can favor faster localization or more detailed mapping by adjusting these parameters.

![image](https://github.com/user-attachments/assets/1fa783b7-12a9-4004-a236-ee8d5a6442f5)

## 4. Evaluation

SLAMesh saves all its report to the path `result_path` given in each **launch** file. If you find ros warning: ` Can not open Report file`, create the folder of `result_path` first.
Expand Down Expand Up @@ -381,6 +387,10 @@ The direct meshing method enables SLAMesh 180x faster than Poisson reconstructio
<img src="https://github.com/RuanJY/SLAMesh/blob/master/fig/timecost.png" alt="timecost" width="60%" />
</div>





## 5. Help you to read the code

TODO
Expand Down

0 comments on commit 50b4356

Please sign in to comment.