Public Member Functions | Public Attributes | Private Attributes
moveit_setup_assistant::MoveItConfigData Class Reference

#include <moveit_config_data.h>

List of all members.

Public Member Functions

std::string appendPaths (const std::string &path1, const std::string &path2)
std::string decideProjectionJoints (std::string planning_group)
 Decide the best two joints to be used for the projection evaluator.
srdf::Model::GroupfindGroupByName (const std::string &name)
planning_scene::PlanningScenePtr getPlanningScene ()
 Provide a shared planning scene.
robot_model::RobotModelConstPtr getRobotModel ()
 Provide a shared kinematic model loader.
bool inputKinematicsYAML (const std::string &file_path)
bool inputSetupAssistantYAML (const std::string &file_path)
void loadAllowedCollisionMatrix ()
 Load the allowed collision matrix from the SRDF's list of link pairs.
 MoveItConfigData ()
bool outputJointLimitsYAML (const std::string &file_path)
bool outputKinematicsYAML (const std::string &file_path)
bool outputOMPLPlanningYAML (const std::string &file_path)
bool outputSetupAssistantFile (const std::string &file_path)
void updateRobotModel ()
 Update the Kinematic Model with latest SRDF modifications.
 ~MoveItConfigData ()

Public Attributes

collision_detection::AllowedCollisionMatrix allowed_collision_matrix_
 Allowed collision matrix for robot poses.
std::time_t config_pkg_generated_timestamp_
 Timestamp when configuration package was generated, if it was previously generated.
std::string config_pkg_path_
 Loaded configuration package path - if an existing package was loaded, holds that path.
bool debug_
 Is this application in debug mode?
std::map< std::string,
GroupMetaData
group_meta_data_
 Planning groups extra data not found in srdf but used in config files.
std::string setup_assistant_path_
 Setup Assistants package's path for when we use its templates.
SRDFWriterPtr srdf_
 SRDF Data and Writer.
std::string srdf_path_
 Full file-system path to srdf.
std::string srdf_pkg_relative_path_
 Path relative to loaded configuration package.
std::string template_package_path_
 Location that moveit_setup_assistant stores its templates.
bool urdf_from_xacro_
 Flag indicating whether the URDF was loaded from .xacro format.
boost::shared_ptr< urdf::Modelurdf_model_
 URDF robot model.
std::string urdf_path_
 Full file-system path to urdf.
std::string urdf_pkg_name_
 Name of package containig urdf (note: this may be empty b/c user may not have urdf in pkg)
std::string urdf_pkg_relative_path_
 Path relative to urdf package (note: this may be same as urdf_path_)

Private Attributes

robot_model::RobotModelPtr kin_model_
robot_model::RobotModelConstPtr kin_model_const_
planning_scene::PlanningScenePtr planning_scene_

Detailed Description

Definition at line 87 of file moveit_config_data.h.


Constructor & Destructor Documentation

Definition at line 68 of file moveit_config_data.cpp.

Definition at line 89 of file moveit_config_data.cpp.


Member Function Documentation

std::string moveit_setup_assistant::MoveItConfigData::appendPaths ( const std::string &  path1,
const std::string &  path2 
)

Helper Function for joining a file path and a file name, or two file paths, etc, in a cross-platform way

Parameters:
path1first half of path
path2second half of path, or filename
Returns:
string resulting combined paths

Definition at line 607 of file moveit_config_data.cpp.

std::string moveit_setup_assistant::MoveItConfigData::decideProjectionJoints ( std::string  planning_group)

Decide the best two joints to be used for the projection evaluator.

Parameters:
planning_groupname of group to use
Returns:
string - value to insert into yaml file

Definition at line 413 of file moveit_config_data.cpp.

Find the associated group by name

Parameters:
name- name of data to find in datastructure
Returns:
pointer to data in datastructure

Definition at line 614 of file moveit_config_data.cpp.

Provide a shared planning scene.

Definition at line 129 of file moveit_config_data.cpp.

Provide a shared kinematic model loader.

Definition at line 96 of file moveit_config_data.cpp.

bool moveit_setup_assistant::MoveItConfigData::inputKinematicsYAML ( const std::string &  file_path)

Input kinematics.yaml file for editing its values

Parameters:
file_pathpath to kinematics.yaml in the input package
Returns:
bool if the file was read correctly

Definition at line 447 of file moveit_config_data.cpp.

Input .setup_assistant file - contains data used for the MoveIt Setup Assistant

Parameters:
file_pathpath to .setup_assistant file
Returns:
bool if the file was read correctly

Definition at line 525 of file moveit_config_data.cpp.

Load the allowed collision matrix from the SRDF's list of link pairs.

Definition at line 145 of file moveit_config_data.cpp.

bool moveit_setup_assistant::MoveItConfigData::outputJointLimitsYAML ( const std::string &  file_path)

Definition at line 334 of file moveit_config_data.cpp.

bool moveit_setup_assistant::MoveItConfigData::outputKinematicsYAML ( const std::string &  file_path)

Definition at line 280 of file moveit_config_data.cpp.

Definition at line 208 of file moveit_config_data.cpp.

SRDF Path Location

Package generation time

Definition at line 161 of file moveit_config_data.cpp.

Update the Kinematic Model with latest SRDF modifications.

Definition at line 111 of file moveit_config_data.cpp.


Member Data Documentation

Allowed collision matrix for robot poses.

Definition at line 147 of file moveit_config_data.h.

Timestamp when configuration package was generated, if it was previously generated.

Definition at line 150 of file moveit_config_data.h.

Loaded configuration package path - if an existing package was loaded, holds that path.

Definition at line 138 of file moveit_config_data.h.

Is this application in debug mode?

Definition at line 144 of file moveit_config_data.h.

Planning groups extra data not found in srdf but used in config files.

Definition at line 132 of file moveit_config_data.h.

Definition at line 223 of file moveit_config_data.h.

Definition at line 224 of file moveit_config_data.h.

Definition at line 227 of file moveit_config_data.h.

Setup Assistants package's path for when we use its templates.

Definition at line 135 of file moveit_config_data.h.

SRDF Data and Writer.

Definition at line 125 of file moveit_config_data.h.

Full file-system path to srdf.

Definition at line 119 of file moveit_config_data.h.

Path relative to loaded configuration package.

Definition at line 122 of file moveit_config_data.h.

Location that moveit_setup_assistant stores its templates.

Definition at line 141 of file moveit_config_data.h.

Flag indicating whether the URDF was loaded from .xacro format.

Definition at line 109 of file moveit_config_data.h.

URDF robot model.

Definition at line 112 of file moveit_config_data.h.

Full file-system path to urdf.

Definition at line 100 of file moveit_config_data.h.

Name of package containig urdf (note: this may be empty b/c user may not have urdf in pkg)

Definition at line 103 of file moveit_config_data.h.

Path relative to urdf package (note: this may be same as urdf_path_)

Definition at line 106 of file moveit_config_data.h.


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


moveit_setup_assistant
Author(s): Dave Coleman
autogenerated on Mon Oct 6 2014 02:32:28