From: Walter Fetter Lages Date: Mon, 17 Jun 2019 02:24:08 +0000 (-0300) Subject: Fix static libs paths. X-Git-Tag: f1~5 X-Git-Url: http://git.ece.ufrgs.br/?a=commitdiff_plain;h=107a2433f86affa7c1d657c149cafd8db2e15396;p=bno055_driver.git Fix static libs paths. --- 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();