Fix static libs paths.
authorWalter Fetter Lages <w.fetter@ieee.org>
Mon, 17 Jun 2019 02:24:08 +0000 (23:24 -0300)
committerWalter Fetter Lages <w.fetter@ieee.org>
Mon, 17 Jun 2019 02:24:08 +0000 (23:24 -0300)
CMakeLists.txt
src/bno055_node.cpp

index a0b3f21..38cc8f4 100644 (file)
@@ -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
index f5b5680..ab71e3e 100644 (file)
@@ -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();