Contains the interface for creating grids. More...
#include "datatype/world.hpp"
Namespaces | |
obsidian | |
obsidian::world | |
Functions | |
Eigen::MatrixXd | obsidian::world::internalGrid2D (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy) |
Eigen::MatrixXd | obsidian::world::internalGrid2DX (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy) |
Eigen::MatrixXd | obsidian::world::edgeGrid2D (std::pair< double, double > xMinMax, std::pair< double, double > yMinMax, uint resx, uint resy) |
Eigen::VectorXd | obsidian::world::flatten (const Eigen::MatrixXd &matrix) |
Maps all the columns of a matrix into a single column vector. Equivalent to the colon operator A(:) in MATLAB. More... | |
Eigen::VectorXi | obsidian::world::flatten (const Eigen::MatrixXi &matrix) |
Maps all the columns of a matrix into a single column vector. Equivalent to the colon operator A(:) in MATLAB. More... | |
std::pair< Eigen::MatrixXd, std::pair< Eigen::MatrixXd, Eigen::MatrixXd > > | obsidian::world::makeGrid (const Eigen::Vector2d &boundaryStart, const Eigen::Vector2d &boundaryEnd, const Eigen::Vector2i &resolution, int padding=0) |
Compute a regular 2D grid given the boundaries and resolutions in the x and y directions. More... | |
Eigen::MatrixXd | obsidian::world::sensorGrid (const WorldSpec &worldSpec, uint resx, uint resy, double sensorZ) |
Eigen::MatrixXd | obsidian::world::sensorGrid3d (const WorldSpec &worldSpec, uint resx, uint resy, uint resz) |
Contains the interface for creating grids.