RoomScene.cpp File Reference
#include "RoomScene.h"
#include <algorithm>
#include <cmath>
#include <fstream>
#include <limits>
#include <random>
#include <stdexcept>
#include <Eigen/Geometry>
#include <SimoxUtility/json/json.hpp>
#include <ArmarXCore/core/logging/Logging.h>

Namespaces

namespace  armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
namespace  armarx::navigation
 This file is part of ArmarX.
 
namespace  armarx::navigation::evaluation
 This file is part of ArmarX.
 

Functions

int addClutter (analysis::Scene &scene, const ClutterParameters &parameters, std::mt19937 &rng)
 Scatter boxes through the room to create tight passages.
 
RoomScene buildRoomScene (const std::filesystem::path &priorKnowledge, const std::string &room, const std::vector< std::string > &sceneFiles, float wallThickness=200.F)
 Build the scene for a room from PriorKnowledgeData.
 
bool contains (const algorithms::SceneBounds &bounds, const Eigen::Vector2f &point)
 Whether a point lies within the bounds, edges included.
 
algorithms::SceneBounds makeCorridor (analysis::Scene &scene, const CorridorParameters &parameters)
 A dead-end corridor opening into the rest of the room.
 
float makeSerpentine (analysis::Scene &scene, const SerpentineParameters &parameters, float robotRadius)
 Replace the room's contents with transverse walls whose openings alternate sides.