|
Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
|
/rw/motionsystem/mechunits/{mechunit}/calib
POST
None
At least 4 points are required.
HTTP_OK(200)
<?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/"/> </head> <body> <div class="state"> <a href="calib" rel="self"/> <ul> <li class="ms-mechunit-calib" title="calib"> <span class="x">-138.3185882568359</span> <span class="y">-687.7495727539063</span> <span class="z">-102.7207489013672</span> <span class="q1">0.7739842534065247</span> <span class="q2">-0.3647675812244415</span> <span class="q3">0.2921652495861054</span> <span class="q4">0.4272382259368897</span> <span class="max-err">72.39798736572266</span> <span class="min-err">53.4705924987793</span> <span class="mean-err">36.10842514038086</span> </li> </ul> </div> </body> </html>
BAD_REQUEST(400)
See Robot controller return codes
curl --digest -u "Default User":robotics -d "method=RotExtCtrlZdef&type=SINGLE&tolerance=1&pose=[0, 0, 0, 0, 1, 0, 0]&point1=[0, 0, 0, 1, 0, 0, 0, 0]&point2=[0, 0, 0, 1, 0, 0, 0, 0]&point3=[0, 0, 0, 1, 0, 0, 0, 0]&point4=[0, 0, 0, 1, 0, 0, 0, 0]" -X POST "http://localhost/rw/motionsystem/mechunits/ROB_1/calib"
As all the use-cases for this API are not know, limited use-case testing has been performed for this API.
Not supported in boot server.