|
Bratmobile
|
Defines the end criteria for a Task, i.e. when it is considered to be finished. More...
#include <measurement.h>

Public Member Functions | |
| float | getStandardError (Angle a, Distance d) |
| Calculates normalised cumulative standard error for the given angle and distance. | |
| float | getStandardError (Angle a, Distance d, State n) |
| Calculates the normalised cumulative standard error for the given angle, distance; state information. More... | |
| bool | hasEnd () |
| void | operator= (EndCriteria ec) |
| void | adjust (const b2Transform &delta) |
| Ajusts endcriteria based on the delta transform (2D transform representing how much the robot has travelled) More... | |
Public Attributes | |
| Angle | angle |
| Distance | distance |
Defines the end criteria for a Task, i.e. when it is considered to be finished.
| void EndCriteria::adjust | ( | const b2Transform & | delta | ) |
Ajusts endcriteria based on the delta transform (2D transform representing how much the robot has travelled)
| delta |
Calculates the normalised cumulative standard error for the given angle, distance; state information.
| n | are used to add a penalty if the state results in collision |