Skip to content

Specify driver name in device constructors - #216

Merged
ddemidov merged 2 commits into
developfrom
issue-215
Sep 25, 2016
Merged

ddemidov merged 2 commits into
developfrom
issue-215

Conversation

@ddemidov

Copy link
Copy Markdown
Member

Fixes #215

@ddemidov

Copy link
Copy Markdown
Member Author

Just checked, this resolves #215 for me. I guess @rhempel omitted driver names by mistake? Will wait a couple of days before merging in case anybody objects.

Comment thread ev3dev/core.py Outdated
def __init__(self, address=None, name_pattern=SYSTEM_DEVICE_NAME_CONVENTION, name_exact=False, **kwargs):

super(FirgelliL1250Motor, self).__init__(address, name_pattern, name_exact, **kwargs)
super(FirgelliL1250Motor, self).__init__(address, name_pattern, name_exact, driver_name=['fi-l12-ev3-50'], **kwargs)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be the new driver name (the company is now called Actuonix, or something like that); we might need to update the spec for that. The class name needs to be renamed as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And c5faf77

ddemidov added a commit to ev3dev/ev3dev-lang that referenced this pull request Sep 25, 2016
ddemidov added a commit to ev3dev/ev3dev-lang that referenced this pull request Sep 25, 2016
@WasabiFan

Copy link
Copy Markdown
Member

When you merge, please choose the "squash" option and add a note to the message about renaming Firgelli.

@ddemidov
ddemidov merged commit fd9fe07 into develop Sep 25, 2016
@ddemidov
ddemidov deleted the issue-215 branch September 25, 2016 17:01
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