maliput_integration
maliput_measure_load_time.cc File Reference

Detailed Description

Builds an api::RoadGeometry as many times as requested and calculates a mean with the time results. Possible backends are dragway, multilane and malidrive.

Note
  1. Allows to load a road geometry from different road geometry implementations. The maliput_backend flag will determine the backend to be used.
    • "dragway": The following flags are supported to use in order to create dragway road geometry: -num_lanes, -length, -lane_width, -shoulder_width, -maximum_height.
    • "multilane": yaml file path must be provided: -yaml_file.
    • "malidrive": xodr file path must be provided and other arguments are optional: -xodr_file_path -linear_tolerance -build_policy -num_threads.
  2. The applications allows you to load a xodr multiple times and calculate a mean. The number of iterations could be changed using: -iterations
  3. The level of the logger is selected with -log_level.
#include <chrono>
#include <numeric>
#include <string>
#include <vector>
#include <gflags/gflags.h>
#include <maliput/common/logger.h>
#include "integration/tools.h"
#include "maliput_gflags.h"
Include dependency graph for maliput_measure_load_time.cc:

Namespaces

 maliput
 
 maliput::integration
 

Functions

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

Function Documentation

◆ main()

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