photonvision icon indicating copy to clipboard operation
photonvision copied to clipboard

Expose available pipeline names to photon-lib

Open fovea1959 opened this issue 2 years ago • 4 comments

when setting up PhotonVision, the students know what the pipeline names are. They have to select the pipelines from the roboRIO by index. It would be a Good Thing™ if they could set by name from the roboRIO, or know what pipeline names are available.

fovea1959 avatar Feb 01 '23 04:02 fovea1959

It is technically true that names are guaranteed to be unique... hm

mcm001 avatar Feb 01 '23 15:02 mcm001

I assume the main issue with this would be that the current method of changing the index couldn't be changed, an additional NT Topic would need to be created, and a better solution might be the make a read-only topic that just displays the pipeline name.

srimanachanta avatar Feb 02 '23 06:02 srimanachanta

I agree, using my second suggestion would be best. If I have a list of the pipeline names in order, picking the correct index is easy, and no existing team code would need to be modified (you still pick by index). We are just adding a very static string array to the network table.

I can take this enhancement on. Do we assign issues in this project?

fovea1959 avatar Feb 02 '23 11:02 fovea1959

@JochemvdBroek Did you ever make any progress on this?

samfreund avatar Oct 13 '25 21:10 samfreund