Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
find_package(ament_cmake REQUIRED)
find_package(OpenDrive REQUIRED)
find_package(adore_math REQUIRED)
find_package(adore_tridap REQUIRED)
find_package(OpenCV REQUIRED)
find_package(PROJ REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(CURL REQUIRED)
find_package(caches CONFIG REQUIRED)

if(CMAKE_BUILD_TYPE STREQUAL "Release")
add_compile_options(-O3)
Expand All @@ -41,10 +40,9 @@ target_link_libraries(${PROJECT_NAME}
PUBLIC
OpenDrive::OpenDrive
adore_math::adore_math
adore_tridap::adore_tridap
PROJ::proj
Eigen3::Eigen
CURL::libcurl
caches::caches
# Add ${OpenCV_LIBS} here if you have compiled OpenCV dependencies.
)

Expand Down Expand Up @@ -86,7 +84,7 @@ install(EXPORT export_${PROJECT_NAME}

# ament exports for ROS 2 packages
ament_export_include_directories(include)
ament_export_dependencies(OpenDrive PROJ adore_math OpenCV Eigen3 caches)
ament_export_dependencies(OpenDrive PROJ adore_math adore_tridap OpenCV Eigen3)
ament_export_targets(export_${PROJECT_NAME})

ament_package()
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Map Library for Autonomous Vehicles

## Overview
The **Map Library** provides tools for handling map data in autonomous vehicle simulations. It includes modules for lane and route management, spatial querying using quadtree structures, geographic coordinate conversions. The library is designed for efficiency and integration with autonomous vehicle systems.
The **Map Library** provides tools for handling map data in autonomous vehicle simulations. It includes modules for lane and route management, spatial querying using quadtree structures, geographic coordinate conversions. The library is designed for efficiency and integration with autonomous vehicle systems.

---

Expand All @@ -12,8 +12,8 @@ The **Map Library** provides tools for handling map data in autonomous vehicle
- Support for geospatial data handling and storage.
- **Quadtree Spatial Indexing**:
- Efficient spatial querying.
- **Map Parsing and Loading**:
- Tools for loading and parsing maps, including Road2Simulation (R2S) format support.
- **Map Parsing, Downloading and Loading**:
- Tools for downloading or loading and parsing maps, including Road2Simulation (R2S) format support.
- **Geographic Conversions**:
- Latitude/longitude to UTM coordinate transformations.

Expand All @@ -38,7 +38,7 @@ The **Map Library** provides tools for handling map data in autonomous vehicle

### Map Loader
**File:** `map_loader.hpp`
- Handles the loading of map data from external files or formats.
- Handles the download of map data from a Web Feature Service (WFS), and the loading of map data from external files or formats.
- Includes support for parsing the Road2Simulation (R2S) format.

### Map Point
Expand Down
2 changes: 1 addition & 1 deletion include/adore_map/border.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace adore
{
namespace map
{

struct Border
{

Expand Down Expand Up @@ -95,6 +96,5 @@ void process_center( Borders& borders );

void set_parent_id( Borders& borders, size_t parent_id );


} // namespace map
} // namespace adore
3 changes: 1 addition & 2 deletions include/adore_map/border_spline.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@

namespace adore
{

namespace map
{

class BorderSpline
{
private:
Expand Down Expand Up @@ -249,6 +249,5 @@ class BorderSpline
}
};


} // namespace map
} // namespace adore
85 changes: 0 additions & 85 deletions include/adore_map/bounding_box.hpp

This file was deleted.

53 changes: 0 additions & 53 deletions include/adore_map/config.hpp

This file was deleted.

89 changes: 0 additions & 89 deletions include/adore_map/curl_wrapper.hpp

This file was deleted.

3 changes: 1 addition & 2 deletions include/adore_map/helpers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,12 @@ remove_duplicate_points( std::vector<MapPoint>& points )
namespace r2s
{

/** @brief Rounds a double to six decimal places.
/** @brief Rounds a double to six decimal places
*/
inline static double
round_to_six_decimal_places( const double number ) {
return std::round( number * 1000000 ) / 1000000;
}

} // namespace r2s

} // namespace adore
Loading