robotpy / robotpy/mostrobotpy

[telemetry] Add equivalent for Java `UnitTelemetry` helper function

Open Beginner friendly
#322 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
27
Forks
29
Avg merge
4d 6h
Merged PRs (30d)
12

Description

Python doesn't have a units library like C++ or Java does, but it could at least have a utility function for the Telemetry API to log a value with an associated unit string, which is also supported in Java:
https://github.com/wpilibsuite/allwpilib/blob/d1944ddec0cb737852e9820dd83a982fd45a1029/wpilibj/src/main/java/org/wpilib/internal/UnitTelemetry.java#L95-L106

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Python Telemetry API and compare its available logging helpers with the linked Java UnitTelemetry implementation. Add the equivalent utility for logging a value with an associated unit string, then verify that it is exposed through the expected Telemetry interface and covered by the repository's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.