6 #ifndef GAIT_COMMON_POSE_H
7 #define GAIT_COMMON_POSE_H
30 inline void reset(
bool left =
true)
54 inline void setEffort(
double effYaw,
double effPitch,
double effRoll)
65 inline void setEffort(
double effHipYaw,
double effHipRoll,
double effHipPitch,
double effKneePitch,
double effAnklePitch,
double effAnkleRoll)
163 inline void setEffort(
double effShoulderPitch,
double effShoulderRoll,
double effElbowPitch)
void setLinkLength(double length)
Set the link length used for pose conversions.
Definition: gait_common_pose.h:178
void setEffort(double eff)
Set the effort of the leg (equal for all joints)
Definition: gait_common_pose.h:43
double effortKneePitch
Dimensionless effort value associated with the knee pitch (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:102
double effortShoulderRoll
Dimensionless effort value associated with the shoulder roll (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:189
double effortShoulderPitch
Dimensionless effort value associated with the shoulder pitch (in the range [0,1], 0 = No effort, 1 = Full effort)
Definition: gait_common_pose.h:188
void setEffort(double effPitch, double effRoll)
Set the effort of the arm (equal for all pitch and roll joints)
Definition: gait_common_pose.h:155
void reset(bool left=true)
Reset function.
Definition: gait_common_pose.h:135
Data struct that contains the information pertaining to an arm pose that should be common amongst all...
Definition: gait_common_pose.h:125
void setEffort(double effHipYaw, double effHipRoll, double effHipPitch, double effKneePitch, double effAnklePitch, double effAnkleRoll)
Set the effort of the leg (independent for each joint)
Definition: gait_common_pose.h:65
double effortHipYaw
Dimensionless effort value associated with the hip yaw (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:99
CommonLegData(bool left=true)
Default constructor.
Definition: gait_common_pose.h:27
double effortElbowPitch
Dimensionless effort value associated with the elbow pitch (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:190
void setEffort(double effYaw, double effPitch, double effRoll)
Set the effort of the leg (equal for all yaw, pitch and roll joints)
Definition: gait_common_pose.h:54
void reset(bool left=true)
Reset function.
Definition: gait_common_pose.h:30
int limbSign
Integral value that is +1 if this is a left arm and -1 if this is a right arm.
Definition: gait_common_pose.h:194
double effortAnkleRoll
Dimensionless effort value associated with the ankle roll (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:104
double linkLength
The assumed (equal) length of the upper and lower leg links (used for joint pose conversions) ...
Definition: gait_common_pose.h:114
double linkLength
The assumed (equal) length of the upper and lower arm links (used for joint pose conversions) ...
Definition: gait_common_pose.h:197
double supportCoeff
Dimensionless support coefficient representing how much of the robot's weight is on this leg (in the ...
Definition: gait_common_pose.h:107
void setEffort(double effShoulderPitch, double effShoulderRoll, double effElbowPitch)
Set the effort of the arm (independent for each joint)
Definition: gait_common_pose.h:163
double effortHipPitch
Dimensionless effort value associated with the hip pitch (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:101
void setArmSign(bool left)
Set the sign of the arm.
Definition: gait_common_pose.h:171
double effortHipRoll
Dimensionless effort value associated with the hip roll (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:100
int limbSign
Integral value that is +1 if this is a left leg and -1 if this is a right leg.
Definition: gait_common_pose.h:111
bool isLeft
Boolean flag that is true if this is a left leg and false if this is a right leg. ...
Definition: gait_common_pose.h:110
bool isLeft
Boolean flag that is true if this is a left arm and false if this is a right arm. ...
Definition: gait_common_pose.h:193
CommonArmData(bool left=true)
Default constructor.
Definition: gait_common_pose.h:132
void setEffort(double eff)
Set the effort of the arm (equal for all joints)
Definition: gait_common_pose.h:147
double effortAnklePitch
Dimensionless effort value associated with the ankle pitch (in the range [0,1], 0 = No effort...
Definition: gait_common_pose.h:103
Data struct that contains the information pertaining to a leg pose that should be common amongst all ...
Definition: gait_common_pose.h:20
void setSupportCoeff(double coeff)
Set the support coefficient of the leg.
Definition: gait_common_pose.h:76
void setLegSign(bool left)
Set the sign of the leg.
Definition: gait_common_pose.h:82
void setLinkLength(double length)
Set the link length used for pose conversions.
Definition: gait_common_pose.h:89