Skip to content

Commit

Permalink
[fix] fixed vision lidar fusion preview opencv link error on AGX Xavier.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyanine-gi committed Apr 25, 2021
1 parent e145498 commit dd06f7b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion algorithms/src/Perception/vision_lidar_fusion/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,20 @@ cmake_minimum_required(VERSION 2.8.3)
project(vision_lidar_fusion)

## Compile as C++11, supported in ROS Kinetic and newer
#add_compile_options(-std=c++11 -O0)
add_compile_options(-std=c++11 -O3)

## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
#set(CMAKE_BUILD_TYPE DEBUG)
set(CMAKE_BUILD_TYPE RELEASE)
find_package(OpenCV 3.4.5 REQUIRED)
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "x86_64")
find_package(OpenCV 3.4.5 REQUIRED)
else()
set (OpenCV_DIR /home/gi/nvme/opencv-3.4.5/build)
endif()

find_package(PCL 1.8 REQUIRED)
#find_package(PCL REQUIRED)
find_package(Glog REQUIRED)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<param name="min_cluster_size" type="int" value="25"/>
<param name="max_cluster_size" type="int" value="200000"/>
<param name="cluster_tolerance" type="double" value="0.25"/>
<node name="vision_lidar_fusion_node" pkg="vision_lidar_fusion" type="vision_lidar_fusion_node" output="screen"> <!--launch-prefix="gdb \-\-args" -->
<node name="vision_lidar_fusion_node" pkg="vision_lidar_fusion" type="vision_lidar_fusion_node" output="screen">
<param name="visualize" type="bool" value="true"/>
<param name="config_file_path" type="string" value="/home/gi/GAAS_contrib/config/camera1_lidar1.yaml"/>
</node>
Expand Down

0 comments on commit dd06f7b

Please sign in to comment.