#include <mujincontrollerclient/binpickingtask.h>#include <boost/program_options.hpp>#include <signal.h>#include <iostream>
| 関数 | |
| void | sigint_handler (int sig) | 
| bool | ParseOptions (int argc, char **argv, bpo::variables_map &opts) | 
| parse command line options and store in a map | |
| void | InitializeTask (const bpo::variables_map &opts, BinPickingTaskResourcePtr &pBinpickingTask) | 
| initialize BinPickingTask and establish communication with controller | |
| string | ConvertStateToString (const BinPickingTaskResource::ResultGetBinpickingState &state) | 
| convert state of bin picking task to string | |
| void | Run (BinPickingTaskResourcePtr &pTask, const string &mode, unsigned int axis, bool moveInPositive, double duration, double speed, double acc, const string &robotname, double timeout) | 
| jogs robot either in joint space or tool space | |
| int | main (int argc, char **argv) | 
| 変数 | |
| static bool | s_sigintreceived = false | 
| static string | s_robotname | 
| string ConvertStateToString | ( | const BinPickingTaskResource::ResultGetBinpickingState & | state | ) | 
convert state of bin picking task to string
| state | state to convert to string | 
mujinjog.cpp の 176 行で定義されています。
| void InitializeTask | ( | const bpo::variables_map & | opts, | 
| BinPickingTaskResourcePtr & | pBinpickingTask | ||
| ) | 
initialize BinPickingTask and establish communication with controller
| opts | options parsed from command line | 
| pBinPickingTask | bin picking task to be initialized | 
mujinjog.cpp の 90 行で定義されています。
| int main | ( | int | argc, | 
| char ** | argv | ||
| ) | 
mujinjog.cpp の 266 行で定義されています。
| bool ParseOptions | ( | int | argc, | 
| char ** | argv, | ||
| bpo::variables_map & | opts | ||
| ) | 
parse command line options and store in a map
| argc | number of arguments | 
| argv | arguments | 
| opts | map where parsed options are stored | 
mujinjog.cpp の 32 行で定義されています。
| void Run | ( | BinPickingTaskResourcePtr & | pTask, | 
| const string & | mode, | ||
| unsigned int | axis, | ||
| bool | moveInPositive, | ||
| double | duration, | ||
| double | speed, | ||
| double | acc, | ||
| const string & | robotname, | ||
| double | timeout | ||
| ) | 
jogs robot either in joint space or tool space
| pTask | task | 
| mode | whether to move in joints or tool | 
| axis | axis to jog | 
| moveInPositive | if true, moves in increasing direction, otherwise move in decreasing direction | 
| duration | time in second to do jogging | 
| speed | speed at which to jog | 
| acc | acceleration at which to jog | 
| robotname | name of robot | 
| period | period in ms at which to print current robot state | 
| timeout | timeout for controller command | 
mujinjog.cpp の 213 行で定義されています。
| void sigint_handler | ( | int | sig | ) | 
mujinjog.cpp の 295 行で定義されています。
| 
 | static | 
mujinjog.cpp の 25 行で定義されています。
| 
 | static | 
mujinjog.cpp の 24 行で定義されています。
 1.8.1.2
 1.8.1.2