Skip to content

Commit

Permalink
[feature] [doc] added OpenCV path in cmake file for porting to Jetson…
Browse files Browse the repository at this point in the history
… AGX Xavier. added author email.
  • Loading branch information
cyanine-gi committed Apr 22, 2021
1 parent 56fddf4 commit 51d9608
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ add_compile_options(-std=c++11 -O3)
## 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}=="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 @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
2 changes: 1 addition & 1 deletion algorithms/src/Navigation/global_map_planner/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@ cmake_minimum_required(VERSION 2.8.3)
project(px4_mavros_controller)

## 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}=="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 @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
2 changes: 1 addition & 1 deletion algorithms/src/Perception/vision_lidar_fusion/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
2 changes: 1 addition & 1 deletion algorithms/src/Preprocessing/downsampling/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down
2 changes: 1 addition & 1 deletion algorithms/src/gaas_msgs/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- One maintainer tag required, multiple allowed, one person per tag -->
<!-- Example: -->
<!-- <maintainer email="[email protected]">Jane Doe</maintainer> -->
<maintainer email="[email protected]">gi</maintainer>
<maintainer email="[email protected]">LaurentWang</maintainer>


<!-- One license tag required, multiple allowed, one license per tag -->
Expand Down

0 comments on commit 51d9608

Please sign in to comment.