Skip to content
Discussion options

You must be logged in to vote

The issue is that dofs_idx must be a flat list of integers, not a nested list. Here is how to properly complete dofs_idx:

motor_dofs = [i for name in joint_names for i in robot.get_joint(name).dofs_idx_local]

The same goes for the setters. The values must be flattened.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@Total-Bots-Lab
Comment options

Comment options

You must be logged in to vote
5 replies
@Total-Bots-Lab
Comment options

@duburcqa
Comment options

@Total-Bots-Lab
Comment options

@duburcqa
Comment options

@Total-Bots-Lab
Comment options

Answer selected by duburcqa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants