Launch Moveit + Rviz:
roslaunch pilz_manipulation my_application.launch
Run the movement:
rosrun pilz_manipulation myFirstApplication.py
Run the node tool_pose_publisher:
rosrun ur_manipulation tool_pose_publisher.py
Run the socket sending message:
rosrun ros_ret tool_pose_publisher_use.py