8000 Expose camera name by laviRZ · Pull Request #523 · PhotonVision/photonvision · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Expose camera name #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 25, 2022
Merged

Expose camera name #523

merged 6 commits into from
Dec 25, 2022

Conversation

laviRZ
Copy link
Contributor
@laviRZ laviRZ commented Oct 21, 2022

Added a getter to PhotonCamera that will allow retrieving the hostname of the camera. This could be useful if I'd want to pass the object along and still allow doing things like exposing the port for it (that requires having the hostname) or accessing an entry directly through its NetworkTableEntry to do something like checking the last update time. I'm aware that the previous was fixed in #504 but I still think this can be useful in the same way I can get the ID of a motor.

@laviRZ laviRZ requested a review from a team as a code owner October 21, 2022 06:09
@laviRZ
Copy link
Contributor Author
laviRZ commented Oct 23, 2022

If someone else could do the C++ side that would be great

@mcm001 mcm001 added the help wanted Extra attention is needed label Oct 29, 2022
@mcm001 mcm001 merged commit 8330bf9 into PhotonVision:master Dec 25, 2022
MrRedness pushed a commit to MrRedness/photonvision that referenced this pull request Feb 8, 2023
Co-authored-by: Matt <matthew.morley.ca@gmail.com>
@laviRZ laviRZ deleted the expose-camera-name branch January 16, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0