Skip to content

motors.py: added missing parameter 'motors' to MotorSet.is_stalled - #573

Merged
WasabiFan merged 1 commit into
ev3dev:ev3dev-stretchfrom
v-gar:ev3dev-stretch
Dec 15, 2018
Merged

WasabiFan merged 1 commit into
ev3dev:ev3dev-stretchfrom
v-gar:ev3dev-stretch

Conversation

@v-gar

@v-gar v-gar commented Dec 15, 2018

Copy link
Copy Markdown
Contributor

I noticed that something like

m = MoveTank(...)
m.is_stalled()

fails while e.g. m.is_overloaded() works. I looked up the appropriate method and found a missing parameter (motors=None) which was the reason for the error.
This PR will fix this issue by adding the missing parameter.

@WasabiFan
WasabiFan merged commit 7e14dfd into ev3dev:ev3dev-stretch Dec 15, 2018
@WasabiFan

Copy link
Copy Markdown
Member

Thanks!

@WasabiFan

Copy link
Copy Markdown
Member

Added to changelog in 8f58cc9; let me know if you'd prefer different attribution.

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

Successfully merging this pull request may close these issues.

2 participants