Skip to content

Add DSControlWord::Refresh in C++ #7889

Description

@virtuald

Java has this, but C++ does not. Obviously, it's cheaper to create a DSControlWord object in C++ so it isn't really necessary, but it would be good to avoid creating the object in Python.

Alternatively, make the m_controlWord protected so that I can patch on a refresh method myself for python only.

Activity

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

    component: wpilibcWPILib C++robotpyIssues that affect RobotPy (Python) support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions