Más contenido relacionado
La actualidad más candente (20)
Similar a MoveItの新機能、 pilz industrial motion を試してみた (12)
MoveItの新機能、 pilz industrial motion を試してみた
- 4. ビルド⽅法(参考情報)
5/1時点ではマージされていないので、以下の⼿順
で導⼊した。(※ マージされたらこんなことしなくてよい)
前提
• ROS1のmelodicで検証。
• MoveItのソースビルド済みの環境である。ソースビルドは、
https://moveit.ros.org/install/source/
を参照。
$ git clone https://github.com/PilzDE/moveit.git
$ cd moveit
$ git checkout -b pilz_planner_merge origin/pilz_planner_merge
$ cd ..
$ git clone https://github.com/PilzDE/pilz_industrial_motion.git
$ cd pilz_industrial_motion
$ git checkout -b moveit_merge origin/moveit_merge
$ cd ..
$ git clone https://github.com/PilzDE/pilz_robots.git
$ cd pilz_robots
$ git checkout -b moveit_merge origin/moveit_merge
$ cd ..
$ git clone https://github.com/PilzDE/moveit_msgs.git
$ cd moveit_msgs
$ git checkout -b pilz_planner_merge origin/pilz_planner_merge
$ cd ../..
$ rosdep install -i -y -r --from-paths src
$ catkin build
- 5. 実際に試してみる
関節補間
(PTP)
直線補間
(LIN)
円弧補間
(CIRC)
[ INFO] [1588254635.697290019]: Generating CIRC trajectory...
[ERROR] [1588254635.697460199]: No path constraint named "interim" or "center" found (found unknown constraint:
"req.path_constraints.name" instead)
[ WARN] [1588254635.714897758]: Fail: ABORTED: No motion plan found. No execution attempted.
移動に⼀番時間がかかる関節軸に合わせて
すべての関節の動作が決定。
⽬標姿勢まで直線的に結ぶ。
従来の直線補間よりも安定的?
moveit::planning_interface::MoveGroup::
computeCartesianPath
評価はまだできていない。
plizのほうが補間失敗原因の内容が
親切な気がする。
⼆点の姿勢と円弧の中⼼点を指定。
GUI上で指令しても以下のエラーが出る。この補間⽅法独⾃の制約情報が必要であるため。
C++/PythonからMotionPlanRequestをきちんと作って投げれば問題なし。