Public Types | Public Member Functions | Private Attributes | List of all members
mcl_3dl::LidarMeasurementModelBeam Class Reference

#include <lidar_measurement_model_beam.h>

Inheritance diagram for mcl_3dl::LidarMeasurementModelBeam:
Inheritance graph
[legend]

Public Types

enum  BeamStatus { BeamStatus::SHORT, BeamStatus::HIT, BeamStatus::LONG, BeamStatus::TOTAL_REFLECTION }
 
- Public Types inherited from mcl_3dl::LidarMeasurementModelBase
using PointType = mcl_3dl::PointXYZIL
 
using Ptr = std::shared_ptr< LidarMeasurementModelBase >
 
using SamplerType = PointCloudRandomSampler< PointType >
 

Public Member Functions

pcl::PointCloud< PointType >::Ptr filter (const pcl::PointCloud< PointType >::ConstPtr &pc) const
 
BeamStatus getBeamStatus (ChunkedKdtree< PointType >::Ptr &kdtree, const Vec3 &beam_begin, const Vec3 &beam_end, typename mcl_3dl::Raycast< PointType >::CastResult &result) const
 
uint32_t getFilterLabelMax () const
 
float getMaxSearchRange () const
 
float getSinTotalRef () const
 
 LidarMeasurementModelBeam (const float grid_size_x, const float grid_size_y, const float grid_size_z)
 
void loadConfig (const ros::NodeHandle &nh, const std::string &name)
 
LidarMeasurementResult measure (ChunkedKdtree< PointType >::Ptr &kdtree, const pcl::PointCloud< PointType >::ConstPtr &pc, const std::vector< Vec3 > &origins, const State6DOF &s) const
 
void setGlobalLocalizationStatus (const size_t num_particles, const size_t current_num_particles)
 
- Public Member Functions inherited from mcl_3dl::LidarMeasurementModelBase
std::shared_ptr< SamplerTypegetRandomSampler ()
 
 LidarMeasurementModelBase ()
 
void setRandomSampler (const std::shared_ptr< SamplerType > &sampler)
 

Private Attributes

bool add_penalty_short_only_mode_
 
float additional_search_range_
 
float beam_likelihood_
 
float beam_likelihood_min_
 
float clip_far_sq_
 
float clip_near_sq_
 
float clip_z_max_
 
float clip_z_min_
 
uint32_t filter_label_max_
 
float hit_range_sq_
 
float map_grid_x_
 
float map_grid_y_
 
float map_grid_z_
 
size_t num_points_
 
size_t num_points_default_
 
size_t num_points_global_
 
std::shared_ptr< Raycast< LidarMeasurementModelBase::PointType > > raycaster_
 
float search_range_
 
float sin_total_ref_
 

Additional Inherited Members

- Protected Attributes inherited from mcl_3dl::LidarMeasurementModelBase
std::shared_ptr< SamplerTypesampler_
 

Detailed Description

Definition at line 51 of file lidar_measurement_model_beam.h.

Member Enumeration Documentation

Enumerator
SHORT 
HIT 
LONG 
TOTAL_REFLECTION 

Definition at line 75 of file lidar_measurement_model_beam.h.

Constructor & Destructor Documentation

mcl_3dl::LidarMeasurementModelBeam::LidarMeasurementModelBeam ( const float  grid_size_x,
const float  grid_size_y,
const float  grid_size_z 
)

Definition at line 53 of file lidar_measurement_model_beam.cpp.

Member Function Documentation

pcl::PointCloud< LidarMeasurementModelBase::PointType >::Ptr mcl_3dl::LidarMeasurementModelBeam::filter ( const pcl::PointCloud< PointType >::ConstPtr &  pc) const
virtual
LidarMeasurementModelBeam::BeamStatus mcl_3dl::LidarMeasurementModelBeam::getBeamStatus ( ChunkedKdtree< PointType >::Ptr kdtree,
const Vec3 beam_begin,
const Vec3 beam_end,
typename mcl_3dl::Raycast< PointType >::CastResult &  result 
) const

Definition at line 203 of file lidar_measurement_model_beam.cpp.

uint32_t mcl_3dl::LidarMeasurementModelBeam::getFilterLabelMax ( ) const
inline

Definition at line 92 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::getMaxSearchRange ( ) const
inlinevirtual

Implements mcl_3dl::LidarMeasurementModelBase.

Definition at line 84 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::getSinTotalRef ( ) const
inline

Definition at line 88 of file lidar_measurement_model_beam.h.

void mcl_3dl::LidarMeasurementModelBeam::loadConfig ( const ros::NodeHandle nh,
const std::string &  name 
)
virtual
LidarMeasurementResult mcl_3dl::LidarMeasurementModelBeam::measure ( ChunkedKdtree< PointType >::Ptr kdtree,
const pcl::PointCloud< PointType >::ConstPtr &  pc,
const std::vector< Vec3 > &  origins,
const State6DOF s 
) const
virtual
void mcl_3dl::LidarMeasurementModelBeam::setGlobalLocalizationStatus ( const size_t  num_particles,
const size_t  current_num_particles 
)
virtual

Member Data Documentation

bool mcl_3dl::LidarMeasurementModelBeam::add_penalty_short_only_mode_
private

Definition at line 72 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::additional_search_range_
private

Definition at line 70 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::beam_likelihood_
private

Definition at line 63 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::beam_likelihood_min_
private

Definition at line 62 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::clip_far_sq_
private

Definition at line 58 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::clip_near_sq_
private

Definition at line 59 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::clip_z_max_
private

Definition at line 61 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::clip_z_min_
private

Definition at line 60 of file lidar_measurement_model_beam.h.

uint32_t mcl_3dl::LidarMeasurementModelBeam::filter_label_max_
private

Definition at line 69 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::hit_range_sq_
private

Definition at line 71 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::map_grid_x_
private

Definition at line 65 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::map_grid_y_
private

Definition at line 66 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::map_grid_z_
private

Definition at line 67 of file lidar_measurement_model_beam.h.

size_t mcl_3dl::LidarMeasurementModelBeam::num_points_
private

Definition at line 55 of file lidar_measurement_model_beam.h.

size_t mcl_3dl::LidarMeasurementModelBeam::num_points_default_
private

Definition at line 56 of file lidar_measurement_model_beam.h.

size_t mcl_3dl::LidarMeasurementModelBeam::num_points_global_
private

Definition at line 57 of file lidar_measurement_model_beam.h.

std::shared_ptr<Raycast<LidarMeasurementModelBase::PointType> > mcl_3dl::LidarMeasurementModelBeam::raycaster_
private

Definition at line 54 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::search_range_
private

Definition at line 68 of file lidar_measurement_model_beam.h.

float mcl_3dl::LidarMeasurementModelBeam::sin_total_ref_
private

Definition at line 64 of file lidar_measurement_model_beam.h.


The documentation for this class was generated from the following files:


mcl_3dl
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:16:29