import time
import pypot.robot
from poppytools.configuration.config import poppy_config
poppy = pypot.robot.from_config(poppy_config)
poppy.start_sync()
for m in poppy.motors:
m.compliant = False
for m in poppy.motors:
m.goto_position(0, 5)
time.sleep(5)
[(3.82, -4.97, -13.23, -2.51, 4.18, 14.81, -17.74, 22.64, 4.62, -23.08, -29.41, -3.74, -0.84, -5.58, 6.37, -5.76, 1.27, 1.98, -1.27, -29.14, -0.92, 6.37, -1.45, 1.71, 30.29), (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0), (100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0, 100.0)]
Exception in thread Thread-get_pos_speed_load:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 551, in __bootstrap_inner
self.run()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 169, in run
self.function()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 118, in _get_pos_speed_load
values = self._dxl_io.get_present_position_speed_load(self._ids)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 404, in my_getter
return self._get_control_value(control, ids, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 451, in _get_control_value
sp = self._send_packet(rp, error_handler=error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 575, in _send_packet
f(error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/error.py”, line 44, in handle_overload_error
raise NotImplementedError
NotImplementedError
Exception in thread Thread-get_present_temperature:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 551, in __bootstrap_inner
self.run()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 169, in run
self.function()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 46, in
self.add_sync_loop(freq, lambda: self._get_register(regname, varname),
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 55, in _get_register
values = getattr(self.dxl_io, 'get{}'.format(regname))(ids)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 404, in my_getter
return self._get_control_value(control, ids, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 451, in _get_control_value
sp = self._send_packet(rp, error_handler=error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 575, in _send_packet
f(error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/error.py”, line 44, in handle_overload_error
raise NotImplementedError
NotImplementedError
Exception in thread Thread-get_angle_limit:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 551, in __bootstrap_inner
self.run()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 169, in run
self.function()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 46, in
self.add_sync_loop(freq, lambda: self._get_register(regname, varname),
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 55, in _get_register
values = getattr(self.dxl_io, 'get{}'.format(regname))(ids)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 404, in my_getter
return self._get_control_value(control, ids, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 451, in _get_control_value
sp = self._send_packet(rp, error_handler=error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 575, in _send_packet
f(error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/error.py”, line 44, in handle_overload_error
raise NotImplementedError
NotImplementedError
Exception in thread Thread-get_present_voltage:
Traceback (most recent call last):
File “/usr/lib/python2.7/threading.py”, line 551, in __bootstrap_inner
self.run()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 169, in run
self.function()
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 46, in
self.add_sync_loop(freq, lambda: self._get_register(regname, varname),
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/controller.py”, line 55, in _get_register
values = getattr(self.dxl_io, 'get{}'.format(regname))(ids)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 404, in my_getter
return self._get_control_value(control, ids, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 451, in _get_control_value
sp = self._send_packet(rp, error_handler=error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/io.py”, line 575, in _send_packet
f(error_handler)
File “/usr/local/lib/python2.7/dist-packages/pypot-1.7.1-py2.7.egg/pypot/dynamixel/error.py”, line 44, in handle_overload_error
raise NotImplementedError
NotImplementedError