mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Fixed autogen cmake warnings. Fixed pytorch requiring c++17.
This commit is contained in:
@@ -750,6 +750,7 @@ foreach(arg ${RESOURCES})
|
||||
get_filename_component(filename ${arg} NAME)
|
||||
string(REPLACE "." "_" output ${filename})
|
||||
set(RESOURCES_HEADERS "${RESOURCES_HEADERS}" "${CMAKE_CURRENT_BINARY_DIR}/${output}.h")
|
||||
set_property(SOURCE "${CMAKE_CURRENT_BINARY_DIR}/${output}.h" PROPERTY SKIP_AUTOGEN ON)
|
||||
endforeach(arg ${RESOURCES})
|
||||
|
||||
#MESSAGE(STATUS "RESOURCES = ${RESOURCES}")
|
||||
|
||||
@@ -36,8 +36,8 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <rtabmap/core/optimizer/OptimizerTORO.h>
|
||||
|
||||
#ifdef RTABMAP_TORO
|
||||
#include "toro3d/treeoptimizer3.hh"
|
||||
#include "toro3d/treeoptimizer2.hh"
|
||||
#include "toro3d/treeoptimizer3.h"
|
||||
#include "toro3d/treeoptimizer2.h"
|
||||
#endif
|
||||
|
||||
namespace rtabmap {
|
||||
|
||||
@@ -40,7 +40,8 @@
|
||||
* such as loading, saving, merging constraints, and etc.
|
||||
**/
|
||||
|
||||
#include "posegraph2.hh"
|
||||
#include "posegraph2.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
#ifndef _POSEGRAPH2_HH_
|
||||
#define _POSEGRAPH2_HH_
|
||||
|
||||
#include "posegraph.hh"
|
||||
#include "transformation2.hh"
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include "posegraph.h"
|
||||
#include "transformation2.h"
|
||||
|
||||
namespace AISNavigation {
|
||||
|
||||
@@ -39,7 +39,8 @@
|
||||
* such as loading, saving, merging constraints, and etc.
|
||||
**/
|
||||
|
||||
#include "posegraph3.hh"
|
||||
#include "posegraph3.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -43,10 +43,10 @@
|
||||
#ifndef _POSEGRAPH3_HH_
|
||||
#define _POSEGRAPH3_HH_
|
||||
|
||||
#include "posegraph.hh"
|
||||
#include "transformation3.hh"
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
#include "posegraph.h"
|
||||
#include "transformation3.h"
|
||||
|
||||
typedef unsigned int uint;
|
||||
#ifndef M_PI
|
||||
@@ -39,7 +39,8 @@
|
||||
|
||||
#include <assert.h>
|
||||
#include <cmath>
|
||||
#include "dmatrix.hh"
|
||||
|
||||
#include "dmatrix.h"
|
||||
|
||||
namespace AISNavigation {
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
*
|
||||
**/
|
||||
|
||||
#include "treeoptimizer2.hh"
|
||||
#include "treeoptimizer2.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#ifndef _TREEOPTIMIZER2_HH_
|
||||
#define _TREEOPTIMIZER2_HH_
|
||||
|
||||
#include "posegraph2.hh"
|
||||
#include "posegraph2.h"
|
||||
|
||||
namespace AISNavigation {
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
*
|
||||
**/
|
||||
|
||||
#include "treeoptimizer3.hh"
|
||||
#include "treeoptimizer3.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <string>
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#ifndef _TREEOPTIMIZER3_HH_
|
||||
#define _TREEOPTIMIZER3_HH_
|
||||
|
||||
#include "posegraph3.hh"
|
||||
#include "posegraph3.h"
|
||||
|
||||
namespace AISNavigation {
|
||||
|
||||
@@ -34,9 +34,9 @@
|
||||
* PURPOSE.
|
||||
**********************************************************************/
|
||||
|
||||
#include "treeoptimizer3.hh"
|
||||
#include <fstream>
|
||||
#include <string>
|
||||
#include "treeoptimizer3.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user