controllerclientcpp  0.6.1
 全て クラス ネームスペース ファイル 関数 変数 型定義 列挙型 列挙型の値 マクロ定義 ページ
Public メソッド | すべてのメンバ一覧
クラス mujinclient::PlanningResultResource

#include <mujincontrollerclient.h>

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

Public メソッド

 PlanningResultResource (ControllerClientPtr controller, const std::string &resulttype, const std::string &pk)
 PlanningResultResource (ControllerClientPtr controller, const std::string &pk)
virtual ~PlanningResultResource ()
virtual void GetEnvironmentState (EnvironmentState &envstate)
 Get all the transforms the results are storing. Depending on the optimization, can be more than just the robot.
virtual void GetAllRawProgramData (std::string &outputdata, const std::string &programtype="auto")
 Gets the raw program information.
virtual void GetRobotRawProgramData (std::string &outputdata, const std::string &robotpk, const std::string &programtype="auto")
 Gets the raw program information of a specific robot, if supported.
virtual void GetPrograms (RobotControllerPrograms &programs, const std::string &programtype="auto")
 Gets parsed program information.
- Public メソッド inherited from mujinclient::WebResource
 WebResource (ControllerClientPtr controller, const std::string &resourcename, const std::string &pk)
virtual ~WebResource ()
ControllerClientPtr GetController () const
const std::string & GetResourceName () const
const std::string & GetPrimaryKey () const
virtual std::string Get (const std::string &field)
 gets an attribute of this web resource
virtual void Set (const std::string &field, const std::string &newvalue)
 sets an attribute of this web resource
virtual void Delete ()
 delete the resource and all its child resources
virtual void Copy (const std::string &newname, int options)
 copy the resource and all its child resources to a new name

説明

mujincontrollerclient.h977 行で定義されています。

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

mujinclient::PlanningResultResource::PlanningResultResource ( ControllerClientPtr  controller,
const std::string &  resulttype,
const std::string &  pk 
)
mujinclient::PlanningResultResource::PlanningResultResource ( ControllerClientPtr  controller,
const std::string &  pk 
)
virtual mujinclient::PlanningResultResource::~PlanningResultResource ( )
inlinevirtual

mujincontrollerclient.h982 行で定義されています。

関数

virtual void mujinclient::PlanningResultResource::GetAllRawProgramData ( std::string &  outputdata,
const std::string &  programtype = "auto" 
)
virtual

Gets the raw program information.

引数
[in]programtypeThe type of program to return. Possible values are:
  • auto - special type that returns the most suited programs
  • mujinxml - xml
  • melfabasicv - json with Mitsubishi-specific programs
  • densowaverc8pac - json with DensoWave-specific programs
  • cecrobodiasim - zip file

If auto is set, then the robot-maker specific program is returned if possible. If not possible, then mujin xml is returned. All the programs for all robots planned are returned.

引数
[out]outputdataThe raw program data
virtual void mujinclient::PlanningResultResource::GetEnvironmentState ( EnvironmentState envstate)
virtual

Get all the transforms the results are storing. Depending on the optimization, can be more than just the robot.

virtual void mujinclient::PlanningResultResource::GetPrograms ( RobotControllerPrograms programs,
const std::string &  programtype = "auto" 
)
virtual

Gets parsed program information.

If the robot doesn't have a recognizable controller, then no programs might be returned.

引数
[out]programsThe programs for each robot. The best suited program for each robot is determined from its controller.
[in]programtypeThe type of program to return.
virtual void mujinclient::PlanningResultResource::GetRobotRawProgramData ( std::string &  outputdata,
const std::string &  robotpk,
const std::string &  programtype = "auto" 
)
virtual

Gets the raw program information of a specific robot, if supported.

引数
[in]robotpkThe primary key of the robot instance in the scene.
[out]outputdataThe raw program data
[in]programtypeThe type of program to return.
例外
mujin_exceptionIf robot program is not supported, will throw an exception

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