We have a problem when we try to load the configuration file .json. We get this error :
Traceback (most recent call last):
File “C:\Users\test\Documents\Poppy\Test_config\load_config.py”, line 7, in
robot = pypot.robot.from_config(my_config)
File “build\bdist.win32\egg\pypot\robot\config.py”, line 95, in from_config
alias = config[‘motorgroups’]
TypeError: ‘Robot’ object has no attribute ‘getitem’
When we use the configuration directly in the .py file, it works perfectly.
We used your poppy_config_generator to make the .json file.
We just found the problem : it’s because the from_json method returns directly a Robot object generated by from_config, and we were calling after that a second from_config. If we don’t do that it works!!
Hi,
We are trying to connect the whol robot by USB2AX dongle but it doesn’t work (sometimes it detects some motors and sometimes nothing). With USB2Dynamixel everithing is working. We can detect upper motors but we cannot detect lower motors. We need help please ?? thanks
So it is just because motors are not powered, 2 solutions:
1- plug another alimentation to the lower SMPS2Dynamixel
2- plug together the 2 SMPS2Dynamixel using a 4pins dynamixel wire (after cutting the 2 data cables):