Robot model module.
More...
Robot model module.
Overall parameter for a single link,.
- Note
- Same as segment_t in lebai_kdl.
DH parameter for a link.
- Note
- Same as dh_t in lebai_kdl.
Dynamic parameter for a link.
- Note
- Same as d_param_t in lebai_kdl.
Overall parameters for a robot model.
- Note
- Same as KDL_t, but remove kp kv gravity.
Enum robot model structure type. The following table shows supported structure currently.
Enum value | Description |
STRUCT_TYPE_61 | 6 joint manipulator type(lm3 like). |
STRUCT_TYPE_51 | 5 joint manipulator type(lm3 without the last joint). |
- Note
Robot model data structure.
The details of this data structure is hidden in c files. We do not use the structure member directly, try to use the API.
Definition at line 31 of file lmc_robot_model.h.
Tool payload data.
- Note
- Same as payload_t in lebai_kdl.
Enum robot model structure type. The following table shows supported structure currently.
Enum value | Description |
STRUCT_TYPE_61 | 6 joint manipulator type(lm3 like). |
STRUCT_TYPE_51 | 5 joint manipulator type(lm3 without the last joint). |
- Note
Enumerator |
---|
STRUCT_TYPE_61 |
6 joint lm3 like manipulator
|
STRUCT_TYPE_51 |
5 joint manipulator
|
STRUCT_TYPE_5A |
5 joint machine
|
Definition at line 41 of file lmc_robot_model.h.
Delete a robot model instance.
- Note
- The robot_model_addr pointer will be set to NULL.
- Parameters
-
[in] | robot_model_addr | The address of the robot_model pointer. |
- Examples:
- example_robot_model.cc, and example_tg.cc.
Get modified dh params.
- Note
- Parameters
-
[in] | robot_model | robot model data. |
[out] | size | the size of return mdh array |
[out] | params | modified dh param data. |
- Returns
- modified dh param data.
Init a robot model using lmc_robot_model_config_t.
- Note
- In old lebai_kdl library, robot_model init is coupling to tg init.
- Parameters
-
[in] | robot_model | robot model data pointer |
[in] | robot_model_config | robot model config data pointer. |
[in] | struct_type | robot model struct type. |
- Returns
- Return 0 on success, otherwise failure.
- Examples:
- example_robot_model.cc, and example_tg.cc.
Get the joint DOF of robot model.
- Note
- Parameters
-
- Returns
- joint DOF of robot model.
Create a robot model instance.
- Note
- Robot model is a data structure contains kinematics and dynamics info. It's a core data structure to many algorithms. Robot model must be init by calling lmc_rm_init before any usage.
- Examples:
- example_robot_model.cc, and example_tg.cc.
Set tcp transform, will affect the kinematic, the internal dyn param will try to recaculate by itself.
- Note
- Parameters
-
[in] | robot_model | robot model data. |
[in] | t | Cartesian transform data. |
- Returns
- Return 0 on success, otherwise failure.
Set tool payload, will affect all the dynamic algorithms.
- Note
- Parameters
-
[in] | robot_model | robot model data. |
[in] | payload | payload data for setting |
- Returns
- Return 0 on success, otherwise failure.