Skip to content
This repository was archived by the owner on Sep 21, 2020. It is now read-only.

Implementing a way to send Server connection info #57

@ThadHouse

Description

@ThadHouse

One thing I had been thinking about was it would be nice if clients could get information on all the clients connected to the server. One big use case for this is we could print all the connected clients to a widget on the smart dashboard, and we could see if coprocessors connected properly. I can think of a few ways to implement this, and was wondering which one seems the best.

  1. Implement a new Message type, that whenever a new client is connected to the server it sends new connection info to new clients. This would be the hardest to implement and most invasive, but cleanest in the long run.
  2. Send the data over its own NetworkTable value using Raw type. This is actually fairly easily to implement in the NetworkTables code, but we could also potentially add this to WPILib as well if we don't want to pollute NetworkTables.

If we do either of these, it would be nice to have a prebuilt SmartDashboard widget that could read these.

Would either of these be a good idea, or would there be a better way to implement this?

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