23 #ifndef __PLUGINS_LASER_FILTER_FILTERS_PROJECTION_H_ 24 #define __PLUGINS_LASER_FILTER_FILTERS_PROJECTION_H_ 29 # error LaserProjectionDataFilter only availabe with TF 32 #include <tf/transformer.h> 46 std::string target_frame,
47 float not_from_x,
float not_to_x,
48 float not_from_y,
float not_to_y,
49 float only_from_z,
float only_to_z,
51 std::vector<LaserDataFilter::Buffer *> &
in);
57 inline void set_output(
float *outbuf, fawkes::tf::Point &p);
61 const std::string target_frame_;
62 const float not_from_x_, not_to_x_;
63 const float not_from_y_, not_to_y_;
64 const float only_from_z_, only_to_z_;
66 float sin_angles360[360];
67 float cos_angles360[360];
68 float sin_angles720[720];
69 float cos_angles720[720];
Fawkes library namespace.
LaserProjectionDataFilter(std::string filter_name, fawkes::tf::Transformer *tf, std::string target_frame, float not_from_x, float not_to_x, float not_from_y, float not_to_y, float only_from_z, float only_to_z, unsigned int in_data_size, std::vector< LaserDataFilter::Buffer *> &in)
Constructor.
Projects one laser into another laser's plane.
const std::string filter_name
Name of the specific filter instance.
void filter()
Filter the incoming data.
std::vector< Buffer * > in
Vector of input arrays.
unsigned int in_data_size
Number of entries in input arrays.