Laser720to360DataFilter Class Reference

Downsample filter from 720 to 360 values. More...

#include <720to360.h>

Inheritance diagram for Laser720to360DataFilter:

[legend]
List of all members.

Public Member Functions

 Laser720to360DataFilter (bool average=false)
 Constructor.
void filter (const float *data, unsigned int data_size)
 Filter the incoming data.

Detailed Description

Downsample filter from 720 to 360 values.

Author:
Tim Niemueller

Definition at line 28 of file 720to360.h.


Constructor & Destructor Documentation

Laser720to360DataFilter::Laser720to360DataFilter ( bool  average = false  ) 

Constructor.

Parameters:
average if true, beams will be averaged by left and right neighbours, otherwise every second beam will be used

Definition at line 38 of file 720to360.cpp.

References LaserDataFilter::_filtered_data, and LaserDataFilter::_filtered_data_size.


Member Function Documentation

void Laser720to360DataFilter::filter ( const float *  data,
unsigned int  data_size 
) [virtual]

Filter the incoming data.

Function shall create the _filtered_data float array with the same size as the incoming data and write filtered data to this interface or copy through the original value if the filter does not apply.

Parameters:
data the laser data
data_size the number of elements in the data array

Implements LaserDataFilter.

Definition at line 46 of file 720to360.cpp.

References LaserDataFilter::_filtered_data.


The documentation for this class was generated from the following files:
Generated on Tue Feb 22 13:31:33 2011 for Fawkes API by  doxygen 1.4.7