Skip to content

Add option for a custom device connection #16

@alxy

Description

@alxy

Currently, the device beeing used to comunicate with the mirobot is hardcoded and either serial or bluetooth: https://github.com/rirze/mirobot-py/blob/master/mirobot/base_mirobot.py#L87-L101

Would it be possible to pass a custom implementation of a device to the BaseMirobot class? I needed to do this because I want to connect your library to a simulation enviroment and thus need a custom device with additional there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions