浠诲姟
==========================================
璁剧疆瀹岃瑙夊拰杩愬姩閮ㄥ垎涔嬪悗銆佽繍琛屼换鍔℃祦鍥句箣鍓嶏紝闇€瑕佹坊鍔犲伐浠朵唬鍙锋槧灏勫叧绯伙紝浠ヤ究浠诲姟娴佸浘璋冪敤瑙嗚鍜岃繍鍔ㄨ缃殑宸ヤ欢銆佽瑙夋湇鍔$紪鍙枫€佹姄鍙栧鐞嗘祦绋嬬瓑鍐呭锛屽叿浣撴楠ゅ涓嬨€�


.. |add| image:: img/add.png
            :width: 25px

.. |delete2| image:: img/delete2.png
          :width: 25px

.. |change| image:: img/change.png
          :width: 25px

.. |copy| image:: img/copy.png
          :width: 25px

.. |delete3| image:: img/delete3.png
          :width: 25px

.. |start| image:: img/start.png
           :width: 25px

宸ヤ欢浠e彿鏄犲皠琛�
+++++++++++++++++

1. 鍗曞嚮Max鍙充笂瑙� :guilabel:`鏄犲皠琛ㄤ笌閫氫俊鍗忚`锛屽湪寮瑰嚭鐨� **鏄犲皠琛ㄤ笌閫氫俊鍗忚** 绐楀彛閫夋嫨 鈥滃伐浠朵唬鍙锋槧灏勮〃 > 鍧愭爣绉诲姩鈥濋〉绛俱€�

  .. image:: img/task1.png
     :align: center
     :width: 650px

2. 鍗曞嚮 :guilabel:`娣诲姞鏄犲皠鍏崇郴`锛屽湪寮瑰嚭鐨� **娣诲姞鏄犲皠鍏崇郴** 绐楀彛璁剧疆閿€佸€煎拰鍙傛暟銆�

   .. image:: img/task2.png
      :align: center
      :width: 450px

   - 宸ヤ欢浠e彿锛氱敤鎴疯嚜瀹氫箟宸ヤ欢浠e彿锛屼粎鏀寔鑻辨枃瀛楁瘝鍜屾暟瀛楋紝闀垮害涓嶈秴杩�15涓瓧绗︺€傚彲娣诲姞澶氫釜宸ヤ欢銆�
   - 瑙嗚鏈嶅姟缂栧彿锛氬湪涓嬫媺鑿滃崟閫夋嫨瑙嗚鏈嶅姟缂栧彿锛岀紪鍙峰拰瑙嗚閮ㄥ垎鐨勮缃繚鎸佷竴鑷淬€�
   - 瑙嗚娴佸浘鏂囦欢锛氫笌瑙嗚绌洪棿ID涓嬬殑娴佸浘淇濇寔涓€鑷淬€�
   - 澶勭悊娴佺▼锛氬湪涓嬫媺鑿滃崟涓€夋嫨鎶撳彇澶勭悊娴佺▼锛岃繖浜涙姄鍙栧鐞嗘祦绋嬪凡鍦ㄨ繍鍔ㄩ儴鍒嗚缃ソ銆傝繍鍔ㄦ祦绋嬬紪鍙蜂粠0寮€濮嬭嚜鍔ㄥ鍔狅紝鍙崟鍑� |add| 鎴� |delete2| 鏂板缓鎴栧垹闄ゅ鐞嗘祦绋嬨€�
   - 缂撳瓨澶氫釜瑙嗚缁撴灉锛氬彲鏍规嵁闇€瑕佹槸鍚﹀嬀閫夈€�

3. 鍗曞嚮 :guilabel:`纭` 瀹屾垚娣诲姞锛屽垪琛ㄤ腑浼氭樉绀哄凡娣诲姞鐨勬槧灏勫叧绯伙紝鐢ㄦ埛鍙鍒楄〃涓殑鏄犲皠鍏崇郴杩涜鎿嶄綔銆�

   .. image:: img/task3.png
      :align: center
      :width: 600px

   - |change|锛氫慨鏀规槧灏勫叧绯汇€�
   - |copy|锛氬鍒跺苟淇敼鏄犲皠鍏崇郴锛屾敞鎰忛敭鍊间笉鑳介噸澶嶃€�
   - |delete3|锛氬垹闄ゆ槧灏勫叧绯汇€�

4. 鍗曞嚮 :guilabel:`纭` 瀹屾垚鏄犲皠琛ㄨ缃€�

.. hint:: 鐢ㄦ埛鍙崟鍑� :guilabel:`鑷姩鐢熸垚鏄犲皠鍏崇郴`锛岀郴缁熻嚜鍔ㄦ牴鎹瑙夊拰杩愬姩鐨勮缃敓鎴愬伐浠朵唬鍙锋槧灏勮〃锛屼絾鏈夊涓姄鍙栧鐞嗘祦绋嬫椂鏃犳硶鑷姩鐢熸垚鏄犲皠鍏崇郴銆�

浠诲姟娴佸浘
+++++++++++++++++

璁剧疆瀹屽伐浠朵唬鍙锋槧灏勮〃涔嬪悗锛屽湪 :guilabel:`浠诲姟` 涓鍏�2D/3D鍧愭爣绉诲姩涓殑鍩虹妯℃澘锛岃鍙傝 :doc:`../../../basic_operation/VP_operation/configuration`銆備换鍔℃祦鍥剧殑璁剧疆鍒嗕负宸ユ帶鏈轰富鎺у拰鏈烘鑷備富鎺т袱绉嶆柟寮忋€�

宸ユ帶鏈轰富鎺�
-------------

娣诲姞濂藉熀纭€妯℃澘涔嬪悗锛岀敤鎴峰彲鏍规嵁闇€姹傛坊鍔犳垨淇敼妯″潡銆備互鎶撳彇鍦嗙幆椤圭洰涓轰緥锛岄厤缃畬鎴愬悗鐨勬祦鍥惧涓嬨€�

.. image:: img/taskflow.png
   :align: center
   :width: 700px

涓嬮潰璇︾粏浠嬬粛璇ヤ换鍔℃祦鍥剧殑閰嶇疆姝ラ銆�

1. 鍦ㄤ换鍔℃祦鍥炬ā鍧楀綋涓€夋嫨鈥滃姛鑳� > 涓€閿洿鏂拌妭鐐规満姊拌噦灞炴€р€濓紝绯荤粺鑷姩鏍规嵁褰撳墠璁剧疆鏇存柊鏈烘鑷傝矾寰勩€備篃鍙湪妯″潡鐨勫睘鎬т腑璁剧疆鏈烘鑷傝矾寰勩€�

  .. image:: img/updaterobot.png
     :align: center
     :width: 450px

2. 鍦� **鍒囨崲宸ヤ欢** 妯″潡涓缃伐浠朵唬鍙峰拰瑙嗚鏈嶅姟缂栧彿锛屽叾瀹冨弬鏁板彲鏍规嵁闇€姹備慨鏀广€傝宸ヤ欢浠e彿鍦ㄦ槧灏勮〃涓缃紝璇峰弬鑰冩湰椤甸潰寮€澶寸殑鍐呭銆�

 .. image:: img/objchange.png
    :align: center
    :width: 350px

3. 鍦� **绉诲姩鍒扮洰鏍囧叧鑺�** 妯″潡涓缃叧鑺傝搴︺€佷綅缃拰閫熷害绛夊弬鏁帮紝鎸囧畾涓€涓捣濮嬬偣浣嶇疆銆�

 .. image:: img/joint.png
    :align: center
    :width: 350px

4. 鍦� **鍛煎彨瑙嗚涓庤绠楁姄鍙栬鍒掞紙鍧愭爣绉诲姩锛�** 妯″潡涓缃伐浣滅┖闂寸紪鍙枫€佹満姊拌噦璺緞銆佸伐浣滅┖闂村拰鏈烘鑷備綅濮跨瓑鍙傛暟锛屽叾瀹冨弬鏁板彲鏍规嵁闇€姹備慨鏀癸紝璇ユā鍧椾細璁$畻鍑烘渶缁堢殑鎶撳彇浣嶅Э銆�

5. 璁剧疆鐩爣鍏宠妭鍜屾暟瀛楄緭鍑恒€�

   a. 鏍规嵁瀹為檯闇€瑕侊紝璁剧疆棰勬姄鍙栫偣锛坧repick锛夈€佸悗鎶撳彇鐐癸紙postpick锛夌殑浣嶅Э鍋忕Щ锛屽垎鍒〃绀烘姄鍙栧墠鍜屾姄鍙栧悗鏈烘鑷傚仠鐣欑殑浣嶇疆銆備緥濡傚湪鏈」鐩腑锛岃浣嶅Э鏄浉瀵逛簬鎶撳彇浣嶅Э鐨勫亸绉婚噺銆傛ā鍧椾腑鍙傝€冪偣璺緞涓哄疄闄呯幆澧冧腑宸ュ叿鍙傝€冪偣鐨勮矾寰勩€�
   
      .. image:: img/prepick.png
            :align: center
            :width: 450px
   
   b. 鍦ㄩ鎶撳彇鐐逛箣鍚庢坊鍔犱竴涓� **璁剧疆璁惧鏁板瓧杈撳嚭** 妯″潡銆傚崟鍑昏妯″潡锛屽湪鍙充晶 **灞炴€�** 椤电锛岃缃鍙g紪鍙峰拰鍊硷紝姝ゆ椂鍊煎彉涓�0锛岃〃绀哄伐鍏峰紶寮€銆�
   
      .. image:: img/ioset.png
            :align: center
            :width: 350px
   
    .. hint:: 鍗曞嚮Max鍙充笂瑙掔殑 :guilabel:`铏氭嫙绀烘暀鍣╜锛屽湪 **I/O鎺у埗** 椤电鏍规嵁鏈烘鑷傚疄闄呮儏鍐佃缃暟瀛楄緭鍑虹鍙e彿銆備緥濡傚湪鏈」鐩腑绔彛3鎺у埗鐨勬槸宸ュ叿鐨勫紑鍚堬紝淇″彿1琛ㄧず宸ュ叿闂悎锛屼俊鍙�0琛ㄧず宸ュ叿寮犲紑銆傜鍙e悕绉板彲鑷瀹氫箟锛岀劧鍚庡崟鍑� :guilabel:`纭`銆傚湪 **璁剧疆璁惧鏁板瓧杈撳嚭** 妯″潡璁剧疆鏃讹紝閫夋嫨I/O鎺у埗閲岀殑绔彛鍗冲彲銆�
    
       .. image:: img/iocontrol.png
          :align: center
          :width: 550px
   
   c. 鍦ㄦ姄鍙栫偣锛坧ick锛変箣鍚庢坊鍔犱竴涓� **璁剧疆璁惧鏁板瓧杈撳嚭** 妯″潡銆傚崟鍑昏妯″潡锛屽湪鍙充晶 **灞炴€�** 椤电锛屽嬀閫� **鍊�**锛屾鏃跺€煎彉涓�1锛岃〃绀哄伐鍏烽棴鍚堛€�
   
   d. 娣诲姞涓や釜 **绉诲姩鍒扮洰鏍囧叧鑺�** 妯″潡锛屽垎鍒〃绀哄悗鎶撳彇鐐癸紙postpick锛夊拰鏀剧疆鐐癸紙place锛夛紝骞跺湪 **灞炴€�** 椤电涓缃湪杩欎簺鐐圭殑鐩爣鍏宠妭瑙掋€�
   
   e. 鍦ㄦ斁缃偣涔嬪悗娣诲姞涓€涓� **璁剧疆璁惧鏁板瓧杈撳嚭** 妯″潡銆傚崟鍑昏妯″潡锛屽湪鍙充晶 **灞炴€�** 椤电锛屽嬀閫� **鍊�**锛屾鏃跺€煎彉涓�0锛岃〃绀哄伐鍏峰紶寮€銆�
   
   f. 浠庢祦鍥炬湯灏惧紩鍑鸿繛绾胯嚦琛ㄧず璧峰鐐圭殑 **绉诲姩鍒扮洰鏍囧叧鑺�** 妯″潡锛堝垏鎹㈠伐浠舵ā鍧椾箣鍚庯級锛屼互璁剧疆鎶撳彇澶氫釜宸ヤ欢鐨勫姩浣滃惊鐜紝绯荤粺浼氳嚜鍔ㄦ牴鎹瑙夎绠楃粨鏋滃垽鏂槸鍚︽湁寰呮姄鍙栧伐浠躲€�

8. 鍗曞嚮浠诲姟娴佸浘宸︿笂瑙掔殑 |start|锛屽紑濮嬫墽琛屾暣涓姄鍙栨祦绋嬨€�

鏈烘鑷備富鎺�
-------------

1. 鍦� :guilabel:`浠诲姟` 鐣岄潰鍙充晶 :guilabel:`鏈嶅姟缂栬緫` 椤电涓嬶紝鍗曞嚮鏈嶅姟鎸囦护锛岀紪杈戠浉搴旀ā鍧椼€�

   
   鍦�2D/3D鍧愭爣绉诲姩鍦烘櫙涓紝甯歌鐨勬湇鍔″涓嬶細
   
   - switch_item锛氬垏鎹㈠伐浠躲€�
   - calculate_grasp_poses锛氳绠楁姄鍙栦綅濮裤€�

    
    .. image:: img/service.png
       :align: center
       :width: 700px

    
2. 閫夋嫨 :guilabel:`寮€鍚湇鍔锛屽紑鍚湇鍔°€傚伐鎺ф満鏀跺埌鏈烘鑷傝姹傚悗锛岃皟鐢ㄧ浉搴旀湇鍔°€�

鏈烘鑷備富鎺фā寮忎笅锛孉BB鏈烘鑷傛渚嬪拰绀轰緥浠g爜鍙弬鑰� :doc:`../../../appendix/robot_connection/abb/example`锛屽叾浠栧搧鐗岀殑妗堜緥鍜屼唬鐮佸彲鍦� :doc:`../../../appendix/robot_connection/robot` 涓€夋嫨鐩稿簲鐨勫搧鐗屾煡鐪嬨€�

.. |help| image:: img/help.png
           :width: 20px

鍦∕ax涓紝鍗曞嚮鍙充笂鏂� :guilabel:`鏄犲皠琛ㄤ笌閫氫俊鍗忚`锛屽湪寮瑰嚭绐楀彛鐨� :guilabel:`鏈烘鑷傚熀纭€璁剧疆` 椤电涓嬶紝鍕鹃€� **寮€鍚�** 鎵撳紑娴嬭瘯妯″紡銆傛鏃跺彸渚т細鍑虹幇 :guilabel:`鎵撳紑鏂囦欢` 鍜� 
|help|銆傚崟鍑� :guilabel:`鎵撳紑鏂囦欢` 鍙煡鐪嬮€氫俊鎸囦护鐨剏ml鏂囦欢锛屽崟鍑� |help| 鍙湪娴忚鍣ㄤ腑鎵撳紑 :doc:`../../../appendix/robot_connection/robot_server_protocol_v2` 椤甸潰锛屽苟鏌ョ湅鏈烘鑷備富鎺ч€氫俊鍗忚銆佹寚浠ょ瓑鐨勫唴瀹广€�

 .. image:: img/instruction.png
    :align: center
    :width: 650px