RestPose Class Reference

RestPose tools class. More...

#include <RestPose.hh>

Static Public Member Functions

static void loadFromYml (const std::string &file_name, const std::string &object_name, std::vector< ignition::math::Pose3d > &rest_poses, const bool as_pose=true, const bool as_matrix=false)
 Load set of rest poses from yml file. More...
 
static void writeToYml (const std::string &file_name, const std::string &object_name, const std::vector< ignition::math::Pose3d > &rest_poses, const bool as_pose=true, const bool as_matrix=false)
 Writes set of rest poses to yml file. More...
 

Detailed Description

RestPose tools class.

Member Function Documentation

void loadFromYml ( const std::string &  file_name,
const std::string &  object_name,
std::vector< ignition::math::Pose3d > &  rest_poses,
const bool  as_pose = true,
const bool  as_matrix = false 
)
static

Load set of rest poses from yml file.

Parameters
file_nameInput file name
object_nameTarget object name
rest_posesSet of rest poses retrieved from file
as_poseImport from 6D pose field
as_matrixImport from 4x4 homogeneous transform matrix field
void writeToYml ( const std::string &  file_name,
const std::string &  object_name,
const std::vector< ignition::math::Pose3d > &  rest_poses,
const bool  as_pose = true,
const bool  as_matrix = false 
)
static

Writes set of rest poses to yml file.

Parameters
file_nameOutput file name
object_nameTarget object name
rest_posesSet of rest poses to write from file
as_poseExport as 6D pose
as_matrixExport as first 3 rows of 4x4 homogeneous transform matrix

The documentation for this class was generated from the following files: