Advertisement
ZdenekM

Untitled

Jan 23rd, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.51 KB | None | 0 0
  1. (arcor2) zdenal@zdenal-ideapad:~$ python -m websockets ws://localhost:6789
  2. /home/zdenal/.envs/arcor2/lib/python3.8/site-packages/websockets/__main__.py:180: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  3.   inputs: asyncio.Queue[str] = asyncio.Queue(loop=loop)
  4. Connected to ws://localhost:6789.
  5. < {"event": "SceneChanged", "data": {"id": "test", "objects": [{"id": "eeeee", "type": "Box", "pose": {"position": {"x": 0.0, "y": 0.0, "z": 0.0}, "orientation": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 1.0}}}], "services": [{"type": "RestRobotService", "configuration_id": "simulator"}], "desc": ""}}
  6. < {"event": "ProjectChanged", "data": {"id": "test", "scene_id": "test", "objects": [{"id": "eeeee", "action_points": [{"id": "eeeee-AP2", "position": {"x": -11.16727, "y": 90.0, "z": 0.0}, "orientations": [{"id": "default", "orientation": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 1.0}}], "robot_joints": [{"id": "default", "robot_id": "aubo", "joints": [], "is_valid": false}], "actions": []}, {"id": "eeeee-AP1", "position": {"x": 0.1974341, "y": 0.0, "z": 0.2235237}, "orientations": [{"id": "default", "orientation": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 1.0}}], "robot_joints": [{"id": "default", "robot_id": "aubo", "joints": [], "is_valid": false}], "actions": [{"id": "move0265", "type": "RestRobotService/move", "parameters": [{"id": "robot_id", "value": "SELECTED ITEM", "type": "string"}, {"id": "end_effector_id", "value": "SELECTED ITEM", "type": "string"}, {"id": "pose", "value": "eeeee.eeeee-AP1.default", "type": "pose"}, {"id": "move_type", "value": "Line", "type": "string_enum"}, {"id": "speed", "type": "double"}], "inputs": [{"default": "move4787"}], "outputs": [{"default": "end"}]}]}, {"id": "eeeee-AP2", "position": {"x": -0.3948509, "y": -0.2676411, "z": 0.0}, "orientations": [{"id": "default", "orientation": {"x": 0.0, "y": 0.0, "z": 0.0, "w": 1.0}}], "robot_joints": [{"id": "default", "robot_id": "aubo", "joints": [], "is_valid": false}], "actions": [{"id": "move4787", "type": "RestRobotService/move", "parameters": [{"id": "robot_id", "value": "SELECTED ITEM", "type": "string"}, {"id": "end_effector_id", "value": "SELECTED ITEM", "type": "string"}, {"id": "pose", "value": "eeeee.eeeee-AP2.default", "type": "pose"}, {"id": "move_type", "value": "Line", "type": "string_enum"}, {"id": "speed", "type": "double"}], "inputs": [{"default": "start"}], "outputs": [{"default": "move0265"}]}]}]}], "desc": "", "has_logic": true}}
  7. < {"event": "ProjectState", "data": {"state": "stopped"}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement