NavMap
Loading...
Searching...
No Matches
CombineOptions Struct Reference

Options of combine_layer(). More...

#include <Combine.hpp>

Collaboration diagram for CombineOptions:

Public Attributes

double cap {std::numeric_limits<double>::infinity()}
 ADD saturates here (and at the range of the destination type).
std::vector< NavCelId > cells
 Cells to combine (e.g. the source's changed()); all cells if empty.
std::string provenance
 U8 layer recording which source set each cell (created if absent, 0 = none). Empty: no record.
std::uint8_t source_id {1}
 Value written to the provenance layer for this source.

Detailed Description

Options of combine_layer().

Member Data Documentation

◆ cap

double cap {std::numeric_limits<double>::infinity()}

ADD saturates here (and at the range of the destination type).

For a cost layer use INSCRIBED_INFLATED_OBSTACLE, as costmap_2d does, so that a sum is never read as lethal.

◆ cells

std::vector<NavCelId> cells

Cells to combine (e.g. the source's changed()); all cells if empty.

◆ provenance

std::string provenance

U8 layer recording which source set each cell (created if absent, 0 = none). Empty: no record.

◆ source_id

std::uint8_t source_id {1}

Value written to the provenance layer for this source.


The documentation for this struct was generated from the following file: