Functions | |
def | get_present_pos (req) |
def | getch () |
def | main () |
def | read_write_py_node () |
def | set_goal_pos_callback (data) |
Variables | |
int | ADDR_GOAL_POSITION = 116 |
int | ADDR_PRESENT_POSITION = 132 |
int | ADDR_TORQUE_ENABLE = 64 |
int | BAUDRATE = 57600 |
string | DEVICENAME = '/dev/ttyUSB0' |
int | DXL_ID = 1 |
int | DXL_MAXIMUM_POSITION_VALUE = 1000 |
int | DXL_MINIMUM_POSITION_VALUE = 0 |
int | DXL_MOVING_STATUS_THRESHOLD = 20 |
fd = sys.stdin.fileno() | |
old_settings = termios.tcgetattr(fd) | |
packetHandler = PacketHandler(PROTOCOL_VERSION) | |
portHandler = PortHandler(DEVICENAME) | |
float | PROTOCOL_VERSION = 2.0 |
int | TORQUE_DISABLE = 0 |
int | TORQUE_ENABLE = 1 |
def read_write_node.get_present_pos | ( | req | ) |
Definition at line 87 of file read_write_node.py.
def read_write_node.getch | ( | ) |
Definition at line 46 of file read_write_node.py.
def read_write_node.main | ( | ) |
Definition at line 98 of file read_write_node.py.
def read_write_node.read_write_py_node | ( | ) |
Definition at line 92 of file read_write_node.py.
def read_write_node.set_goal_pos_callback | ( | data | ) |
Definition at line 83 of file read_write_node.py.
int read_write_node.ADDR_GOAL_POSITION = 116 |
Definition at line 62 of file read_write_node.py.
int read_write_node.ADDR_PRESENT_POSITION = 132 |
Definition at line 63 of file read_write_node.py.
int read_write_node.ADDR_TORQUE_ENABLE = 64 |
Definition at line 61 of file read_write_node.py.
int read_write_node.BAUDRATE = 57600 |
Definition at line 70 of file read_write_node.py.
string read_write_node.DEVICENAME = '/dev/ttyUSB0' |
Definition at line 71 of file read_write_node.py.
int read_write_node.DXL_ID = 1 |
Definition at line 69 of file read_write_node.py.
int read_write_node.DXL_MAXIMUM_POSITION_VALUE = 1000 |
Definition at line 77 of file read_write_node.py.
int read_write_node.DXL_MINIMUM_POSITION_VALUE = 0 |
Definition at line 76 of file read_write_node.py.
int read_write_node.DXL_MOVING_STATUS_THRESHOLD = 20 |
Definition at line 78 of file read_write_node.py.
read_write_node.fd = sys.stdin.fileno() |
Definition at line 50 of file read_write_node.py.
read_write_node.old_settings = termios.tcgetattr(fd) |
Definition at line 51 of file read_write_node.py.
read_write_node.packetHandler = PacketHandler(PROTOCOL_VERSION) |
Definition at line 81 of file read_write_node.py.
read_write_node.portHandler = PortHandler(DEVICENAME) |
Definition at line 80 of file read_write_node.py.
float read_write_node.PROTOCOL_VERSION = 2.0 |
Definition at line 66 of file read_write_node.py.
int read_write_node.TORQUE_DISABLE = 0 |
Definition at line 75 of file read_write_node.py.
int read_write_node.TORQUE_ENABLE = 1 |
Definition at line 74 of file read_write_node.py.