Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get Axis pose

URL

/rw/motionsystem/mechunits/{mechunit}/axes/{axis_num}

Method

GET

URL Params

resource=axis-pose

See Common URL parameters

Data Params

None

Success Response

HTTP_OK(200), see HTTP Status codes

Example Response

<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml">
   <head>
       <title>motionsystem</title>
       <base href="http://localhost/rw/motionsystem/mechunits/ROB_1/axes"/>
   </head>
   <body>
       <div class="state">
           <a href="1?resource=axis-pose" rel="self"/>
           <ul>
               <li class="ms-mechunit-axispose" title="axispose">
                   <span class="x"></span>
                   <span class="y"></span>
                   <span class="z"></span>
                   <span class="q1"></span>
                   <span class="q2"></span>
                   <span class="q3"></span>
                   <span class="q4"></span>
               </li>
           </ul>
       </div>
   </body>
</html>

Resources

  • x, y, z Represents axis pose position
  • q1, q2, q3, q4 Represents axis pose orientation

Error Response

BAD_REQUEST(400)

Robot controller errors, see Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics "http://localhost/rw/motionsystem/mechunits/ROB_1/axes/1?resource=axis-pose"

Note

Not supported in bootserver mode