Skip to content

documentation #1

@maxhoheiser

Description

@maxhoheiser

Hi guys it's awesome what you accomplished by implementing all the functions of the bpod in python, but it is really difficult to use them since the documentation is very very shallow and is missing a lot of the important parts.
Is it possible, that you update the documentation, so more people can make use of the extensive work you put into creating the library?

I am especially struggling with how to set thresholds, and how to then use this threshold to change states. So far the method you proposed in the documentation with rotary_encoder = bpod.modules[0] is not working for me. But if I load the module and create the object from it manually specifying the com port it works like this:

from pybpod_rotaryencoder_module.module_api import RotaryEncoderModule

rotary_encoder=RotaryEncoderModule('COM6')
rotary_encoder.set_zero_position()

but so far I am not sure if I set the thresholds correctly, and I have no clue on how to use them then as a state change condition since I could not find them in the library where the allowed strings are defined.

Best regards Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions