<contact> element

This element describes a contact attached to the robot body.

Here is a example of the contact element:

   1   <contact name="l_sole_contact" link="l_sole">
   2     <origin xyz="0 0 0" rpy="0 0 0" />
   3     <geometry>
   4       <box size="0.05 0.05 0.05" />
   5     </geometry>
   6     <limit normal_force="400" />
   7   </contact>

Attributes

  • name (required)

    • The name of the contact itself
  • link (required)

    • The name of the link on which the contact is attached.

Elements

  • <origin> (optional: defaults to identity if not specified)

    • The reference frame of the visual element with respect to the reference frame of the link.

      xyz (optional: defaults to zero vector)

      • Represents the

        latex error! exitcode was 1 (signal 0), transscript follows:
        
        This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018) (preloaded format=latex)
        
        kpathsea: Running mktexfmt latex.fmt
        mktexfmt: mktexfmt is using the following fmtutil.cnf files (in precedence order):
        mktexfmt:   /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf
        mktexfmt: mktexfmt is using the following fmtutil.cnf file for writing changes:
        mktexfmt:   /usr/share/httpd/.texlive2018/texmf-config/web2c/fmtutil.cnf
        /usr/bin/mktexfmt: mkdir(/usr/share/httpd/.texlive2018/) failed: Permission denied
        I can't find the format file `latex.fmt'!
        
        offset.

      rpy (optional: defaults to identity if not specified)

      • Represents the fixed axis roll, pitch and yaw angles in radians.

    <geometry> (required)

    • The shape of the visual object. This can be one of the following:

    • <box>

      • size attribute contains the three side lengths of the box. The origin of the box is in its center.

      • Contact is considered valid when the reaction force is going toward the box interior.
        • surface, going toward the outside.

      <cylinder>

      • Specify the radius and length. The origin of the cylinder is in its center.

      • Contact is considered valid when the reaction force is going toward the cylinder interior.

      <sphere>

      • Specify the radius. The origin of the sphere is in its center.

      • Contact is considered valid when the reaction force is going toward the sphere interior.

      <mesh>

      • A trimesh element specified by a filename, and an optional scale that scales the mesh's axis-aligned-bounding-box. The mesh file is not transferred between machines referencing the same model. It must be a local file.

      • Contact is considered valid when the reaction force is collinear with the surface normal and of opposite direction.

    <limit> (optional)

    • Limitations to take into consideration when the contact is active.

      normal_force (optional)

      • Maximum reaction force allowed in this contact zone. Balance and robot integrity is not guaranteed if a larger force is applied.

Wiki: rcpdf/XML/Contact elements (last edited 2012-03-13 09:14:56 by ThomasMoulard)