Flatland
Public Attributes | List of all members
flatland_server::SimulationManager Class Reference
Collaboration diagram for flatland_server::SimulationManager:
Collaboration graph
[legend]

Public Member Functions

Simulation Manager constructor
Parameters
[in]world_fileThe path to the world.yaml file we wish to load
[in]update_rateSimulator loop rate
[in]step_sizeTime to step each iteration
[in]show_vizif to show visualization
[in]viz_pub_raterate to publish visualization behaving ones
 SimulationManager (std::string world_yaml_file, double update_rate, double step_size, bool show_viz, double viz_pub_rate)
 
void Main ()
 
void Shutdown ()
 

Public Attributes

bool run_simulator_
 While true, keep running the sim loop.
 
Worldworld_
 Simulation world.
 
double update_rate_
 sim loop rate
 
double step_size_
 step size
 
bool show_viz_
 flag to determine if to show visualization
 
double viz_pub_rate_
 rate to publish visualization
 
std::string world_yaml_file_
 path to the world file
 

Member Function Documentation

void flatland_server::SimulationManager::Main ( )

This method contains the loop that runs the simulation

void flatland_server::SimulationManager::Shutdown ( )

Kill the world


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