CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-pynetworktables

tessl install tessl/pypi-pynetworktables@2021.0.0

A pure Python implementation of NetworkTables, used for robot communications in the FIRST Robotics Competition.

Agent Success

Agent success rate when using this tile

75%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.01x

Baseline

Agent success rate without this tile

74%

rubric.jsonevals/scenario-10/

{
  "context": "Evaluates how the solution uses pynetworktables to navigate nested tables and perform typed key-value I/O for primitives, arrays, and raw bytes in the TelemetryStore spec. Scoring rewards correct use of table navigation and typed operations rather than custom storage.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Subtable setup",
      "description": "Obtains the root with NetworkTables/NetworkTablesInstance and creates/reuses drive/pose/status branches via getTable/getSubTable (and getSubTables/containsSubTable to avoid duplicate keys).",
      "max_score": 25
    },
    {
      "name": "Primitive writes",
      "description": "Writes drive/pose numbers with typed setters such as putNumber/setNumber on table entries and reads them with getNumber/NetworkTableEntry getters instead of manual caching.",
      "max_score": 25
    },
    {
      "name": "Default status string",
      "description": "Uses package defaulting helpers (setDefaultString/setDefaultValue or entry.setDefaultValue) to establish the mode value without overwriting an existing string entry.",
      "max_score": 10
    },
    {
      "name": "Array I/O",
      "description": "Stores and retrieves boolean and string sequences using array-aware APIs (putBooleanArray/getBooleanArray, putStringArray/getStringArray, or equivalent entry methods) under the status branch.",
      "max_score": 20
    },
    {
      "name": "Raw frames",
      "description": "Persists raw byte frames with putRaw/getRaw or Value.makeRaw via NetworkTableEntry and indexes keys through the table API rather than external caches.",
      "max_score": 20
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/pynetworktables@2021.0.x
tile.json