modify README

main
feixyz10 2021-03-11 17:09:21 +08:00 committed by feixyz
parent 78504c1b9a
commit 59fcc3ce32
3 changed files with 15 additions and 7 deletions

View File

@ -5,8 +5,9 @@ This implementation is modified from [A-LOAM](https://github.com/HKUST-Aerial-Ro
Comparing with A-LOAM, this implementation has following features: Comparing with A-LOAM, this implementation has following features:
- it's ROS-free - ROS-free: it can run without ROS environment
- it's more readable and easier to understand/modify - Multi-threading instead of multi-process: more deterministic
- Higher code quality: more readable and easier to understand/modify
<img src="images/nsh_indoor_outdoor.png" alt="nsh_indoor_outdoor" height="500" align="bottom" /> <img src="images/nsh_indoor_outdoor.png" alt="nsh_indoor_outdoor" height="500" align="bottom" />
@ -56,7 +57,16 @@ You can modify `examples/main_noros.cc` to add support for other point cloud for
# Dependences # Dependences
### OS
Tested on ubuntu 16.04/18.04/20.04.
### C++17 ### C++17
If cannot find *std::filesystem* error is encountered during your compiling, please upgrade your compiler.
We recommend `g++-9` (or higher version).
### ROS
Only `examples/main_rosbag.cc` needs ROS. You can exclude it from compiling by modifying `examples/CMakeLists.txt`.
### Eigen: linear algebra, quaternion ### Eigen: linear algebra, quaternion
``` ```
sudo apt install libeigen3-dev sudo apt install libeigen3-dev
@ -79,5 +89,3 @@ sudo apt install libyaml-cpp-dev
``` ```
sudo apt install libceres-dev sudo apt install libceres-dev
``` ```
### ROS (optional)

View File

@ -50,7 +50,7 @@ int main(int argc, char *argv[]) {
PointCloudPtr cloud(new PointCloud); PointCloudPtr cloud(new PointCloud);
pcl::io::loadPCDFile(path.string(), *cloud); pcl::io::loadPCDFile(path.string(), *cloud);
PointCloudHandler(cloud, &slam); PointCloudHandler(cloud, &slam);
std::this_thread::sleep_for(std::chrono::milliseconds(100)); std::this_thread::sleep_for(std::chrono::milliseconds(100)); // 10 Hz
} }
return 0; return 0;
} }

View File

@ -7,7 +7,7 @@
A ROS-free implementation of LOAM. A ROS-free implementation of LOAM.
</description> </description>
<maintainer email="fei-china@139.com">feixyz</maintainer> <maintainer email="xxxxx@xxx.com">feixyz</maintainer>
<license>BSD</license> <license>BSD</license>