Hello, this is Paul Backus in California. I’m currently working with the beginning Instantiate algorithm:
from reachy import Reachy, parts
reachy = Reachy(
left_arm=parts.LeftArm(
io=‘/dev/ttyUSB*’,
hand=‘force_gripper’,
),
right_arm=parts.RightArm(
io=‘/dev/ttyUSB*’,
hand=‘force_gripper’,
),
head=parts.Head(
io=‘/dev/ttyUSB*’,
),
)
When I execute the code in Python, I receive the following errors:
Traceback (most recent call last):
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 122, in find_module
return getattr(self.shared_io, module_name)
AttributeError: ‘Device’ object has no attribute ‘dxl_21’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/Instantiate.py”, line 6, in
hand=‘force_gripper’,
File “/home/pi/dev/reachy/software/reachy/parts/arm.py”, line 217, in init
hand=hand)
File “/home/pi/dev/reachy/software/reachy/parts/arm.py”, line 51, in init
self.attach_dxl_motors(dxl_motors)
File “/home/pi/dev/reachy/software/reachy/parts/part.py”, line 49, in attach_dxl_motors
m = DynamixelMotor(self, motor_name, self.io.find_dxl(motor_name, config), config)
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 137, in find_dxl
m = self.find_module(module_name)
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 126, in find_module
missing_module=module_name,
reachy.error.LuosModuleNotFoundError: Could not find module “dxl_21” on bus “/dev/ttyUSB2”
I couldn’t spot any noticeably loose wires on the left arm or shoulder, and would greatly appreciate any additional guidance to troubleshoot! Thanks in advance ![]()
Also, when attempting to calibrate the head with following command:
reachy.head.neck.disk_top_target_rot_position=20
I receive the following errors that did not present during the instantiate sequence:
Traceback (most recent call last):
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 122, in find_module
return getattr(self.shared_io, module_name)
AttributeError: ‘Device’ object has no attribute ‘disk_bottom’
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/home/pi/Head.py”, line 4, in
io=‘/dev/ttyUSB*’,
File “/home/pi/dev/reachy/software/reachy/parts/head.py”, line 43, in init
self.neck = self.create_orbita_actuator(‘neck’, Head.orbita_config)
File “/home/pi/dev/reachy/software/reachy/parts/part.py”, line 60, in create_orbita_actuator
luos_disks_motor = self.io.find_orbita_disks()
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 152, in find_orbita_disks
for name in [‘disk_bottom’, ‘disk_middle’, ‘disk_top’]
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 152, in
for name in [‘disk_bottom’, ‘disk_middle’, ‘disk_top’]
File “/home/pi/dev/reachy/software/reachy/io/luos.py”, line 126, in find_module
missing_module=module_name,
reachy.error.LuosModuleNotFoundError: Could not find module “disk_bottom” on bus “/dev/ttyUSB1”
Again, so nice to meet you Pierre, and I look forward to working with you on our Reachy!
