C# 클래스 LegFrame, promenade

상속: MonoBehaviour, IOptimizable
파일 보기 프로젝트 열기: jarllarsson/promenade 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
c_legCount int
m_FootTrackingSpringDamper PID,
m_desiredLFTorquePD PIDn,
m_feet FootStrikeChecker[],
m_footLiftPlacement Vector3[]
m_footLiftPlacementPerformed bool[]
m_footStrikePlacement Vector3[]
m_footTarget Vector3[]
m_heightForceCalc PID,
m_id int
m_lateStrikeOffsetDeltaH float
m_legJointIds int[]
m_legSegmentGravityCompVirtualForces Vector3[]
m_neighbourJointIds int[]
m_netLegBaseVirtualForces Vector3[]
m_tuneFootPlacementVelocityScale float
m_tuneFootTransitionEase PcswiseLinear,
m_tuneHeightForcePIDKp float
m_tuneLFHeightTraj PcswiseLinear,
m_tuneOrientationLFTraj PcswiseLinear[],
m_tunePropGainFootTrackingKft PcswiseLinear,
m_tuneStepCycles StepCycle[],
m_tuneStepHeightTraj PcswiseLinear,
m_tuneStepLength Vector2
m_tuneVelocityRegulatorKv float

공개 메소드들

메소드 설명
Awake ( ) : void
ConsumeParams ( List p_params ) : void
GetParams ( ) : List
GetParamsMax ( ) : List
GetParamsMin ( ) : List
OnDrawGizmos ( ) : void
OptimizePDs ( bool p_opt ) : void
Start ( ) : void
Update ( ) : void
applyNetLegFrameTorque ( Vector3 p_currentTorques, float p_phi ) : Vector3[]
calculateFgravcomp ( int p_legSegmentId, Rigidbody p_legSegment ) : void
calculateFh ( float p_phi, float p_currentH, float p_dt, Vector3 p_up ) : void
calculateFsw ( int p_legId, float p_phi ) : void
calculateFv ( Vector3 p_currentVelocity, Vector3 p_desiredVelocity ) : void
calculateNetLegVF ( float p_phi, float p_dt, Vector3 p_currentVelocity, Vector3 p_desiredVelocity ) : void
getCurrentDesiredOrientation ( float p_phi ) : Quaternion
getGraphedFootPos ( int p_idx ) : float
getOptimalProgress ( ) : float
getReferenceFootPos ( int p_idx ) : Vector3
getReferenceLiftPos ( int p_idx ) : Vector3
isInControlledStance ( int p_idx, float p_phi ) : bool
tempApplyFootTorque ( float p_phi ) : void
updateFeet ( float p_phi, Vector3 p_velocity, Vector3 p_desiredVelocity ) : void
updateReferenceFeetPositions ( float p_phi, float p_t, Vector3 p_goalVelocity ) : void

비공개 메소드들

메소드 설명
calculateFD ( int p_legId ) : Vector3
calculateStanceLegVF ( int p_legId, int p_stanceLegCount ) : Vector3
calculateSwingLegVF ( int p_legId ) : Vector3
calculateVelocityScaledFootPos ( Vector3 p_footPosLF, Vector3 p_velocity, Vector3 p_desiredVelocity ) : Vector3
drawLegEstimation ( ) : void
getFootTransitionPhase ( float p_swingPhi ) : float
getPDTorque ( Quaternion p_desiredOrientation ) : Vector3
offsetFootTargetDownOnLateStrike ( int p_idx ) : void
projectFootPosToGround ( Vector3 p_footPosLF ) : Vector3
separateLegsPerPhase ( float p_phi, List &p_stanceLegs, List &p_swingLegs ) : void
updateFootStrikePosition ( int p_idx, float p_phi, Vector3 p_velocity, Vector3 p_desiredVelocity ) : void
updateFootSwingPosition ( int p_idx, float p_phi ) : void

메소드 상세

Awake() 공개 메소드

public Awake ( ) : void
리턴 void

ConsumeParams() 공개 메소드

public ConsumeParams ( List p_params ) : void
p_params List
리턴 void

GetParams() 공개 메소드

public GetParams ( ) : List
리턴 List

GetParamsMax() 공개 메소드

public GetParamsMax ( ) : List
리턴 List

GetParamsMin() 공개 메소드

public GetParamsMin ( ) : List
리턴 List

OnDrawGizmos() 공개 메소드

public OnDrawGizmos ( ) : void
리턴 void

OptimizePDs() 공개 메소드

public OptimizePDs ( bool p_opt ) : void
p_opt bool
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

applyNetLegFrameTorque() 공개 메소드

public applyNetLegFrameTorque ( Vector3 p_currentTorques, float p_phi ) : Vector3[]
p_currentTorques Vector3
p_phi float
리턴 Vector3[]

calculateFgravcomp() 공개 메소드

public calculateFgravcomp ( int p_legSegmentId, Rigidbody p_legSegment ) : void
p_legSegmentId int
p_legSegment UnityEngine.Rigidbody
리턴 void

calculateFh() 공개 메소드

public calculateFh ( float p_phi, float p_currentH, float p_dt, Vector3 p_up ) : void
p_phi float
p_currentH float
p_dt float
p_up Vector3
리턴 void

calculateFsw() 공개 메소드

public calculateFsw ( int p_legId, float p_phi ) : void
p_legId int
p_phi float
리턴 void

calculateFv() 공개 메소드

public calculateFv ( Vector3 p_currentVelocity, Vector3 p_desiredVelocity ) : void
p_currentVelocity Vector3
p_desiredVelocity Vector3
리턴 void

calculateNetLegVF() 공개 메소드

public calculateNetLegVF ( float p_phi, float p_dt, Vector3 p_currentVelocity, Vector3 p_desiredVelocity ) : void
p_phi float
p_dt float
p_currentVelocity Vector3
p_desiredVelocity Vector3
리턴 void

getCurrentDesiredOrientation() 공개 메소드

public getCurrentDesiredOrientation ( float p_phi ) : Quaternion
p_phi float
리턴 Quaternion

getGraphedFootPos() 공개 메소드

public getGraphedFootPos ( int p_idx ) : float
p_idx int
리턴 float

getOptimalProgress() 공개 메소드

public getOptimalProgress ( ) : float
리턴 float

getReferenceFootPos() 공개 메소드

public getReferenceFootPos ( int p_idx ) : Vector3
p_idx int
리턴 Vector3

getReferenceLiftPos() 공개 메소드

public getReferenceLiftPos ( int p_idx ) : Vector3
p_idx int
리턴 Vector3

isInControlledStance() 공개 메소드

public isInControlledStance ( int p_idx, float p_phi ) : bool
p_idx int
p_phi float
리턴 bool

tempApplyFootTorque() 공개 메소드

public tempApplyFootTorque ( float p_phi ) : void
p_phi float
리턴 void

updateFeet() 공개 메소드

public updateFeet ( float p_phi, Vector3 p_velocity, Vector3 p_desiredVelocity ) : void
p_phi float
p_velocity Vector3
p_desiredVelocity Vector3
리턴 void

updateReferenceFeetPositions() 공개 메소드

public updateReferenceFeetPositions ( float p_phi, float p_t, Vector3 p_goalVelocity ) : void
p_phi float
p_t float
p_goalVelocity Vector3
리턴 void

프로퍼티 상세

c_legCount 공개적으로 정적으로 프로퍼티

public static int c_legCount
리턴 int

m_FootTrackingSpringDamper 공개적으로 프로퍼티

public PID, m_FootTrackingSpringDamper
리턴 PID,

m_desiredLFTorquePD 공개적으로 프로퍼티

public PIDn, m_desiredLFTorquePD
리턴 PIDn,

m_feet 공개적으로 프로퍼티

public FootStrikeChecker[], m_feet
리턴 FootStrikeChecker[],

m_footLiftPlacement 공개적으로 프로퍼티

public Vector3[] m_footLiftPlacement
리턴 Vector3[]

m_footLiftPlacementPerformed 공개적으로 프로퍼티

public bool[] m_footLiftPlacementPerformed
리턴 bool[]

m_footStrikePlacement 공개적으로 프로퍼티

public Vector3[] m_footStrikePlacement
리턴 Vector3[]

m_footTarget 공개적으로 프로퍼티

public Vector3[] m_footTarget
리턴 Vector3[]

m_heightForceCalc 공개적으로 프로퍼티

public PID, m_heightForceCalc
리턴 PID,

m_id 공개적으로 프로퍼티

public int m_id
리턴 int

m_lateStrikeOffsetDeltaH 공개적으로 프로퍼티

public float m_lateStrikeOffsetDeltaH
리턴 float

m_legJointIds 공개적으로 프로퍼티

public int[] m_legJointIds
리턴 int[]

m_legSegmentGravityCompVirtualForces 공개적으로 프로퍼티

public Vector3[] m_legSegmentGravityCompVirtualForces
리턴 Vector3[]

m_neighbourJointIds 공개적으로 프로퍼티

public int[] m_neighbourJointIds
리턴 int[]

m_netLegBaseVirtualForces 공개적으로 프로퍼티

public Vector3[] m_netLegBaseVirtualForces
리턴 Vector3[]

m_tuneFootPlacementVelocityScale 공개적으로 프로퍼티

public float m_tuneFootPlacementVelocityScale
리턴 float

m_tuneFootTransitionEase 공개적으로 프로퍼티

public PcswiseLinear, m_tuneFootTransitionEase
리턴 PcswiseLinear,

m_tuneHeightForcePIDKp 공개적으로 프로퍼티

public float m_tuneHeightForcePIDKp
리턴 float

m_tuneLFHeightTraj 공개적으로 프로퍼티

public PcswiseLinear, m_tuneLFHeightTraj
리턴 PcswiseLinear,

m_tuneOrientationLFTraj 공개적으로 프로퍼티

public PcswiseLinear[], m_tuneOrientationLFTraj
리턴 PcswiseLinear[],

m_tunePropGainFootTrackingKft 공개적으로 프로퍼티

public PcswiseLinear, m_tunePropGainFootTrackingKft
리턴 PcswiseLinear,

m_tuneStepCycles 공개적으로 프로퍼티

public StepCycle[], m_tuneStepCycles
리턴 StepCycle[],

m_tuneStepHeightTraj 공개적으로 프로퍼티

public PcswiseLinear, m_tuneStepHeightTraj
리턴 PcswiseLinear,

m_tuneStepLength 공개적으로 프로퍼티

public Vector2 m_tuneStepLength
리턴 Vector2

m_tuneVelocityRegulatorKv 공개적으로 프로퍼티

public float m_tuneVelocityRegulatorKv
리턴 float