|
bitsim
Model, simulate, estimate and control robots in C++
|
#include "bitsim/bitsim_types.h"#include "bitsim/planning/a_star_search.h"#include "bitsim/planning/box_world.h"#include "bitsim/planning/occupancy_grid.h"#include "bitsim/planning/probability_grid.h"#include "bitsim/utils/io/print_utils.h"#include <cmath>#include <iomanip>#include <iostream>#include <random>#include <set>#include <string>#include <vector>
Namespaces | |
| namespace | occupancy_mapping |
Typedefs | |
| using | occupancy_mapping::int_t |
| integer type | |
| using | occupancy_mapping::real_t |
| real_t | |
| using | occupancy_mapping::uint_t |
| uint_t | |
Functions | |
| std::vector< std::array< real_t, 3 > > | occupancy_mapping::scan_poses (const BoxWorld &world) |
| void | occupancy_mapping::map_the_warehouse (const BoxWorld &world, ProbabilityGrid &grid) |
| void | occupancy_mapping::draw_map (const ProbabilityGrid &grid, const GridCell &start, const GridCell &goal) |
| void | occupancy_mapping::draw_path (const OccupancyGrid &obstacles, const OccupancyGrid &planning, const std::vector< GridCell > &path, const GridCell &start, const GridCell &goal) |
| OccupancyGrid | occupancy_mapping::inflate (OccupancyGrid blocked, const OccupancyGrid &obstacles, real_t radius) |
| OccupancyGrid | occupancy_mapping::true_obstacles (const BoxWorld &world, uint_t n_cols, uint_t n_rows) |
| void | occupancy_mapping::run () |
| int | main () |
Variables | |
| const real_t | occupancy_mapping::CELL = 0.1 |
| const real_t | occupancy_mapping::MARGIN = 0.5 |
| const real_t | occupancy_mapping::MAP_OFFSET = CELL / 2.0 |
| const real_t | occupancy_mapping::ORIGIN = -MARGIN + MAP_OFFSET |
| const real_t | occupancy_mapping::MAX_RANGE = 6.0 |
| const uint_t | occupancy_mapping::N_BEAMS = 180 |
| const real_t | occupancy_mapping::NOISE_STD = 0.02 |
| const real_t | occupancy_mapping::SCAN_STEP = 0.5 |
| const real_t | occupancy_mapping::SCAN_CLEAR = 0.3 |
| int main | ( | ) |