
Definition in file Angle.H.
#include <cmath>
#include <deque>
Include dependency graph for Angle.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Classes | |
| class | Angle |
| Embodiment of an angular value. More... | |
Functions | |
| Angle | averageVectorAngle (std::deque< Angle >::const_iterator astart, std::deque< Angle >::const_iterator aend) |
| Compute the vector average of a bunch of angles. | |
| Angle | averageVectorAngle (std::deque< Angle >::const_iterator astart, std::deque< Angle >::const_iterator aend, const double factor) |
| Compute the weighted vector average of a bunch of angles. | |
|
||||||||||||||||
|
Compute the weighted vector average of a bunch of angles. The length of each vector starts with 1.0 and then is multiplied by factor each at each iteration, thus providing an exponential length decay. Each angle is assumed to be associated with a vector of given length length, and the angle of the vector sum of all vectors is resturned. Definition at line 292 of file Angle.H. References lobot::cos(), i, lobot::sin(), x, and y. |
|
||||||||||||
|
Compute the vector average of a bunch of angles. Each angle is assumed to be associated with a vector of unit length, and the angle of the vector sum of all unit vectors is resturned. Definition at line 278 of file Angle.H. References lobot::cos(), i, lobot::sin(), x, and y. Referenced by averageBeoSubSensorValue(). |
1.4.4