This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# Software License Agreement (BSD License) | |
# | |
# Copyright (c) 2013, Juergen Sturm, TUM | |
# All rights reserved. | |
# | |
# Redistribution and use in source and binary forms, with or without | |
# modification, are permitted provided that the following conditions | |
# are met: | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import rosbag | |
from tf.msg import tfMessage | |
with rosbag.Bag('output.bag', 'w') as outbag: | |
for topic, msg, t in rosbag.Bag('input.bag').read_messages(): | |
if topic == "/tf" and msg.transforms: | |
newList = []; | |
for m in msg.transforms: | |
if m.header.frame_id != "map": | |
newList.append(m) | |
else: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ros/ros.h> | |
#include <sensor_msgs/Imu.h> | |
#include <string.h> | |
#include "tinkerforge/ip_connection.h" | |
#include "tinkerforge/brick_imu_v2.h" | |
#define HOST "localhost" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<launch> | |
<!-- stereo_20Hz directory --> | |
<arg name="dir" default="$(env HOME)/Downloads/stereo_20Hz" /> | |
<!-- Choose visualization --> | |
<arg name="rviz" default="false" /> | |
<arg name="rtabmapviz" default="true" /> | |
<arg name="rate" default="20" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set(Boost_INCLUDE_DIRS @Boost_INCLUDE_DIRS@) | |
set(Boost_LIBRARIES @Boost_LIBRARIES@) | |
link_directories(@Boost_LINK_DIRS@) | |
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} @Boost_C_FLAGS@") | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} @Boost_CXX_FLAGS@") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index e5fd763e3..49472ce66 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -358,7 +358,7 @@ endif(WITH_QT) | |
# Find VTK | |
option(WITH_VTK "Build VTK-Visualizations" TRUE) | |
-if(WITH_VTK AND NOT ANDROID) | |
+if(WITH_VTK) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 6a1c1cb56233bd4f990c72f9726167e774668d9d Mon Sep 17 00:00:00 2001 | |
From: matlabbe <[email protected]> | |
Date: Mon, 20 Mar 2017 14:29:42 -0400 | |
Subject: [PATCH] fixed metis/GKlib compilation errors for android | |
--- | |
gtsam/3rdparty/metis/GKlib/GKlibSystem.cmake | 4 +++- | |
gtsam/3rdparty/metis/GKlib/error.c | 2 +- | |
gtsam/3rdparty/metis/GKlib/gk_externs.h | 1 - | |
gtsam/3rdparty/metis/GKlib/gk_macros.h | 2 +- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index 77434d135..46ce2e9a9 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -53,9 +53,9 @@ endif() | |
# Configurable Options | |
if(GTSAM_UNSTABLE_AVAILABLE) | |
- option(GTSAM_BUILD_UNSTABLE "Enable/Disable libgtsam_unstable" ON) | |
+ option(GTSAM_BUILD_UNSTABLE "Enable/Disable libgtsam_unstable" OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CMakeLists.txt b/CMakeLists.txt | |
index bb741cb..14a5f7b 100644 | |
--- a/CMakeLists.txt | |
+++ b/CMakeLists.txt | |
@@ -3,6 +3,8 @@ project(msckf_vio) | |
add_compile_options(-std=c++11) | |
+set(CMAKE_BUILD_TYPE Release) | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tools/EurocDataset/main.cpp b/tools/EurocDataset/main.cpp | |
index 26e633b..4e8a3d0 100644 | |
--- a/tools/EurocDataset/main.cpp | |
+++ b/tools/EurocDataset/main.cpp | |
@@ -44,6 +44,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
#include <yaml-cpp/yaml.h> | |
#include <stdio.h> | |
#include <signal.h> | |
+#include <fstream> | |
OlderNewer