Skip to content

Commit caa7fc0

Browse files
committedNov 6, 2020
version:Pandar128_1.0.0
modify:first update
1 parent 414df6a commit caa7fc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+8919
-0
lines changed
 

‎.gitignore

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
sites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
33+
34+
build
35+
36+
*.autosave
37+
*.swp
38+
39+
.catkin_workspace
40+
devel

‎CMakeLists.txt

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
cmake_minimum_required(VERSION 2.8.3)
2+
project(pandar128sdk)
3+
4+
set(CMAKE_CXX_STANDARD 17)
5+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
6+
7+
find_package( Boost REQUIRED )
8+
find_package( PCL REQUIRED COMPONENTS common )
9+
10+
SET(CMAKE_BUILD_TYPE "Release")
11+
12+
include_directories(
13+
.
14+
include
15+
src/taskflow
16+
${Boost_INCLUDE_DIRS}
17+
${PCL_INCLUDE_DIRS}
18+
)
19+
20+
add_library( ${PROJECT_NAME} SHARED
21+
src/input.cc
22+
src/laser_ts.cpp
23+
src/pandar128Driver.cc
24+
src/pandar128SDK.cc
25+
src/platUtil.cc
26+
src/tcp_command_client.c
27+
src/util.c
28+
)
29+
30+
target_link_libraries(${PROJECT_NAME}
31+
${Boost_LIBRARIES}
32+
${PCL_IO_LIBRARIES}
33+
pcap
34+
)
35+
36+
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
37+
find_package(PCL REQUIRED)
38+
add_executable(pandar128sdkTest
39+
test/test.cc
40+
)
41+
42+
target_link_libraries(pandar128sdkTest
43+
${PROJECT_NAME}
44+
${Boost_LIBRARIES}
45+
${PCL_IO_LIBRARIES}
46+
)
47+
endif(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})

0 commit comments

Comments
 (0)
Please sign in to comment.