#include <ObstacleAvoiderOnGreenFieldERS7.h>
Inheritance diagram for ObstacleAvoiderOnGreenFieldERS7:
Public Member Functions | |
ObstacleAvoiderOnGreenFieldERS7 (const SensorBehaviorControlInterfaces &interfaces) | |
Constructor. | |
void | init () |
some init's that are only done when the module is called for the first time (or it it hasn't been called for a while) such as setting the headcontrol-mode | |
virtual void | execute () |
the "main" module where all the magic is happening | |
void | calibrate () |
calibrate the psd (while standing still) to the minimum value it measures | |
virtual bool | handleMessage (InMessage &message) |
currently no debug messages are handled | |
Private Member Functions | |
DECLARE_DEBUG_IMAGE (classificationY) | |
Private Attributes | |
double | maxSpeedX |
double | distanceToGround |
double | distanceOffset |
double | distanceControlInterval |
PIDsmoothedValue | speedX |
PIDsmoothedValue | speedY |
PIDsmoothedValue | speedPhi |
int | gridSize |
int | greenOrLight |
unsigned long | timeOfLastExecute |
unsigned long | timeToCalibrate |
ColorTable64 | localColTable |
bool | localColTableInitialized |
Definition at line 21 of file ObstacleAvoiderOnGreenFieldERS7.h.
|
Constructor.
Definition at line 13 of file ObstacleAvoiderOnGreenFieldERS7.cpp. |
|
some init's that are only done when the module is called for the first time (or it it hasn't been called for a while) such as setting the headcontrol-mode
Definition at line 28 of file ObstacleAvoiderOnGreenFieldERS7.cpp. |
|
Here is the call graph for this function:
|
calibrate the psd (while standing still) to the minimum value it measures
Definition at line 215 of file ObstacleAvoiderOnGreenFieldERS7.cpp. References ColorTable64::addColorClass(), Image::cameraInfo, ColorTable64::clear(), Image::image, CameraInfo::resolutionHeight, and CameraInfo::resolutionWidth. |
Here is the call graph for this function:
|
currently no debug messages are handled
Reimplemented from Module. Definition at line 236 of file ObstacleAvoiderOnGreenFieldERS7.cpp. References InMessage::bin, GenericDebugData::data, InMessage::getMessageID(), GenericDebugData::id, idGenericDebugData, idText, OUTPUT, PIDsmoothedValue::setWeightD(), PIDsmoothedValue::setWeightI(), and PIDsmoothedValue::setWeightP(). |
Here is the call graph for this function:
|
|
|
Definition at line 44 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 44 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 44 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 44 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 45 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 45 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 45 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 46 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 46 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 47 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 47 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 48 of file ObstacleAvoiderOnGreenFieldERS7.h. |
|
Definition at line 49 of file ObstacleAvoiderOnGreenFieldERS7.h. |