#include <mujincontrollerclient.h>
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.
|
| 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
|
説明
コンストラクタとデストラクタ
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 |
関数
virtual void mujinclient::PlanningResultResource::GetAllRawProgramData |
( |
std::string & |
outputdata, |
|
|
const std::string & |
programtype = "auto" |
|
) |
| |
|
virtual |
Gets the raw program information.
- 引数
-
[in] | programtype | The 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] | outputdata | The 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] | programs | The programs for each robot. The best suited program for each robot is determined from its controller. |
[in] | programtype | The 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] | robotpk | The primary key of the robot instance in the scene. |
[out] | outputdata | The raw program data |
[in] | programtype | The type of program to return. |
- 例外
-
mujin_exception | If robot program is not supported, will throw an exception |
このクラスの説明は次のファイルから生成されました: