Basic RT components and utilities  315.12.1
Classes | Public Types | Public Member Functions
OpenHRP::AutoBalancerService Interface Reference

import "AutoBalancerService.idl";

List of all members.

Classes

struct  AutoBalancerParam
 Parameters for AutoBalancer. More...
struct  Footstep
 Foot step for one leg. More...
struct  FootstepParam
 Foot step parameters. More...
struct  Footsteps
 Foot step for multi legs. More...
struct  GaitGeneratorParam
 Parameters for GaitGenerator. More...
struct  IKLimbParameters
struct  StepParam
 Step parameter for one step. More...
struct  StepParams
 Step parameters for multi step. More...

Public Types

enum  SupportLegState { RLEG, LLEG, BOTH }
 State of support leg. More...
enum  OrbitType {
  SHUFFLING, CYCLOID, RECTANGLE, STAIR,
  CYCLOIDDELAY, CYCLOIDDELAYKICK, CROSS
}
 Orbit type of swing foot. More...
enum  GaitType {
  BIPED, TROT, PACE, CRAWL,
  GALLOP
}
 Gait type. More...
enum  ControllerMode { MODE_IDLE, MODE_ABC, MODE_SYNC_TO_IDLE, MODE_SYNC_TO_ABC }
 Mode of controller. More...
enum  UseForceMode { MODE_NO_FORCE, MODE_REF_FORCE }
 Mode of use_force. More...
enum  StrideLimitationType { SQUARE, CIRCLE }
 Type of stride limitation. More...
typedef sequence< double, 3 > DblSequence3
typedef double DblArray2 [2]
typedef double DblArray3 [3]
typedef double DblArray4 [4]
typedef double DblArray5 [5]
typedef sequence< FootstepFootstepSequence
typedef sequence< StepParamStepParamSequence
typedef sequence< FootstepsFootstepsSequence
typedef sequence< StepParamsStepParamsSequence
typedef sequence< string > StrSequence

Public Member Functions

boolean goPos (in double x, in double y, in double th)
 Walk to the goal position and orientation.
boolean goVelocity (in double vx, in double vy, in double vth)
 Walk at the desired velocity.
boolean goStop ()
 Stop stepping.
boolean emergencyStop ()
 Stop stepping immediately.
boolean setFootSteps (in FootstepsSequence fss, in long overwrite_fs_idx)
 Set footsteps.
boolean setFootStepsWithParam (in FootstepsSequence fss, in StepParamsSequence spss, in long overwrite_fs_idx)
 Set footsteps.
void waitFootSteps ()
 Wait for whole footsteps are executed.
void waitFootStepsEarly (in double tm)
 Wait for whole footsteps are executed.
boolean startAutoBalancer (in StrSequence limbs)
 Start AutoBalancer mode in which the robot controls the COM.
boolean stopAutoBalancer ()
 Stop AutoBalancer mode.
boolean setGaitGeneratorParam (in GaitGeneratorParam i_param)
 Set GaitGenerator parameters.
boolean getGaitGeneratorParam (out GaitGeneratorParam i_param)
 Get GaitGenerator parameters.
boolean setAutoBalancerParam (in AutoBalancerParam i_param)
 Set AutoBalancer parameters.
boolean getAutoBalancerParam (out AutoBalancerParam i_param)
 Get AutoBalancer parameters.
boolean getFootstepParam (out FootstepParam i_param)
 Get footstep parameters.
boolean adjustFootSteps (in Footstep rfootstep, in Footstep lfootstep)
 Adjust Footsteps.
boolean getRemainingFootstepSequence (out FootstepSequence o_footstep, out long o_current_fs_idx)
 Get remaining footstep list.
boolean getGoPosFootstepsSequence (in double x, in double y, in double th, out FootstepsSequence o_footstep)
 Get GoPos Footstep list.
boolean releaseEmergencyStop ()
 Release emergency stop mode.

Member Typedef Documentation

typedef sequence<double, 3> OpenHRP::AutoBalancerService::DblSequence3

Member Enumeration Documentation

Mode of controller.

Enumerator:
MODE_IDLE 
MODE_ABC 
MODE_SYNC_TO_IDLE 
MODE_SYNC_TO_ABC 

Gait type.

Enumerator:
BIPED 
TROT 
PACE 
CRAWL 
GALLOP 

Orbit type of swing foot.

Enumerator:
SHUFFLING 
CYCLOID 
RECTANGLE 
STAIR 
CYCLOIDDELAY 
CYCLOIDDELAYKICK 
CROSS 

Type of stride limitation.

Enumerator:
SQUARE 
CIRCLE 

State of support leg.

Enumerator:
RLEG 
LLEG 
BOTH 

Mode of use_force.

Enumerator:
MODE_NO_FORCE 
MODE_REF_FORCE 

Member Function Documentation

boolean OpenHRP::AutoBalancerService::adjustFootSteps ( in Footstep  rfootstep,
in Footstep  lfootstep 
)

Adjust Footsteps.

Parameters:
@returntrue if set successfully, false otherwise

Stop stepping immediately.

Parameters:
@returntrue if set successfully, false otherwise

Get AutoBalancer parameters.

Parameters:
i_paramis output parameters
Returns:
true if set successfully, false otherwise

Get footstep parameters.

Parameters:
i_paramis output parameters
Returns:
true if set successfully, false otherwise

Get GaitGenerator parameters.

Parameters:
i_paramis output parameters
Returns:
true if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::getGoPosFootstepsSequence ( in double  x,
in double  y,
in double  th,
out FootstepsSequence  o_footstep 
)

Get GoPos Footstep list.

Parameters:
i_x[m],i_y[m],andi_th[deg] are goal x-y-position and z-orientation from the current mid-coords of right foot and left foot. o_footstep is footstep sequence.
Returns:
true if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::getRemainingFootstepSequence ( out FootstepSequence  o_footstep,
out long  o_current_fs_idx 
)

Get remaining footstep list.

Parameters:
o_footstepis remaining footstep sequence. For example, if initial footsteps are [rfoot(0), lfoot(1), ..., rfoot(N-1)] (rfoot(0) is initial support foot and lfoot(1) is initial swing destination foot) and current support foot is lfoot(X-1), o_footstep is [rfoot(X), lfoot(X+1), ..., rfoot(N)]. o_current_fs_idx is current footstep index X.
Returns:
true if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::goPos ( in double  x,
in double  y,
in double  th 
)

Walk to the goal position and orientation.

Returns without waiting for whole steps to be executed.

Parameters:
i_x[m],i_y[m],andi_th[deg] are goal x-y-position and z-orientation from the current mid-coords of right foot and left foot.
Returns:
true if set successfully, false otherwise

Stop stepping.

Parameters:
@returntrue if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::goVelocity ( in double  vx,
in double  vy,
in double  vth 
)

Walk at the desired velocity.

If the robot is stopping, the robot starts stepping. Returns without waiting for whole steps to be executed.

Parameters:
i_vx[m/s],i_vy[m/s],andi_vth[deg/s] are velocity in the current mid-coords of right foot and left foot.
Returns:
true if set successfully, false otherwise

Release emergency stop mode.

Parameters:
@returntrue if set successfully, false otherwise

Set AutoBalancer parameters.

Parameters:
i_paramis input parameter
Returns:
true if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::setFootSteps ( in FootstepsSequence  fss,
in long  overwrite_fs_idx 
)

Set footsteps.

Returns without waiting for whole steps to be executed.

Parameters:
fssis sequence of FootStep structure. overwrite_fs_idx is index to be overwritten. overwrite_fs_idx is used only in walking.
Returns:
true if set successfully, false otherwise
boolean OpenHRP::AutoBalancerService::setFootStepsWithParam ( in FootstepsSequence  fss,
in StepParamsSequence  spss,
in long  overwrite_fs_idx 
)

Set footsteps.

Returns without waiting for whole steps to be executed.

Parameters:
fssis sequence of FootStepWithParam structure. overwrite_fs_idx is index to be overwritten. overwrite_fs_idx is used only in walking.
Returns:
true if set successfully, false otherwise

Set GaitGenerator parameters.

Parameters:
i_paramis input parameter
Returns:
true if set successfully, false otherwise

Start AutoBalancer mode in which the robot controls the COM.

Parameters:
limbsis sequence of limbs to fix. limbs are :rleg, :lleg, :rarm, and :larm
Returns:
true if set successfully, false otherwise

Stop AutoBalancer mode.

Parameters:
@returntrue if set successfully, false otherwise

Wait for whole footsteps are executed.

Parameters:
@returntrue if set successfully, false otherwise

Wait for whole footsteps are executed.

Parameters:
tmis early time from stepping finish
Returns:
true if set successfully, false otherwise

The documentation for this interface was generated from the following file: