Bench-MR
A Motion Planning Benchmark for Wheeled Mobile Robots
Public Member Functions | Public Attributes | Friends | List of all members
Scenario Struct Reference

Load MovingAI scenario files. More...

#include <ScenarioLoader.h>

Collaboration diagram for Scenario:
Collaboration graph
[legend]

Public Member Functions

void loadMap ()
 
const std::vector< std::vector< char > > & getMap ()
 

Public Attributes

std::string mapName {""}
 
std::string filename {""}
 
unsigned int id {0}
 
unsigned int map_width {0}
 
unsigned int map_height {0}
 
unsigned int start_x {0}
 
unsigned int start_y {0}
 
unsigned int goal_x {0}
 
unsigned int goal_y {0}
 
double optimal_length {0}
 

Friends

std::ostream & operator<< (std::ostream &stream, const Scenario &s)
 

Detailed Description

Load MovingAI scenario files.

Member Function Documentation

◆ getMap()

const std::vector< std::vector< char > > & Scenario::getMap ( )
inline

◆ loadMap()

void Scenario::loadMap ( )

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Scenario s 
)
friend

Member Data Documentation

◆ filename

std::string Scenario::filename {""}

◆ goal_x

unsigned int Scenario::goal_x {0}

◆ goal_y

unsigned int Scenario::goal_y {0}

◆ id

unsigned int Scenario::id {0}

◆ map_height

unsigned int Scenario::map_height {0}

◆ map_width

unsigned int Scenario::map_width {0}

◆ mapName

std::string Scenario::mapName {""}

◆ optimal_length

double Scenario::optimal_length {0}

◆ start_x

unsigned int Scenario::start_x {0}

◆ start_y

unsigned int Scenario::start_y {0}

The documentation for this struct was generated from the following files: