CInvKinParametersDlgBar Class Reference

#include <InvKinParametersDlgBar.h>

Inheritance diagram for CInvKinParametersDlgBar:

CRobotControlDialogBar CDynamicBarDlg MessageHandler CDynamicChildDlg CDynamicDialog CDynamicWndEx CDynamicWnd List of all members.

Public Types

 IDD = IDD_DIALOG_BAR_INVKINPARAMETERS
enum  { IDD = IDD_DIALOG_BAR_INVKINPARAMETERS }

Public Member Functions

 CInvKinParametersDlgBar (CWnd *pParent=NULL)
bool handleMessage (InMessage &message)

Public Attributes

bool sendOnChange
bool walking
CButton m_ButtonSend
CButton m_Checkbox
CButton m_Parent
CButton m_Offspring
CComboBox m_ComboFootMode
CEdit m_Value_foreHeight
CEdit m_Value_foreWidth
CEdit m_Value_foreCenterX
CEdit m_Value_hindHeight
CEdit m_Value_hindWidth
CEdit m_Value_hindCenterX
CEdit m_Value_foreFootLift
CEdit m_Value_hindFootLift
CEdit m_Value_foreFootTilt
CEdit m_Value_hindFootTilt
CEdit m_Value_legSpeedFactorX
CEdit m_Value_legSpeedFactorY
CEdit m_Value_legSpeedFactorR
CEdit m_Value_maxStepSizeX
CEdit m_Value_maxStepSizeY
CEdit m_Value_maxSpeedXChange
CEdit m_Value_maxSpeedYChange
CEdit m_Value_maxRotationChange
CEdit m_Value_counterRotation
CEdit m_Value_stepLen
CEdit m_Value_groundPhase [2]
CEdit m_Value_liftPhase [2]
CEdit m_Value_loweringPhase [2]
CEdit m_Value_legPhase [4]
CEdit m_Value_bodyShiftX
CEdit m_Value_bodyShiftY
CEdit m_Value_bodyShiftOffset
CEdit m_Value_bodyTiltOffset
CEdit m_ValueDistance
CEdit m_ValueMutationStrength
CSliderCtrl m_Slider_foreHeight
CSliderCtrl m_Slider_foreWidth
CSliderCtrl m_Slider_foreCenterX
CSliderCtrl m_Slider_hindHeight
CSliderCtrl m_Slider_hindWidth
CSliderCtrl m_Slider_hindCenterX
CSliderCtrl m_Slider_foreFootLift
CSliderCtrl m_Slider_hindFootLift
CSliderCtrl m_Slider_foreFootTilt
CSliderCtrl m_Slider_hindFootTilt
CSliderCtrl m_Slider_legSpeedFactorX
CSliderCtrl m_Slider_legSpeedFactorY
CSliderCtrl m_Slider_legSpeedFactorR
CSliderCtrl m_Slider_maxStepSizeX
CSliderCtrl m_Slider_maxStepSizeY
CSliderCtrl m_Slider_maxSpeedXChange
CSliderCtrl m_Slider_maxSpeedYChange
CSliderCtrl m_Slider_maxRotationChange
CSliderCtrl m_Slider_counterRotation
CSliderCtrl m_Slider_stepLen
CSliderCtrl m_Slider_groundPhase [2]
CSliderCtrl m_Slider_liftPhase [2]
CSliderCtrl m_Slider_loweringPhase [2]
CSliderCtrl m_Slider_legPhase [4]
CSliderCtrl m_Slider_bodyShiftX
CSliderCtrl m_Slider_bodyShiftY
CSliderCtrl m_Slider_bodyShiftOffset
CSliderCtrl m_Slider_bodyTiltOffset

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void updateUI (CCmdUI *pCmdUI)
afx_msg void OnCustomdrawSlider_foreHeight (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_foreWidth (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_foreCenterX (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_hindHeight (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_hindWidth (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_hindCenterX (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_foreFootLift (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_hindFootLift (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_foreFootTilt (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_hindFootTilt (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legSpeedFactorX (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legSpeedFactorY (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legSpeedFactorR (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_maxStepSizeX (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_maxStepSizeY (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_maxSpeedXChange (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_maxSpeedYChange (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_maxRotationChange (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_counterRotation (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_stepLen (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_groundPhase0 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_liftPhase0 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_loweringPhase0 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_groundPhase1 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_liftPhase1 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_loweringPhase1 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legPhase0 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legPhase1 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legPhase2 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_legPhase3 (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_bodyShiftX (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_bodyShiftY (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_bodyShiftOffset (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomdrawSlider_bodyTiltOffset (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnContextMenu (CWnd *pWnd, CPoint point)
afx_msg void OnSelchangeInvKinParComboFootMode ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnKillFocusEditCtrls ()
afx_msg void OnInvKinParCheckbox ()
afx_msg void OnChangeDistance ()
afx_msg void OnWalkParamLoad ()
afx_msg void OnWalkParamSave ()
afx_msg void OnWalkParamWalk ()
afx_msg void OnWalkParamStop ()
afx_msg void OnSelectParent ()
afx_msg void OnSelectOffspring ()
afx_msg void OnButtonSend ()
afx_msg void OnButtonMutate ()
afx_msg void OnChangeMutationStrength ()
void setRanges ()
void setDefaults ()
void setSpeed ()
void initControls ()
int valueToSliderPos (double min, double max, double value)
double sliderPosToValue (int position, double min, double max)
void setSlider (double min, double max, double value, CSliderCtrl &slider, CEdit &textctrl)
void OnCustomdrawSlider (double min, double max, double &value, CSliderCtrl &slider, CEdit &textctrl)
void updateControls ()
CString walkParamToTextBuffer (InvKinWalkingParameters &w)
void copyToClipboard ()
void pasteFromClipboard ()
void startWalking ()
unsigned long getFitness ()
void saveContextMenu ()
void readContextMenu ()
void OnWriteLogFile ()
void WriteLogFile ()
void tFormat (CString &buffer, double &paramName)
void adaptMutationStrength ()
int getNumberOfEvolveValues ()

Protected Attributes

InvKinWalkingParameters minParam
InvKinWalkingParameters maxParam
InvKinWalkingParameters evolveParam
InvKinWalkingParameters parentParam
InvKinWalkingParameterspIndividual
char tmp [6]
CString buffer
int distance
int numberOfMutations
int numberOfSuccessfulMutations
bool writeLogFile
bool autoMutationStrength
unsigned long startTime
unsigned long lastSentTimeA
unsigned long lastSentTimeB
MotionRequest motionRequest
HeadMotionRequest headMotionRequest
HeadControlMode headControlMode
double mutationStrength
double loggedMutStrength
CString logFilePathAndName
CFont smallFont

Detailed Description

class CInvKinParametersDlgBar

This dialog allows convenient setting of the walking parameters for the InvKinWalking engine.

Author:
Arthur Cesarz

Matthias Hebbel

Definition at line 27 of file InvKinParametersDlgBar.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
IDD 

Definition at line 35 of file InvKinParametersDlgBar.h.


Constructor & Destructor Documentation

CInvKinParametersDlgBar::CInvKinParametersDlgBar ( CWnd *  pParent = NULL  ) 

Definition at line 21 of file InvKinParametersDlgBar.cpp.


Member Function Documentation

void CInvKinParametersDlgBar::adaptMutationStrength (  )  [protected]

Definition at line 1300 of file InvKinParametersDlgBar.cpp.

References autoMutationStrength, buffer, getNumberOfEvolveValues(), m_ValueMutationStrength, mutationStrength, numberOfMutations, numberOfSuccessfulMutations, and tFormat().

Referenced by OnButtonMutate().

void CInvKinParametersDlgBar::copyToClipboard (  )  [protected]

Definition at line 583 of file InvKinParametersDlgBar.cpp.

References buffer, pIndividual, and walkParamToTextBuffer().

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::DoDataExchange ( CDataExchange *  pDX  )  [protected, virtual]

Definition at line 28 of file InvKinParametersDlgBar.cpp.

References IDC_INVKINPAR_BUTTON_SEND, IDC_INVKINPAR_CHECKBOX, IDC_INVKINPAR_COMBOFOOTMODE, IDC_INVKINPAR_RADIO_OFFSPRING, IDC_INVKINPAR_RADIO_PARENT, IDC_INVKINPAR_SLIDERBODYSHIFTOFFSET, IDC_INVKINPAR_SLIDERBODYSHIFTX, IDC_INVKINPAR_SLIDERBODYSHIFTY, IDC_INVKINPAR_SLIDERBODYTILTOFFSET, IDC_INVKINPAR_SLIDERCOUNTERROTATION, IDC_INVKINPAR_SLIDERFOOTLIFTFORE, IDC_INVKINPAR_SLIDERFOOTLIFTHIND, IDC_INVKINPAR_SLIDERFOOTTILTFORE, IDC_INVKINPAR_SLIDERFOOTTILTHIND, IDC_INVKINPAR_SLIDERFORECENTERX, IDC_INVKINPAR_SLIDERFOREHEIGHT, IDC_INVKINPAR_SLIDERFOREWIDTH, IDC_INVKINPAR_SLIDERGROUNDPHASEF, IDC_INVKINPAR_SLIDERGROUNDPHASEH, IDC_INVKINPAR_SLIDERHINDCENTERX, IDC_INVKINPAR_SLIDERHINDHEIGHT, IDC_INVKINPAR_SLIDERHINDWIDTH, IDC_INVKINPAR_SLIDERLEGPH0, IDC_INVKINPAR_SLIDERLEGPH1, IDC_INVKINPAR_SLIDERLEGPH2, IDC_INVKINPAR_SLIDERLEGPH3, IDC_INVKINPAR_SLIDERLEGSPEEDFACTORR, IDC_INVKINPAR_SLIDERLEGSPEEDFACTORX, IDC_INVKINPAR_SLIDERLEGSPEEDFACTORY, IDC_INVKINPAR_SLIDERLIFTPHASEF, IDC_INVKINPAR_SLIDERLIFTPHASEH, IDC_INVKINPAR_SLIDERLOWERPHASEF, IDC_INVKINPAR_SLIDERLOWERPHASEH, IDC_INVKINPAR_SLIDERMAXIMUMCHANGEROTATION, IDC_INVKINPAR_SLIDERMAXIMUMCHANGESPEEDX, IDC_INVKINPAR_SLIDERMAXIMUMCHANGESPEEDY, IDC_INVKINPAR_SLIDERMAXIMUMSTEPSIZEX, IDC_INVKINPAR_SLIDERMAXIMUMSTEPSIZEY, IDC_INVKINPAR_SLIDERSTEPLENGTH, IDC_INVKINPAR_VALUEBODYSHIFTOFFSET, IDC_INVKINPAR_VALUEBODYSHIFTX, IDC_INVKINPAR_VALUEBODYSHIFTY, IDC_INVKINPAR_VALUEBODYTILTOFFSET, IDC_INVKINPAR_VALUECOUNTERROTATION, IDC_INVKINPAR_VALUEDISTANCE, IDC_INVKINPAR_VALUEFOOTLIFTFORE, IDC_INVKINPAR_VALUEFOOTLIFTHIND, IDC_INVKINPAR_VALUEFOOTTILTFORE, IDC_INVKINPAR_VALUEFOOTTILTHIND, IDC_INVKINPAR_VALUEFORECENTERX, IDC_INVKINPAR_VALUEFOREHEIGHT, IDC_INVKINPAR_VALUEFOREWIDTH, IDC_INVKINPAR_VALUEGROUNDPHASEF, IDC_INVKINPAR_VALUEGROUNDPHASEH, IDC_INVKINPAR_VALUEHINDCENTERX, IDC_INVKINPAR_VALUEHINDHEIGHT, IDC_INVKINPAR_VALUEHINDWIDTH, IDC_INVKINPAR_VALUELEGPH0, IDC_INVKINPAR_VALUELEGPH1, IDC_INVKINPAR_VALUELEGPH2, IDC_INVKINPAR_VALUELEGPH3, IDC_INVKINPAR_VALUELEGSPEEDFACTORR, IDC_INVKINPAR_VALUELEGSPEEDFACTORX, IDC_INVKINPAR_VALUELEGSPEEDFACTORY, IDC_INVKINPAR_VALUELIFTPHASEF, IDC_INVKINPAR_VALUELIFTPHASEH, IDC_INVKINPAR_VALUELOWERPHASEF, IDC_INVKINPAR_VALUELOWERPHASEH, IDC_INVKINPAR_VALUEMAXIMUMCHANGEROTATION, IDC_INVKINPAR_VALUEMAXIMUMCHANGESPEEDX, IDC_INVKINPAR_VALUEMAXIMUMCHANGESPEEDY, IDC_INVKINPAR_VALUEMAXIMUMSTEPSIZEX, IDC_INVKINPAR_VALUEMAXIMUMSTEPSIZEY, IDC_INVKINPAR_VALUEMUTATIONSTRENGTH, IDC_INVKINPAR_VALUESTEPLENGTH, m_ButtonSend, m_Checkbox, m_ComboFootMode, m_Offspring, m_Parent, m_Slider_bodyShiftOffset, m_Slider_bodyShiftX, m_Slider_bodyShiftY, m_Slider_bodyTiltOffset, m_Slider_counterRotation, m_Slider_foreCenterX, m_Slider_foreFootLift, m_Slider_foreFootTilt, m_Slider_foreHeight, m_Slider_foreWidth, m_Slider_groundPhase, m_Slider_hindCenterX, m_Slider_hindFootLift, m_Slider_hindFootTilt, m_Slider_hindHeight, m_Slider_hindWidth, m_Slider_legPhase, m_Slider_legSpeedFactorR, m_Slider_legSpeedFactorX, m_Slider_legSpeedFactorY, m_Slider_liftPhase, m_Slider_loweringPhase, m_Slider_maxRotationChange, m_Slider_maxSpeedXChange, m_Slider_maxSpeedYChange, m_Slider_maxStepSizeX, m_Slider_maxStepSizeY, m_Slider_stepLen, m_Value_bodyShiftOffset, m_Value_bodyShiftX, m_Value_bodyShiftY, m_Value_bodyTiltOffset, m_Value_counterRotation, m_Value_foreCenterX, m_Value_foreFootLift, m_Value_foreFootTilt, m_Value_foreHeight, m_Value_foreWidth, m_Value_groundPhase, m_Value_hindCenterX, m_Value_hindFootLift, m_Value_hindFootTilt, m_Value_hindHeight, m_Value_hindWidth, m_Value_legPhase, m_Value_legSpeedFactorR, m_Value_legSpeedFactorX, m_Value_legSpeedFactorY, m_Value_liftPhase, m_Value_loweringPhase, m_Value_maxRotationChange, m_Value_maxSpeedXChange, m_Value_maxSpeedYChange, m_Value_maxStepSizeX, m_Value_maxStepSizeY, m_Value_stepLen, m_ValueDistance, and m_ValueMutationStrength.

unsigned long CInvKinParametersDlgBar::getFitness (  )  [protected]

Definition at line 1015 of file InvKinParametersDlgBar.cpp.

References OutMessage::bin, OutMessage::finishMessage(), getQueues(), SystemCall::getTimeSince(), idMotionRequest, motionRequest, MessageQueue::out, CRobotControlQueuesToRobots::selectedRobot, startTime, CRobotControlQueues::toPhysical, CRobotControlQueues::toSimulated, WalkRequest::walkParams, and MotionRequest::walkRequest.

Referenced by OnWalkParamStop().

int CInvKinParametersDlgBar::getNumberOfEvolveValues (  )  [protected]

Definition at line 1318 of file InvKinParametersDlgBar.cpp.

References InvKinWalkingParameters::bodyShiftOffset, InvKinWalkingParameters::bodyShiftX, InvKinWalkingParameters::bodyShiftY, InvKinWalkingParameters::bodyTiltOffset, InvKinWalkingParameters::counterRotation, evolveParam, InvKinWalkingParameters::foreCenterX, InvKinWalkingParameters::foreFootLift, InvKinWalkingParameters::foreFootTilt, InvKinWalkingParameters::foreHeight, InvKinWalkingParameters::foreWidth, InvKinWalkingParameters::groundPhase, InvKinWalkingParameters::hindCenterX, InvKinWalkingParameters::hindFootLift, InvKinWalkingParameters::hindFootTilt, InvKinWalkingParameters::hindHeight, InvKinWalkingParameters::hindWidth, jointDataInvalidValue, InvKinWalkingParameters::legPhase, InvKinWalkingParameters::legSpeedFactorR, InvKinWalkingParameters::legSpeedFactorX, InvKinWalkingParameters::legSpeedFactorY, InvKinWalkingParameters::liftPhase, InvKinWalkingParameters::loweringPhase, InvKinWalkingParameters::maxRotationChange, InvKinWalkingParameters::maxSpeedXChange, InvKinWalkingParameters::maxSpeedYChange, InvKinWalkingParameters::maxStepSizeX, InvKinWalkingParameters::maxStepSizeY, and InvKinWalkingParameters::stepLen.

Referenced by adaptMutationStrength().

bool CInvKinParametersDlgBar::handleMessage ( InMessage message  )  [virtual]

Is called for incoming debug messages.

Parameters:
message The message to handle.
Returns:
If the message was handled.

Reimplemented from CRobotControlDialogBar.

Definition at line 1358 of file InvKinParametersDlgBar.cpp.

References InMessage::bin, evolveParam, InMessage::getMessageID(), idInvKinWalkingParameters, and OnSelectOffspring().

void CInvKinParametersDlgBar::initControls (  )  [protected]

Definition at line 317 of file InvKinParametersDlgBar.cpp.

References INITCONTROL, m_ComboFootMode, and updateControls().

Referenced by OnInitDialog().

void CInvKinParametersDlgBar::OnButtonMutate (  )  [protected]

Definition at line 1238 of file InvKinParametersDlgBar.cpp.

References adaptMutationStrength(), evolveParam, loggedMutStrength, m_Offspring, Individual::mutationOf(), mutationStrength, numberOfMutations, numberOfSuccessfulMutations, OnSelectOffspring(), parentParam, pi2, WriteLogFile(), and writeLogFile.

void CInvKinParametersDlgBar::OnButtonSend (  )  [protected]

Definition at line 503 of file InvKinParametersDlgBar.cpp.

References OutMessage::bin, OutMessage::finishMessage(), SystemCall::getCurrentSystemTime(), getQueues(), SystemCall::getTimeSince(), idInvKinWalkingParameters, lastSentTimeA, MessageQueue::out, pIndividual, CRobotControlQueuesToRobots::selectedRobot, CRobotControlQueues::toPhysical, and CRobotControlQueues::toSimulated.

Referenced by OnCustomdrawSlider(), OnSelchangeInvKinParComboFootMode(), OnSelectOffspring(), OnSelectParent(), OnWalkParamLoad(), OnWalkParamWalk(), and pasteFromClipboard().

void CInvKinParametersDlgBar::OnChangeDistance (  )  [protected]

Definition at line 1028 of file InvKinParametersDlgBar.cpp.

References buffer, distance, m_ValueDistance, and tmp.

void CInvKinParametersDlgBar::OnChangeMutationStrength (  )  [protected]

Definition at line 1258 of file InvKinParametersDlgBar.cpp.

References buffer, m_ValueMutationStrength, mutationStrength, and tFormat().

void CInvKinParametersDlgBar::OnContextMenu ( CWnd *  pWnd,
CPoint  point 
) [protected]

Definition at line 666 of file InvKinParametersDlgBar.cpp.

References APPENDMENU, autoMutationStrength, copyToClipboard(), evolveParam, IDC_INVKINPAR_ADAPTMUTATION, IDC_INVKINPAR_COPY, IDC_INVKINPAR_DEFAULT, IDC_INVKINPAR_LOADVAL, IDC_INVKINPAR_PASTE, IDC_INVKINPAR_SAVEVAL, IDC_INVKINPAR_WRITELOG, IDP_INVKINPAR_MENU, jointDataInvalidValue, InvKinWalkingParameters::maxRotationChange, OnKillFocusEditCtrls(), OnWalkParamLoad(), OnWalkParamSave(), OnWriteLogFile(), pasteFromClipboard(), readContextMenu(), SETCHECK, setDefaults(), updateControls(), and writeLogFile.

void CInvKinParametersDlgBar::OnCustomdrawSlider ( double  min,
double  max,
double &  value,
CSliderCtrl &  slider,
CEdit &  textctrl 
) [protected]

Definition at line 372 of file InvKinParametersDlgBar.cpp.

References buffer, OnButtonSend(), sendOnChange, sliderPosToValue(), and tFormat().

Referenced by OnCustomdrawSlider_stepLen().

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_bodyShiftOffset ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_bodyShiftX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_bodyShiftY ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_bodyTiltOffset ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_counterRotation ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_foreCenterX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_foreFootLift ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_foreFootTilt ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_foreHeight ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_foreWidth ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_groundPhase0 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_groundPhase1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_hindCenterX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_hindFootLift ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_hindFootTilt ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_hindHeight ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_hindWidth ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legPhase0 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legPhase1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legPhase2 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legPhase3 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legSpeedFactorR ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legSpeedFactorX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_legSpeedFactorY ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_liftPhase0 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_liftPhase1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_loweringPhase0 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_loweringPhase1 ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_maxRotationChange ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_maxSpeedXChange ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_maxSpeedYChange ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_maxStepSizeX ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

afx_msg void CInvKinParametersDlgBar::OnCustomdrawSlider_maxStepSizeY ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

void CInvKinParametersDlgBar::OnCustomdrawSlider_stepLen ( NMHDR *  pNMHDR,
LRESULT *  pResult 
) [protected]

Definition at line 439 of file InvKinParametersDlgBar.cpp.

References int(), m_Slider_stepLen, m_Value_stepLen, maxParam, minParam, OnCustomdrawSlider(), pIndividual, and InvKinWalkingParameters::stepLen.

BOOL CInvKinParametersDlgBar::OnInitDialog (  )  [protected, virtual]

Reimplemented from CDynamicDialog.

Definition at line 215 of file InvKinParametersDlgBar.cpp.

References autoMutationStrength, buffer, distance, FALSE, IDC_INVKINPAR_CHECKBOX, IDC_INVKINPAR_TEXTBODYSHIFTX, IDC_INVKINPAR_TEXTBODYSHIFTY, IDC_INVKINPAR_TEXTCOUNTERROTATION, IDC_INVKINPAR_TEXTFOOTLIFTFORE, IDC_INVKINPAR_TEXTFOOTLIFTHIND, IDC_INVKINPAR_TEXTFOOTTILTFORE, IDC_INVKINPAR_TEXTFOOTTILTHIND, IDC_INVKINPAR_TEXTFORECENTERX, IDC_INVKINPAR_TEXTFOREHEIGHT, IDC_INVKINPAR_TEXTFOREWIDTH, IDC_INVKINPAR_TEXTGROUNDPHASEF, IDC_INVKINPAR_TEXTGROUNDPHASEH, IDC_INVKINPAR_TEXTHINDCENTERX, IDC_INVKINPAR_TEXTHINDHEIGHT, IDC_INVKINPAR_TEXTHINDWIDTH, IDC_INVKINPAR_TEXTLEGPH0, IDC_INVKINPAR_TEXTLEGPH1, IDC_INVKINPAR_TEXTLEGPH2, IDC_INVKINPAR_TEXTLEGPH3, IDC_INVKINPAR_TEXTLEGSPEEDR, IDC_INVKINPAR_TEXTLEGSPEEDX, IDC_INVKINPAR_TEXTLEGSPEEDY, IDC_INVKINPAR_TEXTLIFTPHASEF, IDC_INVKINPAR_TEXTLIFTPHASEH, IDC_INVKINPAR_TEXTLOWERPHASEF, IDC_INVKINPAR_TEXTLOWERPHASEH, IDC_INVKINPAR_TEXTMAXCHAROT, IDC_INVKINPAR_TEXTMAXCHASPEX, IDC_INVKINPAR_TEXTMAXCHASPEY, IDC_INVKINPAR_TEXTMAXSTEPX, IDC_INVKINPAR_TEXTMAXSTEPY, IDC_INVKINPAR_TEXTSHIFTOFFSET, IDC_INVKINPAR_TEXTSTEPLENGTH, IDC_INVKINPAR_TEXTTILTOFFSET, initControls(), lastSentTimeA, lastSentTimeB, loggedMutStrength, m_Offspring, m_Parent, m_ValueDistance, m_ValueMutationStrength, mutationStrength, numberOfMutations, numberOfSuccessfulMutations, CDynamicDialog::OnInitDialog(), parentParam, pIndividual, readContextMenu(), sendOnChange, setDefaults(), setRanges(), smallFont, tFormat(), tmp, TRUE, and walking.

void CInvKinParametersDlgBar::OnInvKinParCheckbox (  )  [protected]

Definition at line 524 of file InvKinParametersDlgBar.cpp.

References m_Checkbox, and sendOnChange.

void CInvKinParametersDlgBar::OnKillFocusEditCtrls (  )  [protected]

Definition at line 877 of file InvKinParametersDlgBar.cpp.

References buffer, m_Value_stepLen, OKFEC, pIndividual, InvKinWalkingParameters::stepLen, and updateControls().

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::OnSelchangeInvKinParComboFootMode (  )  [protected]

Definition at line 517 of file InvKinParametersDlgBar.cpp.

References InvKinWalkingParameters::footMode, m_ComboFootMode, OnButtonSend(), pIndividual, and sendOnChange.

void CInvKinParametersDlgBar::OnSelectOffspring (  )  [protected]

Definition at line 1229 of file InvKinParametersDlgBar.cpp.

References evolveParam, m_Offspring, m_Parent, OnButtonSend(), pIndividual, sendOnChange, and updateControls().

Referenced by handleMessage(), and OnButtonMutate().

void CInvKinParametersDlgBar::OnSelectParent (  )  [protected]

Definition at line 1220 of file InvKinParametersDlgBar.cpp.

References m_Offspring, m_Parent, OnButtonSend(), parentParam, pIndividual, sendOnChange, and updateControls().

afx_msg void CInvKinParametersDlgBar::OnSize ( UINT  nType,
int  cx,
int  cy 
) [protected]

Reimplemented from CDynamicDialog.

void CInvKinParametersDlgBar::OnWalkParamLoad (  )  [protected]

Definition at line 798 of file InvKinParametersDlgBar.cpp.

References InFile::exists(), File::getGTDir(), OnButtonSend(), pIndividual, and updateControls().

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::OnWalkParamSave (  )  [protected]

Definition at line 839 of file InvKinParametersDlgBar.cpp.

References OutFile::exists(), File::getGTDir(), and pIndividual.

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::OnWalkParamStop (  )  [protected]

Definition at line 940 of file InvKinParametersDlgBar.cpp.

References distance, evolveParam, Individual::fitness, getFitness(), m_Offspring, parentParam, and setSpeed().

Referenced by OnWalkParamWalk().

void CInvKinParametersDlgBar::OnWalkParamWalk (  )  [protected]

Definition at line 923 of file InvKinParametersDlgBar.cpp.

References IDC_INVKINPAR_BUTTON_WALK, OnButtonSend(), OnWalkParamStop(), startWalking(), and walking.

void CInvKinParametersDlgBar::OnWriteLogFile (  )  [protected]

Definition at line 1266 of file InvKinParametersDlgBar.cpp.

References File::getGTDir(), logFilePathAndName, saveContextMenu(), and writeLogFile.

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::pasteFromClipboard (  )  [protected]

Definition at line 600 of file InvKinParametersDlgBar.cpp.

References jointDataInvalidValue, InvKinWalkingParameters::numOfFootModes, OnButtonSend(), pIndividual, and updateControls().

Referenced by OnContextMenu().

void CInvKinParametersDlgBar::readContextMenu (  )  [protected]

Definition at line 1078 of file InvKinParametersDlgBar.cpp.

References File::getGTDir(), logFilePathAndName, READPROFINT, and writeLogFile.

Referenced by OnContextMenu(), and OnInitDialog().

void CInvKinParametersDlgBar::saveContextMenu (  )  [protected]

Definition at line 1035 of file InvKinParametersDlgBar.cpp.

References writeLogFile, and WRITEPROFINT.

Referenced by OnWriteLogFile().

void CInvKinParametersDlgBar::setDefaults (  )  [protected]

Definition at line 306 of file InvKinParametersDlgBar.cpp.

References evolveParam, and parentParam.

Referenced by OnContextMenu(), and OnInitDialog().

void CInvKinParametersDlgBar::setRanges (  )  [protected]

Definition at line 285 of file InvKinParametersDlgBar.cpp.

References maxParam, and minParam.

Referenced by OnInitDialog().

void CInvKinParametersDlgBar::setSlider ( double  min,
double  max,
double  value,
CSliderCtrl &  slider,
CEdit &  textctrl 
) [protected]

Definition at line 447 of file InvKinParametersDlgBar.cpp.

References buffer, smallFont, tFormat(), and valueToSliderPos().

Referenced by updateControls().

void CInvKinParametersDlgBar::setSpeed (  )  [protected]

Definition at line 954 of file InvKinParametersDlgBar.cpp.

References buffer, evolveParam, Individual::fitness, IDC_INVKINPAR_TEXTSPEEDOFFSPRING, IDC_INVKINPAR_TEXTSPEEDPARENT, parentParam, and tFormat().

Referenced by OnWalkParamStop(), and updateControls().

double CInvKinParametersDlgBar::sliderPosToValue ( int  position,
double  min,
double  max 
) [protected]

Definition at line 367 of file InvKinParametersDlgBar.cpp.

Referenced by OnCustomdrawSlider().

void CInvKinParametersDlgBar::startWalking (  )  [protected]

Definition at line 981 of file InvKinParametersDlgBar.cpp.

References OutMessage::bin, WalkRequest::debug, OutMessage::finishMessage(), SystemCall::getCurrentSystemTime(), getQueues(), SystemCall::getTimeSince(), HeadControlMode::headControlMode, headControlMode, headMotionRequest, idHeadControlMode, idHeadMotionRequest, idMotionRequest, lastSentTimeB, motionRequest, MotionRequest::motionType, HeadControlMode::none, TailRequest::noTailWag, MessageQueue::out, HeadMotionRequest::pan, HeadMotionRequest::roll, CRobotControlQueuesToRobots::selectedRobot, MotionRequest::stabilize, startTime, MotionRequest::tailRequest, TailRequest::tailRequestID, HeadMotionRequest::tilt, CRobotControlQueues::toPhysical, CRobotControlQueues::toSimulated, MotionRequest::walk, walkMaxForwardSpeed, WalkRequest::walkParams, MotionRequest::walkRequest, and WalkRequest::walkType.

Referenced by OnWalkParamWalk().

void CInvKinParametersDlgBar::tFormat ( CString &  buffer,
double &  paramName 
) [protected]

Definition at line 529 of file InvKinParametersDlgBar.cpp.

Referenced by adaptMutationStrength(), OnChangeMutationStrength(), OnCustomdrawSlider(), OnInitDialog(), setSlider(), setSpeed(), walkParamToTextBuffer(), and WriteLogFile().

void CInvKinParametersDlgBar::updateControls (  )  [protected]

Definition at line 465 of file InvKinParametersDlgBar.cpp.

References InvKinWalkingParameters::footMode, m_ComboFootMode, m_Slider_bodyShiftOffset, m_Slider_bodyShiftX, m_Slider_bodyShiftY, m_Slider_bodyTiltOffset, m_Slider_counterRotation, m_Slider_foreCenterX, m_Slider_foreFootLift, m_Slider_foreFootTilt, m_Slider_foreHeight, m_Slider_foreWidth, m_Slider_groundPhase, m_Slider_hindCenterX, m_Slider_hindFootLift, m_Slider_hindFootTilt, m_Slider_hindHeight, m_Slider_hindWidth, m_Slider_legPhase, m_Slider_legSpeedFactorR, m_Slider_legSpeedFactorX, m_Slider_legSpeedFactorY, m_Slider_liftPhase, m_Slider_loweringPhase, m_Slider_maxRotationChange, m_Slider_maxSpeedXChange, m_Slider_maxSpeedYChange, m_Slider_maxStepSizeX, m_Slider_maxStepSizeY, m_Slider_stepLen, m_Value_bodyShiftOffset, m_Value_bodyShiftX, m_Value_bodyShiftY, m_Value_bodyTiltOffset, m_Value_counterRotation, m_Value_foreCenterX, m_Value_foreFootLift, m_Value_foreFootTilt, m_Value_foreHeight, m_Value_foreWidth, m_Value_groundPhase, m_Value_hindCenterX, m_Value_hindFootLift, m_Value_hindFootTilt, m_Value_hindHeight, m_Value_hindWidth, m_Value_legPhase, m_Value_legSpeedFactorR, m_Value_legSpeedFactorX, m_Value_legSpeedFactorY, m_Value_liftPhase, m_Value_loweringPhase, m_Value_maxRotationChange, m_Value_maxSpeedXChange, m_Value_maxSpeedYChange, m_Value_maxStepSizeX, m_Value_maxStepSizeY, m_Value_stepLen, pIndividual, SETOFVALUES, setSlider(), and setSpeed().

Referenced by initControls(), OnContextMenu(), OnKillFocusEditCtrls(), OnSelectOffspring(), OnSelectParent(), OnWalkParamLoad(), and pasteFromClipboard().

void CInvKinParametersDlgBar::updateUI ( CCmdUI *  pCmdUI  )  [protected, virtual]

Enables the controls in the toolbar. This function is called from the main window for all controls.

Parameters:
pCmdUI An interface to the control that allows enabling/disabling, checking etc.

Reimplemented from CRobotControlDialogBar.

Definition at line 198 of file InvKinParametersDlgBar.cpp.

int CInvKinParametersDlgBar::valueToSliderPos ( double  min,
double  max,
double  value 
) [protected]

Definition at line 362 of file InvKinParametersDlgBar.cpp.

Referenced by setSlider().

CString CInvKinParametersDlgBar::walkParamToTextBuffer ( InvKinWalkingParameters w  )  [protected]

Definition at line 537 of file InvKinParametersDlgBar.cpp.

References InvKinWalkingParameters::bodyShiftOffset, InvKinWalkingParameters::bodyShiftX, InvKinWalkingParameters::bodyShiftY, InvKinWalkingParameters::bodyTiltOffset, InvKinWalkingParameters::counterRotation, InvKinWalkingParameters::footMode, InvKinWalkingParameters::foreCenterX, InvKinWalkingParameters::foreFootLift, InvKinWalkingParameters::foreFootTilt, InvKinWalkingParameters::foreHeight, InvKinWalkingParameters::foreWidth, InvKinWalkingParameters::groundPhase, InvKinWalkingParameters::hindCenterX, InvKinWalkingParameters::hindFootLift, InvKinWalkingParameters::hindFootTilt, InvKinWalkingParameters::hindHeight, InvKinWalkingParameters::hindWidth, InvKinWalkingParameters::legPhase, InvKinWalkingParameters::legSpeedFactorR, InvKinWalkingParameters::legSpeedFactorX, InvKinWalkingParameters::legSpeedFactorY, InvKinWalkingParameters::liftPhase, InvKinWalkingParameters::loweringPhase, InvKinWalkingParameters::maxRotationChange, InvKinWalkingParameters::maxSpeedXChange, InvKinWalkingParameters::maxSpeedYChange, InvKinWalkingParameters::maxStepSizeX, InvKinWalkingParameters::maxStepSizeY, InvKinWalkingParameters::stepLen, and tFormat().

Referenced by copyToClipboard(), and WriteLogFile().

void CInvKinParametersDlgBar::WriteLogFile (  )  [protected]

Definition at line 1129 of file InvKinParametersDlgBar.cpp.

References endl(), evolveParam, OutFile::exists(), Individual::fitness, logFilePathAndName, loggedMutStrength, m_Parent, numberOfSuccessfulMutations, parentParam, tFormat(), walkParamToTextBuffer(), and WRITEEVO.

Referenced by OnButtonMutate().


Member Data Documentation

bool CInvKinParametersDlgBar::autoMutationStrength [protected]

Definition at line 204 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), OnContextMenu(), and OnInitDialog().

CString CInvKinParametersDlgBar::buffer [protected]

Definition at line 202 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), copyToClipboard(), OnChangeDistance(), OnChangeMutationStrength(), OnCustomdrawSlider(), OnInitDialog(), OnKillFocusEditCtrls(), setSlider(), and setSpeed().

int CInvKinParametersDlgBar::distance [protected]

Definition at line 203 of file InvKinParametersDlgBar.h.

Referenced by OnChangeDistance(), OnInitDialog(), and OnWalkParamStop().

InvKinWalkingParameters CInvKinParametersDlgBar::evolveParam [protected]

Definition at line 199 of file InvKinParametersDlgBar.h.

Referenced by getNumberOfEvolveValues(), handleMessage(), OnButtonMutate(), OnContextMenu(), OnSelectOffspring(), OnWalkParamStop(), setDefaults(), setSpeed(), and WriteLogFile().

HeadControlMode CInvKinParametersDlgBar::headControlMode [protected]

Definition at line 208 of file InvKinParametersDlgBar.h.

Referenced by startWalking().

HeadMotionRequest CInvKinParametersDlgBar::headMotionRequest [protected]

Definition at line 207 of file InvKinParametersDlgBar.h.

Referenced by startWalking().

unsigned long CInvKinParametersDlgBar::lastSentTimeA [protected]

Definition at line 205 of file InvKinParametersDlgBar.h.

Referenced by OnButtonSend(), and OnInitDialog().

unsigned long CInvKinParametersDlgBar::lastSentTimeB [protected]

Definition at line 205 of file InvKinParametersDlgBar.h.

Referenced by OnInitDialog(), and startWalking().

CString CInvKinParametersDlgBar::logFilePathAndName [protected]

Definition at line 210 of file InvKinParametersDlgBar.h.

Referenced by OnWriteLogFile(), readContextMenu(), and WriteLogFile().

double CInvKinParametersDlgBar::loggedMutStrength [protected]

Definition at line 209 of file InvKinParametersDlgBar.h.

Referenced by OnButtonMutate(), OnInitDialog(), and WriteLogFile().

CButton CInvKinParametersDlgBar::m_ButtonSend

Definition at line 36 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange().

CButton CInvKinParametersDlgBar::m_Checkbox

Definition at line 37 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and OnInvKinParCheckbox().

CComboBox CInvKinParametersDlgBar::m_ComboFootMode

Definition at line 41 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), initControls(), OnSelchangeInvKinParComboFootMode(), and updateControls().

CButton CInvKinParametersDlgBar::m_Offspring

Definition at line 39 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), OnButtonMutate(), OnInitDialog(), OnSelectOffspring(), OnSelectParent(), and OnWalkParamStop().

CButton CInvKinParametersDlgBar::m_Parent

Definition at line 38 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), OnInitDialog(), OnSelectOffspring(), OnSelectParent(), and WriteLogFile().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_bodyShiftOffset

Definition at line 100 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_bodyShiftX

Definition at line 98 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_bodyShiftY

Definition at line 99 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_bodyTiltOffset

Definition at line 101 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_counterRotation

Definition at line 92 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_foreCenterX

Definition at line 76 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_foreFootLift

Definition at line 80 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_foreFootTilt

Definition at line 82 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_foreHeight

Definition at line 74 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_foreWidth

Definition at line 75 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_groundPhase[2]

Definition at line 94 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_hindCenterX

Definition at line 79 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_hindFootLift

Definition at line 81 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_hindFootTilt

Definition at line 83 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_hindHeight

Definition at line 77 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_hindWidth

Definition at line 78 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_legPhase[4]

Definition at line 97 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_legSpeedFactorR

Definition at line 86 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_legSpeedFactorX

Definition at line 84 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_legSpeedFactorY

Definition at line 85 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_liftPhase[2]

Definition at line 95 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_loweringPhase[2]

Definition at line 96 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_maxRotationChange

Definition at line 91 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_maxSpeedXChange

Definition at line 89 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_maxSpeedYChange

Definition at line 90 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_maxStepSizeX

Definition at line 87 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_maxStepSizeY

Definition at line 88 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CSliderCtrl CInvKinParametersDlgBar::m_Slider_stepLen

Definition at line 93 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), OnCustomdrawSlider_stepLen(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_bodyShiftOffset

Definition at line 68 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_bodyShiftX

Definition at line 66 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_bodyShiftY

Definition at line 67 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_bodyTiltOffset

Definition at line 69 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_counterRotation

Definition at line 60 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_foreCenterX

Definition at line 44 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_foreFootLift

Definition at line 48 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_foreFootTilt

Definition at line 50 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_foreHeight

Definition at line 42 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_foreWidth

Definition at line 43 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_groundPhase[2]

Definition at line 62 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_hindCenterX

Definition at line 47 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_hindFootLift

Definition at line 49 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_hindFootTilt

Definition at line 51 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_hindHeight

Definition at line 45 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_hindWidth

Definition at line 46 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_legPhase[4]

Definition at line 65 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_legSpeedFactorR

Definition at line 54 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_legSpeedFactorX

Definition at line 52 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_legSpeedFactorY

Definition at line 53 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_liftPhase[2]

Definition at line 63 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_loweringPhase[2]

Definition at line 64 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_maxRotationChange

Definition at line 59 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_maxSpeedXChange

Definition at line 57 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_maxSpeedYChange

Definition at line 58 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_maxStepSizeX

Definition at line 55 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_maxStepSizeY

Definition at line 56 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), and updateControls().

CEdit CInvKinParametersDlgBar::m_Value_stepLen

Definition at line 61 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), OnCustomdrawSlider_stepLen(), OnKillFocusEditCtrls(), and updateControls().

CEdit CInvKinParametersDlgBar::m_ValueDistance

Definition at line 71 of file InvKinParametersDlgBar.h.

Referenced by DoDataExchange(), OnChangeDistance(), and OnInitDialog().

CEdit CInvKinParametersDlgBar::m_ValueMutationStrength

Definition at line 72 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), DoDataExchange(), OnChangeMutationStrength(), and OnInitDialog().

InvKinWalkingParameters CInvKinParametersDlgBar::maxParam [protected]

Definition at line 199 of file InvKinParametersDlgBar.h.

Referenced by OnCustomdrawSlider_stepLen(), and setRanges().

InvKinWalkingParameters CInvKinParametersDlgBar::minParam [protected]

Definition at line 199 of file InvKinParametersDlgBar.h.

Referenced by OnCustomdrawSlider_stepLen(), and setRanges().

MotionRequest CInvKinParametersDlgBar::motionRequest [protected]

Definition at line 206 of file InvKinParametersDlgBar.h.

Referenced by getFitness(), and startWalking().

double CInvKinParametersDlgBar::mutationStrength [protected]

Definition at line 209 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), OnButtonMutate(), OnChangeMutationStrength(), and OnInitDialog().

int CInvKinParametersDlgBar::numberOfMutations [protected]

Definition at line 203 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), OnButtonMutate(), and OnInitDialog().

int CInvKinParametersDlgBar::numberOfSuccessfulMutations [protected]

Definition at line 203 of file InvKinParametersDlgBar.h.

Referenced by adaptMutationStrength(), OnButtonMutate(), OnInitDialog(), and WriteLogFile().

InvKinWalkingParameters CInvKinParametersDlgBar::parentParam [protected]

Definition at line 199 of file InvKinParametersDlgBar.h.

Referenced by OnButtonMutate(), OnInitDialog(), OnSelectParent(), OnWalkParamStop(), setDefaults(), setSpeed(), and WriteLogFile().

InvKinWalkingParameters* CInvKinParametersDlgBar::pIndividual [protected]

Definition at line 200 of file InvKinParametersDlgBar.h.

Referenced by copyToClipboard(), OnButtonSend(), OnCustomdrawSlider_stepLen(), OnInitDialog(), OnKillFocusEditCtrls(), OnSelchangeInvKinParComboFootMode(), OnSelectOffspring(), OnSelectParent(), OnWalkParamLoad(), OnWalkParamSave(), pasteFromClipboard(), and updateControls().

bool CInvKinParametersDlgBar::sendOnChange

Definition at line 31 of file InvKinParametersDlgBar.h.

Referenced by OnCustomdrawSlider(), OnInitDialog(), OnInvKinParCheckbox(), OnSelchangeInvKinParComboFootMode(), OnSelectOffspring(), and OnSelectParent().

CFont CInvKinParametersDlgBar::smallFont [protected]

Definition at line 212 of file InvKinParametersDlgBar.h.

Referenced by OnInitDialog(), and setSlider().

unsigned long CInvKinParametersDlgBar::startTime [protected]

Definition at line 205 of file InvKinParametersDlgBar.h.

Referenced by getFitness(), and startWalking().

char CInvKinParametersDlgBar::tmp[6] [protected]

Definition at line 201 of file InvKinParametersDlgBar.h.

Referenced by OnChangeDistance(), and OnInitDialog().

bool CInvKinParametersDlgBar::walking

Definition at line 31 of file InvKinParametersDlgBar.h.

Referenced by OnInitDialog(), and OnWalkParamWalk().

bool CInvKinParametersDlgBar::writeLogFile [protected]

Definition at line 204 of file InvKinParametersDlgBar.h.

Referenced by OnButtonMutate(), OnContextMenu(), OnWriteLogFile(), readContextMenu(), and saveContextMenu().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:21:50 2006 for DT2005.panorama by  doxygen 1.4.7