humoto
|
Base description class of models with fixed wheels.
Definition at line 67 of file model_description.h.
#include <model_description.h>
Public Types | |
enum | WheelIds { WHEEL_FRONT_LEFT = 0, WHEEL_FRONT_RIGHT = 1, WHEEL_BACK = 2 } |
Static Public Member Functions | |
static void | getBaseLinksStringIds (std::vector< std::string > &ids) |
Get string ids of the bodies comprising the base. More... | |
static void | getBaseOrientationLinkStringId (std::string &id) |
Get id of the body which is used to control orientation of the base. More... | |
static void | getBasePositionLinkStringId (std::string &id) |
Get id of the body which is used to control position of the base. More... | |
static void | getBodyLinksStringIds (std::vector< std::string > &ids) |
Get string ids of the links comprising the upper body. More... | |
static void | getMaxWheelVelocities (etools::Vector3 &max_velocities) |
Returns maximal velocites, which can be executed by the wheels. More... | |
static etools::Matrix3 | getRootMotionToWheelsTransform () |
Returns matrix which maps velocities of the wheels to translational and rotational motion of the base. More... | |
template<int t_features_out, int t_features_in> | |
static void | reorderJointsColumns (Eigen::MatrixXd &matrix) |
Use joint order to reorder columns of the given matrix. More... | |
Static Protected Member Functions | |
template<int t_features> | |
static void | getDefaultJointAngles (EIGENTOOLS_CONSTANT_SIZE_VECTOR(ModelDescription< t_features >::JOINTS_DOF_NUMBER) &joint_angles) |
Sets joint angles in the given vector to their default values. More... | |
template<int t_features> | |
static void | getJointPositionBounds (EIGENTOOLS_CONSTANT_SIZE_VECTOR(ModelDescription< t_features >::JOINTS_DOF_NUMBER) &min_bounds, EIGENTOOLS_CONSTANT_SIZE_VECTOR(ModelDescription< t_features >::JOINTS_DOF_NUMBER) &max_bounds) |
Returns joint position bounds. More... | |
template<int t_features> | |
static void | getJointVelocityBounds (EIGENTOOLS_CONSTANT_SIZE_VECTOR(ModelDescription< t_features >::JOINTS_DOF_NUMBER) &joint_vel_bounds) |
Returns bounds on joint velocities. More... | |
Enumerator | |
---|---|
WHEEL_FRONT_LEFT | |
WHEEL_FRONT_RIGHT | |
WHEEL_BACK |
Definition at line 70 of file model_description.h.
|
inlinestatic |
Get string ids of the bodies comprising the base.
[out] | ids | ids |
Definition at line 83 of file model_description.h.
|
inlinestatic |
Get id of the body which is used to control orientation of the base.
[out] | id | id |
Definition at line 165 of file model_description.h.
|
inlinestatic |
Get id of the body which is used to control position of the base.
[out] | id | id |
Definition at line 176 of file model_description.h.
|
inlinestatic |
Get string ids of the links comprising the upper body.
[out] | ids | ids |
Definition at line 100 of file model_description.h.
|
inlinestaticprotected |
Sets joint angles in the given vector to their default values.
t_features | these features identify model description |
[out] | joint_angles | vector, where the joint angles are set |
Definition at line 384 of file model_description.h.
|
inlinestaticprotected |
Returns joint position bounds.
t_features | these features identify model description |
[out] | min_bounds | |
[out] | max_bounds |
Definition at line 309 of file model_description.h.
|
inlinestaticprotected |
Returns bounds on joint velocities.
t_features | these features identify model description |
[out] | joint_vel_bounds |
Definition at line 356 of file model_description.h.
|
inlinestatic |
Returns maximal velocites, which can be executed by the wheels.
[out] | max_velocities |
Definition at line 290 of file model_description.h.
|
inlinestatic |
Returns matrix which maps velocities of the wheels to translational and rotational motion of the base.
Definition at line 188 of file model_description.h.
|
inlinestatic |
Use joint order to reorder columns of the given matrix.
t_features_out | features of the model corresponding to output |
t_features_in | features of the model corresponding to input |
[in,out] | matrix |
Definition at line 253 of file model_description.h.