Grasp representation class.
More...
#include <Grasp.hh>
|
| static void | loadFromYml (const std::string &file_name, const std::string &robot, const std::string &object_name, std::vector< Grasp > &grasps) |
| | Load set of grasps from file. More...
|
| |
| static void | writeToYml (const std::string &file_name, const std::string &robot, const std::string &object_name, const std::vector< Grasp > &grasps) |
| | Export set of grasps to file. More...
|
| |
Grasp representation class.
| Grasp |
( |
ignition::math::Matrix4d |
t_gripper_object_ | ) |
|
Constructor.
- Parameters
-
| t_gripper_object_ | Transform matrix from gripper to object frame |
| void loadFromYml |
( |
const std::string & |
file_name, |
|
|
const std::string & |
robot, |
|
|
const std::string & |
object_name, |
|
|
std::vector< Grasp > & |
grasps |
|
) |
| |
|
static |
Load set of grasps from file.
- Parameters
-
| file_name | Input file name |
| robot | Target robot name |
| object_name | Target object name |
| grasps | Set of grasps retrieved from file |
| void writeToYml |
( |
const std::string & |
file_name, |
|
|
const std::string & |
robot, |
|
|
const std::string & |
object_name, |
|
|
const std::vector< Grasp > & |
grasps |
|
) |
| |
|
static |
Export set of grasps to file.
- Parameters
-
| file_name | Output file name |
| robot | Target robot name |
| object_name | Target object name |
| grasps | Set of grasps to export to file |
| ignition::math::Matrix4d t_gripper_object |
Homogenous transform matrix from gripper to object reference frame.
The documentation for this class was generated from the following files: