Use flake8 tool to clean up file to pep8 standards
This commit is contained in:
parent
606ecd5fa3
commit
e711a1e929
@ -1,11 +1,10 @@
|
|||||||
"""
|
"""
|
||||||
Python library to control an UR robot through its TCP/IP interface
|
Python library to control an UR robot through its TCP/IP interface
|
||||||
"""
|
"""
|
||||||
|
from urx.urrobot import RobotException, URRobot # noqa
|
||||||
|
|
||||||
__version__ = "0.9.0"
|
__version__ = "0.9.0"
|
||||||
|
|
||||||
|
|
||||||
from urx.urrobot import RobotException, URRobot
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from urx.robot import Robot
|
from urx.robot import Robot
|
||||||
except ImportError as ex:
|
except ImportError as ex:
|
||||||
|
@ -26,6 +26,7 @@ Future Features
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
|
|
||||||
class Robotiq_Two_Finger_Gripper(object):
|
class Robotiq_Two_Finger_Gripper(object):
|
||||||
complete_program = ""
|
complete_program = ""
|
||||||
header = "def myProg():" + b"\n"
|
header = "def myProg():" + b"\n"
|
||||||
|
@ -4,13 +4,6 @@ Confer http://support.universal-robots.com/Technical/RealTimeClientInterface
|
|||||||
Note: The packet lenght given in the web-page is 740. What is actually received from the controller is 692. It is assumed that the motor currents, the last group of 48 bytes, are not send.
|
Note: The packet lenght given in the web-page is 740. What is actually received from the controller is 692. It is assumed that the motor currents, the last group of 48 bytes, are not send.
|
||||||
Originally Written by Morten Lind
|
Originally Written by Morten Lind
|
||||||
'''
|
'''
|
||||||
|
|
||||||
__author__ = "Morten Lind, Olivier Roulet-Dubonnet"
|
|
||||||
__copyright__ = "Copyright 2011, NTNU/SINTEF Raufoss Manufacturing AS"
|
|
||||||
__credits__ = ["Morten Lind, Olivier Roulet-Dubonnet"]
|
|
||||||
__license__ = "LGPLv3"
|
|
||||||
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
import socket
|
import socket
|
||||||
import struct
|
import struct
|
||||||
@ -22,6 +15,11 @@ import numpy as np
|
|||||||
|
|
||||||
import math3d as m3d
|
import math3d as m3d
|
||||||
|
|
||||||
|
__author__ = "Morten Lind, Olivier Roulet-Dubonnet"
|
||||||
|
__copyright__ = "Copyright 2011, NTNU/SINTEF Raufoss Manufacturing AS"
|
||||||
|
__credits__ = ["Morten Lind, Olivier Roulet-Dubonnet"]
|
||||||
|
__license__ = "LGPLv3"
|
||||||
|
|
||||||
|
|
||||||
class URRTMonitor(threading.Thread):
|
class URRTMonitor(threading.Thread):
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user