17 #ifndef CARTOGRAPHER_MAPPING_2D_PROBABILITY_GRID_H_ 18 #define CARTOGRAPHER_MAPPING_2D_PROBABILITY_GRID_H_ 39 const float probability);
49 const std::vector<uint16>& table);
54 virtual proto::Grid2D
ToProto()
const override;
57 proto::SubmapQuery::Response::SubmapTexture*
const texture,
64 #endif // CARTOGRAPHER_MAPPING_2D_PROBABILITY_GRID_H_ virtual std::unique_ptr< Grid2D > ComputeCroppedGrid() const override
void SetProbability(const Eigen::Array2i &cell_index, const float probability)
virtual bool DrawToSubmapTexture(proto::SubmapQuery::Response::SubmapTexture *const texture, transform::Rigid3d local_pose) const override
ProbabilityGrid(const MapLimits &limits)
float GetProbability(const Eigen::Array2i &cell_index) const
virtual proto::Grid2D ToProto() const override
const MapLimits & limits() const
bool ApplyLookupTable(const Eigen::Array2i &cell_index, const std::vector< uint16 > &table)