#include <mujincontrollerclient.h>
Protected 変数 |
std::string | _jobpk |
| the job primary key used to track the status of the running optimization after Execute is called
|
説明
コンストラクタとデストラクタ
mujinclient::OptimizationResource::OptimizationResource |
( |
ControllerClientPtr |
controller, |
|
|
const std::string & |
pk |
|
) |
| |
virtual mujinclient::OptimizationResource::~OptimizationResource |
( |
| ) |
|
|
inlinevirtual |
関数
virtual void mujinclient::OptimizationResource::Cancel |
( |
| ) |
|
|
virtual |
if the optimization is currently executing, send a cancel request
virtual void mujinclient::OptimizationResource::Execute |
( |
bool |
bClearOldResults = true | ) |
|
|
virtual |
execute the optimization
- 引数
-
bClearOldResults | if true, will clear the old optimiation results. If false, will keep the old optimization results and only compute those that need to be computed. |
virtual void mujinclient::OptimizationResource::GetResults |
( |
std::vector< PlanningResultResourcePtr > & |
results, |
|
|
int |
startoffset = 0 , |
|
|
int |
num = 0 |
|
) |
| |
|
virtual |
Gets the results of the optimization execution ordered by task_time.
- 引数
-
startoffset | The offset to retrieve the results from. Ordered |
num | The number of results to get starting at startoffset. If 0, will return ALL results. |
virtual void mujinclient::OptimizationResource::GetRunTimeStatus |
( |
JobStatus & |
status, |
|
|
int |
options = 1 |
|
) |
| |
|
virtual |
get the run-time status of the executed optimization.
This will only work if the optimization has been previously Executed with execute If the task is not currently running, will set status.code to JSC_Unknown
- 引数
-
options | if options is 1, also get the message |
Set new task info for tasks of type robotplanning
Set new task info for tasks of type placements
変数
std::string mujinclient::OptimizationResource::_jobpk |
|
protected |
このクラスの説明は次のファイルから生成されました: