Mitsubishi PA-10
================

.. image:: ../../../media/actuators/pa_10.png
  :align: center
  :width: 600


**PA-10 6-DOF robotic arm**


This actuator reads a list of angles for the segments of the
Mitsubishi PA-10 arm and applies them as local rotations.

Angles are expected in radians.


.. cssclass:: properties morse-section

Configuration parameters for mitsubishi pa-10
---------------------------------------------


You can set these properties in your scripts with ``<component>.properties(<property1>=..., <property2>=...)``.

- ``Speed`` (float, default: ``1.0``)
	speed of each joint, in rad/s
- ``Tolerance`` (float, default: ``0.08726646259971647``)
	tolerance on the position, in radians


.. cssclass:: fields morse-section

Data fields
-----------


This actuator reads these datafields at each simulation step:

- ``seg0`` (float, initial value: ``0.0``)
	first joint (base), in radians
- ``seg1`` (float, initial value: ``0.0``)
	second joint, in radians
- ``seg2`` (float, initial value: ``0.0``)
	third joint, in radians
- ``seg3`` (float, initial value: ``0.0``)
	fourth joint, in radians
- ``seg4`` (float, initial value: ``0.0``)
	fifth joint, in radians
- ``seg5`` (float, initial value: ``0.0``)
	sixth joint (wrist), in radians

*Interface support:*

(attention, no interface support!)

.. cssclass:: services morse-section

Services for Mitsubishi PA-10
-----------------------------

- ``get_properties()`` (blocking)
    Returns the properties of a component.
    
    
  - Return value

    a dictionary of the current component's properties  

- ``get_configurations()`` (blocking)
    Returns the configurations of a component (parsed from the properties).
    
    
  - Return value

    a dictionary of the current component's configurations  

- ``set_rotation_array(seg0, seg1, seg2, seg3, seg4, seg5)`` (blocking)
    MORSE service to set the rotation for each of the arm joints.
    It receives an array containing the angle to give to each of
    the robot articulations. Angles are expected in radians. The length
    of the array should be equal to 6 or less, where any values not 
    specified will be considered as 0.0.
    
    
  - Parameters

    - ``seg0``: 1st joint angle (base)
    - ``seg1``: 2nd joint angle
    - ``seg2``: 3rd joint angle
    - ``seg3``: 4th joint angle
    - ``seg4``: 5th joint angle
    - ``seg5``: 6th joint angle (wrist)



.. cssclass:: examples morse-section

Examples
--------


The following examples show how to use this component in a *Builder* script:

.. code-block:: python


    from morse.builder import *
    
    robot = ATRV()
    
    # creates a new instance of the actuator
    pa10 = PA10()

    # place your component at the correct location
    pa10.translate(<x>, <y>, <z>)
    pa10.rotate(<rx>, <ry>, <rz>)
    
    robot.append(pa10)
    
    # define one or several communication interface, like 'socket'
    pa10.add_interface(<interface>)

    env = Environment('empty')
    

.. cssclass:: files morse-section

Other sources of examples
+++++++++++++++++++++++++

- `Source code <../../_modules/morse/actuators/pa_10.html>`_
- `Unit-test <../../_modules/base/pa_10_testing.html>`_




*(This page has been auto-generated from MORSE module morse.actuators.pa_10.)*
