How to reset Poppy when motors are "overloaded"

Hello,
how can I restart the poppy, when the motor are overloaded (I get an error):

Traceback (most recent call last):
  File "poppy-on-tracks.py", line 14, in <module>
    poppy = from_json(config_path)
  File "/home/odroid/dev/pypot/pypot/robot/config.py", line 191, in from_json
    return from_config(config)
  File "/home/odroid/dev/pypot/pypot/robot/config.py", line 143, in from_config
    old_limits = dxl_io.get_angle_limit((m.id, ))[0]
  File "/home/odroid/dev/pypot/pypot/dynamixel/io.py", line 392, in my_getter
    return self._get_control_value(control, ids, **kwargs)
  File "/home/odroid/dev/pypot/pypot/dynamixel/io.py", line 430, in _get_control_value
    sp = self._send_packet(rp, error_handler=error_handler)
  File "/home/odroid/dev/pypot/pypot/dynamixel/io.py", line 547, in _send_packet
    f(error_handler)
  File "/home/odroid/dev/pypot/pypot/dynamixel/error.py", line 35, in handle_overheating_error
    raise NotImplementedError

question:

  • Shall i unplug the robot (power off) or can I send an python instruction to reset the motors?

Thanks.

Yep, for now you have to power off the motors…
There is a trick to ignore this error but generally speaking if a motor is on Overload, there is a problem somewhere on your movement.
So you have to find why your motor is overloading (it is blocked or in a bad position).