openrave.org

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

Helper class derived from KinBodyStateSaver to additionaly save robot information. [詳細]

#include <robot.h>

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

Public メソッド

 RobotStateSaver (RobotBasePtr probot, int options=Save_LinkTransformation|Save_LinkEnable|Save_ActiveDOF|Save_ActiveManipulator)
 
virtual ~RobotStateSaver ()
 
virtual void Restore (boost::shared_ptr< RobotBase > robot=boost::shared_ptr< RobotBase >())
 restore the state
 
virtual void Release ()
 release the body state. _pbody will not get restored on destruction
 

Protected 変数

RobotBasePtr _probot
 
std::vector< int > vactivedofs
 
int affinedofs
 
Vector rotationaxis
 
ManipulatorPtr _pManipActive
 
std::vector< UserDataPtr_vGrabbedBodies
 

説明

Helper class derived from KinBodyStateSaver to additionaly save robot information.

例:
ormulticontrol.cpp, orplanning_door.cpp, orplanning_module.cpp, orplanning_multirobot.cpp, orplanning_planner.cpp, と ortrajectory.cpp.

robot.h453 行で定義されています。

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

OpenRAVE::RobotBase::RobotStateSaver::RobotStateSaver ( RobotBasePtr  probot,
int  options = Save_LinkTransformation|Save_LinkEnable|Save_ActiveDOF|Save_ActiveManipulator 
)

robot.cpp118 行で定義されています。

OpenRAVE::RobotBase::RobotStateSaver::~RobotStateSaver ( )
virtual

robot.cpp133 行で定義されています。

関数

void OpenRAVE::RobotBase::RobotStateSaver::Release ( )
virtual

release the body state. _pbody will not get restored on destruction

After this call, it will still be possible to use Restore.

robot.cpp144 行で定義されています。

void OpenRAVE::RobotBase::RobotStateSaver::Restore ( boost::shared_ptr< RobotBase robot = boost::shared_ptr<RobotBase>())
virtual

restore the state

引数
robotif set, will attempt to restore the stored state to the passed in body, otherwise will restore it for the original body.
例外
openrave_exceptionif the passed in body is not compatible with the saved state, will throw

robot.cpp138 行で定義されています。

変数

ManipulatorPtr OpenRAVE::RobotBase::RobotStateSaver::_pManipActive
protected

robot.h475 行で定義されています。

RobotBasePtr OpenRAVE::RobotBase::RobotStateSaver::_probot
protected

robot.h471 行で定義されています。

std::vector<UserDataPtr> OpenRAVE::RobotBase::RobotStateSaver::_vGrabbedBodies
protected

robot.h476 行で定義されています。

int OpenRAVE::RobotBase::RobotStateSaver::affinedofs
protected

robot.h473 行で定義されています。

Vector OpenRAVE::RobotBase::RobotStateSaver::rotationaxis
protected

robot.h474 行で定義されています。

std::vector<int> OpenRAVE::RobotBase::RobotStateSaver::vactivedofs
protected

robot.h472 行で定義されています。


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