Commit 7146700e authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Removed the local path of the opendrive specification header file.

Added the path to the Find cmake file and CMakeLists.txt files.
parent da235f86
......@@ -2,6 +2,8 @@
SET(name autonomous_driving_tools)
FIND_PATH(${name}_INCLUDE_DIRS gradient.h g2_spline.h dijkstra.h /usr/local/include/iri/${name} /usr/include/iri/${name})
SET(${name}_INCLUDE_DIRS ${${name}_INCLUDE_DIRS} ${${name}_INCLUDE_DIRS}/xml)
FIND_LIBRARY(${name}_LIBRARIES
NAMES ${name}
PATHS /usr/local/lib/iri/${name} /usr/lib/iri/${name})
......
......@@ -3,7 +3,7 @@
#include "opendrive_common.h"
#ifdef _HAVE_XSD
#include "../src/xml/OpenDRIVE_1.4H.hxx"
#include "xml/OpenDRIVE_1.4H.hxx"
#endif
#include <iostream>
......
......@@ -2,7 +2,7 @@
#define _OPENDRIVE_LANE_H
#ifdef _HAVE_XSD
#include "../src/xml/OpenDRIVE_1.4H.hxx"
#include "xml/OpenDRIVE_1.4H.hxx"
#endif
#include "opendrive_road_node.h"
......
......@@ -4,7 +4,7 @@
#include "opendrive_common.h"
#include "opendrive_road_segment.h"
#ifdef _HAVE_XSD
#include "../src/xml/OpenDRIVE_1.4H.hxx"
#include "xml/OpenDRIVE_1.4H.hxx"
#endif
#define OD_MAX_VERTICES 32
......
......@@ -2,7 +2,7 @@
#define _OPENDRIVE_ROAD_SEGMENT_H
#ifdef _HAVE_XSD
#include "../src/xml/OpenDRIVE_1.4H.hxx"
#include "xml/OpenDRIVE_1.4H.hxx"
#endif
#include "opendrive_lane.h"
......
......@@ -4,7 +4,7 @@
#include "opendrive_common.h"
#include "opendrive_road_segment.h"
#ifdef _HAVE_XSD
#include "../src/xml/OpenDRIVE_1.4H.hxx"
#include "xml/OpenDRIVE_1.4H.hxx"
#endif
class COpendriveRoadSegment;
......
......@@ -12,6 +12,7 @@ ADD_SUBDIRECTORY(xml)
# add the necessary include directories
INCLUDE_DIRECTORIES(../include)
INCLUDE_DIRECTORIES(./)
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${iriutils_INCLUDE_DIR})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment