ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
r2s_loading_from_wfs_test.cpp File Reference
#include <iostream>
#include <string>
#include "adore_map/map_loader.hpp"
#include "adore_map/config.hpp"
#include "helpers.hpp"
Include dependency graph for r2s_loading_from_wfs_test.cpp:

Functions

int main (int argc, char *argv[])
 Test program to load R2S map data from WFS and compare with R2S map data loaded from file. More...
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Test program to load R2S map data from WFS and compare with R2S map data loaded from file.

This program initializes a MapDownloader instance, downloads map data for reference lines and lane borders from WFS, loads R2S map data from from CSV files created using a Python downloader and the R2S parser (the legacy methods for loading map data) and compares the two datasets for equality. These files were created from the same source as the WFS data, so they should match. It demonstrates the functionality of loading map data from WFS and ensures consistency with legacy R2S CSV files. The program uses a configuration file to set parameters such as server URL, project name, layer names, and bounding box.

Returns
int Exit code indicating success or failure
Here is the call graph for this function: