From 107a2433f86affa7c1d657c149cafd8db2e15396 Mon Sep 17 00:00:00 2001 From: Walter Fetter Lages Date: Sun, 16 Jun 2019 23:24:08 -0300 Subject: [PATCH] Fix static libs paths. --- CMakeLists.txt | 4 ++-- src/bno055_node.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0b3f21..38cc8f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,8 +21,8 @@ find_package(Eigen3 REQUIRED) add_library(bno055 STATIC IMPORTED) # or STATIC instead of SHARED set_target_properties(bno055 PROPERTIES - IMPORTED_LOCATION "$ENV{HOME}/doc/ufrgs/miotec/bno055/BNO055_driver/libbno055.a" - INTERFACE_INCLUDE_DIRECTORIES "$ENV{HOME}/doc/ufrgs/miotec/bno055/BNO055_driver" + IMPORTED_LOCATION "$ENV{HOME}/lib/libbno055.a" + INTERFACE_INCLUDE_DIRECTORIES "$ENV{HOME}/include" ) add_library(bno055ifc STATIC IMPORTED) # or STATIC instead of SHARED set_target_properties(bno055ifc PROPERTIES diff --git a/src/bno055_node.cpp b/src/bno055_node.cpp index f5b5680..ab71e3e 100644 --- a/src/bno055_node.cpp +++ b/src/bno055_node.cpp @@ -276,7 +276,7 @@ int main(int argc,char* argv[]) Bno055Node bno055Node(node); - ros::Rate loop(100); + ros::Rate loop(1000); while(ros::ok()) { bno055Node.sample(); -- 2.12.0