Robot Web Services
3HAC050973-001 Revision:M, Application Manual - Robot Web Services
Get All Joint Solution

URL

/rw/motionsystem/mechunits/{mechunit}

Method

POST

URL Params

action=AllJointSolutions

See Common URL parameters

Data Params

  • curr_position = [x,y,z] Required
  • curr_ext_joints = [j1,j2,j3,j4,j5,j6] Required
  • tool_frame_position = [x, y, z] Required
  • curr_orientation = [u0, u1, u2, u3] Required
  • tool_frame_orientation = [u0, u1, u2, u3] Required
  • robot_fixed_object = TRUE|FALSE Required
  • robot_configuration = [quarter_rev_j1, quarter_rev_j4, quarter_rev_j6, quarter_rev_jx] Required

Success Response

HTTP_OK(200)

see HTTP Status codes

Example Response

<html>
<head>
<title>motionsystem</title>
<base href= "http://localhost/rw/motionsystem/mechunits/ROB_1/" />
</head>
<body>
<div class="state">
<a href= "all-joint-solutions" rel="self"/>
<ul>
<li class="all-joint-solutions" title="jointData">
<span class="robotjoint1">-0.1347234</span>
<span class="robotjoint2">0.2333864</span>
<span class="robotjoint3">-0.08882501</span>
<span class="robotjoint4">1.820312</span>
<span class="robotjoint5">1.946891</span>
<span class="robotjoint6">1.746652</span>
<span class="extjoint1">8.999999e+009</span>
<span class="extjoint2">8.999999e+009</span>
<span class="extjoint3">8.999999e+009</span>
<span class="extjoint4">8.999999e+009</span>
<span class="extjoint5">8.999999e+009</span>
<span class="extjoint6">8.999999e+009</span>
<span class="quarter_rev_j11">-1</span>
<span class="quarter_rev_j4">1</span>
<span class="quarter_rev_j6">1</span>
<span class="quarter_rev_jx">0</span>
</li>
<li class="all-joint-solutions" title="jointData">
<span class="robotjoint1">-0.1347234</span>
<span class="robotjoint2">0.2333864</span>
<span class="robotjoint3">-0.08882501</span>
<span class="robotjoint4">-1.321281</span>
<span class="robotjoint5">-1.946891</span>
<span class="robotjoint6">-1.394941</span>
<span class="extjoint1">8.999999e+009</span>
<span class="extjoint2">8.999999e+009</span>
<span class="extjoint3">8.999999e+009</span>
<span class="extjoint4">8.999999e+009</span>
<span class="extjoint5">8.999999e+009</span>
<span class="extjoint6">8.999999e+009</span>
<span class="quarter_rev_j11">-1</span>
<span class="quarter_rev_j4">-1</span>
<span class="quarter_rev_j6">-1</span>
<span class="quarter_rev_jx">1</span>
</li>
</ul>
</div>
</body>
</html>

Resources

  • robotjoint Robot joints
  • extjoint Robot external joints
  • quarter_rev_j Robot configuration

Error Response

BAD_REQUEST (400)

See Robot controller return codes

Sample Call

curl --digest -u "Default User":robotics -d "curr_position=[0.511087716,-0.0101547102,0.665710211]&curr_ext_joints=[0,0,0,0,0,0]&tool_frame_position=[0,0,0]&curr_orientation=[0.675245225,-0.425338209,-0.423074305,-0.429114610]&tool_frame_orientation=[1.0,0,0,0]&robot_fixed_object=FALSE&robot_configuration=[-1,1,1,0]" "http://localhost/rw/motionsystem/mechunits/ROB_R?action=AllJointSolutions"

Note

Not supported in boot server.