#include <AutoBalancer.h>
Definition at line 42 of file AutoBalancer.h.
typedef boost::shared_ptr<SimpleFullbodyInverseKinematicsSolver> AutoBalancer::fikPtr [private] |
Definition at line 249 of file AutoBalancer.h.
typedef boost::shared_ptr<rats::gait_generator> AutoBalancer::ggPtr [private] |
Definition at line 245 of file AutoBalancer.h.
anonymous enum [private] |
Definition at line 252 of file AutoBalancer.h.
anonymous enum [private] |
Definition at line 253 of file AutoBalancer.h.
anonymous enum [private] |
Definition at line 278 of file AutoBalancer.h.
AutoBalancer::AutoBalancer | ( | RTC::Manager * | manager | ) |
Definition at line 54 of file AutoBalancer.cpp.
AutoBalancer::~AutoBalancer | ( | ) | [virtual] |
Definition at line 89 of file AutoBalancer.cpp.
bool AutoBalancer::adjustFootSteps | ( | const OpenHRP::AutoBalancerService::Footstep & | rfootstep, |
const OpenHRP::AutoBalancerService::Footstep & | lfootstep | ||
) |
Definition at line 1906 of file AutoBalancer.cpp.
bool AutoBalancer::calc_inital_support_legs | ( | const double & | y, |
std::vector< rats::coordinates > & | initial_support_legs_coords, | ||
std::vector< rats::leg_type > & | initial_support_legs, | ||
rats::coordinates & | start_ref_coords | ||
) | [private] |
Definition at line 2130 of file AutoBalancer.cpp.
void AutoBalancer::calc_static_balance_point_from_forces | ( | hrp::Vector3 & | sb_point, |
const hrp::Vector3 & | tmpcog, | ||
const double | ref_com_height, | ||
std::vector< hrp::Vector3 > & | tmp_forces | ||
) | [private] |
Definition at line 2033 of file AutoBalancer.cpp.
hrp::Vector3 AutoBalancer::calc_vel_from_hand_error | ( | const rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 2090 of file AutoBalancer.cpp.
void AutoBalancer::calcFixCoordsForAdjustFootstep | ( | rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 882 of file AutoBalancer.cpp.
hrp::Vector3 AutoBalancer::calcFootMidPosUsingZMPWeightMap | ( | ) | [private] |
Definition at line 981 of file AutoBalancer.cpp.
void AutoBalancer::calcReferenceJointAnglesForIK | ( | ) | [private] |
Definition at line 1011 of file AutoBalancer.cpp.
void AutoBalancer::calculateOutputRefForces | ( | ) | [private] |
Definition at line 956 of file AutoBalancer.cpp.
void AutoBalancer::copyRatscoords2Footstep | ( | OpenHRP::AutoBalancerService::Footstep & | out_fs, |
const rats::coordinates & | in_fs | ||
) | [private] |
Definition at line 1875 of file AutoBalancer.cpp.
void AutoBalancer::distributeReferenceZMPToWrenches | ( | const hrp::Vector3 & | _ref_zmp | ) |
Definition at line 2179 of file AutoBalancer.cpp.
bool AutoBalancer::emergencyStop | ( | ) |
Definition at line 1316 of file AutoBalancer.cpp.
void AutoBalancer::fixLegToCoords | ( | const hrp::Vector3 & | fix_pos, |
const hrp::Matrix33 & | fix_rot | ||
) | [private] |
Definition at line 1037 of file AutoBalancer.cpp.
void AutoBalancer::fixLegToCoords2 | ( | rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 1057 of file AutoBalancer.cpp.
bool AutoBalancer::getAutoBalancerParam | ( | OpenHRP::AutoBalancerService::AutoBalancerParam & | i_param | ) |
Definition at line 1794 of file AutoBalancer.cpp.
bool AutoBalancer::getFootstepParam | ( | OpenHRP::AutoBalancerService::FootstepParam & | i_param | ) |
Definition at line 1885 of file AutoBalancer.cpp.
bool AutoBalancer::getGaitGeneratorParam | ( | OpenHRP::AutoBalancerService::GaitGeneratorParam & | i_param | ) |
Definition at line 1554 of file AutoBalancer.cpp.
bool AutoBalancer::getGoPosFootstepsSequence | ( | const double & | x, |
const double & | y, | ||
const double & | th, | ||
OpenHRP::AutoBalancerService::FootstepsSequence_out | o_footstep | ||
) |
Definition at line 1985 of file AutoBalancer.cpp.
void AutoBalancer::getOutputParametersForABC | ( | ) | [private] |
Definition at line 802 of file AutoBalancer.cpp.
void AutoBalancer::getOutputParametersForIDLE | ( | ) | [private] |
Definition at line 832 of file AutoBalancer.cpp.
void AutoBalancer::getOutputParametersForWalking | ( | ) | [private] |
Definition at line 762 of file AutoBalancer.cpp.
bool AutoBalancer::getRemainingFootstepSequence | ( | OpenHRP::AutoBalancerService::FootstepSequence_out | o_footstep, |
CORBA::Long & | o_current_fs_idx | ||
) |
Definition at line 1970 of file AutoBalancer.cpp.
void AutoBalancer::getTargetParameters | ( | ) | [private] |
Definition at line 665 of file AutoBalancer.cpp.
std::string AutoBalancer::getUseForceModeString | ( | ) | [private] |
Definition at line 2279 of file AutoBalancer.cpp.
bool AutoBalancer::goPos | ( | const double & | x, |
const double & | y, | ||
const double & | th | ||
) |
Definition at line 1245 of file AutoBalancer.cpp.
bool AutoBalancer::goStop | ( | ) |
Definition at line 1309 of file AutoBalancer.cpp.
bool AutoBalancer::goVelocity | ( | const double & | vx, |
const double & | vy, | ||
const double & | vth | ||
) |
Definition at line 1273 of file AutoBalancer.cpp.
void AutoBalancer::interpolateLegNamesAndZMPOffsets | ( | ) | [private] |
Definition at line 859 of file AutoBalancer.cpp.
bool AutoBalancer::isOptionalDataContact | ( | const std::string & | ee_name | ) | [inline, private] |
Definition at line 237 of file AutoBalancer.h.
RTC::ReturnCode_t AutoBalancer::onActivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 411 of file AutoBalancer.cpp.
RTC::ReturnCode_t AutoBalancer::onDeactivated | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 418 of file AutoBalancer.cpp.
RTC::ReturnCode_t AutoBalancer::onExecute | ( | RTC::UniqueId | ec_id | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 433 of file AutoBalancer.cpp.
RTC::ReturnCode_t AutoBalancer::onFinalize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 388 of file AutoBalancer.cpp.
RTC::ReturnCode_t AutoBalancer::onInitialize | ( | void | ) | [virtual] |
Reimplemented from RTC::RTObject_impl.
Definition at line 94 of file AutoBalancer.cpp.
hrp::Matrix33 AutoBalancer::OrientRotationMatrix | ( | const hrp::Matrix33 & | rot, |
const hrp::Vector3 & | axis1, | ||
const hrp::Vector3 & | axis2 | ||
) | [private] |
Definition at line 1026 of file AutoBalancer.cpp.
bool AutoBalancer::releaseEmergencyStop | ( | ) |
Definition at line 1325 of file AutoBalancer.cpp.
void AutoBalancer::rotateRefForcesForFixCoords | ( | rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 900 of file AutoBalancer.cpp.
bool AutoBalancer::setAutoBalancerParam | ( | const OpenHRP::AutoBalancerService::AutoBalancerParam & | i_param | ) |
Definition at line 1645 of file AutoBalancer.cpp.
bool AutoBalancer::setFootSteps | ( | const OpenHRP::AutoBalancerService::FootstepSequence & | fs, |
CORBA::Long | overwrite_fs_idx | ||
) |
bool AutoBalancer::setFootSteps | ( | const OpenHRP::AutoBalancerService::FootstepsSequence & | fss, |
CORBA::Long | overwrite_fs_idx | ||
) |
Definition at line 1334 of file AutoBalancer.cpp.
bool AutoBalancer::setFootStepsWithParam | ( | const OpenHRP::AutoBalancerService::FootstepSequence & | fs, |
const OpenHRP::AutoBalancerService::StepParamSequence & | sps, | ||
CORBA::Long | overwrite_fs_idx | ||
) |
bool AutoBalancer::setFootStepsWithParam | ( | const OpenHRP::AutoBalancerService::FootstepsSequence & | fss, |
const OpenHRP::AutoBalancerService::StepParamsSequence & | spss, | ||
CORBA::Long | overwrite_fs_idx | ||
) |
Definition at line 1352 of file AutoBalancer.cpp.
bool AutoBalancer::setGaitGeneratorParam | ( | const OpenHRP::AutoBalancerService::GaitGeneratorParam & | i_param | ) |
Definition at line 1466 of file AutoBalancer.cpp.
void AutoBalancer::solveFullbodyIK | ( | ) | [private] |
Definition at line 1076 of file AutoBalancer.cpp.
void AutoBalancer::startABCparam | ( | const ::OpenHRP::AutoBalancerService::StrSequence & | limbs | ) | [private] |
Definition at line 1136 of file AutoBalancer.cpp.
bool AutoBalancer::startAutoBalancer | ( | const ::OpenHRP::AutoBalancerService::StrSequence & | limbs | ) |
Definition at line 1217 of file AutoBalancer.cpp.
bool AutoBalancer::startWalking | ( | ) | [private] |
Definition at line 1171 of file AutoBalancer.cpp.
void AutoBalancer::static_balance_point_proc_one | ( | hrp::Vector3 & | tmp_input_sbp, |
const double | ref_com_height | ||
) | [private] |
Definition at line 2020 of file AutoBalancer.cpp.
void AutoBalancer::stopABCparam | ( | ) | [private] |
Definition at line 1159 of file AutoBalancer.cpp.
bool AutoBalancer::stopAutoBalancer | ( | ) |
Definition at line 1229 of file AutoBalancer.cpp.
void AutoBalancer::stopWalking | ( | ) | [private] |
Definition at line 1205 of file AutoBalancer.cpp.
void AutoBalancer::updateTargetCoordsForHandFixMode | ( | rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 920 of file AutoBalancer.cpp.
void AutoBalancer::updateWalkingVelocityFromHandError | ( | rats::coordinates & | tmp_fix_coords | ) | [private] |
Definition at line 998 of file AutoBalancer.cpp.
void AutoBalancer::waitABCTransition | ( | ) | [private] |
Definition at line 1240 of file AutoBalancer.cpp.
Definition at line 1448 of file AutoBalancer.cpp.
void AutoBalancer::waitFootStepsEarly | ( | const double | tm | ) |
Definition at line 1457 of file AutoBalancer.cpp.
Definition at line 293 of file AutoBalancer.h.
Definition at line 294 of file AutoBalancer.h.
Definition at line 271 of file AutoBalancer.h.
double AutoBalancer::adjust_footstep_transition_time [private] |
Definition at line 268 of file AutoBalancer.h.
std::map<std::string, size_t> AutoBalancer::contact_states_index_map [private] |
Definition at line 255 of file AutoBalancer.h.
enum { ... } AutoBalancer::control_mode [private] |
double AutoBalancer::d_pos_z_root [private] |
Definition at line 265 of file AutoBalancer.h.
std::vector<hrp::Vector3> AutoBalancer::default_zmp_offsets [private] |
Definition at line 261 of file AutoBalancer.h.
std::vector<std::string> AutoBalancer::ee_vec [private] |
Definition at line 257 of file AutoBalancer.h.
fikPtr AutoBalancer::fik [private] |
Definition at line 250 of file AutoBalancer.h.
Definition at line 260 of file AutoBalancer.h.
Definition at line 260 of file AutoBalancer.h.
enum { ... } AutoBalancer::gait_type [private] |
ggPtr AutoBalancer::gg [private] |
Definition at line 246 of file AutoBalancer.h.
bool AutoBalancer::gg_is_walking [private] |
Definition at line 247 of file AutoBalancer.h.
bool AutoBalancer::gg_solved [private] |
Definition at line 247 of file AutoBalancer.h.
std::string AutoBalancer::graspless_manip_arm [private] |
Definition at line 285 of file AutoBalancer.h.
bool AutoBalancer::graspless_manip_mode [private] |
Definition at line 284 of file AutoBalancer.h.
Definition at line 286 of file AutoBalancer.h.
Definition at line 287 of file AutoBalancer.h.
Definition at line 251 of file AutoBalancer.h.
hrp::InvDynStateBuffer AutoBalancer::idsb [private] |
Definition at line 289 of file AutoBalancer.h.
std::map<std::string, ABCIKparam> AutoBalancer::ikp [private] |
Definition at line 254 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::input_basePos [private] |
Definition at line 273 of file AutoBalancer.h.
hrp::Matrix33 AutoBalancer::input_baseRot [private] |
Definition at line 274 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::input_zmp [private] |
Definition at line 273 of file AutoBalancer.h.
std::vector<IIRFilter> AutoBalancer::invdyn_zmp_filters [private] |
Definition at line 290 of file AutoBalancer.h.
bool AutoBalancer::is_hand_fix_initial [private] |
Definition at line 282 of file AutoBalancer.h.
bool AutoBalancer::is_hand_fix_mode [private] |
Definition at line 282 of file AutoBalancer.h.
bool AutoBalancer::is_legged_robot [private] |
Definition at line 282 of file AutoBalancer.h.
bool AutoBalancer::is_stop_mode [private] |
Definition at line 282 of file AutoBalancer.h.
std::vector<std::string> AutoBalancer::leg_names [private] |
Definition at line 257 of file AutoBalancer.h.
interpolator* AutoBalancer::leg_names_interpolator [private] |
Definition at line 272 of file AutoBalancer.h.
double AutoBalancer::leg_names_interpolator_ratio [private] |
Definition at line 268 of file AutoBalancer.h.
double AutoBalancer::limb_stretch_avoidance_time_const [private] |
Definition at line 265 of file AutoBalancer.h.
double AutoBalancer::limb_stretch_avoidance_vlimit[2] [private] |
Definition at line 265 of file AutoBalancer.h.
int AutoBalancer::loop [private] |
Definition at line 283 of file AutoBalancer.h.
TimedAcceleration3D AutoBalancer::m_accRef [protected] |
Definition at line 164 of file AutoBalancer.h.
OutPort<TimedAcceleration3D> AutoBalancer::m_accRefOut [protected] |
Definition at line 165 of file AutoBalancer.h.
TimedBooleanSeq AutoBalancer::m_actContactStates [protected] |
Definition at line 143 of file AutoBalancer.h.
InPort<TimedBooleanSeq> AutoBalancer::m_actContactStatesIn [protected] |
Definition at line 144 of file AutoBalancer.h.
Definition at line 187 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_basePos [protected] |
Definition at line 129 of file AutoBalancer.h.
TimedPose3D AutoBalancer::m_basePose [protected] |
Definition at line 162 of file AutoBalancer.h.
OutPort<TimedPose3D> AutoBalancer::m_basePoseOut [protected] |
Definition at line 163 of file AutoBalancer.h.
InPort<TimedPoint3D> AutoBalancer::m_basePosIn [protected] |
Definition at line 130 of file AutoBalancer.h.
OutPort<TimedPoint3D> AutoBalancer::m_basePosOut [protected] |
Definition at line 158 of file AutoBalancer.h.
TimedOrientation3D AutoBalancer::m_baseRpy [protected] |
Definition at line 131 of file AutoBalancer.h.
InPort<TimedOrientation3D> AutoBalancer::m_baseRpyIn [protected] |
Definition at line 132 of file AutoBalancer.h.
OutPort<TimedOrientation3D> AutoBalancer::m_baseRpyOut [protected] |
Definition at line 159 of file AutoBalancer.h.
TimedDoubleSeq AutoBalancer::m_baseTform [protected] |
Definition at line 160 of file AutoBalancer.h.
OutPort<TimedDoubleSeq> AutoBalancer::m_baseTformOut [protected] |
Definition at line 161 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_cog [protected] |
Definition at line 150 of file AutoBalancer.h.
OutPort<TimedPoint3D> AutoBalancer::m_cogOut [protected] |
Definition at line 181 of file AutoBalancer.h.
TimedBooleanSeq AutoBalancer::m_contactStates [protected] |
Definition at line 166 of file AutoBalancer.h.
OutPort<TimedBooleanSeq> AutoBalancer::m_contactStatesOut [protected] |
Definition at line 167 of file AutoBalancer.h.
TimedDoubleSeq AutoBalancer::m_controlSwingSupportTime [protected] |
Definition at line 170 of file AutoBalancer.h.
OutPort<TimedDoubleSeq> AutoBalancer::m_controlSwingSupportTimeOut [protected] |
Definition at line 171 of file AutoBalancer.h.
unsigned int AutoBalancer::m_debugLevel [private] |
Definition at line 281 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_diffCP [protected] |
Definition at line 141 of file AutoBalancer.h.
InPort<TimedPoint3D> AutoBalancer::m_diffCPIn [protected] |
Definition at line 142 of file AutoBalancer.h.
double AutoBalancer::m_dt [private] |
Definition at line 262 of file AutoBalancer.h.
TimedLong AutoBalancer::m_emergencySignal [protected] |
Definition at line 139 of file AutoBalancer.h.
InPort<TimedLong> AutoBalancer::m_emergencySignalIn [protected] |
Definition at line 140 of file AutoBalancer.h.
std::vector<TimedDoubleSeq> AutoBalancer::m_force [protected] |
Definition at line 176 of file AutoBalancer.h.
std::vector<TimedPoint3D> AutoBalancer::m_limbCOPOffset [protected] |
Definition at line 178 of file AutoBalancer.h.
std::vector<OutPort<TimedPoint3D> *> AutoBalancer::m_limbCOPOffsetOut [protected] |
Definition at line 179 of file AutoBalancer.h.
coil::Mutex AutoBalancer::m_mutex [private] |
Definition at line 264 of file AutoBalancer.h.
TimedDoubleSeq AutoBalancer::m_optionalData [protected] |
Definition at line 135 of file AutoBalancer.h.
InPort<TimedDoubleSeq> AutoBalancer::m_optionalDataIn [protected] |
Definition at line 136 of file AutoBalancer.h.
OutPort<TimedDoubleSeq> AutoBalancer::m_qOut [protected] |
Definition at line 156 of file AutoBalancer.h.
TimedDoubleSeq AutoBalancer::m_qRef [protected] |
Definition at line 127 of file AutoBalancer.h.
InPort<TimedDoubleSeq> AutoBalancer::m_qRefIn [protected] |
Definition at line 128 of file AutoBalancer.h.
std::vector<TimedDoubleSeq> AutoBalancer::m_ref_force [protected] |
Definition at line 137 of file AutoBalancer.h.
std::vector<InPort<TimedDoubleSeq> *> AutoBalancer::m_ref_forceIn [protected] |
Definition at line 138 of file AutoBalancer.h.
std::vector<OutPort<TimedDoubleSeq> *> AutoBalancer::m_ref_forceOut [protected] |
Definition at line 177 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_refFootOriginExtMoment [protected] |
Definition at line 145 of file AutoBalancer.h.
InPort<TimedPoint3D> AutoBalancer::m_refFootOriginExtMomentIn [protected] |
Definition at line 146 of file AutoBalancer.h.
TimedBoolean AutoBalancer::m_refFootOriginExtMomentIsHoldValue [protected] |
Definition at line 147 of file AutoBalancer.h.
InPort<TimedBoolean> AutoBalancer::m_refFootOriginExtMomentIsHoldValueIn [protected] |
Definition at line 148 of file AutoBalancer.h.
hrp::BodyPtr AutoBalancer::m_robot [private] |
Definition at line 263 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_sbpCogOffset [protected] |
Definition at line 174 of file AutoBalancer.h.
OutPort<TimedPoint3D> AutoBalancer::m_sbpCogOffsetOut [protected] |
Definition at line 175 of file AutoBalancer.h.
AutoBalancerService_impl AutoBalancer::m_service0 [protected] |
Definition at line 193 of file AutoBalancer.h.
TimedDoubleSeq AutoBalancer::m_toeheelRatio [protected] |
Definition at line 168 of file AutoBalancer.h.
OutPort<TimedDoubleSeq> AutoBalancer::m_toeheelRatioOut [protected] |
Definition at line 169 of file AutoBalancer.h.
std::map<std::string, hrp::VirtualForceSensorParam> AutoBalancer::m_vfs [private] |
Definition at line 256 of file AutoBalancer.h.
TimedBoolean AutoBalancer::m_walkingStates [protected] |
Definition at line 172 of file AutoBalancer.h.
OutPort<TimedBoolean> AutoBalancer::m_walkingStatesOut [protected] |
Definition at line 173 of file AutoBalancer.h.
TimedPoint3D AutoBalancer::m_zmp [protected] |
Definition at line 133 of file AutoBalancer.h.
InPort<TimedPoint3D> AutoBalancer::m_zmpIn [protected] |
Definition at line 134 of file AutoBalancer.h.
RTC::OutPort<RTC::TimedPoint3D> AutoBalancer::m_zmpOut [protected] |
Definition at line 157 of file AutoBalancer.h.
Definition at line 251 of file AutoBalancer.h.
Definition at line 251 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::prev_ref_zmp [private] |
Definition at line 251 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::ref_cog [private] |
Definition at line 251 of file AutoBalancer.h.
std::vector<hrp::Vector3> AutoBalancer::ref_forces [private] |
Definition at line 279 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::ref_zmp [private] |
Definition at line 251 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::sbp_cog_offset [private] |
Definition at line 277 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::sbp_offset [private] |
Definition at line 277 of file AutoBalancer.h.
std::vector<std::string> AutoBalancer::sensor_names [private] |
Definition at line 257 of file AutoBalancer.h.
hrp::Vector3 AutoBalancer::target_root_p [private] |
Definition at line 258 of file AutoBalancer.h.
hrp::Matrix33 AutoBalancer::target_root_R [private] |
Definition at line 259 of file AutoBalancer.h.
Definition at line 270 of file AutoBalancer.h.
double AutoBalancer::transition_interpolator_ratio [private] |
Definition at line 268 of file AutoBalancer.h.
double AutoBalancer::transition_time [private] |
Definition at line 268 of file AutoBalancer.h.
enum { ... } AutoBalancer::use_force [private] |
bool AutoBalancer::use_limb_stretch_avoidance [private] |
Definition at line 266 of file AutoBalancer.h.
Definition at line 269 of file AutoBalancer.h.
double AutoBalancer::zmp_transition_time [private] |
Definition at line 268 of file AutoBalancer.h.