11/30/2022 0 Comments Java xml rpc client
xmlrpc_cameraĦ) Remove the “ and replace the IP-address in the "" string with the one from the Linux PC, for example: "129.168.1.10:50000". zip with: tar xf xmlrpc_cpp.zipģ) Start the executable with. JAVA XML RPC CLIENT INSTALLTo install on Ubuntu 14.04 type: sudo apt-get updateġ) Open a terminal and unpack the. Furthermore, its website also features a lot of useful examples and hints to make the C++ programming easier. can be used and is available in most standard Linux distributions by default. This example shows the same functionality as for Python. Note, the "Received pose" will be equal to the robot's Tool pose when it was started. The Python "camera" server will give an output that will be similar to:ġ27.0.0.1 - "POST / HTTP/1.1" 200. If everything works well the robot moves to the fixed pose. JAVA XML RPC CLIENT PCThis example uses a Linux PC (for example Ubuntu 14.04).Ġ) Download the xmlrpc_camera.py and urlib.pyģ) Type in the following command and press enter: python xmlrpc_server.pyĤ) Now the server runs and can be contactedĥ) Download the xmlrpc_example.urp and transfer it to the robotĦ) Replace the IP-address in the "" string with the one from the Linux PC, for example: "".ħ) Press play to run the PolyScope program Server.register_function(get_next_pose, "get_next_pose") Server = SimpleXMLRPCServer(("", 50000), allow_none=True) Python 2.7 & 3 code, xmlrpc_camera.py(can be downloaded at the buttom of this page - XMLRPC.zip):įrom SimpleXMLRPCServer import SimpleXMLRPCServerįrom rver import SimpleXMLRPCServer The PolyScope program is in charge of moving the actual robot. The example Python "camera"-program receives a pose and sends a fixed pose back.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |