Skip to content

Commit 675a1f4

Browse files
committed
[Add][Enh] update README.md, CMakelist and lunch files
1 parent 6976bdc commit 675a1f4

File tree

4 files changed

+16
-25
lines changed

4 files changed

+16
-25
lines changed

CMakeLists.txt

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ find_package(Eigen3 REQUIRED)
2222
find_package(OpenCV REQUIRED)
2323
find_package(Ceres REQUIRED)
2424

25-
#### Specify PCL version
26-
if(NOT DEFINED ENV{PCL_ROOT})
27-
message(WARNING "not defined environment variable:PCL_ROOT")
28-
else()
29-
if (POLICY CMP0074)
30-
cmake_policy(SET CMP0074 NEW) # CMake 3.12, Set policy CMP0074 explicitly to avoid warnings
31-
endif ()
32-
message(STATUS "***** PCL_ROOT = " $ENV{PCL_ROOT} "*****" )
33-
# set(PCL_DIR $ENV{PCL_ROOT})
34-
# set(PCL_DIR "/usr/local/share/pcl-1.8")
35-
endif()
3625
find_package(PCL REQUIRED)
3726
message(STATUS "***** PCL version: ${PCL_VERSION} *****")
3827
####
@@ -46,13 +35,13 @@ include_directories(
4635

4736
catkin_package(
4837
CATKIN_DEPENDS geometry_msgs nav_msgs roscpp rospy std_msgs
49-
DEPENDS EIGEN3 PCL OpenCV
38+
DEPENDS EIGEN3 PCL
5039
INCLUDE_DIRS include
5140
)
5241

5342

5443
add_executable(livox_scanRegistration src/laser_feature_extractor.cpp)
55-
target_link_libraries(livox_scanRegistration ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${OpenCV_LIBS})
44+
target_link_libraries(livox_scanRegistration ${catkin_LIBRARIES} ${PCL_LIBRARIES})
5645

5746
add_executable(livox_laserMapping src/laser_mapping.cpp)
5847
target_link_libraries(livox_laserMapping ${catkin_LIBRARIES} ${PCL_LIBRARIES} ${CERES_LIBRARIES})

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# LOAM-Livox
2-
## A robust LiDAR Odemetry and Mapping (LOAM) package for Livox-LiDAR
2+
## A robust LiDAR Odemetry and Mapping (LOAM) package for Livox LiDAR
33

44
<img src="https://github.com/hku-mars/loam_livox/blob/master/pics/demo_cyt.gif" width = 100% />
55

@@ -39,7 +39,7 @@ Connect to your PC to Livox LiDAR (mid-40) by following [Livox-ros-driver insta
3939
```
4040
roslaunch loam_livox livox.launch
4141
```
42-
42+
To improve the whole wise performance, we strongly recommend you to fresh your livox lidar with this [firmware](https://github.com/Livox-SDK/Special-Firmwares-for-Livox-LiDARs/tree/master/Threadlike-Noise_Filtering_Firmware_For_Livox_MID) by following this [tutorial](https://github.com/Livox-SDK/Special-Firmwares-for-Livox-LiDARs).
4343
## 4. Rosbag Example
4444
### 4.1. **Common rosbag**
4545
Download [Our recorded rosbag](https://drive.google.com/drive/folders/1HWomWWPSEVvka2QVB2G41iRvSwIt5NWf?usp=sharing) and then
@@ -74,4 +74,6 @@ Thanks for LOAM(J. Zhang and S. Singh. LOAM: Lidar Odometry and Mapping in Real-
7474
## 6. License
7575
The source code is released under [GPLv3](http://www.gnu.org/licenses/) license.
7676

77-
We are still working on improving the performance and reliability of our codes. For any technical issues, please contact me via email Jiarong Lin < ziv.lin.ljr@gmail.com >.
77+
We are still working on improving the performance and reliability of our codes. For any technical issues, please contact me via email Jiarong Lin < ziv.lin.ljr@gmail.com >.
78+
79+
For commercial use, please contact Dr. Fu Zhang < fuzhang@hku.hk >

launch/livox.launch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
<arg name="rviz" default="true" />
4242
<group if="$(arg rviz)">
43-
<node launch-prefix="nice" pkg="rviz" type="rviz" name="rviz" args="-d $(find loam_livox)/rviz_cfg/rosbag.rviz" />
43+
<node launch-prefix="nice" pkg="rviz" type="rviz" name="rviz" args="-d $(find loam_livox)/rviz_cfg/livox.rviz" />
4444
</group>
4545

4646
</launch>

rviz_cfg/rosbag.rviz

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -274,11 +274,11 @@ Visualization Manager:
274274
Use Fixed Frame: true
275275
Use rainbow: true
276276
Value: false
277-
- Alpha: 0.200000003
277+
- Alpha: 0.100000001
278278
Autocompute Intensity Bounds: true
279279
Autocompute Value Bounds:
280-
Max Value: 12.1113586
281-
Min Value: -4.23248959
280+
Max Value: 2.34725976
281+
Min Value: -0.689926445
282282
Value: true
283283
Axis: Z
284284
Channel Name: intensity
@@ -704,18 +704,18 @@ Visualization Manager:
704704
Invert Z Axis: false
705705
Name: Current View
706706
Near Clip Distance: 0.00999999978
707-
Pitch: 0.334797025
707+
Pitch: 0.204797059
708708
Target Frame: body
709709
Value: Orbit (rviz)
710-
Yaw: 3.14817333
710+
Yaw: 3.0381732
711711
Saved: ~
712712
Window Geometry:
713713
Displays:
714-
collapsed: true
714+
collapsed: false
715715
Height: 2118
716-
Hide Left Dock: true
716+
Hide Left Dock: false
717717
Hide Right Dock: false
718-
QMainWindow State: 000000ff00000000fd00000004000000000000045200000786fc0200000009fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073000000003a00000786000000f200fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d0061006700650000000618000001a80000000000000000000000010000015200000786fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003a00000786000000d800fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000e8e00000052fc0100000002fb0000000800540069006d0065010000000000000e8e000004e800fffffffb0000000800540069006d0065010000000000000450000000000000000000000d320000078600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
718+
QMainWindow State: 000000ff00000000fd00000004000000000000045200000786fc0200000009fb0000001200530065006c0065006300740069006f006e00000001e10000009b0000006c00fffffffb0000001e0054006f006f006c002000500072006f007000650072007400690065007302000001ed000001df00000185000000a3fb000000120056006900650077007300200054006f006f02000001df000002110000018500000122fb000000200054006f006f006c002000500072006f0070006500720074006900650073003203000002880000011d000002210000017afb000000100044006900730070006c006100790073010000003a00000786000000f200fffffffb0000002000730065006c0065006300740069006f006e00200062007500660066006500720200000138000000aa0000023a00000294fb00000014005700690064006500530074006500720065006f02000000e6000000d2000003ee0000030bfb0000000c004b0069006e0065006300740200000186000001060000030c00000261fb0000000a0049006d0061006700650000000618000001a80000000000000000000000010000015200000786fc0200000003fb0000001e0054006f006f006c002000500072006f00700065007200740069006500730100000041000000780000000000000000fb0000000a00560069006500770073010000003a00000786000000d800fffffffb0000001200530065006c0065006300740069006f006e010000025a000000b200000000000000000000000200000490000000a9fc0100000001fb0000000a00560069006500770073030000004e00000080000002e1000001970000000300000e8e00000052fc0100000002fb0000000800540069006d0065010000000000000e8e000004e800fffffffb0000000800540069006d00650100000000000004500000000000000000000008d60000078600000004000000040000000800000008fc0000000100000002000000010000000a0054006f006f006c00730100000000ffffffff0000000000000000
719719
Selection:
720720
collapsed: false
721721
Time:

0 commit comments

Comments
 (0)