-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major release 3.2.0! This release brings support for LiDAR collision …
…avoidance and LiDAR Mapping. A number of bugfixes and improvements are also added. See Release notes for more!
- Loading branch information
Showing
10 changed files
with
515 additions
and
190 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
include(ExternalProject) | ||
message( "External project - DJI Collision Avoidance" ) | ||
|
||
set(VERSION "1.0.0") | ||
set(PROJECT_NAME dji-ros-collision-avoidance) | ||
set(PKG_NAME collision-avoidance) | ||
|
||
ExternalProject_Add(${PROJECT_NAME} | ||
UPDATE_COMMAND "" | ||
GIT_REPOSITORY https://github.com/dji-sdk/Onboard-SDK-Resources.git | ||
GIT_TAG ${PKG_NAME}-${VERSION} | ||
PATCH_COMMAND "" | ||
) | ||
|
||
ExternalProject_Get_Property(${PROJECT_NAME} source_dir) | ||
|
||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/../../../${PROJECT_NAME}) | ||
|
||
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E tar xzf ${source_dir}/${PKG_NAME}-${VERSION}.tar.gz | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../../${PROJECT_NAME} | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
include(ExternalProject) | ||
message( "External project - GoogleTest" ) | ||
|
||
if(GTEST) | ||
if (CMAKE_SYSTEM_NAME MATCHES Linux) | ||
find_package(Threads) | ||
ExternalProject_Add( | ||
googletest | ||
# Disable update step | ||
UPDATE_COMMAND "" | ||
GIT_REPOSITORY https://github.com/google/googletest.git | ||
CMAKE_ARGS -DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_DEBUG:PATH=DebugLibs | ||
-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE:PATH=ReleaseLibs | ||
-DCMAKE_CXX_FLAGS=${MSVC_COMPILER_DEFS} | ||
-Dgtest_force_shared_crt=${GTEST_FORCE_SHARED_CRT} | ||
-Dgtest_disable_pthreads=${GTEST_DISABLE_PTHREADS} | ||
-DCMAKE_INSTALL_PREFIX=${CMAKE_CURRENT_BINARY_DIR}/../../../devel) | ||
endif () | ||
endif () | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
include(ExternalProject) | ||
message( "External project - DJI Pointcloud to LAS Converter" ) | ||
|
||
set(VERSION "1.0.0") | ||
set(PROJECT_NAME dji-ros-pointcloud2las) | ||
set(PKG_NAME pointcloud2las) | ||
|
||
ExternalProject_Add(${PROJECT_NAME} | ||
UPDATE_COMMAND "" | ||
GIT_REPOSITORY https://github.com/dji-sdk/Onboard-SDK-Resources.git | ||
GIT_TAG ${PKG_NAME}-${VERSION} | ||
PATCH_COMMAND "" | ||
) | ||
|
||
ExternalProject_Get_Property(${PROJECT_NAME} source_dir) | ||
|
||
add_custom_command(TARGET ${PROJECT_NAME} POST_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/../../../${PROJECT_NAME}) | ||
|
||
add_custom_command( TARGET ${PROJECT_NAME} POST_BUILD | ||
COMMAND ${CMAKE_COMMAND} -E tar xzf ${source_dir}/${PKG_NAME}-${VERSION}.tar.gz | ||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../../../${PROJECT_NAME} | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.