Basic RT components and utilities
315.12.1
|
import "AutoBalancerService.idl";
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< Footstep > | FootstepSequence |
typedef sequence< StepParam > | StepParamSequence |
typedef sequence< Footsteps > | FootstepsSequence |
typedef sequence< StepParams > | StepParamsSequence |
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. |
typedef double OpenHRP::AutoBalancerService::DblArray2[2] |
typedef double OpenHRP::AutoBalancerService::DblArray3[3] |
typedef double OpenHRP::AutoBalancerService::DblArray4[4] |
typedef double OpenHRP::AutoBalancerService::DblArray5[5] |
typedef sequence<double, 3> OpenHRP::AutoBalancerService::DblSequence3 |
typedef sequence<Footstep> OpenHRP::AutoBalancerService::FootstepSequence |
typedef sequence<Footsteps> OpenHRP::AutoBalancerService::FootstepsSequence |
typedef sequence<StepParam> OpenHRP::AutoBalancerService::StepParamSequence |
typedef sequence<StepParams> OpenHRP::AutoBalancerService::StepParamsSequence |
typedef sequence<string> OpenHRP::AutoBalancerService::StrSequence |
boolean OpenHRP::AutoBalancerService::adjustFootSteps | ( | in Footstep | rfootstep, |
in Footstep | lfootstep | ||
) |
Adjust Footsteps.
@return | true if set successfully, false otherwise |
boolean OpenHRP::AutoBalancerService::emergencyStop | ( | ) |
Stop stepping immediately.
@return | true if set successfully, false otherwise |
boolean OpenHRP::AutoBalancerService::getAutoBalancerParam | ( | out AutoBalancerParam | i_param | ) |
Get AutoBalancer parameters.
i_param | is output parameters |
boolean OpenHRP::AutoBalancerService::getFootstepParam | ( | out FootstepParam | i_param | ) |
Get footstep parameters.
i_param | is output parameters |
boolean OpenHRP::AutoBalancerService::getGaitGeneratorParam | ( | out GaitGeneratorParam | i_param | ) |
Get GaitGenerator parameters.
i_param | is output parameters |
boolean OpenHRP::AutoBalancerService::getGoPosFootstepsSequence | ( | in double | x, |
in double | y, | ||
in double | th, | ||
out FootstepsSequence | o_footstep | ||
) |
Get GoPos Footstep list.
i_x[m],i_y[m],and | i_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. |
boolean OpenHRP::AutoBalancerService::getRemainingFootstepSequence | ( | out FootstepSequence | o_footstep, |
out long | o_current_fs_idx | ||
) |
Get remaining footstep list.
o_footstep | is 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. |
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.
i_x[m],i_y[m],and | i_th[deg] are goal x-y-position and z-orientation from the current mid-coords of right foot and left foot. |
boolean OpenHRP::AutoBalancerService::goStop | ( | ) |
Stop stepping.
@return | true 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.
i_vx[m/s],i_vy[m/s],and | i_vth[deg/s] are velocity in the current mid-coords of right foot and left foot. |
Release emergency stop mode.
@return | true if set successfully, false otherwise |
boolean OpenHRP::AutoBalancerService::setAutoBalancerParam | ( | in AutoBalancerParam | i_param | ) |
Set AutoBalancer parameters.
i_param | is input parameter |
boolean OpenHRP::AutoBalancerService::setFootSteps | ( | in FootstepsSequence | fss, |
in long | overwrite_fs_idx | ||
) |
Set footsteps.
Returns without waiting for whole steps to be executed.
fss | is sequence of FootStep structure. overwrite_fs_idx is index to be overwritten. overwrite_fs_idx is used only in walking. |
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.
fss | is sequence of FootStepWithParam structure. overwrite_fs_idx is index to be overwritten. overwrite_fs_idx is used only in walking. |
boolean OpenHRP::AutoBalancerService::setGaitGeneratorParam | ( | in GaitGeneratorParam | i_param | ) |
Set GaitGenerator parameters.
i_param | is input parameter |
boolean OpenHRP::AutoBalancerService::startAutoBalancer | ( | in StrSequence | limbs | ) |
Start AutoBalancer mode in which the robot controls the COM.
limbs | is sequence of limbs to fix. limbs are :rleg, :lleg, :rarm, and :larm |
boolean OpenHRP::AutoBalancerService::stopAutoBalancer | ( | ) |
Stop AutoBalancer mode.
@return | true if set successfully, false otherwise |
Wait for whole footsteps are executed.
@return | true if set successfully, false otherwise |
void OpenHRP::AutoBalancerService::waitFootStepsEarly | ( | in double | tm | ) |
Wait for whole footsteps are executed.
tm | is early time from stepping finish |