openrave.org

 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 フレンド マクロ定義 グループ ページ
Public メソッド | Public 変数 | Protected メソッド | Protected 変数 | すべてのメンバ一覧
クラス OpenRAVE::GraspParameters

#include <plannerparameters.h>

OpenRAVE::GraspParametersに対する継承グラフ
Inheritance graph
[凡例]
OpenRAVE::GraspParametersのコラボレーション図
Collaboration graph
[凡例]

Public メソッド

 GraspParameters (EnvironmentBasePtr penv)
 
- Public メソッド inherited from OpenRAVE::PlannerBase::PlannerParameters
 PlannerParameters ()
 
virtual ~PlannerParameters ()
 
virtual PlannerParametersoperator= (const PlannerParameters &r)
 Attemps to copy data from one set of parameters to another in the safest manner.
 
virtual void copy (boost::shared_ptr< PlannerParameters const > r)
 
virtual void SetRobotActiveJoints (RobotBasePtr robot)
 sets up the planner parameters to use the active joints of the robot
 
virtual void SetConfigurationSpecification (EnvironmentBasePtr env, const ConfigurationSpecification &spec)
 sets up the planner parameters to use the configuration specification space
 
virtual void Validate () const
 veriries that the configuration space and all parameters are consistent
 
virtual int GetDOF () const
 Return the degrees of freedom of the planning configuration space.
 
- Public メソッド inherited from OpenRAVE::BaseXMLReader
 BaseXMLReader ()
 
virtual ~BaseXMLReader ()
 
virtual XMLReadablePtr GetReadable ()
 
- Public メソッド inherited from OpenRAVE::XMLReadable
 XMLReadable (const std::string &xmlid)
 
virtual ~XMLReadable ()
 
virtual const std::string & GetXMLId () const
 
virtual void Serialize (BaseXMLWriterPtr writer, int options=0) const
 serializes the interface
 
- Public メソッド inherited from OpenRAVE::UserData
virtual ~UserData ()
 

Public 変数

dReal fstandoff
 start closing fingers when at this distance
 
KinBodyPtr targetbody
 the target that will be grasped, all parameters will be in this coordinate system. if not present, then below transformations are in absolute coordinate system.
 
dReal ftargetroll
 rotate the hand about the palm normal (if one exists) by this many radians
 
Vector vtargetdirection
 direction in target space to approach object from
 
Vector vtargetposition
 position in target space to start approaching (if in collision with target, gets backed up)
 
Vector vmanipulatordirection
 a direction for the gripper to face at when approaching (in the manipulator coordinate system)
 
bool btransformrobot
 if true sets the base link of the robot given the above transformation parameters. If there is an active manipulator
 
bool breturntrajectory
 if true, returns how the individual fingers moved instead of just the final grasp
 
bool bonlycontacttarget
 if true, then grasp is successful only if contact is made with the target
 
bool btightgrasp
 This is tricky, but basically if true will also move the basic link along the negative axes of some of the joints to get a tighter fit.
 
bool bavoidcontact
 if true, will return a final robot configuration right before contact is made.
 
std::vector< std::string > vavoidlinkgeometry
 list of links on the robot to avoid collisions with (for exmaple, sensors)
 
dReal fcoarsestep
 step for coarse planning (in radians)
 
dReal ffinestep
 step for fine planning (in radians), THIS STEP MUST BE VERY SMALL OR THE COLLISION CHECKER GIVES WILDLY BOGUS RESULTS
 
dReal ftranslationstepmult
 multiplication factor for translational movements of the hand or joints
 
dReal fgraspingnoise
 random undeterministic noise to add to the target object, represents the max possible displacement of any point on the object (noise added after global direction and start have been determined)
 
- Public 変数 inherited from OpenRAVE::PlannerBase::PlannerParameters
ConfigurationSpecification _configurationspecification
 the configuration specification in which the planner works in. This specification is passed to the trajecotry creation modules.
 
CostFn _costfn
 
GoalFn _goalfn
 
DistMetricFn _distmetricfn
 
CheckPathConstraintFn _checkpathconstraintsfn
 
SampleFn _samplefn
 
SampleGoalFn _samplegoalfn
 
SampleInitialFn _sampleinitialfn
 
SampleNeighFn _sampleneighfn
 
SetStateFn _setstatefn
 
GetStateFn _getstatefn
 
DiffStateFn _diffstatefn
 
NeighStateFn _neighstatefn
 
std::vector< dRealvinitialconfig
 
std::vector< dRealvgoalconfig
 
std::vector< dReal_vConfigLowerLimit
 the absolute limits of the configuration space.
 
std::vector< dReal_vConfigUpperLimit
 
std::vector< dReal_vConfigVelocityLimit
 the absolute velocity limits of each DOF of the configuration space.
 
std::vector< dReal_vConfigAccelerationLimit
 the absolute acceleration limits of each DOF of the configuration space.
 
std::vector< dReal_vConfigResolution
 the discretization resolution of each dimension of the configuration space
 
dReal _fStepLength
 a discretization between the path that connects two configurations
 
int _nMaxIterations
 maximum number of iterations before the planner gives up. If 0 or less, planner chooses best iterations.
 
std::string _sPostProcessingPlanner
 Specifies the planner that will perform the post-processing path smoothing before returning.
 
std::string _sPostProcessingParameters
 The serialized planner parameters to pass to the path optimizer.
 
std::string _sExtraParameters
 Extra parameters data that does not fit within this planner parameters structure, but is still important not to lose all the information.
 
- Public 変数 inherited from OpenRAVE::BaseXMLReader
std::string _filename
 XML filename/resource used for this class (can be empty)
 

Protected メソッド

virtual bool serialize (std::ostream &O, int options=0) const
 output the planner parameters in a string (in XML format)
 
ProcessElement startElement (const std::string &name, const AttributesList &atts)
 
virtual bool endElement (const std::string &name)
 
- Protected メソッド inherited from OpenRAVE::PlannerBase::PlannerParameters
boost::shared_ptr
< PlannerBase::PlannerParameters
shared_parameters ()
 
boost::shared_ptr
< PlannerBase::PlannerParameters
const > 
shared_parameters_const () const
 
virtual void characters (const std::string &ch)
 

Protected 変数

EnvironmentBasePtr _penv
 environment target belongs to
 
bool _bProcessingGrasp
 
- Protected 変数 inherited from OpenRAVE::PlannerBase::PlannerParameters
std::stringstream _ss
 holds the data read by characters
 
boost::shared_ptr
< std::stringstream > 
_sslocal
 
std::vector< std::string > _vXMLParameters
 all the top-level XML parameter tags (lower case) that are handled by this parameter structure, should be registered in the constructor
 

Additional Inherited Members

- Public 型 inherited from OpenRAVE::PlannerBase::PlannerParameters
typedef boost::shared_ptr
< StateSaver
StateSaverPtr
 
typedef boost::function< dReal(const
std::vector< dReal > &)> 
CostFn
 Cost function on the state pace (optional).
 
typedef boost::function< dReal(const
std::vector< dReal > &)> 
GoalFn
 Goal heuristic function.(optional)
 
typedef boost::function< dReal(const
std::vector< dReal > &, const
std::vector< dReal > &)> 
DistMetricFn
 Distance metric between configuration spaces (optional)
 
typedef boost::function< bool(const
std::vector< dReal > &, const
std::vector< dReal >
&, IntervalType,
PlannerBase::ConfigurationListPtr)> 
CheckPathConstraintFn
 Checks that all the constraints are satisfied between two configurations.
 
typedef boost::function< bool(std::vector
< dReal > &)> 
SampleFn
 Samples a random configuration (mandatory)
 
typedef boost::function< bool(std::vector
< dReal > &)> 
SampleGoalFn
 Samples a valid goal configuration (optional).
 
typedef boost::function< bool(std::vector
< dReal > &)> 
SampleInitialFn
 Samples a valid initial configuration (optional).
 
typedef boost::function< bool(std::vector
< dReal > &, const std::vector
< dReal > &, dReal)> 
SampleNeighFn
 Returns a random configuration around a neighborhood (optional).
 
typedef boost::function< void(const
std::vector< dReal > &)> 
SetStateFn
 Sets the state of the robot. Default is active robot joints (mandatory).
 
typedef boost::function< void(std::vector
< dReal > &)> 
GetStateFn
 Gets the state of the robot. Default is active robot joints (mandatory).
 
typedef boost::function< void(std::vector
< dReal > &, const std::vector
< dReal > &)> 
DiffStateFn
 Computes the difference of two states.
 
typedef boost::function< bool(std::vector
< dReal > &, const std::vector
< dReal > &, int)> 
NeighStateFn
 Adds a delta state to a curent state, acting like a next-nearest-neighbor function along a given direction.
 

説明

plannerparameters.h261 行で定義されています。

コンストラクタとデストラクタ

OpenRAVE::GraspParameters::GraspParameters ( EnvironmentBasePtr  penv)
inline

plannerparameters.h264 行で定義されています。

関数

virtual bool OpenRAVE::GraspParameters::endElement ( const std::string &  name)
inlineprotectedvirtual

Gets called at the end of each "</type>" expression. In this case, name is "type"

引数
nameof the tag, will be always lower case
戻り値
true if XMLReader has finished parsing (one condition is that name==_fieldname) , otherwise false

OpenRAVE::PlannerBase::PlannerParametersを再定義しています。

plannerparameters.h358 行で定義されています。

virtual bool OpenRAVE::GraspParameters::serialize ( std::ostream &  O,
int  options = 0 
) const
inlineprotectedvirtual

output the planner parameters in a string (in XML format)

引数
optionsif 1 will skip writing the extra parameters don't use PlannerParameters as a tag!

OpenRAVE::PlannerBase::PlannerParametersを再定義しています。

plannerparameters.h306 行で定義されています。

ProcessElement OpenRAVE::GraspParameters::startElement ( const std::string &  name,
const AttributesList atts 
)
inlineprotectedvirtual

Gets called in the beginning of each "<type>" expression. In this case, name is "type"

引数
nameof the tag, will be always lower case
attsstring of attributes where the first std::string is the attribute name and second is the value
戻り値
true if tag is accepted and this class will process it, otherwise false

OpenRAVE::PlannerBase::PlannerParametersを再定義しています。

plannerparameters.h337 行で定義されています。

変数

bool OpenRAVE::GraspParameters::_bProcessingGrasp
protected

plannerparameters.h304 行で定義されています。

EnvironmentBasePtr OpenRAVE::GraspParameters::_penv
protected

environment target belongs to

plannerparameters.h303 行で定義されています。

bool OpenRAVE::GraspParameters::bavoidcontact

if true, will return a final robot configuration right before contact is made.

plannerparameters.h294 行で定義されています。

bool OpenRAVE::GraspParameters::bonlycontacttarget

if true, then grasp is successful only if contact is made with the target

plannerparameters.h292 行で定義されています。

bool OpenRAVE::GraspParameters::breturntrajectory

if true, returns how the individual fingers moved instead of just the final grasp

plannerparameters.h291 行で定義されています。

bool OpenRAVE::GraspParameters::btightgrasp

This is tricky, but basically if true will also move the basic link along the negative axes of some of the joints to get a tighter fit.

plannerparameters.h293 行で定義されています。

bool OpenRAVE::GraspParameters::btransformrobot

if true sets the base link of the robot given the above transformation parameters. If there is an active manipulator

plannerparameters.h290 行で定義されています。

dReal OpenRAVE::GraspParameters::fcoarsestep

step for coarse planning (in radians)

plannerparameters.h297 行で定義されています。

dReal OpenRAVE::GraspParameters::ffinestep

step for fine planning (in radians), THIS STEP MUST BE VERY SMALL OR THE COLLISION CHECKER GIVES WILDLY BOGUS RESULTS

plannerparameters.h298 行で定義されています。

dReal OpenRAVE::GraspParameters::fgraspingnoise

random undeterministic noise to add to the target object, represents the max possible displacement of any point on the object (noise added after global direction and start have been determined)

plannerparameters.h301 行で定義されています。

dReal OpenRAVE::GraspParameters::fstandoff

start closing fingers when at this distance

plannerparameters.h284 行で定義されています。

dReal OpenRAVE::GraspParameters::ftargetroll

rotate the hand about the palm normal (if one exists) by this many radians

plannerparameters.h286 行で定義されています。

dReal OpenRAVE::GraspParameters::ftranslationstepmult

multiplication factor for translational movements of the hand or joints

plannerparameters.h299 行で定義されています。

KinBodyPtr OpenRAVE::GraspParameters::targetbody

the target that will be grasped, all parameters will be in this coordinate system. if not present, then below transformations are in absolute coordinate system.

plannerparameters.h285 行で定義されています。

std::vector<std::string> OpenRAVE::GraspParameters::vavoidlinkgeometry

list of links on the robot to avoid collisions with (for exmaple, sensors)

plannerparameters.h295 行で定義されています。

Vector OpenRAVE::GraspParameters::vmanipulatordirection

a direction for the gripper to face at when approaching (in the manipulator coordinate system)

plannerparameters.h289 行で定義されています。

Vector OpenRAVE::GraspParameters::vtargetdirection

direction in target space to approach object from

plannerparameters.h287 行で定義されています。

Vector OpenRAVE::GraspParameters::vtargetposition

position in target space to start approaching (if in collision with target, gets backed up)

plannerparameters.h288 行で定義されています。


このクラスの説明は次のファイルから生成されました: