#include <GT2004ParameterSet.h>
Collaboration diagram for GT2004ParametersSet:
Definition at line 314 of file GT2004ParameterSet.h.
|
enum describing indexes of a set of parameters
Definition at line 320 of file GT2004ParameterSet.h. Referenced by getIndexOfMirror(), and getIndexString(). |
|
default constructor
Definition at line 171 of file GT2004ParameterSet.cpp. References GT2004Parameters::correctedMotion, GT2004Parameters::index, load(), lowRatioLowSpeed, lowRatioUpSpeed, lowSpeed, mergedParameters, pi_2, pi_4, GT2004Parameters::requestedMotion, rotationOnly, upRatioLowSpeed, upRatioUpSpeed, upSpeed, and withWalk. |
Here is the call graph for this function:
|
calculate merged parameters set according to motion request
Definition at line 320 of file GT2004ParameterSet.cpp. References Vector2< double >::abs(), GT2004Parameters::interpolate(), lBuf, llBuf, lowRatioLowSpeed, lowRatioUpSpeed, lowSpeed, luBuf, mBuf, mergedParameters, min, pi, Pose2D::rotation, rotationOnly, sqr, Pose2D::translation, uBuf, ulBuf, upRatioLowSpeed, upRatioUpSpeed, upSpeed, uuBuf, withWalk, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004WalkingEngine::calculateLegSpeeds(). |
Here is the call graph for this function:
|
return one of the GT2004Parameters in the tables according to index
Definition at line 619 of file GT2004ParameterSet.cpp. References rotationOnly, and withWalk. Referenced by GT2004BasicBehaviorSendCurrentGT2004ParametersAndChooseNext::execute(), GT2004BasicBehaviorMeasureGT2004ParametersBlind::execute(), GT2004BasicBehaviorMeasureGT2004Parameters::execute(), GT2004BehaviorControl::GT2004BehaviorControl(), GT2004BehaviorControl::handleMessage(), mirrorThis(), and GT2004WalkingEngine::setNextParameters(). |
|
returns true if the given index is for a parametersset designed for max speed
Definition at line 635 of file GT2004ParameterSet.cpp. Referenced by GT2004BasicBehaviorSendCurrentGT2004ParametersAndChooseNext::execute(). |
|
|
return the index of the left right mirrored parameters set
Definition at line 785 of file GT2004ParameterSet.cpp. References few_lturn_0_fast, few_lturn_0_med, few_lturn_0_slow, few_lturn_135_fast, few_lturn_135_med, few_lturn_135_slow, few_lturn_45_fast, few_lturn_45_med, few_lturn_45_slow, few_lturn_90_fast, few_lturn_90_med, few_lturn_90_slow, few_lturn_min135_fast, few_lturn_min135_med, few_lturn_min135_slow, few_lturn_min180_fast, few_lturn_min180_med, few_lturn_min180_slow, few_lturn_min45_fast, few_lturn_min45_med, few_lturn_min45_slow, few_lturn_min90_fast, few_lturn_min90_med, few_lturn_min90_slow, few_rturn_0_fast, few_rturn_0_med, few_rturn_0_slow, few_rturn_135_fast, few_rturn_135_med, few_rturn_135_slow, few_rturn_45_fast, few_rturn_45_med, few_rturn_45_slow, few_rturn_90_fast, few_rturn_90_med, few_rturn_90_slow, few_rturn_min135_fast, few_rturn_min135_med, few_rturn_min135_slow, few_rturn_min180_fast, few_rturn_min180_med, few_rturn_min180_slow, few_rturn_min45_fast, few_rturn_min45_med, few_rturn_min45_slow, few_rturn_min90_fast, few_rturn_min90_med, few_rturn_min90_slow, IndexName, med_lturn_0_fast, med_lturn_0_med, med_lturn_0_slow, med_lturn_135_fast, med_lturn_135_med, med_lturn_135_slow, med_lturn_45_fast, med_lturn_45_med, med_lturn_45_slow, med_lturn_90_fast, med_lturn_90_med, med_lturn_90_slow, med_lturn_min135_fast, med_lturn_min135_med, med_lturn_min135_slow, med_lturn_min180_fast, med_lturn_min180_med, med_lturn_min180_slow, med_lturn_min45_fast, med_lturn_min45_med, med_lturn_min45_slow, med_lturn_min90_fast, med_lturn_min90_med, med_lturn_min90_slow, med_rturn_0_fast, med_rturn_0_med, med_rturn_0_slow, med_rturn_135_fast, med_rturn_135_med, med_rturn_135_slow, med_rturn_45_fast, med_rturn_45_med, med_rturn_45_slow, med_rturn_90_fast, med_rturn_90_med, med_rturn_90_slow, med_rturn_min135_fast, med_rturn_min135_med, med_rturn_min135_slow, med_rturn_min180_fast, med_rturn_min180_med, med_rturn_min180_slow, med_rturn_min45_fast, med_rturn_min45_med, med_rturn_min45_slow, med_rturn_min90_fast, med_rturn_min90_med, med_rturn_min90_slow, much_lturn_fast, much_lturn_med, much_lturn_slow, much_rturn_fast, much_rturn_med, much_rturn_slow, no_turn_135_fast, no_turn_135_med, no_turn_135_slow, no_turn_45_fast, no_turn_45_med, no_turn_45_slow, no_turn_90_fast, no_turn_90_med, no_turn_90_slow, no_turn_min135_fast, no_turn_min135_med, no_turn_min135_slow, no_turn_min45_fast, no_turn_min45_med, no_turn_min45_slow, no_turn_min90_fast, no_turn_min90_med, and no_turn_min90_slow. Referenced by GT2004BasicBehaviorSendCurrentGT2004ParametersAndChooseNext::execute(), GT2004BehaviorControl::handleMessage(), and mirrorThis(). |
|
changes the mirrored parameters set to match the given one except for sign
Definition at line 926 of file GT2004ParameterSet.cpp. References GT2004Parameters::correctedMotion, getIndexOfMirror(), getParameters(), GT2004Parameters::index, GT2004Parameters::requestedMotion, Pose2D::rotation, Pose2D::translation, and Vector2< double >::y. Referenced by GT2004BasicBehaviorSendCurrentGT2004ParametersAndChooseNext::execute(), mirrorLeftTurnToRightTurn(), and GT2004WalkingEngine::nextParametersInterpolation(). |
Here is the call graph for this function:
|
changes all right turn parameters to match the according left turn parameters
Definition at line 259 of file GT2004ParameterSet.cpp. References few_lturn_0_fast, few_lturn_0_med, few_lturn_0_slow, few_lturn_135_fast, few_lturn_135_med, few_lturn_135_slow, few_lturn_45_fast, few_lturn_45_med, few_lturn_45_slow, few_lturn_90_fast, few_lturn_90_med, few_lturn_90_slow, few_lturn_min135_fast, few_lturn_min135_med, few_lturn_min135_slow, few_lturn_min180_fast, few_lturn_min180_med, few_lturn_min180_slow, few_lturn_min45_fast, few_lturn_min45_med, few_lturn_min45_slow, few_lturn_min90_fast, few_lturn_min90_med, few_lturn_min90_slow, med_lturn_0_fast, med_lturn_0_med, med_lturn_0_slow, med_lturn_135_fast, med_lturn_135_med, med_lturn_135_slow, med_lturn_45_fast, med_lturn_45_med, med_lturn_45_slow, med_lturn_90_fast, med_lturn_90_med, med_lturn_90_slow, med_lturn_min135_fast, med_lturn_min135_med, med_lturn_min135_slow, med_lturn_min180_fast, med_lturn_min180_med, med_lturn_min180_slow, med_lturn_min45_fast, med_lturn_min45_med, med_lturn_min45_slow, med_lturn_min90_fast, med_lturn_min90_med, med_lturn_min90_slow, mirrorThis(), much_lturn_fast, much_lturn_med, and much_lturn_slow. |
Here is the call graph for this function:
|
some functions to access and modify polar parts of a (motionRequest) Pose2D
Definition at line 942 of file GT2004ParameterSet.cpp. References Vector2< double >::abs(), Pose2D::rotation, sqr, and Pose2D::translation. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(), GT2004BasicBehaviorSendCurrentGT2004ParametersAndChooseNext::execute(), GT2004BehaviorControl::handleMessage(), and setRatio(). |
Here is the call graph for this function:
|
Definition at line 945 of file GT2004ParameterSet.cpp. References Vector2< double >::abs(), pi, Pose2D::rotation, and Pose2D::translation. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(), and setSpeed(). |
Here is the call graph for this function:
|
Definition at line 948 of file GT2004ParameterSet.cpp. References Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(), setRatio(), and setSpeed(). |
|
Definition at line 951 of file GT2004ParameterSet.cpp. References getDirection(), getRatio(), pi, Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(), and GT2004BehaviorControl::handleMessage(). |
Here is the call graph for this function:
|
Definition at line 963 of file GT2004ParameterSet.cpp. References getDirection(), getSpeed(), pi, Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(). |
Here is the call graph for this function:
|
Definition at line 975 of file GT2004ParameterSet.cpp. References Vector2< double >::abs(), Pose2D::rotation, Pose2D::translation, Vector2< double >::x, and Vector2< double >::y. Referenced by GT2004BasicBehaviorNextGT2004ParametersToBeMeasured::execute(). |
Here is the call graph for this function:
|
tries to load the parameters set from a file
Definition at line 986 of file GT2004ParameterSet.cpp. References InFile::exists(), getRobotConfiguration(), RobotConfiguration::getRobotDesign(), mergedParameters, and rotationOnly. Referenced by GT2004ParametersSet(), GT2004WalkingEngine::handleMessage(), and GT2004BehaviorControl::handleMessage(). |
Here is the call graph for this function:
|
saves the parameters set to a file
Definition at line 1014 of file GT2004ParameterSet.cpp. References getRobotConfiguration(), and RobotConfiguration::getRobotDesign(). Referenced by GT2004BehaviorControl::handleMessage(). |
Here is the call graph for this function:
|
Definition at line 363 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), getParameters(), GT2004ParametersSet(), load(), operator<<(), and operator>>(). |
|
Definition at line 364 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), getParameters(), GT2004ParametersSet(), operator<<(), and operator>>(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
buffers for merging up to 8 parameter sets around the requested one
Definition at line 370 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(). |
|
pointers to merged parameter sets to minimize merging afford
Definition at line 373 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
pointers to merged parameter sets to minimize merging afford
Definition at line 373 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
pointers to merged parameter sets to minimize merging afford
Definition at line 373 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
pointers to merged parameter sets to minimize merging afford
Definition at line 373 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
Definition at line 374 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
Definition at line 374 of file GT2004ParameterSet.h. Referenced by calculateMergedParameterSet(), and GT2004ParametersSet(). |
|
Definition at line 374 of file GT2004ParameterSet.h. Referenced by GT2004WalkingEngine::calculateLegSpeeds(), calculateMergedParameterSet(), GT2004WalkingEngine::executeParameterized(), GT2004ParametersSet(), GT2004WalkingEngine::handleMessage(), GT2004WalkingEngine::init(), and load(). |