Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxl_basic_functions: bulk_read_test fails block length assertion #16

Open
csherstan opened this issue Aug 28, 2018 · 0 comments
Open

dxl_basic_functions: bulk_read_test fails block length assertion #16

csherstan opened this issue Aug 28, 2018 · 0 comments

Comments

@csherstan
Copy link
Collaborator

MX64AT.

Try this:

bulk_read_test([1])

Result:

Traceback (most recent call last):
File "/usr/lib/python3.5/code.py", line 91, in runcode
exec(code, self.locals)
File "", line 1, in
File "/home/craig/workspace/SenseAct/senseact/devices/dxl/dxl_basic_functions.py", line 239, in bulk_read_test
vals_dict = dxl_commv1.bulk_read(port, [goal_block, pos_block], dxl_ids)
File "/home/craig/workspace/SenseAct/senseact/devices/dxl/dxl_driver_v1.py", line 298, in bulk_read
assert len(blocks)==len(dxl_ids)
AssertionError

Checking the blocks returned there are two blocks returned for the single motor. The first has the name "goal_pos" and the second has the name "present_pos". Surprisingly the blocks are neither marked with their corresponding motor id, nor are they organized by id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant