grid
More...
#include <occupancy_grid_builder.hpp>
◆ OccupancyGridBuilder()
simple_sensor_simulator::OccupancyGridBuilder::OccupancyGridBuilder |
( |
double |
resolution, |
|
|
size_t |
height, |
|
|
size_t |
width, |
|
|
int8_t |
occupied_cost = 100 , |
|
|
int8_t |
invisible_cost = 50 |
|
) |
| |
◆ add()
auto simple_sensor_simulator::OccupancyGridBuilder::add |
( |
const PrimitiveType & |
primitive | ) |
-> void |
Mark invisible area and occupied area of primitive.
- Parameters
-
◆ build()
auto simple_sensor_simulator::OccupancyGridBuilder::build |
( |
| ) |
-> void |
◆ get()
auto simple_sensor_simulator::OccupancyGridBuilder::get |
( |
| ) |
const -> const OccupancyGridType & |
- Returns
- Constructed occupancy grid
◆ reset()
auto simple_sensor_simulator::OccupancyGridBuilder::reset |
( |
const PoseType & |
origin | ) |
-> void |
Reset all internal state.
- Parameters
-
◆ height
const size_t simple_sensor_simulator::OccupancyGridBuilder::height |
◆ invisible_cost
const int8_t simple_sensor_simulator::OccupancyGridBuilder::invisible_cost |
◆ occupied_cost
const int8_t simple_sensor_simulator::OccupancyGridBuilder::occupied_cost |
◆ resolution
const double simple_sensor_simulator::OccupancyGridBuilder::resolution |
◆ width
const size_t simple_sensor_simulator::OccupancyGridBuilder::width |
The documentation for this class was generated from the following files: