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

Bad assignment of MotorStatus #2

Open
luisebt995 opened this issue Aug 2, 2022 · 2 comments
Open

Bad assignment of MotorStatus #2

luisebt995 opened this issue Aug 2, 2022 · 2 comments

Comments

@luisebt995
Copy link

In line 160-161:

ms.joint = self._motors[i]['joint']
ms.can_id = self._motors[i]['can_id']

The variable i is of type array and cannot be an index of itself

Possible Fix:

ms.joint = i['joint']
ms.can_id = i['can_id']

@luisebt995 luisebt995 changed the title Bas assignment of MotorStatus Bad assignment of MotorStatus Aug 2, 2022
@RomanRobotnik
Copy link
Contributor

Can you fix it, please? Thx

@luisebt995
Copy link
Author

I need permission to publish a branch and create a pull request.

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

2 participants