Skip to content

Unused files? #344

Closed
Closed

Description

@WasabiFan

I just noticed that there are two files which don't seem to be referenced anywhere. framebuffer.py and virtualterminal.py, the two files in question, were both created in 2016 but it seems that we've since reimplemented the functionality (for the framebuffer, at least) in core.py. Are these files still needed/used?

Activity

  1. ddemidov commented on Sep 5, 2017

    @ddemidov
    Member

    Are these files still needed/used?

    Does not look like it. Quick grep does not show anything using these.

  2. WasabiFan commented on Sep 5, 2017

    @WasabiFan
    MemberAuthor

    While we're at it, what's GyroBalancer.py? @dwalton76? I'm moderately confused as to why it's in the ev3dev directory as opposed to demos.

  3. dwalton76 commented on Sep 5, 2017

    @dwalton76
    Collaborator

    GyroBalancer.py contains a base class for robots that stand on two wheels and use a gyro to keep their balance. We put it in its own file instead of helper.py because

    • it was a decent amount of code and felt cleaner to have it separate
    • it is a port of Lauren's code and we wanted to keep his license at the top but that license didn't apply to everything else in helper.py

    BALANC3R in the demo directory uses the GyroBalancer class

  4. dwalton76 commented on Sep 5, 2017

    @dwalton76
    Collaborator

    I don't know of any uses for framebuffer.py and virtualterminal.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions