ed_sensor_integration
|
#include <beam_model.h>
Public Member Functions | |
BeamModel () | |
BeamModel (double w, unsigned int num_beams) | |
int | CalculateBeam (double x, double depth) const |
geo::Vec2 | CalculatePoint (int i, double depth) const |
void | CalculatePoints (const std::vector< double > &ranges, std::vector< geo::Vec2 > &points) |
float | fx () const |
void | initialize (double w, unsigned int num_beams) |
unsigned int | num_beams () const |
const std::vector< geo::Vec2 > & | rays () const |
void | RenderModel (const std::vector< std::vector< geo::Vec2 > > &contours, const geo::Transform2 &pose, int identifier, std::vector< double > &ranges, std::vector< int > &identifiers) const |
Private Attributes | |
double | fx_ |
unsigned int | half_num_beams_ |
std::vector< geo::Vec2 > | rays_ |
Definition at line 8 of file beam_model.h.
BeamModel::BeamModel | ( | ) |
Definition at line 5 of file beam_model.cpp.
BeamModel::BeamModel | ( | double | w, |
unsigned int | num_beams | ||
) |
Definition at line 9 of file beam_model.cpp.
|
inline |
Definition at line 19 of file beam_model.h.
|
inline |
Definition at line 24 of file beam_model.h.
|
inline |
Definition at line 29 of file beam_model.h.
|
inline |
Definition at line 46 of file beam_model.h.
void BeamModel::initialize | ( | double | w, |
unsigned int | num_beams | ||
) |
Definition at line 16 of file beam_model.cpp.
|
inline |
Definition at line 45 of file beam_model.h.
|
inline |
Definition at line 48 of file beam_model.h.
void BeamModel::RenderModel | ( | const std::vector< std::vector< geo::Vec2 > > & | contours, |
const geo::Transform2 & | pose, | ||
int | identifier, | ||
std::vector< double > & | ranges, | ||
std::vector< int > & | identifiers | ||
) | const |
Definition at line 28 of file beam_model.cpp.
|
private |
Definition at line 52 of file beam_model.h.
|
private |
Definition at line 53 of file beam_model.h.
|
private |
Definition at line 54 of file beam_model.h.