Stores an observation in terms of a point cloud and the origin of the source.
More...
#include <observation.h>
Stores an observation in terms of a point cloud and the origin of the source.
- Note
- Tried to make members and constructor arguments const but the compiler would not accept the default assignment operator for vector insertion!
Definition at line 46 of file observation.h.
◆ Observation() [1/4]
costmap_2d::Observation::Observation |
( |
| ) |
|
|
inline |
◆ ~Observation()
virtual costmap_2d::Observation::~Observation |
( |
| ) |
|
|
inlinevirtual |
◆ Observation() [2/4]
costmap_2d::Observation::Observation |
( |
geometry_msgs::Point & |
origin, |
|
|
const sensor_msgs::PointCloud2 & |
cloud, |
|
|
double |
obstacle_range, |
|
|
double |
raytrace_range |
|
) |
| |
|
inline |
Creates an observation from an origin point and a point cloud.
- Parameters
-
origin | The origin point of the observation |
cloud | The point cloud of the observation |
obstacle_range | The range out to which an observation should be able to insert obstacles |
raytrace_range | The range out to which an observation should be able to clear via raytracing |
Definition at line 69 of file observation.h.
◆ Observation() [3/4]
costmap_2d::Observation::Observation |
( |
const Observation & |
obs | ) |
|
|
inline |
Copy constructor.
- Parameters
-
obs | The observation to copy |
Definition at line 80 of file observation.h.
◆ Observation() [4/4]
costmap_2d::Observation::Observation |
( |
const sensor_msgs::PointCloud2 & |
cloud, |
|
|
double |
obstacle_range |
|
) |
| |
|
inline |
Creates an observation from a point cloud.
- Parameters
-
cloud | The point cloud of the observation |
obstacle_range | The range out to which an observation should be able to insert obstacles |
Definition at line 91 of file observation.h.
◆ cloud_
sensor_msgs::PointCloud2* costmap_2d::Observation::cloud_ |
◆ obstacle_range_
double costmap_2d::Observation::obstacle_range_ |
◆ origin_
geometry_msgs::Point costmap_2d::Observation::origin_ |
◆ raytrace_range_
double costmap_2d::Observation::raytrace_range_ |
The documentation for this class was generated from the following file: